/* ==========================================================================
   ANDM — Asian Network for Disaster Management
   Original stylesheet. Built for XAMPP/PHP. Self-contained (no external assets
   except Google Fonts).
   ========================================================================== */

:root {
    /* Secondary (brand green, from #7fb432) — was the "teal" ramp */
    --teal-900: #364c15;
    --teal-800: #527420;
    --teal-700: #689429;
    --teal-600: #7fb432;
    --teal-500: #94cb44;
    --teal-300: #afd874;
    --teal-200: #c2e194;
    --teal-100: #cfe8ac;
    --teal-50:  #ddeec4;

    /* Primary (brand gold, from #f7b70d) — was "coral" / "amber" */
    --tick-orange: #ffb900;
    --tick-orange-bg: #f8e7ba;
    --coral:      #fbba08;
    --coral-dark: #ca9507;
    --amber:      #facf5c;
    --amber-dark: #a37805;

    --ink:      #12211f;
    --slate:    #4a5a57;
    --muted:    #6b7b78;
    --line:     #e3ebe9;
    --paper:    #ffffff;
    --cream:    #f6f8f7;
    --cream-2:  #eef4f2;

    --radius:   18px;
    --radius-sm: 12px;
    --shadow:   0 18px 45px -22px rgba(54, 76, 21, .35);
    --shadow-sm: 0 8px 24px -14px rgba(54, 76, 21, .35);
    --container: 1180px;

    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-600); }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--teal-700); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--sans); font-weight: 700; font-size: 15px;
    padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 24px -12px rgba(247,183,13,.7); }
.btn-primary:hover { background: var(--coral-dark); color:#fff; transform: translateY(-2px); }
.btn-secondary { background: var(--teal-700); color: #fff; }
.btn-secondary:hover { background: var(--teal-800); color:#fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: var(--teal-700); }
.btn-ghost:hover { background: var(--teal-700); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--teal-800); }
.btn-become-member { background: var(--coral); color:#fff; padding: 11px 22px; }
.btn-become-member:hover { background: var(--coral-dark); color:#fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--teal-700); min-width: 0; }
.brand-mark {
    color: var(--teal-700); display: inline-flex; align-items: center; flex: none;
    height: clamp(34px, 7vw, 96px);
}
.brand-mark img, .brand-mark svg { height: 100%; width: auto; max-width: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-text strong {
    font-family: var(--serif); font-size: clamp(18px, 3.4vw, 24px); color: var(--ink); font-weight: 700;
    white-space: nowrap;
}
.brand-text small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav > ul { display: flex; align-items: center; gap: 28px; }
.primary-nav > ul > li > a {
    color: var(--slate); font-weight: 600; font-size: 15.5px; position: relative; padding: 6px 0;
}
.primary-nav > ul > li > a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
    background: var(--coral); border-radius: 2px; transition: right .25s ease;
}
.primary-nav > ul > li > a:hover, .primary-nav > ul > li > a.active { color: var(--ink); }
.primary-nav > ul > li > a:hover::after, .primary-nav > ul > li > a.active::after { right: 0; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: 0;
    cursor: pointer; padding: 8px; border-radius: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .25s ease; }
.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); }

/* ---------- Dropdown nav (Who we are / What we do) ---------- */
.primary-nav ul li { position: relative; }
.has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
.has-dropdown > a { flex: 1 1 auto; }
.dropdown-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 0; padding: 4px; margin-left: 2px; cursor: pointer;
    color: var(--slate); border-radius: 6px;
}
.dropdown-toggle:hover { color: var(--ink); }
.dropdown-toggle svg { transition: transform .2s ease; }
.has-dropdown:hover .dropdown-toggle svg,
.has-dropdown:focus-within .dropdown-toggle svg,
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
    display: block; position: absolute; top: 100%; left: 0; margin-top: 14px; min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 110;
}
/* Invisible bridge so the pointer can cross the gap to the menu without it closing */
.dropdown-menu::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px;
}
.dropdown-menu li { display: block; border: none; }
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.dropdown-menu a {
    display: block; padding: 10px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
    color: var(--slate); white-space: nowrap;
}
.dropdown-menu a::after { content: none; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: var(--cream); color: var(--teal-700); }

/* ---------- Section scaffolding ---------- */
.section { padding: 92px 0; scroll-margin-top: 96px; }
.section-tight { padding: 64px 0; }
.eyebrow {
    text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; font-weight: 800;
    color: var(--teal-600); margin-bottom: 14px;
}
.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); color: var(--ink); }
.section-head p { color: var(--slate); margin-top: 16px; font-size: 18px; }

/* ---------- Hero ----------
   Light banner: the PNG has a transparent left side, so it layers straight
   onto the white section background — no scrim needed, text stays dark. */
