/* ═══════════════════════════════════════════════════════════
   MJASF — style.css
   Colors extracted directly from logo:
   Navy #1a2a4a · Green #3a9e3f · Gold #d4a020 · Black #0d0d0d
   Fonts: DM Serif Display · Fraunces · Outfit
   ═══════════════════════════════════════════════════════════ */

:root {
    /* ── Navy (shield, primary dark) */
    --navy: #1a2a4a;
    --navy-mid: #223260;
    --navy-lt: #2c4080;
    --navy-deep: #0f1a2e;

    /* ── Green (logo arrow, accents) */
    --green: #3a9e3f;
    --green-mid: #2d8032;
    --green-lt: #4dc254;
    --green-dim: rgba(58, 158, 63, .12);

    /* ── Gold (sun, ring, tagline) */
    --gold: #d4a020;
    --gold-lt: #e8b832;
    --gold-dim: rgba(212, 160, 32, .15);
    --gold-pale: rgba(212, 160, 32, .08);

    /* ── Neutrals — NO parchment */
    --white: #ffffff;
    --off-white: #f8f9fb;
    --light-gray: #f0f2f5;
    --mid-gray: #e2e6ec;
    --charcoal: #111827;
    --ink: #1c2333;
    --ink-mid: #4a5568;
    --ink-lt: #8492a6;
    --black: #0d0d0d;

    /* Fonts */
    --fd: 'DM Serif Display', Georgia, serif;
    --ff: 'Fraunces', Georgia, serif;
    --fu: 'Outfit', system-ui, sans-serif;

    /* Shadows */
    --sh-sm: 0 2px 12px rgba(26, 42, 74, .08);
    --sh: 0 6px 32px rgba(26, 42, 74, .14);
    --sh-lg: 0 16px 56px rgba(26, 42, 74, .22);
    --sh-gold: 0 8px 28px rgba(212, 160, 32, .25);

    /* Misc */
    --r: 4px;
    --r-md: 10px;
    --r-lg: 18px;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --t: .3s var(--ease);
}

/* ── RESET ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: var(--fu);
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.75;
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none
}

button {
    border: none;
    cursor: pointer;
    font-family: var(--fu);
    background: none
}

input,
textarea,
select {
    font-family: var(--fu);
    font-size: .95rem;
    border: none;
    outline: none
}

/* ── PRELOADER ──────────────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .7s ease, visibility .7s ease;
}

#preloader.gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.pl-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem
}

.pl-crest svg {
    width: 56px;
    height: 56px;
    animation: crestPulse 2s ease-in-out infinite
}

@keyframes crestPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .6;
        transform: scale(.93)
    }
}

.pl-name {
    font-family: var(--fd);
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: .12em;
    line-height: 1;
}

.pl-tagline {
    font-family: var(--fu);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
}

/* ── NAVBAR ─────────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    transition: background var(--t), box-shadow var(--t);
}

#navbar.scrolled {
    background: rgba(15, 26, 46, .97);
    backdrop-filter: blur(18px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}

.nav-wrap {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: .7rem
}

.nav-brand img {
    width: 60px;
    background: #fff;
    height: 60px;
    object-fit: contain;
    border-radius: 50%
}

.nav-brand-text strong {
    display: block;
    font-family: var(--fd);
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: .06em;
    line-height: 1;
}

.nav-brand-text small {
    font-family: var(--fu);
    font-size: .58rem;
    font-weight: 400;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .15rem
}

.nav-links a {
    font-family: var(--fu);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .7);
    padding: .5rem .75rem;
    border-radius: var(--r);
    transition: color var(--t);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold)
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    padding: .5rem 1.3rem !important;
    border-radius: 3px !important;
    transition: background var(--t) !important;
}

.nav-cta:hover {
    background: var(--gold-lt) !important
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--t)
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.open span:nth-child(2) {
    opacity: 0
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem
}

.section {
    padding: 7rem 0
}

.sect-white {
    background: var(--white)
}

.sect-light {
    background: var(--off-white)
}

.sect-dark {
    background: var(--navy)
}

.sect-black {
    background: var(--black)
}

/* ── REVEAL ANIMATIONS ──────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s var(--ease), transform .65s var(--ease)
}

[data-reveal].in {
    opacity: 1;
    transform: none
}

[data-reveal-left] {
    opacity: 0;
    transform: translateX(-26px);
    transition: opacity .65s var(--ease), transform .65s var(--ease)
}

[data-reveal-left].in {
    opacity: 1;
    transform: none
}

[data-reveal-right] {
    opacity: 0;
    transform: translateX(26px);
    transition: opacity .65s var(--ease), transform .65s var(--ease)
}

[data-reveal-right].in {
    opacity: 1;
    transform: none
}

/* ── TYPE HELPERS ───────────────────────────────────────── */
.eyebrow {
    display: block;
    font-family: var(--fu);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .65rem;
}

