/* ==========================================================
   Bhakti Marga Foundation — bhaktimarga.foundation
   Brand system taken from the Bhakti Marga master brand
   (donate.bhaktimarga.org): deep navy #16254C → #000711,
   gold #BB9D5A, soft blue #8AAADB / #617B9B.
   ========================================================== */

:root {
    /* Brand */
    --navy: #16254c;
    --navy-deep: #0d1834;
    --navy-ink: #000711;
    --navy-veil: rgba(22, 37, 76, 0.07);
    --gold: #bb9d5a;
    --gold-light: #d2b876;
    --gold-deep: #9a7f42;
    --blue-soft: #8aaadb;
    --blue-mute: #617b9b;

    /* Surfaces & text */
    --paper: #faf8f4;
    --paper-dark: #f1ede4;
    --white: #ffffff;
    --ink: #1c2233;
    --ink-soft: #5b6275;
    --rule: rgba(28, 34, 51, 0.13);

    --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

/* ---------- typography ---------- */

h1, h2, h3, blockquote {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.005em;
    color: var(--navy);
}

h1 { font-size: clamp(3.2rem, 8.4vw, 6.8rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.15; }

h1 em { font-style: italic; font-weight: 400; color: var(--gold-light); }

/* Small caps labels are always gold — the brand's quiet voice */
.kicker {
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--gold-deep);
    margin-bottom: 1.2rem;
}

.section-head { margin-bottom: 3.4rem; }
.section-head h2 { max-width: 20ch; }

/* A heading that introduces running text breathes before it */
h2 + .prose,
h2 + .lead,
h2 + p { margin-top: 1.6rem; }

.prose p {
    font-size: clamp(1.02rem, 1.4vw, 1.14rem);
    line-height: 1.78;
    color: var(--ink-soft);
    margin-bottom: 1.3rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.lead {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.4;
    color: var(--navy);
    margin-bottom: 1.4rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-deep);
    text-decoration: none;
    margin-top: 1.6rem;
}
.text-link i { font-style: normal; transition: transform 0.25s ease; }
.text-link:hover i { transform: translateX(4px); }

/* ---------- buttons ---------- */

.btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2.1rem;
    border-radius: 2rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-gold { background: var(--gold); color: var(--navy-ink); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ---------- reveal animations ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- navigation ---------- */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 244, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--rule);
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.9rem 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    transition: color 0.35s ease;
}
.nav.scrolled .brand { color: var(--navy); }

.brand-mark { width: 2.6rem; height: 2.6rem; flex-shrink: 0; }

.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 0.22rem; }

.brand-over {
    font-family: var(--sans);
    font-size: 0.56rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--gold);
    white-space: nowrap;
}

.brand-name {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--gold); }
.nav.scrolled .nav-links a:hover { color: var(--gold-deep); }

.nav-links .nav-cta {
    padding: 0.55rem 1.3rem;
    border-radius: 2rem;
    background: var(--gold);
    color: var(--navy-ink) !important;
}
.nav-links .nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}
.nav.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- hero ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background: var(--navy-ink);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img,
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }

/* The navy takes the shadows; the picture keeps its light */
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 7, 17, 0.55) 0%, rgba(0, 7, 17, 0.15) 30%, rgba(0, 7, 17, 0.25) 70%, rgba(0, 7, 17, 0.82) 100%),
        linear-gradient(100deg, rgba(13, 24, 52, 0.72) 0%, rgba(13, 24, 52, 0.3) 55%, rgba(13, 24, 52, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 9rem 24px 7rem;
    width: 100%;
}
.hero .kicker { color: var(--gold); }
.hero h1 { color: var(--white); }

.hero-quote {
    max-width: 34rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.35;
    margin: 2rem 0 1.2rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-sub {
    font-size: 0.86rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 2.6rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 2.2rem;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    display: flex;
    justify-content: center;
}
.hero-scroll span {
    width: 3px;
    height: 9px;
    margin-top: 8px;
    border-radius: 2px;
    background: var(--gold);
    animation: scrollNudge 1.8s ease-in-out infinite;
}
@keyframes scrollNudge {
    0%, 100% { transform: translateY(0); opacity: 1; }
    55% { transform: translateY(12px); opacity: 0.25; }
}

/* ---------- pillars ---------- */

.pillars {
    background: var(--navy);
    color: var(--paper);
    padding: 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pillar {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 3rem 2rem 3.2rem;
    text-decoration: none;
    color: inherit;
    border-left: 1px solid rgba(187, 157, 90, 0.25);
    transition: background 0.3s ease;
}
.pillar:first-child { border-left: none; }
.pillar:hover { background: rgba(255, 255, 255, 0.04); }

.pillar-index {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--gold);
}
.pillar-word {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    color: var(--white);
    line-height: 1.1;
}
.pillar-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--blue-soft);
}

/* ---------- about ---------- */

.about { padding: 8rem 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-quote {
    margin-top: 2.6rem;
    padding: 1.8rem 0 0 1.6rem;
    border-left: 2px solid var(--gold);
}
.about-quote p {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.45;
    color: var(--navy);
}

.about-media { display: grid; gap: 1.4rem; }

.about-photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-photo-small img { aspect-ratio: 16 / 9; }
.about-photo figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2.2rem 1.2rem 0.9rem;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.86);
    background: linear-gradient(180deg, rgba(0, 7, 17, 0) 0%, rgba(0, 7, 17, 0.7) 100%);
}

/* ---------- activities ---------- */

.activities {
    background: var(--paper-dark);
    padding: 7.5rem 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.activity { display: flex; flex-direction: column; }

.activity-media {
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    margin-bottom: 1.5rem;
}
.activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.activity:hover .activity-media img { transform: scale(1.05); }

.activity-index {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--gold-deep);
    margin-bottom: 0.4rem;
}
.activity h3 { font-size: 1.45rem; margin-bottom: 0.8rem; }
.activity p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.7; }

.activity-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-deep);
    text-decoration: none;
}
.activity-link i { font-style: normal; transition: transform 0.25s ease; }
.activity-link:hover i { transform: translateX(4px); }

/* ---------- community ---------- */

.community { padding: 8rem 0; }

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.community-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}
.community-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.community-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.community-side { aspect-ratio: 4 / 3; }

/* ---------- mission band ---------- */

.mission-band {
    position: relative;
    background: var(--navy-ink);
    color: var(--white);
    padding: 10rem 0;
    text-align: center;
    overflow: hidden;
}
/* Paramahamsa Vishwananda, arms raised before the crowd — the navy
   takes the shadows so the words stay legible */
.mission-media { position: absolute; inset: 0; }
.mission-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    opacity: 0.6;
}
.mission-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 7, 17, 0.7) 0%, rgba(13, 24, 52, 0.55) 50%, rgba(0, 7, 17, 0.8) 100%);
}
.mission-band .container { position: relative; z-index: 2; }
.mission-band .kicker { color: var(--gold); }

.mission-statement {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    line-height: 1.25;
    color: var(--white);
}
.mission-rule {
    width: 3rem;
    height: 1px;
    background: var(--gold);
    margin: 2.2rem auto;
    opacity: 0.8;
}
.mission-sub {
    max-width: 34rem;
    margin: 0 auto;
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--blue-soft);
}

/* ---------- founder ---------- */

.founder { padding: 8rem 0; background: var(--paper); }

.founder-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.founder-media { display: grid; gap: 1rem; }
.founder-media img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.founder-portrait { aspect-ratio: 4 / 3; }
.founder-wide { aspect-ratio: 21 / 9; object-position: center 35%; }

