/* IN-DEED Foundation - ARCH-inspired NGO design */
:root {
    --green: #04A6D4;
    --green-dark: #0285aa;
    --lime: #8cc641;
    --orange: #f5a623;
    --ink: #172018;
    --muted: #606a62;
    --line: #e5eadf;
    --paper: #ffffff;
    --wash: #f7faf3;
    --footer: #182018;
    --font: "Lexend", Arial, sans-serif;
    --heading: "Lexend", Arial, sans-serif;
    --editorial-serif: "Lexend", Arial, sans-serif;
    --black: #172018;
    --white: #ffffff;
    --neutral-dark: #444f47;
    --neutral: #657067;
    --neutral-light: #a7b0aa;
    --neutral-lighter: #dfe7e3;
    --neutral-lightest: #f7faf3;
    --beige: #f7faf3;
    --soft-sand: #eef9fc;
    --pink-light: #dff6fc;
    --light-yellow: #eef9fc;
    --forest-green: #04A6D4;
    --dusty-plum: #dff6fc;
    --lavender: #04A6D4;
    --mint-teal: #dff6fc;
    --radius-round: 999px;
    --radius-medium: 8px;
    --radius-small: 6px;
    --radius-large: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,
input,
textarea { font: inherit; }

.site-shell { overflow: hidden; }
.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.top-strip {
    background: var(--green);
    color: #fff;
    font-size: 14px;
}
.top-strip__inner {
    min-height: 38px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
}
.top-strip a { opacity: .95; }
.top-strip a:hover { opacity: 1; text-decoration: underline; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 6px 22px rgba(20, 70, 20, .08);
}
.nav-inner {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand img {
    width: 150px;
    max-height: 66px;
    object-fit: contain;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #1f251f;
    font-size: 15px;
    font-weight: 600;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
}
.nav-link:hover { color: var(--green); }
.nav-dropdown { position: relative; }
.dropdown-caret {
    font-size: 10px;
    line-height: 1;
}
.taabar-nav-link {
    color: var(--green-dark);
    font-weight: 800;
}
.taabar-nav-link:hover { color: var(--lime); }
.dropdown-menu {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    min-width: 250px;
    padding: 10px 0;
    background: #fff;
    border-top: 3px solid var(--green);
    box-shadow: 0 18px 38px rgba(21, 50, 21, .14);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.dropdown-menu a {
    display: block;
    padding: 9px 18px;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    color: var(--green);
    background: var(--wash);
}
.donate-link,
.green-btn,
.contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 24px;
    border-radius: 0;
    background: var(--green);
    color: #fff;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.donate-link:hover,
.green-btn:hover,
.contact-form button:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: .2s ease;
}

.hero-slider {
    position: relative;
    height: clamp(500px, 73vh, 720px);
    min-height: 630px;
    overflow: hidden;
    background: #123;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.18) 58%, rgba(0,0,0,.08));
}
.hero-copy {
    position: absolute;
    z-index: 2;
    left: max(40px, calc((100vw - 1180px) / 2));
    bottom: 18%;
    max-width: 760px;
    color: #fff;
    text-transform: uppercase;
}
.hero-copy p {
    margin: 0 0 12px;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 700;
    letter-spacing: .03em;
    text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(42px, 6.6vw, 86px);
    line-height: 1.02;
    font-weight: 800;
    text-shadow: 0 3px 20px rgba(0,0,0,.38);
}

section { position: relative; }
.about-band {
    padding: 72px 0;
    background: #fff;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 58px;
    align-items: start;
}
.eyebrow {
    margin: 0 0 8px;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.about-band h2,
.section-title {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(30px, 4vw, 36px);
    line-height: 1.15;
    color: var(--ink);
    text-transform: uppercase;
}
.section-title span,
.about-band h2 span { color: var(--green); }
.about-band .green-btn { margin-top: 28px; }
.about-text p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 17px;
}

.outreach-section {
    padding: 100px 0 38px;
    background: #f4f2ef;
    color: #111;
}
.outreach-section .container {
    width: min(860px, calc(100% - 40px));
}
.section-kicker {
    margin: 0 0 38px;
    color: #222;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .34em;
}
.outreach-title {
    max-width: 760px;
    margin: 0;
    color: #111;
    font-family: var(--editorial-serif);
    font-size: clamp(74px, 8vw, 94px);
    font-style: italic;
    font-weight: 400;
    line-height: .94;
    letter-spacing: 0;
}
.outreach-copy {
    max-width: 690px;
    margin: 54px 0 0;
    color: #3e4a50;
    font-size: 23px;
    font-weight: 300;
    line-height: 1.55;
}
.outreach-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 76px;
    margin-top: 62px;
    padding-top: 43px;
    border-top: 1px solid #d6d0c8;
}
.outreach-section .stat-card {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: left;
}
.outreach-section .stat-card strong {
    display: block;
    color: #111;
    font-family: var(--editorial-serif);
    font-size: 38px;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
}
.outreach-section .stat-card p {
    margin: 11px 0 0;
    color: #566165;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
}

.projects-section,
.work-with-section,
.partners-section,
.news-section,
.endorsement-section {
    padding: 82px 0;
    background: #fff;
}
.split-heading {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) 1fr;
    gap: 44px;
    align-items: end;
    margin-bottom: 36px;
}
.split-heading p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 17px;
}
.split-heading a {
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.project-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #ddd;
    color: #fff;
}
.project-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    transition: transform .45s ease;
}
.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.68));
}
.project-card h3 {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 62px;
    z-index: 2;
    margin: 0;
    font-family: var(--heading);
    font-size: 24px;
    line-height: 1.18;
}
.project-card span {
    position: absolute;
    left: 22px;
    bottom: 24px;
    z-index: 2;
    color: #fff;
    font-weight: 800;
}
.project-card:hover img { transform: scale(1.06); }

