/* Wateen Charity — public site styles
   Brand colours come from the logo: teal hands, coral figure, navy shadow. */

:root {
  --teal: #028da8;
  --teal-deep: #01697e;
  --teal-ink: #0b4f5e;
  --mist: #e7f5f8;
  --coral: #f87b70;
  --coral-deep: #e2574a;
  --coral-soft: #ffe6e2;
  --navy: #143d5e;
  --ink: #0d2436;
  --text: #24384a;
  --muted: #55687a;
  --cream: #fff9f4;
  --sand: #f7efe7;
  --card: #ffffff;
  --line: #e6ddd3;
  --ok: #1e8e5a;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(13, 36, 54, .06);
  --shadow-md: 0 14px 40px -12px rgba(13, 36, 54, .22);
  --shadow-lg: 0 30px 80px -24px rgba(13, 36, 54, .35);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; font-variation-settings: "SOFT" 60, "opsz" 96; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: #ffd9d4; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--teal-deep); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1rem;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%);
  opacity: 0; transition: opacity var(--t-med);
}
.btn:hover::after { opacity: 1; }
.btn:hover { box-shadow: 0 12px 30px -10px var(--bg); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-coral { --bg: var(--coral); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff, 0 12px 30px -12px rgba(0,0,0,.4); }
.btn-outline { --bg: transparent; --fg: var(--teal-deep); box-shadow: inset 0 0 0 2px var(--teal-deep); }
.btn-lg { min-height: 60px; padding: 0 36px; font-size: 1.08rem; }
.btn .heart { animation: beat 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(.95); } 45% { transform: scale(1.12); } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background var(--t-med), box-shadow var(--t-med), transform 420ms var(--ease-out);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.site-header.solid { background: rgba(255, 249, 244, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; box-shadow: var(--shadow-sm); transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-10deg) scale(1.06); }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--ink); line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep); font-weight: 700; margin-top: 4px; }
.on-dark:not(.solid) .brand span { color: #fff; }
.on-dark:not(.solid) .brand small { color: #bfeaf3; }
.on-dark:not(.solid) .nav a { color: rgba(255,255,255,.9); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--text); border-radius: 999px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease-out); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 46px; padding: 0 22px; margin-left: 8px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm); position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast); }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 4px;
    background: var(--navy); clip-path: circle(0 at calc(100% - 44px) 38px);
    transition: clip-path 600ms var(--ease-out); visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
  .nav a:not(.btn) { color: #fff !important; font-family: var(--font-display); font-size: 2rem; padding: 8px 18px; }
  .nav .btn { margin: 18px 0 0; }
  .menu-open .menu-btn { background: #fff; }
}

/* ---------- page transition curtain + loader ---------- */
.curtain { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: grid; place-items: center; }
.curtain::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleY(0); transform-origin: bottom; }
.curtain.cover::before { transform: scaleY(1); transition: transform 380ms var(--ease-out); transform-origin: bottom; }
.curtain.reveal::before { transform: scaleY(0); transform-origin: top; transition: transform 520ms var(--ease-out); }
.curtain.start::before { transform: scaleY(1); }
.loader { position: fixed; inset: 0; z-index: 160; background: var(--cream); display: grid; place-items: center; }
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader svg { width: 120px; height: 120px; overflow: visible; }
.loader .ring { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.1s var(--ease-out) forwards; }
.loader .ring2 { stroke: var(--coral); animation-delay: .2s; }
.loader .heart-path { fill: var(--coral); transform-origin: 60px 64px; transform: scale(0); animation: pop .6s .55s var(--ease-out) forwards; }
.loader p { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin: 0; opacity: 0; animation: fadeUp .6s .5s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 70% { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.progress-line { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; background: linear-gradient(90deg, var(--coral), var(--teal)); transform-origin: left; transform: scaleX(0); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: -6% 0 0 0; }
.hero-media img { width: 100%; height: 106%; object-fit: cover; transform: scale(1.12); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,36,54,.55) 0%, rgba(13,36,54,.15) 35%, rgba(13,36,54,.55) 62%, rgba(13,36,54,.94) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(2,141,168,.45), transparent 60%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(56px, 10vh, 110px); }
.hero h1 { color: #fff; max-width: 13ch; margin: 18px 0 22px; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .word > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--coral); position: relative; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip-glass { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .88rem; font-weight: 600; }
.chip-glass svg { width: 16px; height: 16px; color: var(--coral); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 40px; z-index: 2; width: 30px; height: 50px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 10px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(16px); } 100% { opacity: 0; } }
.blob { position: absolute; z-index: 1; border-radius: 50%; filter: blur(60px); opacity: .45; pointer-events: none; }
.blob.b1 { width: 420px; height: 420px; background: var(--coral); right: -120px; top: 12%; }
.blob.b2 { width: 360px; height: 360px; background: var(--teal); left: -140px; bottom: 6%; }

/* ---------- marquee ---------- */
.marquee { background: var(--coral); color: var(--ink); overflow: hidden; padding: 18px 0; position: relative; z-index: 3; transform: rotate(-1.2deg); margin: -22px -10px 0; box-shadow: var(--shadow-md); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 600; padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: "✦"; font-size: .8em; color: var(--cream); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin: 14px 0 0; max-width: 16ch; }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: #d8e6f0; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* impact stats */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats .wrap { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--navy); padding: clamp(26px, 4vw, 48px) clamp(18px, 2.4vw, 32px); position: relative; }
.stat .v { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 14px; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #9fd8e5; }
.stat::before { content: ""; position: absolute; left: clamp(18px, 2.4vw, 32px); top: 0; width: 36px; height: 4px; background: var(--coral); border-radius: 0 0 4px 4px; }
.stats-wave { position: absolute; inset: auto 0 0 0; height: 120px; opacity: .18; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* urgent */
.urgent { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.urgent-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); }
.urgent-media img { width: 100%; height: 100%; object-fit: cover; }
.pulse-badge { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--coral-deep); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px 9px 14px; border-radius: 999px; box-shadow: var(--shadow-md); }
.pulse-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral-deep); position: relative; }
.pulse-badge i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--coral-deep); animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.urgent h2 { margin: 16px 0 18px; }
.meter { margin: 28px 0 30px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.meter-top strong { font-family: var(--font-display); font-size: 2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.meter-top span { color: var(--muted); font-size: .95rem; }
.bar { height: 12px; border-radius: 999px; background: var(--mist); overflow: hidden; position: relative; }
.bar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--teal), var(--coral)); }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-100%); animation: sheen 2.6s 1s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.meter-pct { margin-top: 8px; font-weight: 700; color: var(--teal-deep); font-size: .92rem; }
@media (max-width: 880px) { .urgent { grid-template-columns: 1fr; } }