.founder-facts {
    display: flex;
    gap: 2.6rem;
    margin-top: 2.4rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--rule);
}
.founder-facts div {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
}
.founder-facts span {
    display: block;
    font-family: var(--serif);
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

/* ---------- programs ---------- */

.programs {
    background: var(--paper-dark);
    padding: 7.5rem 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.programs-text > p:not(.lead) { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.75; }

.program-points {
    list-style: none;
    margin: 2rem 0 2.4rem;
    border-top: 1px solid var(--rule);
}
.program-points li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.program-points strong { color: var(--navy); font-weight: 600; }

.programs-gallery {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}
.programs-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.programs-gallery img:first-child { grid-row: 1 / -1; aspect-ratio: 3 / 4; }
.programs-gallery img:not(:first-child) { aspect-ratio: 1 / 1; }

/* ---------- education ---------- */

.education { padding: 8rem 0; }

.academy-intro {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.academy-facts {
    display: grid;
    gap: 1rem;
    border-left: 2px solid var(--gold);
    padding-left: 1.6rem;
}
.academy-facts .fact {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
}
.academy-facts .fact span {
    display: block;
    font-family: var(--serif);
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.academy-banner {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy-ink);
    margin-bottom: 3.5rem;
}
.academy-banner img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, opacity 0.5s ease;
}
.academy-banner:hover img { transform: scale(1.02); opacity: 0.85; }
.academy-banner-cta {
    position: absolute;
    right: 1.4rem;
    bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    background: var(--gold);
    color: var(--navy-ink);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.academy-banner-cta i { font-style: normal; transition: transform 0.25s ease; }
.academy-banner:hover .academy-banner-cta i { transform: translateX(4px); }

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

.academy-card-media {
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
    margin-bottom: 1.6rem;
}
.academy-card-media img { width: 100%; height: 100%; object-fit: cover; }
.academy-card h3 { margin-bottom: 1rem; }
.academy-card p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.75; margin-bottom: 1rem; }

.academy-close {
    max-width: 44rem;
    margin: 3rem auto 0;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.4;
    color: var(--navy);
}

.children {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    align-items: center;
    margin-top: 6rem;
    padding-top: 5rem;
    border-top: 1px solid var(--rule);
}
.children-text h3 { margin-bottom: 1rem; }
.children-text p:last-child { color: var(--ink-soft); font-size: 1rem; line-height: 1.72; }

.children-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.children-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.children-gallery img:nth-child(even) { transform: translateY(1.4rem); }

/* ---------- festivals ---------- */

.festivals {
    background: linear-gradient(315deg, var(--navy) 0%, var(--navy-ink) 100%);
    color: var(--paper);
    padding: 7.5rem 0;
}
.festivals .kicker { color: var(--gold); }
.festivals h2 { color: var(--white); }

.festivals-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3.4rem;
}
.festivals-lead {
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--blue-soft);
}

.festivals-gallery {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
    gap: 1rem;
}
.festivals-gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.festivals-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 2.5rem;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2.4rem;
    border-top: 1px solid rgba(187, 157, 90, 0.35);
}
.festivals-label {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li {
    font-family: var(--serif);
    font-size: 1.15rem;
    padding: 0.45rem 1.15rem;
    border: 1px solid rgba(187, 157, 90, 0.5);
    border-radius: 2rem;
    color: var(--white);
}
.chips li:last-child { color: var(--blue-soft); border-style: dashed; }
.festivals-guest {
    grid-column: 1 / -1;
    font-size: 0.98rem;
    color: var(--blue-soft);
}
.festivals-guest strong { color: var(--white); font-weight: 500; }

/* ---------- care ---------- */

.care { padding: 8rem 0; }

.care-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.care-list { list-style: none; margin-top: 2rem; }
.care-list li {
    display: flex;
    gap: 1.4rem;
    align-items: baseline;
    padding: 1.2rem 0;
    border-top: 1px solid var(--rule);
}
.care-list li:last-child { border-bottom: 1px solid var(--rule); }
.care-num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-deep); flex-shrink: 0; }
.care-list strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}
.care-list li div span { color: var(--ink-soft); font-size: 0.96rem; }