.work-with-section {
    padding: 18px 0 18px;
    background: #111111;
    color: #f2f0ec;
}
.work-grid {
    display: block;
    width: min(1780px, calc(100% - 120px));
}
.process-kicker {
    margin: 0 0 38px;
    color: #9a9a9a;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .34em;
}
.process-intro {
    display: grid;
    grid-template-columns: minmax(620px, .9fr) minmax(620px, 1fr);
    gap: 120px;
    align-items: center;
    padding-bottom: 108px;
}
.process-intro h2 {
    margin: 0;
    color: #f5f2ee;
    font-family: var(--editorial-serif);
    font-size: clamp(86px, 7vw, 96px);
    font-style: italic;
    font-weight: 400;
    line-height: .96;
    letter-spacing: 0;
}
.process-intro p {
    margin: 0;
    color: #aaa;
    font-size: 23px;
    font-weight: 300;
    line-height: 1.6;
}
.work-list {
    display: grid;
    gap: 0;
    border-top: 1px solid #323232;
}
.work-list > div {
    display: grid;
    grid-template-columns: 90px minmax(300px, .62fr) 1fr;
    gap: 60px;
    align-items: center;
    min-height: 161px;
    padding: 38px 0;
    border-bottom: 1px solid #323232;
}
.work-list span {
    color: #8b8b8b;
    font-family: var(--editorial-serif);
    font-size: 36px;
    font-style: italic;
    line-height: 1;
}
.work-list h3 {
    margin: 0;
    color: #f5f2ee;
    font-family: var(--editorial-serif);
    font-size: 58px;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
}
.work-list p {
    margin: 0;
    color: #aaa;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
}