.hero {
    position: relative; overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    min-height: 640px;
    display: flex; align-items: center;
}
.hero-media {
    position: absolute; inset: 0; z-index: 0; left: 42%;
    display: flex; 
    /* align-items: center;  */
    justify-content: flex-end;
    pointer-events: none;
}
.hero-media img { height: 84%; width: auto; max-width: none; display: block; }

.hero-inner {
    display: block; width: 100%; 
    /* padding: 90px 0; */
    position: relative; z-index: 1;
}
.hero-copy { max-width: 560px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cream); border: 1px solid var(--line);
    padding: 7px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; margin-bottom: 22px;
    color: var(--ink);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(247,183,13,.25); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); color: var(--ink); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--teal-700); }
.hero-lead { margin-top: 22px; font-size: 19px; color: var(--slate); max-width: 480px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.link-chevron {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink);
}
.link-chevron svg { transition: transform .2s ease; }
.link-chevron:hover { color: var(--teal-700); }
.link-chevron:hover svg { transform: translateX(4px); }
.hero-meta { margin-top: 40px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-meta div strong { font-family: var(--serif); font-size: 30px; display: block; color: var(--ink); }
.hero-meta div span { font-size: 13.5px; color: var(--muted); }

/* Floating donate chip, pinned to the right edge over the photo */
.hero-chip {
    position: absolute; top: 50%; right: 28px; z-index: 2;
    transform: translateY(-50%);
    background: var(--teal-600); color: #fff; text-decoration: none;
    border-radius: 18px; padding: 22px 16px;
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    font-weight: 700; font-size: 13.5px; line-height: 1.25;
    box-shadow: var(--shadow); transition: transform .2s ease, background .2s ease;
}
.hero-chip:hover { background: var(--teal-700); color: #fff; transform: translateY(-50%) translateY(-4px); }
.hero-chip .ico-circle {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2);
    display: grid; place-items: center;
}

/* Floating badge photos, scattered over the right-side hero photo */
.hero-floats {
    position: absolute; inset: 0; z-index: 1;
    left: 42%; pointer-events: none;
}
.hero-float-badge {
    position: absolute; border-radius: 50%;
    box-shadow: var(--shadow); animation: hero-bob ease-in-out infinite;
}
.hero-float-badge.fb1 { width: 100px; top: 10%;  right: 20%;  animation-duration: 6.5s; animation-delay: 0s; }
.hero-float-badge.fb2 { width: 120px; top: 16%; right: 60%; animation-duration: 5.2s; animation-delay: .6s; }
.hero-float-badge.fb3 { width: 110px; top: 30%; right: 30%;  animation-duration: 7.1s; animation-delay: .2s; }
.hero-float-badge.fb4 { width: 90px; top:14%;  right: 44%; animation-duration: 5.8s; animation-delay: 1.1s; }
.hero-float-badge.fb5 { width: 95px; top: 36%; right: 50%; animation-duration: 6.2s; animation-delay: 1.7s; }

@keyframes hero-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(-3deg); }
}

