:root {
    --paper: #f8f2e5;
    --paper-2: #efe4d1;
    --paper-3: #e5d5bb;
    --ivory: #fffaf0;
    --ink: #2d241d;
    --muted: #74685d;
    --maroon: #7a282d;
    --maroon-2: #5d1d21;
    --maroon-3: #431417;
    --gold: #b58a43;
    --gold-2: #d1b476;
    --gold-soft: #ead8b2;
    --sage: #435c4b;
    --sage-2: #304437;
    --line: #d7c5a8;
    --line-dark: #bfa47a;
    --white: #fffdf8;
    --shadow: 0 18px 45px rgba(71, 45, 27, .12);
    --shadow-soft: 0 10px 28px rgba(71, 45, 27, .08);
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Source Sans 3', Arial, sans-serif;
    --dev: 'Noto Serif Devanagari', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .11;
    background-image: url('../images/heritage-pattern.svg');
    background-size: 220px 220px;
    mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.site-shell { min-height: 100vh; background: var(--paper); }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 92px 0; }
.section h2, .page-hero h1, .hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.03em;
    color: var(--maroon-3);
}
.section h2 { font-size: clamp(38px, 4.2vw, 62px); }
.section h2 em, .hero h1 em, .page-hero h1 em { color: var(--gold); font-weight: 600; }
.lead { font-size: 18px; line-height: 1.75; color: #5f5349; }

/* ----- shared ornaments ----- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--maroon);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.eyebrow span {
    width: 34px;
    height: 1px;
    background: var(--gold);
    position: relative;
}
.eyebrow span::after {
    content: '◆';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-51%);
    color: var(--gold);
    font-size: 7px;
    background: transparent;
}
.eyebrow.light { color: #f8e9c9; }
.eyebrow.light span { background: var(--gold-2); }
.eyebrow.dark { color: var(--maroon); }
.eyebrow.centered { justify-content: center; }
.heritage-divider { display: flex; align-items: center; gap: 12px; color: var(--gold-2); width: 150px; margin: 18px auto 20px; }
.heritage-divider::before, .heritage-divider::after { content: ''; height: 1px; background: currentColor; flex: 1; opacity: .75; }
.heritage-divider span { font-size: 8px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--maroon); color: #fff9ed; border-color: var(--maroon); box-shadow: 0 8px 18px rgba(122,40,45,.18); }
.btn-primary:hover { background: var(--maroon-2); border-color: var(--maroon-2); box-shadow: 0 12px 24px rgba(122,40,45,.22); }
.btn-light { background: var(--ivory); color: var(--maroon-2); border-color: var(--line); }
.btn-light:hover { border-color: var(--gold); }
.btn-white { background: var(--ivory); color: var(--maroon-2); border-color: rgba(255,255,255,.8); }
.btn-outline-white { color: #fff8e8; border-color: rgba(255,248,232,.45); background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,248,232,.75); }
.btn-block { width: 100%; }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: var(--maroon);
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid rgba(122,40,45,.25);
    padding-bottom: 3px;
}
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ----- header ----- */
.topbar { background: var(--maroon-3); color: #f4e8d2; border-bottom: 1px solid rgba(209,180,118,.28); }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-left a, .topbar-left span, .topbar-right span { display: inline-flex; align-items: center; gap: 7px; }
.topbar i { color: var(--gold-2); }
.topbar-message { font-family: var(--dev); color: #f8e8bf; letter-spacing: .02em; }
.topbar-reg { color: rgba(255,248,232,.65); }
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,250,240,.97);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease, background .2s ease;
}
.main-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -5px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0 8%, var(--gold) 8% 18%, var(--maroon) 18% 82%, var(--gold) 82% 92%, transparent 92% 100%);
    opacity: .72;
}
.main-header.is-scrolled { box-shadow: 0 12px 28px rgba(72,42,26,.11); background: rgba(255,250,240,.99); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    position: relative;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: var(--maroon);
    color: #f7e7bd;
    font-family: var(--dev);
    font-size: 25px;
    font-weight: 700;
    box-shadow: inset 0 0 0 4px rgba(255,250,240,.12), 0 0 0 3px var(--paper);
}
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; inset: -6px; border: 1px solid rgba(181,138,67,.45); border-radius: 50%; }
.brand-mark::after { inset: -10px; border-style: dotted; opacity: .55; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-copy strong { font-family: var(--serif); font-size: 24px; color: var(--maroon-3); letter-spacing: -.02em; white-space: nowrap; }
.brand-copy small { margin-top: 7px; font-family: var(--dev); color: var(--gold); font-size: 10px; letter-spacing: .05em; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > a:not(.nav-donate) { position: relative; padding: 31px 0 28px; font-size: 13px; font-weight: 600; color: #4b3e34; }
.main-nav > a:not(.nav-donate)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 19px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width .2s ease;
}
.main-nav > a:hover, .main-nav > a.active { color: var(--maroon); }
.main-nav > a:hover::after, .main-nav > a.active::after { width: 24px; }
.nav-donate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid var(--maroon);
    background: var(--maroon);
    color: #fff7e9;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    box-shadow: 5px 5px 0 var(--gold-soft);
}
.nav-donate:hover { background: var(--maroon-2); transform: translate(-1px,-1px); box-shadow: 7px 7px 0 var(--gold-soft); }
.menu-toggle { display: none; width: 43px; height: 43px; border: 1px solid var(--line); background: var(--ivory); padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--maroon-2); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

/* ----- home hero ----- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
    background:
        linear-gradient(rgba(248,242,229,.93), rgba(248,242,229,.96)),
        url('../images/heritage-pattern.svg');
    background-size: auto, 180px 180px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 20px 24px auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--maroon), var(--gold), transparent);
    opacity: .58;
}
.hero::after {
    content: '✦';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 11px;
    background: var(--paper);
    padding: 0 10px;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .16; pointer-events: none; }
.hero-glow-one { width: 380px; height: 380px; right: -130px; top: 70px; background: var(--gold); }
.hero-glow-two { width: 280px; height: 280px; left: -130px; bottom: 40px; background: var(--maroon); }
.hero-grid { min-height: 620px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; padding-bottom: 68px; }
.hero-copy { position: relative; z-index: 3; }
.hero h1 { font-size: clamp(56px, 6.2vw, 88px); color: var(--maroon-3); }
.hero-copy > p { max-width: 620px; margin: 24px 0 0; color: #62564b; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.play-dot { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--gold-soft); background: var(--paper); color: var(--maroon); border-radius: 50%; }
.hero-assurance { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 620px; }
.assurance-item { display: flex; align-items: center; gap: 10px; color: var(--maroon); }
.assurance-item > i { font-size: 19px; color: var(--gold); }
.assurance-item span { display: flex; flex-direction: column; line-height: 1.25; }
.assurance-item strong { font-size: 12px; color: #493c32; }
.assurance-item small { margin-top: 3px; font-size: 10px; color: #8a7d71; }
.hero-visual { position: relative; min-height: 560px; }
.hero-image-card {
    position: absolute;
    right: 28px;
    top: 0;
    width: 76%;
    height: 555px;
    overflow: hidden;
    border-radius: 180px 180px 8px 8px;
    border: 8px solid var(--ivory);
    outline: 1px solid var(--gold);
    box-shadow: var(--shadow);
    background: var(--paper-2);
}
.hero-image-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255,247,230,.68);
    border-radius: 160px 160px 3px 3px;
    z-index: 2;
    pointer-events: none;
}
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) sepia(.08) contrast(.98); }
.hero-image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(43,20,18,.72)); }
.hero-image-caption { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 3; color: #fff9eb; }
.hero-image-caption span { display: block; color: var(--gold-2); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 700; }
.hero-image-caption strong { display: block; margin-top: 5px; font-family: var(--serif); font-size: 23px; line-height: 1.08; }
.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    padding: 13px 15px;
    background: rgba(255,250,240,.96);
    border: 1px solid var(--line-dark);
    border-radius: 2px;
    box-shadow: 8px 8px 0 rgba(209,180,118,.38), var(--shadow-soft);
}
.floating-card::before { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(181,138,67,.22); pointer-events: none; }
.fc-one { left: 0; bottom: 110px; }
.fc-two { right: 0; top: 82px; }
.floating-icon { width: 37px; height: 37px; display: grid; place-items: center; background: var(--maroon); color: #fff3da; border-radius: 50%; }
.floating-icon.green { background: var(--sage); }
.floating-card div { display: flex; flex-direction: column; line-height: 1.25; }
.floating-card strong { color: var(--maroon-3); font-size: 12px; }
.floating-card small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.trust-strip {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: 1.1fr repeat(4,1fr);
    align-items: stretch;
    background: var(--maroon-3);
    color: #fff7e8;
    border: 1px solid var(--gold);
    border-bottom: 0;
    box-shadow: 0 -8px 25px rgba(58,27,22,.10);
}
.trust-strip::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(209,180,118,.25); pointer-events: none; }
.trust-strip-title { display: flex; align-items: center; padding: 24px 26px; font-family: var(--serif); font-size: 20px; color: var(--gold-2); border-right: 1px solid rgba(209,180,118,.23); }
.trust-chip { display: flex; align-items: center; gap: 10px; padding: 22px 16px; border-right: 1px solid rgba(209,180,118,.18); }
.trust-chip:last-child { border-right: 0; }
.trust-chip > i { color: var(--gold-2); font-size: 19px; }
.trust-chip span { display: flex; flex-direction: column; line-height: 1.25; }
.trust-chip span > span, .trust-chip span { font-size: 10px; color: rgba(255,247,232,.72); }
.trust-chip strong { margin-top: 4px; font-size: 10px; color: #fff8ea; }

/* ----- general sections ----- */
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: end; margin-bottom: 46px; }
.section-heading.center { grid-template-columns: 1fr; text-align: center; max-width: 850px; margin: 0 auto 48px; }
.section-heading.center p { max-width: 690px; margin: 0 auto; }
.section-heading > p { margin: 0; color: var(--muted); }
.section-about { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 82px; align-items: center; }
.about-visual { position: relative; min-height: 520px; }
.about-image-main {
    width: 82%;
    height: 490px;
    overflow: hidden;
    border: 10px solid var(--paper);
    outline: 1px solid var(--gold);
    box-shadow: var(--shadow);
    position: relative;
}
.about-image-main::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.56); pointer-events: none; }
.about-image-main img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) sepia(.12); }
.about-stat-card {
    position: absolute;
    right: 0;
    bottom: 44px;
    width: 250px;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 17px;
    background: var(--maroon);
    color: #fff7e8;
    border: 1px solid var(--gold);
    box-shadow: 10px 10px 0 var(--gold-soft);
}
.stat-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); color: var(--gold-2); font-size: 20px; }
.about-stat-card div { display: flex; flex-direction: column; line-height: 1.25; }
.about-stat-card strong { font-family: var(--serif); font-size: 18px; }
.about-stat-card small { margin-top: 4px; color: rgba(255,255,255,.72); font-size: 9px; }
.about-dots { position: absolute; left: 18px; bottom: 2px; width: 110px; height: 58px; background-image: radial-gradient(var(--gold) 1.3px, transparent 1.3px); background-size: 10px 10px; opacity: .45; }
.about-copy .lead { margin-top: 22px; }
.about-copy > p:not(.lead) { color: var(--muted); }
.about-points { display: grid; gap: 12px; margin-top: 26px; }
.about-points > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.about-points i { color: var(--gold); margin-top: 4px; }
.about-points span { display: flex; flex-direction: column; line-height: 1.35; }
.about-points strong { font-size: 13px; color: var(--maroon-3); }
.about-points small { margin-top: 3px; font-size: 11px; color: var(--muted); }