.presence-section {
    padding: 82px 0;
    background: #fff;
    text-align: center;
}
.presence-grid {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 36px;
}
.map-card {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    background: var(--wash);
    border: 1px solid var(--line);
    padding: 24px;
}
.map-card__image {
    width: 100%;
    max-width: 520px;
    max-height: 390px;
    object-fit: contain;
}
.map-shape {
    width: min(74%, 360px);
    aspect-ratio: 1 / 1.12;
    display: grid;
    place-items: center;
    color: rgba(4,166,212,.18);
    font-family: var(--heading);
    font-size: 118px;
    font-weight: 800;
    border: 12px solid rgba(4,166,212,.18);
    border-radius: 42% 55% 48% 35%;
}
.pin {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid #fff;
    box-shadow: 0 0 0 8px rgba(245,166,35,.24), 0 8px 18px rgba(0,0,0,.18);
    z-index: 2;
}
.pin-one { left: 28%; top: 56%; }      /* Barmer */
.pin-two { left: 38%; top: 57%; }      /* Balotra */
.pin-three { left: 30%; top: 37%; }    /* Jaisalmer */
.pin-four { left: 61%; top: 39%; }     /* Jaipur */
.pin-five { left: 41%; top: 69%; }     /* Jalore */
.pin-six { left: 43%; top: 49%; }      /* Jodhpur */
.pin-seven { left: 70%; top: 62%; }    /* Kota */
.pin-eight { left: 50%; top: 61%; }    /* Pali */
.pin-nine { left: 56%; top: 70%; }     /* Rajsamand */
.pin-ten { left: 51%; top: 80%; }      /* Udaipur */
.districts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;;
}
.districts span {
    padding: 26px 18px;
    background: var(--green);
    color: #fff;
    font-family: var(--heading);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
}

.partners-section {
    background: var(--wash);
    text-align: center;
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 32px;
}
.logo-grid img {
    width: 100%;
    height: 128px;
    padding: 24px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
}

.gallery-connect {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}
.gallery-panel,
.connect-panel {
    padding: clamp(44px, 6vw, 78px);
}
.gallery-panel { background: #fff; }
.connect-panel {
    background: var(--green);
    color: #fff;
}
.connect-panel .section-title,
.connect-panel .section-title span { color: #fff; }
.connect-panel p { max-width: 620px; }
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.gallery-grid img:first-child {
    grid-row: span 2;
    height: 456px;
}
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px;
}
.contact-form input,
.contact-form textarea {
    /* width: 100%; */
    /* min-height: 48px; */
    padding: 12px 14px;
    border: 0;
    background: #fff;
    color: var(--ink);
}
.contact-form textarea {
    grid-column: 1 / -1;
    min-height: 118px;
    resize: vertical;
}
.contact-form button {
    width: fit-content;
    background: var(--orange);
}
.news-success {
    display: none;
    margin-top: 14px;
    font-weight: 700;
}
.news-success.show { display: block; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-grid article {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(4, 166, 212, .10);
}
.news-grid img {
    width: 100%;
    height: 235px;
    object-fit: cover;
}
.news-grid h3 {
    margin: 22px 22px 8px;
    font-family: var(--heading);
    font-size: 20px;
    line-height: 1.25;
}
.news-grid p {
    margin: 0 22px 24px;
    color: var(--muted);
}

.endorsement-section {
    background: var(--wash);
    text-align: center;
}
.endorsement-card {
    max-width: 860px;
    margin: 34px auto 0;
    padding: 38px;
    background: #fff;
    border-top: 5px solid var(--green);
    box-shadow: 0 16px 42px rgba(4, 166, 212, .11);
}
.endorsement-card img {
    height: 72px;
    margin: 0 auto 24px;
    object-fit: contain;
}
.endorsement-card blockquote {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.6;
}
.endorsement-card p {
    margin: 18px 0 0;
    color: var(--green);
    font-weight: 800;
}

.footer {
    background: var(--footer);
    color: rgba(255,255,255,.82);
    padding: 70px 0 22px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr 1.1fr;
    gap: 42px;
}
.footer-logo {
    width: 170px;
    max-height: 78px;
    object-fit: contain;
    margin-bottom: 22px;
    /* filter: brightness(0) invert(1); */
}
.footer h3 {
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--heading);
    font-size: 18px;
    text-transform: uppercase;
}
.footer p {
    margin: 0 0 14px;
    color: rgba(255,255,255,.72);
}
.footer a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.78);
}
.footer a:hover { color: #fff; }
.footer .green-btn {
    display: inline-flex;
    margin-top: 8px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    font-size: 14px;
    color: rgba(255,255,255,.62);
}

.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .nav-menu { gap: 14px; font-size: 14px; }
    .project-grid,
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .outreach-section .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 56px;
    }
    .work-grid,
    .presence-grid,
    .about-grid,
    .split-heading { grid-template-columns: 1fr; }
    .work-grid > img { height: 460px; }
}