/* Stat callout, bottom-right corner */
.hero-stat {
    position: absolute; right: 40px; bottom: 30px; z-index: 2;
    display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.hero-stat .circle {
    flex: none; width: 92px; height: 92px; border-radius: 50%; background: var(--coral);
    display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 30px;
    color: var(--ink); box-shadow: var(--shadow);
}
.hero-stat .circle small { font-size: 16px; font-weight: 600; margin-left: 1px; }
.hero-stat p { font-size: 13.5px; color: var(--slate); font-weight: 600; margin: 0; }

/* Hero illustration card */
.hero-art { position: relative; }
.hero-card {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 26px; padding: 20px; backdrop-filter: blur(4px); box-shadow: var(--shadow);
}
.hero-card svg { border-radius: 16px; width: 100%; height: auto; }
.hero-float {
    position: absolute; background: #fff; color: var(--ink); border-radius: 16px;
    padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.hero-float small { color: var(--muted); font-size: 12px; display: block; }
.hero-float strong { font-family: var(--serif); font-size: 20px; }
.hero-float .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color:#fff; }
.hero-float.f1 { top: -18px; left: -26px; }
.hero-float.f2 { bottom: -20px; right: -18px; }

.wave { display: block; width: 100%; height: auto; margin-top: -1px; }

/* ---------- Programs / cards grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 54px; }
.program-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.program-ico {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
    color: #fff; margin-bottom: 20px;
}
.ico-teal { background: linear-gradient(135deg, var(--teal-600), var(--teal-800)); }
.ico-coral { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.ico-amber { background: linear-gradient(135deg, var(--amber), var(--amber-dark)); }
.ico-blue { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.program-card h3 { font-size: 21px; margin-bottom: 10px; }
.program-card p { color: var(--slate); font-size: 15.5px; }
.program-card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14.5px; }
.program-card .card-link svg { transition: transform .2s ease; }
.program-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.split-media { position: relative; }
.split-media .media-frame {
    border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.split-media svg, .split-media img { width: 100%; height: auto; display: block; }
.badge-stat {
    position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: 18px;
    padding: 18px 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.badge-stat strong { font-family: var(--serif); font-size: 30px; color: var(--teal-700); display: block; }
.badge-stat span { font-size: 13px; color: var(--muted); }
.split-body h2 { font-size: clamp(28px, 3.6vw, 40px); }
.split-body p { color: var(--slate); margin-top: 18px; }
.tick-list { margin-top: 24px; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.tick-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; margin-top: 2px; }
.tick-list .tick-a { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--tick-orange-bg); color: var(--tick-orange); display: grid; place-items: center; margin-top: 2px; }
.split-body .btn { margin-top: 30px; }

/* ---------- Stories ---------- */
.stories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 54px; }
.story-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story-thumb { aspect-ratio: 4 / 3; }
.story-thumb svg { width: 100%; height: 100%; }
.story-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.story-date { font-size: 12.5px; color: var(--coral); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.story-body h3 { font-size: 20px; margin: 8px 0 10px; }
.story-body p { color: var(--slate); font-size: 15px; flex: 1; }
.story-body .card-link { margin-top: 16px; font-weight: 700; font-size: 14.5px; display: inline-flex; gap: 6px; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); color: var(--teal-700); display: block; line-height: 1; }
.stat-item .suffix { color: var(--coral); }
.stat-item span { display: block; margin-top: 10px; color: var(--slate); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(900px 500px at 10% 120%, rgba(247,183,13,.25), transparent 60%),
        linear-gradient(135deg, var(--teal-800), var(--teal-600));
    color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 66px 0; flex-wrap: wrap; }
.cta-inner .eyebrow { color: var(--amber); }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); max-width: 640px; color:#fff; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background:
        radial-gradient(900px 400px at 90% -20%, rgba(148,203,68,.2), transparent 60%),
        linear-gradient(160deg, var(--teal-900), var(--teal-700));
    color: #fff; padding: 78px 0 90px; text-align: center; position: relative;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 620px; margin: 18px auto 0; font-size: 18px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.crumbs a { color: rgba(255,255,255,.9); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* Page hero with a photo background instead of the plain gradient */
.page-hero-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(18,33,31,.87), rgba(104,148,41,.6));
}
.page-hero-photo .container { position: relative; z-index: 1; }