.eyebrow-lt {
    color: var(--gold-lt)
}

.section-title {
    font-family: var(--fd);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-title em {
    font-style: italic;
    color: var(--gold)
}

.title-lt {
    color: var(--white)
}

.title-lt em {
    color: var(--gold-lt)
}

.section-sub {
    font-family: var(--fu);
    font-size: 1.02rem;
    color: var(--ink-mid);
    max-width: 580px;
    line-height: 1.75
}

.sub-lt {
    color: rgba(255, 255, 255, .5)
}

.lead-para {
    font-family: var(--ff);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ink-mid);
    line-height: 1.85;
    margin-bottom: 1.1rem
}

.body-para {
    font-family: var(--fu);
    font-size: .97rem;
    color: var(--ink-mid);
    line-height: 1.8
}

.section-head {
    margin-bottom: 3.5rem
}

.section-head.centered {
    text-align: center
}

.section-head.centered .section-sub {
    margin: 0 auto
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--fu);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--navy);
    padding: .85rem 2rem;
    border-radius: 3px;
    transition: background var(--t), transform var(--t), box-shadow var(--t);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--gold-lt);
    transform: translateY(-2px);
    box-shadow: var(--sh-gold)
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--fu);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, .35);
    padding: .85rem 2rem;
    border-radius: 3px;
    transition: border-color var(--t), color var(--t);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--fu);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    padding: .85rem 2rem;
    border-radius: 3px;
    transition: background var(--t), color var(--t);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white)
}

.btn-full {
    width: 100%;
    justify-content: center
}

/* ═══════════════════════════════════════════════════════════
     HERO
  ═══════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.jpeg');
    background-size: cover;
    background-position: auto 70%;
    background-repeat: no-repeat;
    background-color: var(--navy-deep);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg,
            rgba(10, 18, 35, .95) 0%,
            rgba(10, 18, 35, .80) 50%,
            rgba(10, 18, 35, .40) 100%),
        radial-gradient(ellipse 50% 70% at 75% 55%, rgba(58, 158, 63, .06) 0%, transparent 55%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 9rem 2rem 6rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

[data-hero-reveal] {
    animation: heroUp .9s var(--ease) .3s both
}

@keyframes heroUp {
    from {
        opacity: 0;
        transform: translateY(32px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-family: var(--fu);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 1.5rem;
    justify-content: center;
}

.hero-kicker-line {
    width: 36px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0
}

.hero-h1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.4rem;
    text-align: center;
}

.hero-h1 em {
    font-family: var(--ff);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    color: rgba(255, 255, 255, .65);
    line-height: 1.15;
}

.hero-h1 strong {
    font-family: var(--fd);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: var(--gold);
    line-height: .95;
    letter-spacing: -.01em;
}

.hero-h1 span {
    font-family: var(--fd);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--white);
    font-weight: 400;
    line-height: 1.3;
    opacity: .85;
}

.hero-desc {
    font-family: var(--fu);
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .6);
    line-height: 1.85;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-ctas {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero scroll */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    font-family: var(--fu);
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .28);
}

.hero-scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

/* ═══════════════════════════════════════════════════════════
     MARQUEE
  ═══════════════════════════════════════════════════════════ */
.marquee {
    background: var(--gold);
    overflow: hidden;
    padding: .75rem 0
}

.marquee-track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: marqueeRun 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused
}

.marquee-item {
    font-family: var(--fu);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--navy);
}

.msep {
    color: rgba(26, 42, 74, .35)
}