@media (max-width: 1180px) {
    .process-intro {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
        gap: 72px;
    }
    .process-intro h2 {
        font-size: clamp(72px, 8vw, 90px);
    }
}

@media (max-width: 820px) {
    .top-strip__inner { justify-content: center; flex-wrap: wrap; gap: 12px 22px; padding: 8px 0; }
    .nav-inner { height: 76px; }
    .brand img { width: 124px; }
    .donate-link { display: none; }
    .nav-toggle { display: block; z-index: 1002; }
    .nav-menu {
        position: fixed;
        right: 0;
        top: 0;
        width: min(330px, 86vw);
        height: 100dvh;
        padding: 96px 28px 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: #fff;
        box-shadow: -20px 0 45px rgba(0,0,0,.18);
        transform: translateX(105%);
        visibility: hidden;
        transition: .28s ease;
    }
    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }
    .nav-link { min-height: 42px; }
    .nav-dropdown { width: 100%; }
    .dropdown-menu {
        position: static;
        min-width: 0;
        padding: 0 0 8px 12px;
        border-top: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .nav-dropdown.open .dropdown-menu { display: block; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero-slider { height: 560px; min-height: 560px; }
    .hero-copy { left: 24px; right: 24px; bottom: 14%; }
    .gallery-connect,
    .news-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .process-intro {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 56px;
    }
    .work-list > div {
        grid-template-columns: 64px 1fr;
        gap: 22px 32px;
        min-height: 0;
        padding: 32px 0;
    }
    .work-list p {
        grid-column: 2;
    }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 28px, 1180px); }
    .hero-slider { height: 500px; min-height: 500px; }
    .hero-copy h1,
    .hero-copy h2 { font-size: 36px; }
    .hero-copy p { font-size: 15px; }
    .about-band,
    .outreach-section,
    .projects-section,
    .work-with-section,
    .presence-section,
    .partners-section,
    .news-section,
    .endorsement-section { padding: 56px 0; }
    .stats-grid,
    .project-grid,
    .logo-grid,
    .districts,
    .contact-form { grid-template-columns: 1fr; }
    .outreach-section .container { width: min(100% - 28px, 860px); }
    .section-kicker { margin-bottom: 24px; }
    .outreach-title { font-size: clamp(42px, 13vw, 56px); }
    .outreach-copy {
        margin-top: 34px;
        font-size: 18px;
    }
    .outreach-section .stats-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 44px;
        padding-top: 34px;
    }
    .process-kicker {
        margin-bottom: 28px;
        letter-spacing: .24em;
    }
    .process-intro h2 {
        font-size: clamp(44px, 13vw, 58px);
    }
    .process-intro p,
    .work-list p {
        font-size: 17px;
    }
    .work-list > div {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .work-list span,
    .work-list p {
        grid-column: auto;
    }
    .work-list h3 {
        font-size: 42px;
    }
    .project-card,
    .project-card img { min-height: 300px; }
    .work-grid > img { height: 320px; }
    .map-card { min-height: 320px; }
    .map-shape { font-size: 78px; }
    .gallery-panel,
    .connect-panel { padding: 44px 22px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img,
    .gallery-grid img:first-child { height: 240px; grid-row: auto; }
    .endorsement-card { padding: 28px 20px; }
    .endorsement-card blockquote { font-size: 18px; }
}

/* Compatibility styles for existing subpage templates */
.page-wrapper { overflow: hidden; background: #fff; }

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 6px 22px rgba(4, 166, 212, .08);
}
.navbar .nav-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0;
}
.nav-logo img {
    width: 150px;
    max-height: 66px;
    object-fit: contain;
}
.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
}
.btn-nav:hover { background: var(--green-dark); }
.dropdown-arrow {
    width: 10px;
    height: 10px;
    margin-left: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: 11px 24px;
    border: 0;
    border-radius: 0;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.btn:hover { background: var(--green-dark); }
.btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 13px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(4,166,212,.12);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.tag.is-green,
.tag.is-teal,
.tag.is-lavender { background: var(--green); color: #fff; }
.tag.is-yellow,
.tag.is-pink,
.tag.is-plum { background: rgba(4,166,212,.12); color: var(--green-dark); }

.page-hero {
    position: relative;
    min-height: 420px;
    padding: 138px 0 76px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background: #182018;
}
.page-hero-bg,
.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero-bg img,
.page-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-overlay,
.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.22));
}
.page-hero .container,
.page-hero-content,
.page-hero .hero-content,
.page-hero .hero-content-inner {
    position: relative;
    z-index: 1;
}
.page-hero .hero-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}
.page-hero-content,
.page-hero .hero-content-inner { max-width: 780px; }
.page-hero h1,
.page-hero .hero-content h1 {
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--heading);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 800;
    text-transform: uppercase;
}
.page-hero p,
.page-hero .hero-sub {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 18px;
    line-height: 1.7;
}