/* ---------- Values / feature list ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 20px; }
.value-card { background: var(--cream); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.value-card .program-ico { width: 52px; height: 52px; border-radius: 14px; }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { color: var(--slate); font-size: 15.5px; }

/* ---------- Timeline ---------- */
.timeline { max-width: 760px; margin: 40px auto 0; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 22px; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--teal-500); }
.timeline .year { font-family: var(--serif); font-weight: 700; color: var(--teal-700); font-size: 20px; }
.timeline h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline p { color: var(--slate); font-size: 15.5px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
.team-card {
    text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); padding-bottom: 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-avatar { aspect-ratio: 1 / 1; }
.team-avatar svg { width: 100%; height: auto; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h3 { font-size: 18px; margin-top: 16px; padding: 0 16px; }
.team-card span { color: var(--coral); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Donate / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 22px; }
.info-card h3 { font-size: 20px; margin-bottom: 16px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; }
.info-row small { color: var(--muted); display: block; font-size: 13px; }
.info-row strong { font-weight: 700; font-family: var(--sans); font-size: 16px; }

/* Donate amounts */
.donate-box { background: linear-gradient(160deg, var(--teal-800), var(--teal-600)); color: #fff; border-radius: var(--radius); padding: 30px; }
.donate-box h3 { color:#fff; font-size: 22px; }
.amount-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.amount-row button {
    background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3); color: #fff;
    padding: 14px 8px; border-radius: 12px; font-weight: 700; cursor: pointer; font-family: var(--sans);
    font-size: 16px; transition: .2s;
}
.amount-row button:hover, .amount-row button.active { background: var(--coral); border-color: var(--coral); }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form h3 { font-size: 22px; margin-bottom: 6px; }
.form .form-note { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
    font-family: var(--sans); font-size: 15.5px; color: var(--ink); background: var(--cream); transition: .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(148,203,68,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert { border-radius: 12px; padding: 14px 16px; font-size: 15px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- Join / Become Member forms ---------- */
.form-section-title {
    font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 34px 0 16px;
    padding-top: 20px; border-top: 1px dashed var(--line);
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.form-section-sub { color: var(--muted); font-size: 14px; margin: -10px 0 18px; }
.word-counter { display: block; text-align: right; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.word-counter.over-limit { color: #b91c1c; font-weight: 700; }
.field-over-limit { border-color: #fecaca !important; }
.file-field { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-field input[type="file"] { flex: 1 1 220px; padding: 10px; background: var(--cream); cursor: pointer; }
.file-name-display { font-size: 13px; color: var(--muted); }
.field-hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; font-weight: 400; }
.recaptcha-field { margin: 22px 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 30px auto 0; }
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 4px 22px; margin-bottom: 14px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--serif); font-size: 18px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--teal-600); font-family: var(--sans); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--slate); padding-bottom: 18px; font-size: 15.5px; }

/* ---------- Partners strip (auto-scrolling single row) ---------- */
.partners-marquee {
    margin-top: 40px; overflow: hidden; width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners-track { display: flex; width: max-content; animation: partners-scroll 30s linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partners { display: flex; flex: none; align-items: center; gap: 40px; padding-right: 40px; opacity: .8; }
.partners span { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--muted); white-space: nowrap; }

@keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.bg-cream { background: var(--cream); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding-top: 72px; }
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
    padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { max-width: 300px; }
.footer-full { font-family: var(--serif); font-size: 19px; font-weight: 700; color: #fff; }
.footer-tag { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.65); }
.footer-brand .btn-become-member { display: inline-flex; margin-top: 22px; }

.footer-col h3 {
    font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
    font-weight: 700; color: rgba(255,255,255,.5); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.8); font-size: 15px; font-weight: 500; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.8); }
.footer-contact a { color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: #fff; }

.footer-bottom { padding: 22px 0; }
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
}
.footer-bottom-inner p { font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero { min-height: 0; }
    .hero-media { width: 46%; }
    .hero-media img { height: auto; width: 100%; }
    .hero-inner { padding: 64px 0 32px; }
    .hero-copy { max-width: 62%; }
    .hero-chip { right: 16px; padding: 16px 12px; font-size: 12px; }
    .hero-stat { display: none; }
    .hero-floats { display: none; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split.reverse .split-media { order: 0; }
    .split-trio { grid-template-columns: 1fr 1fr; gap: 32px; }
    .split-trio .split-media { grid-column: 1 / -1; }
    .card-grid, .stories-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
    .footer-brand { grid-column: 1 / -1; max-width: 460px; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed; inset: 78px 0 auto 0; background: #fff; flex-direction: column;
        align-items: stretch; gap: 0; padding: 16px 24px 26px; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s ease; z-index: 90;
    }
    .primary-nav.open { transform: none; }
    .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
    .primary-nav > ul > li > a { display: block; padding: 15px 0; font-size: 17px; }
    .primary-nav .btn-become-member { margin-top: 16px; text-align: center; }
    .has-dropdown { justify-content: space-between; }
    .dropdown-toggle { padding: 12px 6px; }
    .dropdown-menu {
        position: static; flex-basis: 100%; margin-top: 0;
        opacity: 1; visibility: visible; transform: none; pointer-events: auto;
        box-shadow: none; border: none; border-radius: 0; padding: 0;
        max-height: 0; overflow: hidden; transition: max-height .25s ease;
    }
    .has-dropdown.open .dropdown-menu { max-height: 400px; padding-bottom: 8px; }
    .dropdown-menu li { border: none; }
    .dropdown-menu a { padding: 10px 0 10px 16px; font-size: 15.5px; }
    .section { padding: 64px 0; }
    .stats-grid, .value-grid { grid-template-columns: 1fr 1fr; }
    .split-trio { grid-template-columns: 1fr; gap: 32px; }
    .split-trio .split-media { grid-column: auto; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .form-row, .amount-row { grid-template-columns: 1fr; }
    .amount-row { grid-template-columns: repeat(3, 1fr); }
    .hero { display: block; min-height: 0; }
    .hero-media { position: static; width: 100%; height: 220px; margin-bottom: -12px; }
    .hero-media img { height: 100%; width: auto; }
    .hero-copy { max-width: 100%; }
    .hero-inner { max-width: 100%; padding: 24px 0 56px; }
    .hero-chip, .hero-stat { display: none; }
    .badge-stat { left: 0; }
    .site-footer { padding-top: 56px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
    .footer-brand { grid-column: auto; max-width: 100%; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 460px) {
    .card-grid, .stories-grid, .team-grid, .stats-grid { grid-template-columns: 1fr; }
    .brand-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .partners-marquee { overflow-x: auto; }
    .partners-track { animation: none; }
    .partners-track .partners[aria-hidden="true"] { display: none; }
}