@keyframes marqueeRun {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ═══════════════════════════════════════════════════════════
     MISSION PILLARS BAR (replaces fake stats)
  ═══════════════════════════════════════════════════════════ */
.pillars-bar {
    background: var(--navy)
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid rgba(255, 255, 255, .06);
}

.pillar-cell {
    padding: 3rem 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, .06);
    position: relative;
    overflow: hidden;
    transition: background var(--t);
}

.pillar-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.pillar-cell:hover {
    background: rgba(255, 255, 255, .03)
}

.pillar-cell:hover::after {
    transform: scaleX(1)
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: .85rem;
    display: block
}

.pillar-cell i {
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
}

.pillar-cell:hover i {
    color: var(--gold-lt);
}

.pillar-cell h3 {
    font-family: var(--fd);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: .4rem;
    line-height: 1.2;
}

.pillar-cell p {
    font-family: var(--fu);
    font-size: .88rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
     ABOUT
  ═══════════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.about-card {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--sh-sm);
    border-left: 3px solid var(--gold);
    transition: transform var(--t), box-shadow var(--t);
    display: flex;
    flex-direction: column;
    gap: .4rem;
    border: 1px solid var(--mid-gray);
    border-left: 3px solid var(--gold);
}

.about-card:hover {
    transform: translateX(5px);
    box-shadow: var(--sh)
}

.ac-green {
    border-left-color: var(--green)
}

.ac-dark {
    border-left-color: var(--navy)
}

.ac-icon {
    font-size: 1.25rem
}

.about-card h4 {
    font-family: var(--fu);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
}

.ac-green h4 {
    color: var(--green-mid)
}

.ac-dark h4 {
    color: var(--navy)
}

.about-card p {
    font-size: .92rem;
    color: var(--ink-mid);
    line-height: 1.7;
    margin: 0
}

/* ═══════════════════════════════════════════════════════════
     AIMS
  ═══════════════════════════════════════════════════════════ */
.aims-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--r-md);
    overflow: hidden;
    gap: 1px;
    background: rgba(255, 255, 255, .06);
}

.aim-cell {
    background: rgba(255, 255, 255, .03);
    padding: 1.75rem 1.25rem;
    position: relative;
    transition: background var(--t);
}

.aim-cell:hover {
    background: rgba(212, 160, 32, .08)
}

.aim-no {
    position: absolute;
    top: .85rem;
    right: .85rem;
    font-family: var(--fu);
    font-size: .58rem;
    font-weight: 700;
    color: rgba(212, 160, 32, .28);
    letter-spacing: .1em;
}

.aim-icon {
    font-size: 1.5rem;
    margin-bottom: .6rem;
    display: block
}

.aim-icon i {
    color: #fff;
    transition: all 0.2s ease-in;
}

.aim-cell:hover .aim-icon i {
    color: var(--gold);
}

.aim-cell h3 {
    font-family: var(--fu);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--white);
    margin-bottom: .4rem;
}

.aim-cell p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .4);
    line-height: 1.6;
    margin: 0
}

/* ═══════════════════════════════════════════════════════════
     PROJECTS
  ═══════════════════════════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.proj-card {
    background: var(--white);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t), box-shadow var(--t);
    border: 1px solid var(--mid-gray);
}

.proj-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-lg)
}

.proj-card.proj-hero {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.proj-thumb {
    height: 210px;
    transition: transform .5s var(--ease);
    background-size: cover;
    background-position: center;
}

.proj-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proj-card:hover .proj-thumb {
    transform: scale(1.03)
}

.proj-card.proj-hero .proj-thumb {
    height: 100%;
    min-height: 240px
}

.pt-iftar {
    background: linear-gradient(145deg, var(--navy), var(--navy-mid), var(--gold-dim) 80%)
}

.pt-flood {
    background: linear-gradient(145deg, var(--navy-deep), var(--navy), var(--navy-lt))
}

.pt-dispens {
    background: linear-gradient(145deg, var(--green-mid), var(--green), var(--green-lt))
}

.proj-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.proj-tag {
    font-family: var(--fu);
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .55rem;
}

.proj-body h3 {
    font-family: var(--fd);
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: .5rem;
    line-height: 1.3;
}

.proj-body p {
    font-size: .9rem;
    color: var(--ink-mid);
    flex: 1;
    line-height: 1.7;
    margin-bottom: .85rem
}

.proj-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    font-family: var(--fu);
    font-size: .68rem;
    color: var(--ink-lt);
    margin-bottom: .85rem;
}

.proj-link {
    font-family: var(--fu);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
    transition: color var(--t);
    display: inline-block;
}

.proj-link:hover {
    color: var(--gold)
}

.projects-more-cta {
    text-align: center;
    padding-top: 2.5rem;
}

.projects-more-cta p {
    font-family: var(--fu);
    font-size: .95rem;
    color: var(--ink-mid);
    margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
     BOARD PREVIEW
  ═══════════════════════════════════════════════════════════ */