.section-head-center {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}
.section-head-center h2,
.stories-head h2,
.involved-text h2 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.16;
    font-weight: 800;
    text-transform: uppercase;
}
.section-sub {
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 17px;
}

.section-about,
.section-components,
.section-impact,
.section-involved,
.section-sponsors,
.section-stories,
.section-focus,
.section-mission,
.section-timeline {
    padding: 76px 0;
}
.section-about,
.section-components,
.section-focus,
.section-stories { background: #fff; }
.section-impact,
.section-mission,
.section-sponsors,
.section-timeline,
.section-involved { background: var(--wash); }

.about-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.about-img,
.about-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.about-split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: start;
}
.about-split-left h3 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
}
.about-split-right p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 17px;
}

.prog-icon-grid,
.focus-grid,
.stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.prog-icon-card,
.focus-card,
.mission-card,
.story-card,
.impact-item,
.sponsor-logo {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(4,166,212,.08);
}
.prog-icon-card,
.focus-card {
    padding: 28px;
    color: var(--ink);
    transition: transform .22s ease, box-shadow .22s ease;
}
.prog-icon-card:hover,
.focus-card:hover,
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(4,166,212,.14);
}
.prog-icon-card h4,
.focus-card h4,
.mission-card h3 {
    margin: 14px 0 8px;
    font-family: var(--heading);
    font-size: 20px;
    line-height: 1.25;
}
.prog-icon-card p,
.focus-card p,
.mission-card p,
.story-card p {
    margin: 0;
    color: var(--muted);
}
.icon-wrap,
.focus-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    background: rgba(4,166,212,.12);
    color: var(--green);
    border-radius: 8px;
}
.icon-wrap svg,
.focus-icon svg,
.impact-emoji svg,
.footer-mission-item svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.mission-card { padding: 34px; }
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding-left: 38px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}
.timeline-item {
    position: relative;
    padding-bottom: 26px;
}
.timeline-marker {
    position: absolute;
    left: -36px;
    top: 8px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--green);
}
.timeline-content {
    padding: 24px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.timeline-date {
    display: block;
    margin-bottom: 6px;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
}
.timeline-content h4 {
    margin: 0 0 6px;
    font-family: var(--heading);
}
.timeline-content p { margin: 0; color: var(--muted); }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.impact-item {
    padding: 32px 22px;
    text-align: center;
}
.impact-emoji {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    color: var(--green);
    background: rgba(4,166,212,.12);
    border-radius: 50%;
}
.impact-num {
    display: block;
    color: var(--green);
    font-family: var(--heading);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    font-weight: 800;
}
.impact-label {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-weight: 800;
}

.involved-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: center;
}
.involved-text p {
    margin: 14px 0 24px;
    color: var(--muted);
    font-size: 17px;
}
.involved-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

.story-card { overflow: hidden; }
.story-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.story-body { padding: 24px; }
.story-body h6 {
    margin: 0 0 8px;
    font-family: var(--heading);
    font-size: 19px;
    line-height: 1.3;
}
.text-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--green);
    font-weight: 800;
}