.care-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.care-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.care-gallery img:nth-child(2),
.care-gallery img:nth-child(4) { transform: translateY(1.6rem); }

/* ---------- global impact (Bhakti Marga Charity · plant-love.org) ---------- */

.impact {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem 5rem;
    align-items: center;
    margin-top: 7rem;
    padding: 4.6rem 4.4rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-ink) 100%);
    color: var(--paper);
    overflow: hidden;
    isolation: isolate;
}

/* The Charity rosette, bled off the edge as on the plant-love.org posters */
.impact-rosette {
    position: absolute;
    right: -9rem;
    top: 50%;
    width: 30rem;
    height: 30rem;
    transform: translateY(-50%);
    background: var(--gold);
    opacity: 0.09;
    pointer-events: none;
    -webkit-mask: url("../assets/brand/charity-rosette.svg") center / contain no-repeat;
            mask: url("../assets/brand/charity-rosette.svg") center / contain no-repeat;
    z-index: 0;
}

.impact-intro,
.impact-stats { position: relative; z-index: 1; }

.impact .kicker { color: var(--gold); }
.impact h3 {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    line-height: 1.02;
    color: var(--white);
}
.impact h3 em { font-style: italic; font-weight: 400; color: var(--gold-light); }

.impact-text {
    margin-top: 1.6rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(250, 248, 244, 0.78);
    max-width: 38ch;
}
.impact-text strong { color: var(--white); font-weight: 600; }

.impact .btn { margin-top: 2.2rem; }
.impact .btn i { font-style: normal; display: inline-block; margin-left: 0.35rem; transition: transform 0.25s ease; }
.impact .btn:hover i { transform: translateX(4px); }

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.impact-stat {
    padding: 1.8rem 1.6rem 1.8rem 0;
    border-top: 1px solid rgba(187, 157, 90, 0.28);
}
.impact-stat:nth-child(even) { padding-left: 1.8rem; border-left: 1px solid rgba(187, 157, 90, 0.28); }
.impact-stat:nth-child(-n+2) { border-top: none; padding-top: 0.4rem; }
.impact-stat strong {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.8rem, 4.2vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--gold-light);
}
.impact-stat sup { font-size: 0.5em; vertical-align: 0.55em; margin-left: 0.05em; color: var(--gold); }
.impact-stat span {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-soft);
}

.impact-note {
    grid-column: 1 / -1;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(187, 157, 90, 0.28);
    font-size: 0.84rem;
    line-height: 1.65;
    color: rgba(250, 248, 244, 0.55);
}

/* ---------- support ---------- */

.support {
    position: relative;
    padding: 8rem 0;
    color: var(--paper);
    overflow: hidden;
    background: var(--navy-ink);
}
.support-media { position: absolute; inset: 0; }
.support-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.support-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 7, 17, 0.92) 0%, rgba(13, 24, 52, 0.8) 55%, rgba(13, 24, 52, 0.45) 100%);
}
.support .container { position: relative; z-index: 2; }

.support-card { max-width: 46rem; }
.support .kicker { color: var(--gold); }
.support h2 { color: var(--white); margin-bottom: 2rem; }
.support .prose p { color: rgba(250, 248, 244, 0.82); }

.support-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }
.support .btn-ghost { color: var(--paper); }

.support-note {
    margin-top: 1.4rem;
    font-size: 0.86rem;
    font-style: italic;
    color: var(--blue-soft);
}

.support-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    margin-top: 3rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(187, 157, 90, 0.4);
}
.support-contact p { font-size: 0.92rem; line-height: 1.7; color: rgba(250, 248, 244, 0.75); }
.support-contact a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(210, 184, 118, 0.5); }
.support-contact a:hover { border-bottom-color: var(--gold-light); }
.support-contact-title {
    font-size: 0.72rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold) !important;
    margin-bottom: 0.5rem;
}