.bod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.bod-card {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid var(--mid-gray);
    box-shadow: var(--sh-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    position: relative;
    overflow: hidden;
}

.bod-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}

.bod-card:hover::after {
    transform: scaleX(1)
}

.bod-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh);
    border-color: rgba(212, 160, 32, .3)
}

.bod-photo {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--navy), var(--navy-mid));
    border: 2px solid rgba(212, 160, 32, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fu);
    font-size: .9rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0 auto 1rem;
    letter-spacing: .04em;
}

.bod-card h3 {
    font-family: var(--fd);
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: .2rem;
    line-height: 1.3
}

.bod-role {
    font-family: var(--fu);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .65rem;
}

.bod-card blockquote {
    font-family: var(--ff);
    font-style: italic;
    font-size: .88rem;
    color: var(--ink-mid);
    line-height: 1.65;
    margin: 0;
}

.bod-cta {
    text-align: center
}

/* ═══════════════════════════════════════════════════════════
     PRESS TEASER
  ═══════════════════════════════════════════════════════════ */
.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem
}

.press-card {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 2rem;
    border: 1px solid var(--mid-gray);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}

.press-card:hover {
    box-shadow: var(--sh);
    transform: translateY(-3px);
    border-color: rgba(212, 160, 32, .3)
}

.press-card-img {
    height: 200px;
    overflow: hidden;
    border-radius: var(--r-md) var(--r-md) 0 0;
    margin: -2rem -2rem 1.25rem -2rem;
}

.press-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.press-card:hover .press-card-img img {
    transform: scale(1.04);
}

.press-top {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .85rem
}

.press-date {
    font-family: var(--fu);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-lt);
}

.press-pill {
    font-family: var(--fu);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--gold-dim);
    color: var(--gold);
    padding: .18rem .55rem;
    border-radius: 2px;
    border: 1px solid rgba(212, 160, 32, .25);
}

.press-card h3 {
    font-family: var(--fd);
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: .6rem;
    line-height: 1.35;
}

.press-card p {
    font-size: .9rem;
    color: var(--ink-mid);
    flex: 1;
    line-height: 1.75;
    margin-bottom: 1rem
}

.press-link {
    font-family: var(--fu);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    transition: color var(--t);
    display: inline-block;
}

.press-link:hover {
    color: var(--gold)
}

.press-cta {
    text-align: center
}

/* ═══════════════════════════════════════════════════════════
     DONATE — 50 / 50 SPLIT
  ═══════════════════════════════════════════════════════════ */
.donate-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
    overflow-x: hidden;
}

.donate-left {
    background: var(--navy-deep);
    position: relative;
    overflow: hidden;
}

.donate-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 110% 50%, rgba(212, 160, 32, .06) 0%, transparent 60%);
}

.donate-left-inner {
    position: relative;
    z-index: 1;
    padding: 5rem 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bank-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(212, 160, 32, .2);
    border-radius: var(--r-md);
    padding: 1.5rem;
    margin: 1.75rem 0 1.25rem;
}

.bank-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--fu);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.bank-header svg {
    flex-shrink: 0;
    color: var(--gold)
}

.bank-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: .5rem;
    padding: .4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    font-family: var(--fu);
    font-size: .82rem;
    align-items: center;
}

.bank-row:last-child {
    border: none
}

.bank-row span {
    color: rgba(255, 255, 255, .38)
}

.bank-row strong {
    color: var(--white);
    font-weight: 600
}

.whatsapp-note {
    font-family: var(--fu);
    font-size: .82rem;
    color: rgba(255, 255, 255, .38);
    line-height: 1.65;
}