.partner-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: -12px 0 28px;
}
.partner-tab {
    padding: 10px 18px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
}
.partner-tab.active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.partner-panel { display: none; }
.partner-panel.active { display: grid; }
.sponsor-logo {
    min-height: 124px;
    padding: 22px;
    display: grid;
    place-items: center;
}
.sponsor-logo img {
    max-height: 74px;
    object-fit: contain;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.1fr 1.7fr;
    gap: 44px;
}
.footer-left .footer-logo,
.footer a.footer-logo {
    display: inline-block;
    margin: 0 0 22px;
}
.footer-left .footer-logo img,
.footer a.footer-logo img {
    width: 170px;
    max-height: 78px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.footer-newsletter {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.14);
}
.footer-newsletter h4 {
    margin: 0 0 6px;
    color: #fff;
    font-family: var(--heading);
}
.news-form {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.news-form input {
    min-width: 0;
    flex: 1;
    min-height: 44px;
    padding: 10px 13px;
    border: 0;
}
.footer-menus {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}
.footer-menu-col h5 {
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--heading);
    text-transform: uppercase;
}
.footer-menu-col span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.72);
}
.footer-mission {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.14);
}
.footer-mission-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.8);
}
.footer-mission-item svg {
    fill: none;
    stroke-width: 1.6;
}
.footer-legal {
    display: flex;
    gap: 18px;
}

@media (max-width: 1024px) {
    .prog-icon-grid,
    .focus-grid,
    .stories-grid,
    .impact-grid,
    .sponsors-grid,
    .about-gallery { grid-template-columns: repeat(2, 1fr); }
    .footer-top,
    .about-split,
    .involved-layout { grid-template-columns: 1fr; }
    .footer-menus { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .navbar .btn-nav { display: none; }
    .navbar .nav-menu {
        position: fixed;
        right: 0;
        top: 0;
        width: min(330px, 86vw);
        height: 100dvh;
        padding: 96px 28px 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: #fff;
        box-shadow: -20px 0 45px rgba(0,0,0,.18);
        transform: translateX(105%);
        visibility: hidden;
        transition: .28s ease;
    }
    .navbar .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }
    .navbar .nav-toggle { display: block; z-index: 1002; }
    .navbar .nav-dropdown { width: 100%; }
    .navbar .dropdown-menu {
        position: static;
        min-width: 0;
        padding: 0 0 8px 12px;
        border-top: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .navbar .nav-dropdown.open .dropdown-menu { display: block; }
    .page-hero { min-height: 360px; padding: 116px 0 58px; }
    .footer-bottom { align-items: center; }
}

@media (max-width: 560px) {
    .navbar .nav-inner { width: min(100% - 28px, 1180px); height: 74px; }
    .nav-logo img { width: 124px; }
    .section-about,
    .section-components,
    .section-impact,
    .section-involved,
    .section-sponsors,
    .section-stories,
    .section-focus,
    .section-mission,
    .section-timeline { padding: 56px 0; }
    .prog-icon-grid,
    .focus-grid,
    .stories-grid,
    .impact-grid,
    .sponsors-grid,
    .about-gallery,
    .mission-grid,
    .footer-menus,
    .news-form { grid-template-columns: 1fr; }
    .news-form { display: grid; }
    .about-img,
    .about-gallery img,
    .involved-img img { height: 260px; }
    .footer-mission { flex-direction: column; }
}

/* Get Involved page refinements */
.page-wrapper > .hero {
    position: relative;
    min-height: 560px;
    height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #111;
}
.page-wrapper > .hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-wrapper > .hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-wrapper > .hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.28) 62%, rgba(0,0,0,.12));
}
.page-wrapper > .hero .hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 96px 0;
    display: block;
    text-align: left;
}
.page-wrapper > .hero .hero-content-inner {
    max-width: 760px;
}
.page-wrapper > .hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-family: var(--heading);
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.02;
    font-weight: 800;
    text-transform: uppercase;
}
.page-wrapper > .hero .hero-sub {
    max-width: 650px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.92);
    font-size: 20px;
    line-height: 1.65;
}
.page-wrapper > .hero .hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0;
}
.page-wrapper > .hero .btn.is-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.78);
}
.page-wrapper > .hero .btn.is-secondary:hover {
    background: #fff;
    color: var(--ink);
}