.section-programs { background: var(--paper); }
.program-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.program-card {
    position: relative;
    min-height: 300px;
    padding: 28px 25px 32px;
    background: rgba(255,250,240,.82);
    border: 1px solid var(--line);
    box-shadow: 0 9px 24px rgba(71,45,27,.04);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.program-card::before, .service-detail-card::before, .gallery-category-card::before, .certificate-card::before {
    content: '';
    position: absolute;
    left: 9px; top: 9px;
    width: 22px; height: 22px;
    border-left: 1px solid var(--gold);
    border-top: 1px solid var(--gold);
    opacity: .55;
}
.program-card::after, .service-detail-card::after, .gallery-category-card::after, .certificate-card::after {
    content: '';
    position: absolute;
    right: 9px; bottom: 9px;
    width: 22px; height: 22px;
    border-right: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    opacity: .55;
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.program-number { position: absolute; right: 20px; top: 14px; font-family: var(--serif); color: rgba(181,138,67,.32); font-size: 42px; font-weight: 700; }
.program-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--maroon); font-size: 21px; background: var(--paper); transform: rotate(45deg); margin: 8px 0 24px 4px; }
.program-icon i { transform: rotate(-45deg); }
.program-card h3 { margin: 0 0 10px; font-family: var(--serif); color: var(--maroon-3); font-size: 25px; line-height: 1.05; }
.program-card p { margin: 0; color: var(--muted); font-size: 13px; }
.program-arrow { position: absolute; right: 21px; bottom: 19px; width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--maroon); transition: .2s ease; }
.program-card:hover .program-arrow { background: var(--maroon); color: #fff; border-color: var(--maroon); }

.section-work { background: var(--maroon-3); color: #fff7e8; overflow: hidden; border-top: 5px solid var(--gold); }
.section-work::before { content: ''; position: absolute; inset: 0; background-image: url('../images/heritage-pattern.svg'); background-size: 190px; opacity: .28; }
.section-work h2 { color: #fff5df; }
.work-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.work-copy > p { color: rgba(255,247,232,.68); max-width: 560px; }
.work-list { margin-top: 30px; border-top: 1px solid rgba(209,180,118,.30); }
.work-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(209,180,118,.22); }
.work-list > div > span { color: var(--gold-2); font-family: var(--serif); font-size: 18px; }
.work-list p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.work-list strong { color: #fff8e8; font-size: 13px; }
.work-list small { color: rgba(255,247,232,.56); font-size: 10px; margin-top: 4px; }
.work-visual { position: relative; min-height: 540px; }
.work-photo { position: absolute; overflow: hidden; border: 8px solid #f2e6d1; outline: 1px solid var(--gold); box-shadow: 0 22px 42px rgba(0,0,0,.26); }
.work-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) sepia(.10); }
.work-photo-main { width: 72%; height: 480px; right: 10px; top: 20px; }
.work-photo-small { width: 43%; height: 245px; left: 0; bottom: 0; }
.work-badge { position: absolute; left: 17%; top: 68px; z-index: 3; width: 130px; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; background: var(--gold); color: var(--maroon-3); border: 5px double rgba(67,20,23,.28); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.work-badge i { font-size: 22px; }
.work-badge span { margin-top: 5px; font-size: 10px; line-height: 1.2; }
.work-badge strong { display: block; font-family: var(--serif); font-size: 20px; }

.section-certifications { background: var(--ivory); border-bottom: 1px solid var(--line); }
.certificate-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.certificate-card { position: relative; min-height: 250px; padding: 29px 24px; background: var(--paper); border: 1px solid var(--line); }
.certificate-card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.certificate-icon { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--maroon); font-size: 19px; background: var(--ivory); }
.certificate-card > small { display: block; margin-top: 23px; color: var(--gold); text-transform: uppercase; font-size: 9px; letter-spacing: .13em; font-weight: 700; }
.certificate-card h3 { margin: 7px 0 18px; font-family: var(--serif); color: var(--maroon-3); font-size: 24px; line-height: 1.08; }
.certificate-card p { margin: 0; color: var(--muted); font-size: 11px; }
.certificate-card > strong { display: block; margin-top: 4px; color: var(--maroon); font-size: 12px; }

.section-volunteer { padding-top: 0; background: var(--ivory); }
.volunteer-panel { min-height: 290px; padding: 48px 54px; display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; overflow: hidden; background: var(--sage-2); color: #fff8e8; border: 1px solid var(--gold); box-shadow: 10px 10px 0 var(--gold-soft); }
.volunteer-panel::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(209,180,118,.32); pointer-events: none; }
.volunteer-panel::after { content: 'सेवा'; position: absolute; right: 34px; bottom: -35px; font-family: var(--dev); font-size: 140px; color: rgba(255,255,255,.035); line-height: 1; }
.volunteer-copy { position: relative; z-index: 2; max-width: 650px; }
.volunteer-copy h2 { color: #fff8e8; }
.volunteer-copy p { color: rgba(255,248,232,.68); margin-bottom: 0; }
.volunteer-actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 11px; min-width: 235px; }

.section-donate { background: var(--paper); }
.donate-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 78px; align-items: center; }
.donate-copy > p { max-width: 620px; color: var(--muted); font-size: 16px; }
.donation-note { margin-top: 24px; display: flex; gap: 11px; max-width: 580px; padding: 14px 16px; background: var(--ivory); border: 1px solid var(--line); color: #665a50; font-size: 12px; }
.donation-note i { color: var(--gold); font-size: 16px; }
.donate-card { position: relative; background: var(--ivory); padding: 32px; border: 1px solid var(--gold); box-shadow: 10px 10px 0 var(--paper-3), var(--shadow-soft); }
.donate-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(181,138,67,.2); pointer-events: none; }
.donate-card-top { display: flex; gap: 14px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); position: relative; }
.donate-card-top > span { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--maroon); font-size: 19px; }
.donate-card-top div { display: flex; flex-direction: column; line-height: 1.25; }
.donate-card-top small { font-size: 9px; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }
.donate-card-top strong { margin-top: 5px; font-family: var(--serif); color: var(--maroon-3); font-size: 23px; }
.donate-features { display: grid; gap: 12px; padding: 22px 0; color: #5f554c; font-size: 13px; }
.donate-features i { color: var(--gold); margin-right: 8px; }
.donate-disclaimer { display: block; color: #8d8075; font-size: 10px; text-align: center; margin-top: 14px; line-height: 1.45; }

/* ----- page hero ----- */
.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    display: flex;
    align-items: center;
    background: var(--maroon-3);
    color: #fff7e8;
    border-bottom: 6px solid var(--gold);
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: url('../images/heritage-pattern.svg'); background-size: 170px; opacity: .45; }
.page-hero::after { content: ''; position: absolute; inset: 24px; border: 1px solid rgba(209,180,118,.27); pointer-events: none; }
.page-hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero-orb-one { width: 360px; height: 360px; right: -130px; top: -150px; border: 1px solid rgba(209,180,118,.18); }
.page-hero-orb-two { width: 240px; height: 240px; left: -90px; bottom: -130px; border: 1px solid rgba(209,180,118,.15); }
.page-hero-inner { position: relative; z-index: 3; text-align: center; max-width: 900px; padding: 72px 0; }
.page-hero h1 { color: #fff7e8; font-size: clamp(48px, 6vw, 78px); }
.page-hero p { max-width: 740px; margin: 0 auto; color: rgba(255,247,232,.72); font-size: 16px; }
.breadcrumb-line { margin-top: 24px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border-top: 1px solid rgba(209,180,118,.28); border-bottom: 1px solid rgba(209,180,118,.28); color: rgba(255,247,232,.7); font-size: 11px; }
.breadcrumb-line a { color: var(--gold-2); }
.breadcrumb-line i { font-size: 8px; }

/* ----- about page ----- */
.inner-about-section { background: var(--ivory); }
.about-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 62px; align-items: center; }
.about-story-card { position: relative; padding: 42px 40px; background: var(--paper); border: 1px solid var(--gold); box-shadow: 10px 10px 0 var(--paper-3); }
.about-story-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(181,138,67,.23); pointer-events: none; }
.story-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 700; }
.about-story-card h2 { margin-top: 12px; font-size: clamp(38px,4vw,56px); }
.about-story-card p { color: var(--muted); }
.registration-pill { margin-top: 25px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 15px; background: var(--maroon); color: #fff7e8; border: 1px solid var(--gold); }
.registration-pill i { color: var(--gold-2); font-size: 18px; }
.registration-pill span { display: flex; flex-direction: column; line-height: 1.25; }
.registration-pill small { color: rgba(255,247,232,.66); font-size: 9px; }
.registration-pill strong { margin-top: 3px; font-size: 12px; }
.about-story-copy h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 39px; line-height: 1.06; color: var(--maroon-3); }
.about-story-copy > p { color: var(--muted); }
.purpose-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.purpose-grid > div { min-height: 126px; padding: 17px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.purpose-grid i { color: var(--gold); font-size: 18px; }
.purpose-grid strong { margin-top: 8px; color: var(--maroon-3); font-family: var(--serif); font-size: 20px; }
.purpose-grid span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.objectives-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.objective-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.objective-cloud span { padding: 10px 15px; border: 1px solid var(--line-dark); background: var(--ivory); color: var(--maroon-2); font-family: var(--serif); font-size: 18px; }
.approach-section { background: var(--sage-2); color: #fff8e8; border-top: 5px solid var(--gold); }
.approach-section::before { content: ''; position: absolute; inset: 0; background-image: url('../images/heritage-pattern.svg'); background-size: 190px; opacity: .24; }
.approach-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 78px; align-items: center; }
.approach-copy h2 { color: #fff8e8; }
.approach-copy > p { color: rgba(255,248,232,.68); }
.approach-list { border-top: 1px solid rgba(209,180,118,.28); }
.approach-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(209,180,118,.23); }
.approach-list > div > span { color: var(--gold-2); font-family: var(--serif); font-size: 21px; }
.approach-list p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.approach-list strong { color: #fff8e8; }
.approach-list small { margin-top: 4px; color: rgba(255,248,232,.58); font-size: 11px; }
.trustees-section { background: var(--ivory); }
.trustee-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.trustee-card { min-height: 95px; padding: 16px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: var(--paper); transition: .2s ease; }
.trustee-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.trustee-avatar { width: 49px; height: 49px; flex: 0 0 49px; display: grid; place-items: center; background: var(--maroon); color: #fff1d8; font-family: var(--serif); font-weight: 700; font-size: 17px; border: 1px solid var(--gold); }
.trustee-card h3 { margin: 0; font-family: var(--serif); color: var(--maroon-3); font-size: 18px; line-height: 1.1; }
.trustee-card p { margin: 5px 0 0; color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.compact-cta-section { padding-top: 0; background: var(--ivory); }
.compact-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 38px; background: var(--paper); border-top: 3px solid var(--maroon); border-bottom: 3px solid var(--gold); box-shadow: var(--shadow-soft); }
.compact-cta small { color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 700; }
.compact-cta h2 { margin-top: 5px; font-size: clamp(30px,3vw,42px); }
.compact-cta-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ----- services page ----- */
.services-intro { background: var(--ivory); }
.services-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.services-list-section { background: var(--paper); padding-top: 30px; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.service-detail-card { position: relative; padding: 30px; background: var(--ivory); border: 1px solid var(--line); min-height: 340px; }
.service-detail-card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.service-card-top { display: flex; justify-content: space-between; align-items: center; }
.service-detail-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--maroon); font-size: 20px; background: var(--paper); }
.service-index { font-family: var(--serif); font-size: 38px; color: rgba(181,138,67,.34); }
.service-detail-card h3 { margin: 20px 0 10px; font-family: var(--serif); font-size: 28px; color: var(--maroon-3); }
.service-detail-card > p { color: var(--muted); font-size: 13px; }
.service-detail-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.service-detail-card li { display: flex; gap: 9px; align-items: flex-start; color: #564b42; font-size: 12px; }
.service-detail-card li i { color: var(--gold); margin-top: 3px; }
.source-scope-section { background: var(--maroon-3); color: #fff8e8; border-top: 5px solid var(--gold); }
.source-scope-section::before { content: ''; position: absolute; inset: 0; background-image: url('../images/heritage-pattern.svg'); background-size: 190px; opacity: .28; }
.source-scope-grid { position: relative; display: grid; grid-template-columns: 1fr .55fr; gap: 72px; align-items: center; }
.source-scope-copy h2 { color: #fff8e8; }
.source-scope-copy p { color: rgba(255,248,232,.68); }
.source-scope-badge { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--gold); outline: 1px solid rgba(209,180,118,.25); outline-offset: -9px; background: rgba(255,255,255,.035); }
.source-scope-badge i { color: var(--gold-2); font-size: 44px; }
.source-scope-badge small { margin-top: 13px; color: rgba(255,248,232,.66); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.source-scope-badge strong { margin-top: 8px; font-family: var(--serif); font-size: 28px; color: #fff8e8; }
.source-scope-badge span { margin-top: 6px; color: var(--gold-2); font-size: 11px; }

/* ----- certificates ----- */
.certificates-page-section { background: var(--ivory); }
.certificate-page-grid { display: grid; gap: 20px; }
.certificate-page-card { display: grid; grid-template-columns: 360px 1fr; background: var(--paper); border: 1px solid var(--line); min-height: 310px; }
.certificate-page-card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.certificate-preview { position: relative; border: 0; border-right: 1px solid var(--line); background: #e9dfcf; padding: 18px; overflow: hidden; }
.certificate-preview img { width: 100%; height: 275px; object-fit: contain; background: #fff; filter: saturate(.88); }
.certificate-preview span { position: absolute; left: 28px; bottom: 28px; display: inline-flex; gap: 7px; align-items: center; padding: 8px 10px; background: rgba(67,20,23,.9); color: #fff7e8; font-size: 10px; border: 1px solid rgba(209,180,118,.55); }
.certificate-placeholder { margin: 18px; min-height: 275px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; background: var(--maroon-3); color: #fff8e8; border: 1px solid var(--gold); }
.certificate-placeholder i { font-size: 48px; color: var(--gold-2); }
.certificate-placeholder span { font-family: var(--serif); font-size: 24px; }
.certificate-page-copy { display: flex; flex-direction: column; justify-content: center; padding: 36px 40px; }
.certificate-page-copy > small { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 700; }
.certificate-page-copy h2 { margin: 7px 0 10px; font-size: 40px; }
.certificate-page-copy p { color: var(--muted); }
.certificate-number { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.certificate-number span { color: #8b7c6e; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.certificate-number strong { margin-top: 4px; color: var(--maroon); font-size: 15px; }
.certificate-note { margin-top: 24px; display: flex; gap: 14px; padding: 17px 19px; background: var(--paper); border-left: 3px solid var(--gold); color: var(--muted); font-size: 12px; }
.certificate-note i { color: var(--gold); font-size: 18px; }
.certificate-note p { margin: 0; }
.certificate-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(36,18,16,.9); }
.certificate-modal.is-open { display: flex; }
.certificate-modal img { max-width: min(900px,90vw); max-height: 85vh; object-fit: contain; background: #fff; padding: 8px; border: 1px solid var(--gold); }
.certificate-modal-close { position: fixed; right: 24px; top: 24px; width: 45px; height: 45px; border: 1px solid var(--gold); background: var(--maroon); color: #fff; font-size: 18px; }

/* ----- gallery ----- */
.gallery-intro-section { background: var(--ivory); }
.gallery-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.gallery-categories-section { background: var(--paper); padding-top: 30px; }
.gallery-category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.gallery-category-card { position: relative; overflow: hidden; min-height: 290px; padding: 29px 25px; background: var(--ivory); border: 1px solid var(--line); }
.gallery-category-card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.gallery-pattern { position: absolute; inset: 0; background-image: url('../images/heritage-pattern.svg'); background-size: 150px; opacity: .22; }
.gallery-category-icon, .gallery-category-number, .gallery-category-card h3, .gallery-category-card p, .gallery-category-card small { position: relative; z-index: 2; }
.gallery-category-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--maroon); font-size: 20px; background: var(--paper); }
.gallery-category-number { position: absolute; right: 23px; top: 18px; color: rgba(181,138,67,.42); font-family: var(--serif); font-size: 38px; }
.gallery-category-card h3 { margin: 22px 0 9px; font-family: var(--serif); font-size: 26px; color: var(--maroon-3); }
.gallery-category-card p { color: var(--muted); font-size: 13px; }
.gallery-category-card small { display: block; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--gold); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.gallery-evidence-section { background: var(--ivory); padding-top: 0; }
.gallery-evidence-panel { display: grid; grid-template-columns: 80px 1fr auto; gap: 28px; align-items: center; padding: 34px; background: var(--maroon-3); color: #fff8e8; border: 1px solid var(--gold); }
.gallery-evidence-panel > div:first-child { width: 65px; height: 65px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-2); font-size: 25px; }
.gallery-evidence-panel small { color: var(--gold-2); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.gallery-evidence-panel h2 { color: #fff8e8; font-size: 35px; margin: 4px 0 6px; }
.gallery-evidence-panel p { margin: 0; color: rgba(255,248,232,.65); font-size: 12px; }

/* ----- contact/forms ----- */
.contact-page-section { background: var(--ivory); }
.contact-page-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 36px; align-items: stretch; }
.contact-info-panel { position: relative; padding: 38px; background: var(--paper); border: 1px solid var(--gold); box-shadow: 9px 9px 0 var(--paper-3); }
.contact-info-panel::before, .form-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(181,138,67,.2); pointer-events: none; }
.contact-info-panel h2 { font-size: 47px; }
.contact-info-panel > p { color: var(--muted); }
.contact-info-list { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.contact-info-list > a, .contact-info-list > div { display: flex; gap: 13px; align-items: flex-start; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-info-list > a > span, .contact-info-list > div > span { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--maroon); }
.contact-info-list div div, .contact-info-list a div { display: flex; flex-direction: column; line-height: 1.35; }
.contact-info-list small { color: var(--gold); font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.contact-info-list strong { margin-top: 4px; color: #4e4137; font-size: 12px; font-weight: 600; }
.form-card { position: relative; padding: 38px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.form-card-heading { position: relative; z-index: 2; margin-bottom: 22px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.form-card-heading small { color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 700; }
.form-card-heading h2 { margin-top: 4px; font-size: 39px; }
.site-form { position: relative; z-index: 2; display: grid; gap: 15px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2,1fr); }
.site-form label { display: grid; gap: 6px; color: #574a40; font-size: 11px; font-weight: 600; }
.site-form input, .site-form textarea, .site-form select { width: 100%; border: 1px solid #cdbb9e; background: var(--ivory); color: var(--ink); border-radius: 0; padding: 12px 13px; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.site-form textarea { resize: vertical; min-height: 95px; }
.site-form input:focus, .site-form textarea:focus, .site-form select:focus { border-color: var(--gold); background: #fffdf7; box-shadow: 0 0 0 3px rgba(181,138,67,.12); }
.form-submit { margin-top: 3px; justify-self: start; min-width: 190px; }
.file-label > span small { color: var(--muted); font-weight: 400; }
.file-label input[type=file] { padding: 10px; }
.checkbox-label { display: grid !important; grid-template-columns: 18px 1fr; align-items: flex-start; gap: 9px !important; font-weight: 400 !important; color: var(--muted) !important; }
.checkbox-label input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--maroon); }
.alert-box { position: relative; z-index: 2; display: flex; gap: 10px; padding: 12px 13px; margin-bottom: 15px; border-left: 3px solid; font-size: 12px; }
.alert-box.success { background: #edf3ec; border-color: var(--sage); color: #36503f; }
.alert-box.error { background: #f7e9e7; border-color: var(--maroon); color: #7b292e; }
.map-section { height: 420px; border-top: 5px solid var(--gold); background: var(--paper-2); }
.map-section iframe { width: 100%; height: 100%; border: 0; filter: sepia(.12) saturate(.75); }

/* ----- donation page ----- */
.donation-page-section { background: var(--ivory); }
.donation-page-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 38px; align-items: start; }
.donation-info-column h2 { font-size: 52px; }
.donation-info-column > p { color: var(--muted); }
.donation-process-card { margin-top: 26px; padding: 26px; background: var(--paper); border: 1px solid var(--line); }
.donation-process-card h3 { margin: 0 0 18px; font-family: var(--serif); color: var(--maroon-3); font-size: 28px; }
.donation-process-card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.donation-process-card li { display: grid; grid-template-columns: 33px 1fr; gap: 11px; align-items: start; }
.donation-process-card li > span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--maroon); color: #fff7e8; border: 1px solid var(--gold); font-family: var(--serif); font-weight: 700; }
.donation-process-card li div { display: flex; flex-direction: column; line-height: 1.35; }
.donation-process-card strong { color: #4e4137; font-size: 12px; }
.donation-process-card small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.donation-contact-box { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 15px; background: var(--maroon-3); color: #fff7e8; border: 1px solid var(--gold); }
.donation-contact-box > span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(209,180,118,.55); color: var(--gold-2); }
.donation-contact-box div { display: flex; flex-direction: column; line-height: 1.3; }
.donation-contact-box small { color: rgba(255,247,232,.63); font-size: 9px; }
.donation-contact-box a { margin-top: 3px; font-family: var(--serif); font-size: 19px; color: #fff7e8; }
.donation-safety-note { margin-top: 14px; display: flex; gap: 10px; padding: 13px; border-left: 3px solid var(--gold); background: var(--paper); color: var(--muted); font-size: 10px; }
.donation-safety-note i { color: var(--gold); font-size: 17px; }
.donation-safety-note p { margin: 0; }
.donation-form-card { border-color: var(--gold); box-shadow: 10px 10px 0 var(--paper-3); }
.donation-success-card { position: relative; z-index: 2; margin-bottom: 16px; padding: 14px; display: flex; gap: 12px; background: #edf3ec; border-left: 3px solid var(--sage); color: #36503f; }
.donation-success-card > i { font-size: 21px; }
.donation-success-card div { display: flex; flex-direction: column; }
.donation-success-card small { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.donation-success-card h3 { margin: 2px 0; font-family: var(--serif); font-size: 22px; }
.donation-success-card p { margin: 0; font-size: 11px; }
.donation-trust-strip-section { padding-top: 0; background: var(--ivory); }
.donation-trust-strip { display: grid; grid-template-columns: repeat(4,1fr); background: var(--maroon-3); color: #fff8e8; border: 1px solid var(--gold); }
.donation-trust-strip > div { min-height: 120px; padding: 22px 18px; display: flex; align-items: center; gap: 11px; border-right: 1px solid rgba(209,180,118,.22); }
.donation-trust-strip > div:last-child { border-right: 0; }
.donation-trust-strip i { color: var(--gold-2); font-size: 22px; }
.donation-trust-strip span { display: flex; flex-direction: column; line-height: 1.3; }
.donation-trust-strip small { color: rgba(255,248,232,.57); font-size: 9px; }
.donation-trust-strip strong { margin-top: 4px; font-size: 11px; }

/* ----- footer ----- */
.footer { background: #2a1816; color: rgba(255,247,232,.68); border-top: 6px solid var(--gold); }
.footer-motto { border-bottom: 1px solid rgba(209,180,118,.2); background: #3b171a; }
.footer-motto .container { min-height: 54px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 13px; color: var(--gold-2); font-family: var(--serif); font-size: 16px; text-align: center; }
.footer-motto strong { color: #fff4de; font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.footer-motto i { font-style: normal; color: rgba(209,180,118,.5); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr .8fr 1.25fr; gap: 48px; padding: 64px 0 48px; }
.brand-footer .brand-mark { background: #551d20; }
.brand-footer .brand-copy strong { color: #fff4df; }
.brand-footer .brand-copy small { color: var(--gold-2); font-family: var(--sans); }
.footer-brand p { max-width: 340px; margin: 21px 0 0; font-size: 12px; }
.footer-registration { display: inline-block; margin-top: 16px; padding-top: 10px; border-top: 1px solid rgba(209,180,118,.2); color: rgba(255,247,232,.52); font-size: 10px; }
.footer-registration strong { color: var(--gold-2); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { position: relative; color: #fff4df; font-family: var(--serif); margin: 7px 0 15px; font-size: 20px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -7px; width: 28px; height: 1px; background: var(--gold); }
.footer-col a { font-size: 11px; transition: color .2s ease, padding-left .2s ease; }
.footer-col a:hover { color: var(--gold-2); padding-left: 3px; }
.footer-contact p { margin: 0; font-size: 11px; display: flex; gap: 9px; }
.footer-contact i { color: var(--gold-2); margin-top: 2px; }
.footer-bottom { min-height: 65px; border-top: 1px solid rgba(209,180,118,.16); display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 9px; color: rgba(255,247,232,.42); }

/* ----- animation ----- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--delay, 0ms); }
.reveal-delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ----- responsive ----- */
@media (max-width: 1100px) {
    .main-nav { gap: 16px; }
    .main-nav > a:not(.nav-donate) { font-size: 12px; }
    .brand-copy strong { font-size: 21px; }
    .hero-grid { gap: 42px; }
    .hero-image-card { width: 82%; }
    .trust-strip { grid-template-columns: repeat(2,1fr); }
    .trust-strip-title { grid-column: 1/-1; border-right: 0; border-bottom: 1px solid rgba(209,180,118,.20); }
    .program-grid, .certificate-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1.25fr .7fr .7fr 1.2fr; gap: 28px; }
}

@media (max-width: 920px) {
    .topbar-right .topbar-reg { display: none; }
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--ivory);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .main-nav > a:not(.nav-donate) { padding: 12px 14px; border-bottom: 1px solid #e7dbc8; }
    .main-nav > a:not(.nav-donate)::after { display: none; }
    .nav-donate { margin-top: 9px; justify-content: center; box-shadow: none; }
    .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero-grid, .about-grid, .work-grid, .donate-grid, .about-story-grid, .approach-grid, .services-intro-grid, .source-scope-grid, .gallery-intro-grid, .contact-page-grid, .donation-page-grid { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; }
    .hero-copy { text-align: center; }
    .hero-copy > p, .hero-assurance { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-assurance { justify-content: center; }
    .hero-visual { min-height: 540px; }
    .hero-image-card { width: 66%; right: 17%; }
    .fc-one { left: 4%; }
    .fc-two { right: 4%; }
    .section-heading { grid-template-columns: 1fr; gap: 18px; }
    .about-visual { max-width: 680px; width: 100%; margin-inline: auto; }
    .work-grid, .approach-grid { gap: 46px; }
    .work-visual { max-width: 680px; width: 100%; margin-inline: auto; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .certificate-page-card { grid-template-columns: 310px 1fr; }
    .gallery-category-grid, .trustee-grid { grid-template-columns: repeat(2,1fr); }
    .compact-cta { flex-direction: column; align-items: flex-start; }
    .donation-trust-strip { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
    .container { width: min(100% - 26px, 1180px); }
    .section { padding: 68px 0; }
    .topbar-inner { min-height: 33px; justify-content: center; }
    .topbar-left span { display: none; }
    .topbar-right { display: none; }
    .nav-wrap { min-height: 76px; }
    .brand-mark { width: 46px; height: 46px; flex-basis: 46px; font-size: 21px; }
    .brand-copy strong { font-size: 18px; white-space: normal; }
    .brand-copy small { font-size: 8px; }
    .main-nav { top: 76px; }
    .hero { padding-top: 58px; }
    .hero-grid { gap: 35px; padding-bottom: 54px; }
    .hero h1 { font-size: clamp(50px,15vw,68px); }
    .hero-copy > p { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-assurance { gap: 15px; flex-direction: column; align-items: center; }
    .hero-visual { min-height: 465px; }
    .hero-image-card { width: 78%; height: 440px; right: 11%; border-radius: 130px 130px 5px 5px; }
    .floating-card { min-width: 188px; padding: 10px 11px; }
    .fc-one { left: 0; bottom: 62px; }
    .fc-two { right: 0; top: 62px; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-chip { border-right: 0; border-top: 1px solid rgba(209,180,118,.17); }
    .trust-strip-title { grid-column: auto; }
    .about-visual { min-height: 430px; }
    .about-image-main { width: 88%; height: 390px; }
    .about-stat-card { width: 218px; bottom: 10px; }
    .program-grid, .certificate-grid, .purpose-grid, .gallery-category-grid, .trustee-grid, .form-grid.two, .donation-trust-strip { grid-template-columns: 1fr; }
    .work-visual { min-height: 445px; }
    .work-photo-main { height: 400px; width: 76%; }
    .work-photo-small { height: 190px; width: 45%; }
    .work-badge { width: 102px; height: 102px; top: 42px; }
    .volunteer-panel { padding: 37px 28px; flex-direction: column; align-items: stretch; }
    .volunteer-actions { min-width: 0; }
    .page-hero { min-height: 340px; }
    .page-hero::after { inset: 13px; }
    .page-hero-inner { padding: 62px 12px; }
    .page-hero h1 { font-size: clamp(44px,13vw,62px); }
    .about-story-card, .contact-info-panel, .form-card { padding: 28px 23px; }
    .approach-grid, .source-scope-grid { gap: 38px; }
    .certificate-page-card { grid-template-columns: 1fr; }
    .certificate-preview { border-right: 0; border-bottom: 1px solid var(--line); }
    .certificate-page-copy { padding: 26px 23px; }
    .certificate-page-copy h2 { font-size: 34px; }
    .gallery-evidence-panel { grid-template-columns: 1fr; }
    .gallery-evidence-panel > div:first-child { width: 58px; height: 58px; }
    .contact-info-panel h2, .donation-info-column h2 { font-size: 42px; }
    .map-section { height: 340px; }
    .footer-grid { grid-template-columns: 1fr; padding-top: 50px; }
    .footer-bottom { padding: 17px 0; flex-direction: column; align-items: flex-start; }
    .footer-motto .container { padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .program-card, .service-detail-card, .trustee-card { transition: none; }
}