.whatsapp-note a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px
}

.donate-right {
    background: var(--off-white)
}

.donate-right-inner {
    padding: 5rem 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donate-right-inner h3 {
    font-family: var(--fd);
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: .4rem;
}

.donate-right-inner>p {
    font-family: var(--fu);
    font-size: .95rem;
    color: var(--ink-mid);
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
     FORM STYLES
  ═══════════════════════════════════════════════════════════ */
.dform {
    display: flex;
    flex-direction: column;
    gap: .7rem
}

.dform-row {
    display: flex;
    flex-direction: column
}

.dform-row.two {
    flex-direction: row;
    gap: .7rem
}

.dform-row.two input {
    flex: 1
}

.dform input,
.dform select,
.dform textarea,
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%;
    background: var(--white);
    border: 1.5px solid var(--mid-gray);
    color: var(--ink);
    border-radius: var(--r);
    padding: .78rem 1rem;
    font-size: .93rem;
    font-family: var(--fu);
    transition: border-color var(--t), box-shadow var(--t);
}

.dform input:focus,
.dform select:focus,
.dform textarea:focus,
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 160, 32, .1);
}

.dform textarea,
.contact-form-wrap textarea {
    resize: vertical;
    min-height: 100px
}

.dform select,
.contact-form-wrap select {
    cursor: pointer
}

.form-status {
    display: none;
    font-family: var(--fu);
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
    padding: .45rem;
    margin-top: .25rem;
}

.form-status.ok {
    display: block;
    color: var(--green)
}

.form-status.err {
    display: block;
    color: #c0392b
}

/* ═══════════════════════════════════════════════════════════
     CONTACT
  ═══════════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 1.5rem 0
}

.contact-row {
    display: flex;
    gap: .85rem;
    align-items: flex-start
}

.contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px
}

.contact-row strong {
    display: block;
    font-family: var(--fu);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: .2rem;
}

.contact-row p {
    font-family: var(--fu);
    font-size: .9rem;
    color: var(--ink-mid);
    margin: 0;
    line-height: 1.6
}

.social-row {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    margin-top: 1rem
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--mid-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: background var(--t), color var(--t), border-color var(--t);
}

.social-btn svg {
    width: 16px;
    height: 16px
}

.social-btn:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy)
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    box-shadow: var(--sh);
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.contact-form-wrap h3 {
    font-family: var(--fd);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: .25rem
}

/* ═══════════════════════════════════════════════════════════
     FOOTER
  ═══════════════════════════════════════════════════════════ */
.footer {
    background: var(--charcoal);
    width: 100%;
    overflow-x: hidden;
}

.footer-inner {
    padding: 5rem 0 3rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem
}

.footer-brand img {
    width: 60px;
    height: 60px;
    background-color: #fff;
    margin-bottom: .85rem;
    border-radius: 50%
}

.footer-brand p {
    font-family: var(--fu);
    font-size: .88rem;
    color: rgba(255, 255, 255, .38);
    line-height: 1.75;
    margin-bottom: 1rem
}

.footer-motto {
    font-family: var(--fu);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-col h4 {
    font-family: var(--fu);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: .45rem
}

.footer-col ul a,
.footer-col address a {
    font-family: var(--fu);
    font-size: .88rem;
    color: rgba(255, 255, 255, .38);
    transition: color var(--t);
    font-style: normal;
    display: inline-block;
}

.footer-col ul a:hover,
.footer-col address a:hover {
    color: var(--gold)
}

.footer-col address {
    font-style: normal;
    font-family: var(--fu);
    font-size: .88rem;
    color: rgba(255, 255, 255, .38);
    line-height: 1.8
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 1.25rem 0
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem
}

.footer-bottom p {
    font-family: var(--fu);
    font-size: .75rem;
    color: rgba(255, 255, 255, .22)
}

.footer-tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.footer-tags span {
    font-family: var(--fu);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: .18rem .55rem;
    border-radius: 2px;
}

/* ── BACK TO TOP ────────────────────────────────────────── */
#btt {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(212, 160, 32, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t), transform var(--t);
}

#btt.show {
    opacity: 1;
    pointer-events: all
}

#btt:hover {
    transform: translateY(-3px)
}