.volunteer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
}
.volunteer-card {
    position: relative;
    min-height: 178px;
    padding: 30px 30px 30px 92px !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 34px rgba(4,166,212,.08);
    background: #fff !important;
}
.volunteer-card-num {
    position: absolute;
    left: 30px;
    top: 32px;
    width: 42px !important;
    height: 42px !important;
    background: var(--green) !important;
    color: #fff !important;
    border-radius: 50%;
    font-family: var(--heading);
}
.volunteer-card h4 {
    margin: 0 0 8px !important;
    font-family: var(--heading);
    font-size: 21px !important;
    line-height: 1.25;
    color: var(--ink) !important;
}
.volunteer-card p {
    margin: 0;
    color: var(--muted) !important;
    font-size: 16px !important;
}

.section-form {
    padding: 84px 0 !important;
    background: var(--wash) !important;
}
.form-layout {
    display: grid !important;
    grid-template-columns: .85fr 1.15fr !important;
    gap: 48px !important;
    align-items: start;
}
.form-intro {
    position: sticky;
    top: 120px;
}
.form-intro h2 {
    margin: 0 0 18px !important;
    font-family: var(--heading);
    font-size: clamp(34px, 4vw, 52px) !important;
    line-height: 1.12 !important;
    text-transform: uppercase;
}
.form-intro p {
    color: var(--muted) !important;
    font-size: 17px !important;
}
.volunteer-form {
    display: grid !important;
    gap: 18px !important;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(4,166,212,.10);
}
.volunteer-form label {
    color: var(--ink) !important;
    font-weight: 800 !important;
    gap: 8px !important;
}
.volunteer-form input,
.volunteer-form textarea {
    min-height: 50px;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: #fbfdfe !important;
}
.volunteer-form input:focus,
.volunteer-form textarea:focus {
    border-color: var(--green) !important;
    box-shadow: 0 0 0 3px rgba(4,166,212,.12);
}
.volunteer-form .checkbox-row {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    align-items: start;
    color: var(--muted) !important;
    font-weight: 500 !important;
}
.volunteer-form .checkbox-row input[type="checkbox"] {
    accent-color: var(--green);
}
.volunteer-form button {
    width: fit-content;
}
.form-success { color: var(--green) !important; }

@media (max-width: 900px) {
    .form-layout { grid-template-columns: 1fr !important; }
    .form-intro { position: static; }
}

@media (max-width: 640px) {
    .page-wrapper > .hero { min-height: 500px; }
    .page-wrapper > .hero .hero-content {
        width: min(100% - 28px, 1180px);
        padding: 72px 0;
    }
    .page-wrapper > .hero .hero-sub { font-size: 17px; }
    .volunteer-grid { grid-template-columns: 1fr !important; }
    .volunteer-card { padding: 26px !important; }
    .volunteer-card-num {
        position: static;
        margin-bottom: 16px !important;
    }
    .volunteer-form { padding: 24px; }
}

/* Contact page heading alignment */
.section-contact-form .contact-form-wrapper {
    text-align: center;
}
.section-contact-form .contact-form-wrapper > .tag,
.page-hero .container > .tag {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}
.section-contact-form .contact-form-wrapper h2,
.section-contact-form .contact-form-wrapper > p,
.page-hero .container > h1,
.page-hero .container > p {
    text-align: center;
}
.page-hero .container > p {
    margin-left: auto;
    margin-right: auto;
}
.section-contact-form .contact-form {
    text-align: left;
}

.default-page-content {
    padding: 72px 0 88px;
    background: var(--paper);
}
.default-page-content .container {
    max-width: 860px;
}
.default-page-content h2,
.default-page-content h3,
.default-page-content h4 {
    margin: 1.6em 0 .55em;
    color: var(--ink);
    line-height: 1.2;
}
.default-page-content p,
.default-page-content li {
    color: var(--neutral-dark);
    font-size: 1.05rem;
}
.default-page-content a {
    color: var(--green);
    font-weight: 700;
}
.default-page-content ul,
.default-page-content ol {
    padding-left: 1.3rem;
}
.default-page-content > .container > *:first-child {
    margin-top: 0;
}