/* ---------- footer — replica of donate.bhaktimarga.org ---------- */

.footer {
    background-image: linear-gradient(315deg, #16254c 0%, #000711 100%);
    padding: 5% 10%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 3fr 3fr;
}

.footer-image-s { width: 35%; }

.footer-container { margin-right: 9%; }

.footer-title {
    color: #bb9d5a;
    font-size: 16px;
    border-bottom: 2px solid #bb9d5a;
    padding-bottom: 15px;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.footer-text {
    color: #8aaadb;
    font-size: 14px;
    border-top: 1px solid #617b9b;
    padding-top: 15px;
    margin-top: 3%;
}

.footer-hype-text {
    color: #617b9b;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.7;
}
.footer-hype-text:hover { color: #8aaadb; }

.footer-social {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    margin-top: 15px;
}
.footer .icon { height: 20px; margin-right: 10px; }
.footer .icon-flickr { height: 13px; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .pillar:nth-child(3) { border-left: none; }
    .pillar:nth-child(n+3) { border-top: 1px solid rgba(187, 157, 90, 0.25); }

    .activities-grid { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
    .festivals-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .about-grid,
    .community-grid,
    .programs-grid,
    .academy-intro,
    .academy-grid,
    .children,
    .care-grid,
    .festivals-head,
    .founder-grid { grid-template-columns: 1fr; gap: 3rem; }

    .about-media { grid-template-columns: 1fr 1fr; }
    .community-media { order: 2; }
    .founder-media { order: 2; }
    .academy-facts { grid-template-columns: repeat(3, 1fr); border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1.4rem; }
    .children-gallery img:nth-child(even) { transform: none; }
    .care-gallery img:nth-child(2), .care-gallery img:nth-child(4) { transform: none; }
    .impact { grid-template-columns: 1fr; gap: 3rem; margin-top: 5rem; padding: 3.4rem 2.4rem; }
    .impact-rosette { right: -10rem; top: -6rem; transform: none; width: 24rem; height: 24rem; }
    .support-contact { grid-template-columns: 1fr; }
    .festivals-list { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-logo { grid-column: 1 / -1; }
    .footer-image-s { width: 22%; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        flex-direction: column;
        justify-content: center;
        gap: 2.2rem;
        background: var(--navy-ink);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a,
    .nav.scrolled .nav-links a { color: var(--paper); font-size: 1.1rem; }

    .nav-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
    .nav-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .nav-toggle.open span { background: var(--paper) !important; }

    .brand-name { font-size: 1.1rem; }
    .brand-mark { width: 2.2rem; height: 2.2rem; }

    .hero-content { padding: 8rem 24px 6rem; }
    .hero-scroll { display: none; }

    .pillars-grid { grid-template-columns: 1fr; }
    .pillar { border-left: none; border-top: 1px solid rgba(187, 157, 90, 0.25); padding: 2.2rem 24px; }
    .pillar:first-child { border-top: none; }

    .about, .community, .education, .care, .support, .founder { padding: 5.5rem 0; }
    .activities, .programs, .festivals, .mission-band { padding: 5rem 0; }

    .activities-grid { grid-template-columns: 1fr; }
    .about-media { grid-template-columns: 1fr; }
    .children-gallery { grid-template-columns: 1fr 1fr; }
    .festivals-gallery { grid-template-columns: 1fr 1fr; }
    .founder-facts { gap: 1.6rem; flex-wrap: wrap; }
    .academy-facts { grid-template-columns: 1fr; }

    .impact { padding: 2.8rem 1.6rem; border-radius: 6px; }
    .impact-stat { padding: 1.4rem 1rem 1.4rem 0; }
    .impact-stat:nth-child(even) { padding-left: 1.2rem; }
    .impact-stat strong { font-size: 2.4rem; }

    .footer { padding: 3rem 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .footer-container { margin-right: 0; }
    .footer-image-s { width: 30%; max-width: 120px; }
}