/* ═══════════════════════════════════════════════════════════
     RESPONSIVE
  ═══════════════════════════════════════════════════════════ */
@media(max-width:1100px) {
    .aims-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr
    }

    .proj-card.proj-hero {
        grid-column: span 2
    }

    .bod-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem
    }

    .pillars-grid {
        grid-template-columns: 1fr
    }

    .donate-left-inner,
    .donate-right-inner {
        padding: 4rem 3rem
    }
}

@media(max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .press-grid {
        grid-template-columns: 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .donate-section {
        grid-template-columns: 1fr;
        min-height: auto
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        z-index: 899;
        flex-direction: column;
        background: rgba(10, 18, 35, .97);
        padding: 1.25rem;
        gap: .2rem;
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex
    }

    .section {
        padding: 4.5rem 0
    }

    .hero-inner {
        padding: 8rem 2rem 4rem
    }

    .hero-h1 strong {
        font-size: clamp(2.8rem, 12vw, 4.5rem)
    }

    .aims-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .projects-grid {
        grid-template-columns: 1fr
    }

    .proj-card.proj-hero {
        grid-column: span 1;
        display: flex;
        flex-direction: column
    }

    .proj-card.proj-hero .proj-thumb {
        min-height: 180px;
        height: 180px
    }

    .bod-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .donate-left-inner,
    .donate-right-inner {
        padding: 3rem 2rem
    }

    .donate-right-inner {
        padding: 0px;
    }

    .dform-row.two {
        flex-direction: column
    }

    footer {
        overflow-x: hidden;
        width: 100%;
    }
}

@media(max-width:480px) {
    .bank-row {
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;
    }

    .aims-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-h1 strong {
        font-size: clamp(3.8rem, 12vw, 4.5rem);
    }

    .bod-grid {
        grid-template-columns: 1fr
    }

    .hero-ctas {
        flex-direction: column
    }

    .pillars-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .nav-brand-text small {
        display: none;
    }

    .hero-inner {
        padding: 8rem 1rem 4rem;
    }

    .hero-ctas a {
        text-align: center;
        justify-content: center;
    }

    .hero-img {
        background-position: 80% 30%;
    }
}


/* ─── POPUP OVERLAY ──────────────────────────────────── */
.popup-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    padding: 20px;
    animation: overlayIn 0.5s ease forwards;
  }

  .popup-overlay.hidden { display: none; }

  .popup-overlay.closing {
    animation: overlayOut 0.4s ease forwards;
  }

  @keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes overlayOut {
    from { opacity: 1; }
    to   { opacity: 0; }
  }

  /* ─── POPUP CARD ─────────────────────────────────────── */
  .popup {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--surface);
    border: 1px solid rgba(200,169,110,0.25);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.04),
      0 40px 100px rgba(0,0,0,0.8);
    animation: popupIn 0.55s var(--ease-out) forwards;
  }

  .popup-overlay.closing .popup {
    animation: popupOut 0.4s cubic-bezier(0.4,0,1,1) forwards;
  }

  @keyframes popupIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes popupOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to   { opacity: 0; transform: translateY(18px) scale(0.96); }
  }

  /* ─── POPUP IMAGE ────────────────────────────────────── */
  .popup-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #0d0e12;
  }

  .popup-img-wrap img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
  }

  /* gold bar on top of image */
  .popup-img-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }

  .popup-img-label {
    position: sticky;
    bottom: 0px; left: 0px;
    z-index: 2;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--navy);
    border: 1px solid rgba(200,169,110,0.3);
    padding: 4px 10px;
    border-radius: 2px;
    backdrop-filter: blur(4px);
  }

  /* ─── CLOSE × BUTTON ─────────────────────────────────── */
  .popup-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    backdrop-filter: blur(4px);
    color: #fff;
  }
  .popup-close:hover {
    border-color: rgba(200,169,110,0.5);
    background: var(--gold-dim);
    transform: scale(1.1);
  }
  .popup-close svg {
    width: 12px; height: 12px;
    stroke: var(--text);
    stroke-width: 2;
    stroke-linecap: round;
  }

  @media screen and (max-width: 768px) {
    .popup-img-wrap {
        aspect-ratio: 3/5;
      }
    
  }