/* cause cards */
.causes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.cause-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); transform-style: preserve-3d; }
.cause-card:hover { box-shadow: var(--shadow-lg); }
.cause-card .media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--mist); }
.cause-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1s var(--ease-out); }
.cause-card:hover .media img { transform: scale(1.07); }
.cause-card .tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.94); color: var(--teal-deep); }
.tag.urgent-tag { background: var(--coral-deep); color: #fff; }
.tag.done { background: var(--ok); color: #fff; }
.cause-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cause-card h3 { margin-bottom: 10px; }
.cause-card h3 a { text-decoration: none; }
.cause-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cause-card p { color: var(--muted); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cause-card .money { display: flex; justify-content: space-between; align-items: baseline; margin: auto 0 10px; padding-top: 10px; }
.cause-card .money strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.cause-card .money span { color: var(--muted); font-size: .9rem; }
.cause-card .bar { height: 8px; }
.cause-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; }
.cause-card .foot .pct { font-weight: 700; color: var(--teal-deep); font-size: .92rem; }
.cause-card .foot .btn { position: relative; z-index: 2; min-height: 44px; padding: 0 20px; font-size: .94rem; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); counter-reset: s; position: relative; }
.step { position: relative; padding: 34px 28px 30px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.step .ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--mist); color: var(--teal-deep); margin-bottom: 22px; }
.step:nth-child(2) .ico { background: var(--coral-soft); color: var(--coral-deep); }
.step:nth-child(3) .ico { background: #e8eef6; color: var(--navy); }
.step .ico svg { width: 30px; height: 30px; }
.step::after { counter-increment: s; content: "0" counter(s); position: absolute; right: 24px; top: 20px; font-family: var(--font-display); font-size: 3.2rem; color: var(--line); font-weight: 600; line-height: 1; }
.step p { color: var(--muted); margin: 0; }
.steps-line { position: absolute; left: 8%; right: 8%; top: 66px; height: 2px; z-index: -1; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } .steps-line { display: none; } }

/* testimonials */
.quotes { position: relative; }
.quote-stage { position: relative; min-height: 340px; }
.quote-card { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 48px); align-items: center; opacity: 0; visibility: hidden; }
.quote-card.active { position: relative; opacity: 1; visibility: visible; }
.quote-card img { width: clamp(110px, 15vw, 170px); height: clamp(110px, 15vw, 170px); border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow-md); }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2.8vw, 2.2rem); line-height: 1.3; color: var(--ink); font-weight: 500; font-style: italic; }
.quote-card blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--coral); font-style: normal; margin-bottom: 8px; }
.quote-card cite { display: block; margin-top: 20px; font-style: normal; font-weight: 700; color: var(--ink); }
.quote-card cite span { display: block; font-weight: 500; color: var(--muted); font-size: .92rem; }
.quote-controls { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.icon-btn { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); display: grid; place-items: center; color: var(--ink); transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.icon-btn:hover { border-color: var(--teal); background: var(--mist); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 8px; margin-left: 8px; }
.dots button { width: 28px; height: 28px; border: 0; background: transparent; padding: 0; display: grid; place-items: center; }
.dots button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--line); transition: width var(--t-med) var(--ease-out), background var(--t-med); }
.dots button[aria-current="true"]::before { width: 26px; background: var(--coral); }
@media (max-width: 640px) { .quote-card { grid-template-columns: 1fr; } }

/* updates timeline */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 38px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline .tl-fill { position: absolute; left: 10px; top: 6px; width: 2px; height: calc(100% - 12px); background: linear-gradient(var(--teal), var(--coral)); transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 26px; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.tl-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.tl-item::before { content: ""; position: absolute; left: -35px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--teal); }
.tl-item time { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-deep); }
.tl-item h3 { margin: 8px 0 8px; }
.tl-item p { margin: 0; color: var(--muted); }
.tl-item img { margin-top: 16px; border-radius: var(--r-sm); max-height: 320px; object-fit: cover; width: 100%; }

/* final CTA */
.final { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, #1b5a80 0%, var(--navy) 45%, var(--ink) 100%); color: #fff; text-align: center; }
.final h2 { color: #fff; margin: 18px auto 16px; max-width: 14ch; font-size: clamp(2.4rem, 6vw, 4.8rem); }
.final .lead { color: rgba(255,255,255,.82); margin: 0 auto 36px; }
.final-logo { width: 110px; height: 110px; margin: 0 auto; background: #fff; border-radius: 50%; padding: 8px; box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 0 0 22px rgba(255,255,255,.04); }
.final .float-heart { position: absolute; color: var(--coral); opacity: .5; pointer-events: none; }

/* page hero (inner pages) */
.page-hero { position: relative; padding: 170px 0 80px; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6.5vw, 5rem); margin: 16px 0 14px; }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero .blob { opacity: .35; }
.page-hero.has-img { min-height: 70vh; display: grid; align-items: end; }
.page-hero.has-img .bgimg { position: absolute; inset: 0; }
.page-hero.has-img .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,36,54,.5), rgba(13,36,54,.92)); }
.page-hero .wrap { position: relative; z-index: 2; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #cfeef5; text-decoration: none; font-weight: 600; }
.back-link svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.back-link:hover svg { transform: translateX(-4px); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); font-weight: 700; color: var(--text); transition: all var(--t-fast); }
.filter:hover { border-color: var(--teal); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* cause page */
.cause-layout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(30px, 5vw, 64px); align-items: start; }
.cause-layout .content p { font-size: 1.08rem; }
.cause-layout .content .first { font-size: 1.3rem; color: var(--ink); font-family: var(--font-display); line-height: 1.45; }
.sticky-box { position: sticky; top: 100px; }
@media (max-width: 980px) { .cause-layout { grid-template-columns: 1fr; } .sticky-box { position: static; } }

/* donate module */
.donate-box { background: var(--card); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.donate-box h3 { margin-bottom: 6px; }
.donate-box .sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.field-label { display: block; font-weight: 700; font-size: .86rem; color: var(--ink); margin: 18px 0 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); padding: 5px; border-radius: 999px; position: relative; }
.seg button { position: relative; z-index: 1; min-height: 44px; border: 0; background: transparent; border-radius: 999px; font-weight: 700; color: var(--muted); transition: color var(--t-med); }
.seg button[aria-pressed="true"] { color: #fff; }
.seg .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--teal-deep); transition: transform 420ms var(--ease-out); }
.seg[data-v="monthly"] .pill { transform: translateX(100%); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amounts button { min-height: 54px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); font-weight: 800; font-size: 1.1rem; color: var(--ink); transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast), background var(--t-fast); font-variant-numeric: tabular-nums; }
.amounts button:hover { border-color: var(--teal); transform: translateY(-2px); }
.amounts button[aria-pressed="true"] { background: var(--mist); border-color: var(--teal-deep); color: var(--teal-ink); }
.input, select.input, textarea.input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); font: inherit; color: var(--ink); transition: border-color var(--t-fast); }
.input:focus { outline: none; border-color: var(--teal); }
.money-input { position: relative; }
.money-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.money-input .input { padding-left: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.hint.err { color: #b42318; font-weight: 600; }
.donate-box .btn { width: 100%; margin-top: 22px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--ok); }
.impact-note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--coral-soft); color: var(--ink); font-size: .92rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.impact-note svg { width: 20px; height: 20px; color: var(--coral-deep); flex: none; }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.photo-stack { position: relative; aspect-ratio: 1 / 1; }
.photo-stack img { position: absolute; border-radius: var(--r-lg); object-fit: cover; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.photo-stack img:nth-child(1) { inset: 0 18% 22% 0; width: 82%; height: 78%; }
.photo-stack img:nth-child(2) { right: 0; bottom: 0; width: 52%; height: 58%; }
.since-badge { position: absolute; left: -10px; bottom: 6%; z-index: 2; width: 132px; height: 132px; border-radius: 50%; background: var(--coral); color: var(--ink); display: grid; place-items: center; text-align: center; box-shadow: var(--shadow-md); }
.since-badge b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.since-badge small { font-weight: 800; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--mist); color: var(--teal-deep); margin-bottom: 20px; }
.value:nth-child(even) .ico { background: var(--coral-soft); color: var(--coral-deep); }
.value .ico svg { width: 26px; height: 26px; }
.value p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 980px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.promise { border-radius: var(--r-lg); padding: clamp(34px, 6vw, 70px); background: linear-gradient(135deg, var(--teal-deep), var(--navy)); color: #fff; position: relative; overflow: hidden; }
.promise h2 { color: #fff; }
.promise p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 62ch; color: rgba(255,255,255,.9); margin: 0; }
.promise .big100 { position: absolute; right: -10px; bottom: -60px; font-family: var(--font-display); font-size: clamp(10rem, 26vw, 22rem); font-weight: 700; color: rgba(255,255,255,.07); line-height: 1; pointer-events: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med); }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.contact-card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--teal-deep); flex: none; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card small { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 1.08rem; color: var(--ink); word-break: break-word; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--mist); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* thank you / 404 */
.center-card { max-width: 640px; margin: 0 auto; text-align: center; background: var(--card); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 60px); box-shadow: var(--shadow-lg); }
.big-ico { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-deep); }
.big-ico svg { width: 46px; height: 46px; }

/* footer */
.site-footer { background: var(--ink); color: #b9c9d6; padding: 90px 0 30px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand span { color: #fff; }
.site-footer .brand small { color: #9fd8e5; }
.site-footer h4 { font-family: var(--font-body); color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 6px 0; transition: color var(--t-fast), transform var(--t-fast); }
.site-footer a:hover { color: #fff; transform: translateX(4px); }
.site-footer .reg { margin-top: 18px; font-size: .95rem; max-width: 36ch; }
.footer-big { font-family: var(--font-display); font-size: clamp(3.5rem, 13vw, 11rem); line-height: .9; color: rgba(255,255,255,.06); margin: 60px 0 0; white-space: nowrap; font-weight: 700; letter-spacing: -.02em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.footer-bottom .love svg { width: 15px; height: 15px; color: var(--coral); display: inline; vertical-align: -2px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* sticky donate (phones) */
.sticky-donate { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; transform: translateY(140%); transition: transform 500ms var(--ease-out); }
.sticky-donate.show { transform: none; }
.sticky-donate .btn { width: 100%; box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .sticky-donate { display: block; } body { padding-bottom: 0; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 41; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform var(--t-med) var(--ease-out); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 760px) { .wa-float { bottom: 84px; width: 52px; height: 52px; } }

/* skeleton while loading */
.skel { background: linear-gradient(90deg, var(--sand) 25%, #fff 50%, var(--sand) 75%); background-size: 200% 100%; animation: skel 1.4s ease-in-out infinite; border-radius: var(--r-lg); }
@keyframes skel { to { background-position: -200% 0; } }

/* reveal defaults (JS sets them; without JS everything is visible) */
.js [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; }
  .marquee-track { animation: none; }
}
@media (max-width: 760px) { .scroll-cue { display: none; } }
