:root {
    /* HERSPIRE AFRIKA Brand Colors */
    --primary-purple: #6A0DAD;          /* Royal Purple - primary brand */
    --accent-gold: #F4A300;             /* Gold - African print accent */
    --accent-deep-red: #9B1C31;         /* Deep Red */
    --accent-forest-green: #1E5631;     /* Forest Green */
    --accent-burnt-orange: #C2410C;     /* Burnt Orange */
    --warm-off-white: #FAF8F4;          /* Warm Off White - neutral */
    --soft-white: #FAF8F4;              /* Warm ivory surfaces */
    --cream-white: #FFFBF4;             /* Soft cream text on purple */
    --charcoal-text: #1F2937;           /* Charcoal - text */
    --neutral-bg: #FAF8F4;
    --muted: #f3f0eb;
    --card-bg: #FAF8F4;
    --text: #1F2937;
    /* Handcrafted CTA tokens */
    --cta-primary-bg: #F4A300;
    --cta-primary-hover: #e59400;
    --cta-secondary-hover-bg: rgba(106, 13, 173, 0.08);

    /* Typography */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --font-accent: "Caveat", "Segoe Print", cursive;

    --type-hero: clamp(2.25rem, 4.5vw + 0.75rem, 5rem);
    --type-page: clamp(1.875rem, 3vw + 0.5rem, 3.75rem);
    --type-section: clamp(1.5rem, 2vw + 0.5rem, 2.75rem);
    --type-card: clamp(1.125rem, 1vw + 0.65rem, 1.875rem);
    --type-stat: clamp(1.375rem, 1.5vw + 0.5rem, 2.25rem);
    --type-body: 1rem;
    --type-secondary: 0.9375rem;
    --type-label: 0.8125rem;
    --type-accent-scale: 1.3;

    --leading-display: 1.1;
    --leading-body: 1.72;
    --tracking-display: -0.025em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
h1,h2,h3,h4,h5,h6 {
    color: var(--primary-purple);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: var(--leading-display);
    letter-spacing: var(--tracking-display);
    text-transform: none;
}

h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
    font-family: inherit;
    letter-spacing: inherit;
}

h1.font-light, h2.font-light, h3.font-light, h4.font-light, h5.font-light, h6.font-light {
    font-weight: 500;
}

.font-display,
.font-heading {
    font-family: var(--font-display);
}

.font-accent {
    font-family: var(--font-accent);
}

.type-hero {
    font-family: var(--font-display);
    font-size: var(--type-hero);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: var(--tracking-display);
}

.type-page {
    font-family: var(--font-display);
    font-size: var(--type-page);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: var(--tracking-display);
}

.type-section {
    font-family: var(--font-display);
    font-size: var(--type-section);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: var(--tracking-display);
}

.type-card {
    font-family: var(--font-display);
    font-size: var(--type-card);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.type-stat {
    font-family: var(--font-display);
    font-size: var(--type-stat);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Impact stats list */
.impact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.impact-list__item {
    position: relative;
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 0.875rem 1rem;
    padding-bottom: 1.5rem;
}

.impact-list__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.3125rem;
    top: 2.875rem;
    bottom: 0.25rem;
    width: 2px;
    border-radius: 9999px;
    background: linear-gradient(
        180deg,
        rgba(106, 13, 173, 0.22) 0%,
        rgba(244, 163, 0, 0.28) 100%
    );
}

.impact-list__item:last-child {
    padding-bottom: 0;
}

.impact-list__index {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-family: var(--font-accent);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    background: var(--soft-white);
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    box-shadow: 0 4px 14px -6px rgba(106, 13, 173, 0.35);
}

.impact-list__item--gold .impact-list__index {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 4px 14px -6px rgba(244, 163, 0, 0.35);
}

.impact-list__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.375rem;
    padding-top: 0.125rem;
}

.impact-list__stat {
    display: block;
    margin: 0;
    line-height: 1;
}

.impact-list__text {
    margin: 0;
    max-width: none;
}

@media (min-width: 640px) {
    .impact-list__item {
        grid-template-columns: 3rem 1fr;
        gap: 1rem 1.5rem;
        padding-bottom: 1.75rem;
    }

    .impact-list__item:not(:last-child)::after {
        left: 1.4375rem;
        top: 3.25rem;
    }

    .impact-list__index {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }

    .impact-list__content {
        grid-template-columns: 6.5rem 1fr;
        align-items: baseline;
        gap: 0 1.5rem;
        padding-top: 0.35rem;
    }

    .impact-list__stat {
        text-align: right;
    }
}

/* Approach tags — minimal on dark sections */
.approach-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.625rem;
}

.approach-tags__item {
    margin: 0;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 251, 244, 0.28);
    background: rgba(255, 251, 244, 0.08);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--cream-white);
    max-width: none;
}

@media (min-width: 640px) {
    .approach-tags__item {
        font-size: 0.9375rem;
        padding: 0.5625rem 1rem;
    }
}

/* About — Who We Are prose (mobile-first readability) */
.who-we-are__prose {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 42rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.65;
    font-weight: 400;
    color: var(--charcoal-text);
}

.who-we-are__prose p {
    margin: 0;
    max-width: none;
    font-size: inherit;
    line-height: inherit;
}

@media (min-width: 640px) {
    .who-we-are__prose {
        gap: 1rem;
        font-size: 0.9375rem;
        line-height: 1.7;
    }
}

@media (min-width: 768px) {
    .who-we-are__prose {
        gap: 1.125rem;
        font-size: 1.0625rem;
        line-height: 1.75;
        font-weight: 300;
    }
}

@media (min-width: 1024px) {
    .who-we-are__prose {
        font-size: 1.125rem;
    }
}

/* About — Who We Are image */
.who-we-are__layout {
    align-items: stretch;
}

.who-we-are__image {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 1024px) {
    .who-we-are__media {
        min-height: 100%;
    }

    .who-we-are__image {
        position: sticky;
        top: 5.5rem;
    }
}

/* How We Work — numbered approach list */
.work-approach-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(106, 13, 173, 0.1);
}

.work-approach-list__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.25rem;
    align-items: start;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(106, 13, 173, 0.1);
}

.work-approach-list__index {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-purple);
    padding-top: 0.125rem;
}

.work-approach-list__item:nth-child(even) .work-approach-list__index {
    color: var(--accent-gold);
}

.work-approach-list__title {
    font-family: var(--font-display);
    font-size: clamp(1.0625rem, 1vw + 0.75rem, 1.375rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary-purple);
    margin: 0 0 0.375rem;
    letter-spacing: var(--tracking-display);
}

.work-approach-list__text {
    margin: 0;
    max-width: none;
    font-size: 0.875rem;
    line-height: 1.65;
    font-weight: 400;
    color: #6B7280;
}

@media (min-width: 768px) {
    .work-approach-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2.5rem;
        border-top: none;
    }

    .work-approach-list__item {
        padding: 1.375rem 0;
        border-bottom: 1px solid rgba(106, 13, 173, 0.1);
    }

    .work-approach-list__item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .work-approach-list__text {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
}

/* Pillars page — hero fade & mega list */
.pillars-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(58vh, 32rem);
    padding: 6rem 0 4.5rem;
    overflow: hidden;
    background: var(--primary-purple);
}

.pillars-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pillars-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pillars-hero__wash {
    position: absolute;
    inset: 0;
    background: rgba(106, 13, 173, 0.72);
}

.pillars-hero__content {
    position: relative;
    z-index: 1;
}

.pillars-mega {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 4rem;
    padding-bottom: 3rem;
    background: var(--warm-off-white);
}

.pillar-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pillar-mega-list__item {
    position: relative;
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 0.875rem 1rem;
    padding-bottom: 2.75rem;
}

.pillar-mega-list__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.3125rem;
    top: 3.25rem;
    bottom: 0.75rem;
    width: 2px;
    border-radius: 9999px;
    background: linear-gradient(
        180deg,
        rgba(106, 13, 173, 0.2) 0%,
        rgba(244, 163, 0, 0.24) 100%
    );
}

.pillar-mega-list__item:last-child {
    padding-bottom: 0;
}

.pillar-mega-list__rail {
    position: relative;
    z-index: 1;
}

.pillar-mega-list__index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--primary-purple);
    background: #f0ebe3;
    border: 2px solid rgba(106, 13, 173, 0.22);
    box-shadow: 0 4px 14px -8px rgba(106, 13, 173, 0.35);
}

.pillar-mega-list__card {
    min-width: 0;
}

.pillar-mega-list__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.pillar-mega-list__media {
    overflow: hidden;
    border-radius: 1rem;
    background: #e8e2d8;
}

.pillar-mega-list__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.pillar-mega-list__title {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 1.5vw + 0.75rem, 2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-purple);
    letter-spacing: var(--tracking-display);
    margin: 0 0 0.875rem;
}

.pillar-mega-list__body {
    margin: 0;
    max-width: none;
    font-size: 0.9375rem;
    line-height: 1.72;
    font-weight: 400;
    color: var(--charcoal-text);
}

.pillar-mega-list__prose {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.pillar-mega-list__prose .pillar-mega-list__body:last-child {
    margin-bottom: 0;
}

.pillar-mega-list__focus {
    margin: 0;
    max-width: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.65;
    color: rgba(30, 86, 49, 0.82);
}

.pillar-facts {
    padding: 3rem 1rem 4rem;
    background: var(--warm-off-white);
    border-top: 1px solid rgba(106, 13, 173, 0.08);
}

.pillar-facts__header {
    text-align: center;
    margin-bottom: 2rem;
}

.pillar-facts__list {
    list-style: none;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    max-width: 48rem;
    border-radius: 1.25rem;
    background: linear-gradient(
        145deg,
        rgba(106, 13, 173, 0.06) 0%,
        rgba(244, 163, 0, 0.05) 100%
    );
    border: 1px solid rgba(106, 13, 173, 0.1);
}

.pillar-facts__item {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem 1.25rem;
    align-items: baseline;
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(106, 13, 173, 0.08);
}

.pillar-facts__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.pillar-facts__item:first-child {
    padding-top: 0;
}

.pillar-facts__stat {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2.125rem);
    font-weight: 600;
    line-height: 1;
    color: var(--accent-gold);
    letter-spacing: var(--tracking-display);
}

.pillar-facts__text {
    margin: 0;
    max-width: none;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--charcoal-text);
}

@media (min-width: 768px) {
    .pillars-hero {
        padding-bottom: 5.5rem;
    }

    .pillars-mega {
        padding-top: 5.5rem;
    }

    .pillar-mega-list__item {
        grid-template-columns: 3.25rem 1fr;
        gap: 1.25rem 1.75rem;
        padding-bottom: 3.5rem;
    }

    .pillar-mega-list__item:not(:last-child)::after {
        left: 1.5625rem;
        top: 3.75rem;
    }

    .pillar-mega-list__index {
        width: 3.25rem;
        height: 3.25rem;
        font-size: 0.8125rem;
    }

    .pillar-mega-list__grid {
        grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
        gap: 2rem 3rem;
        align-items: start;
    }

    .pillar-mega-list__item--flip .pillar-mega-list__grid {
        direction: rtl;
    }

    .pillar-mega-list__item--flip .pillar-mega-list__copy,
    .pillar-mega-list__item--flip .pillar-mega-list__media {
        direction: ltr;
    }

    .pillar-mega-list__body {
        font-size: 1rem;
    }

    .pillar-facts__list {
        padding: 2rem 2.25rem;
    }

    .pillar-facts__item {
        grid-template-columns: 6rem 1fr;
        gap: 1.5rem 2rem;
        padding: 1.375rem 0;
    }

    .pillar-facts__text {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .pillars-mega {
        padding-top: 7rem;
    }

    .pillar-mega-list {
        max-width: 52rem;
        margin-inline: auto;
        width: 100%;
    }

    .pillar-mega-list__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .pillar-mega-list__item:not(:last-child)::after {
        display: none;
    }

    .pillar-mega-list__item:not(:last-child) {
        border-bottom: 1px solid rgba(106, 13, 173, 0.1);
        margin-bottom: 0;
    }

    .pillar-mega-list__rail {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .pillar-mega-list__card {
        width: 100%;
    }

    .pillar-mega-list__grid {
        grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
        gap: 2.5rem 3.5rem;
    }

    .pillar-mega-list__image {
        aspect-ratio: 4 / 3;
    }
}

/* Story values — minimal accent strips */
.value-strip {
    list-style: none;
    margin: 0;
    padding: 1rem 0 1rem 1rem;
    border-left: 3px solid var(--primary-purple);
    background: var(--soft-white);
}

.value-strip--gold {
    border-left-color: var(--accent-gold);
}

.value-strip__title {
    font-family: var(--font-display);
    font-size: clamp(1.0625rem, 1vw + 0.7rem, 1.25rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary-purple);
    margin: 0 0 0.375rem;
    letter-spacing: var(--tracking-display);
}

.value-strip__text {
    margin: 0;
    max-width: none;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6B7280;
    font-weight: 400;
}

@media (min-width: 640px) {
    .value-strip {
        padding: 1.125rem 0 1.125rem 1.25rem;
    }

    .value-strip__text {
        font-size: 0.9375rem;
    }
}

/* Challenges & communities — minimal image panels */
.focus-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.focus-panel__image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.25rem;
}

.focus-panel__body {
    padding: 0 0.125rem;
}

.focus-panel__title {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 1vw + 0.75rem, 1.5rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary-purple);
    margin: 0 0 1rem;
    letter-spacing: var(--tracking-display);
    text-transform: lowercase;
}

.focus-panel__title::first-letter {
    text-transform: uppercase;
}

.focus-panel__lead {
    margin: 0 0 1rem;
    max-width: none;
    font-size: 0.875rem;
    line-height: 1.65;
    font-weight: 400;
    color: #6B7280;
}

.focus-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(106, 13, 173, 0.1);
}

.focus-list__item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(106, 13, 173, 0.08);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--charcoal-text);
    max-width: none;
}

.focus-list__item::before {
    content: "—";
    margin-right: 0.5rem;
    color: var(--accent-gold);
    font-weight: 600;
}

@media (min-width: 768px) {
    .focus-panels {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 2.5rem;
    }

    .focus-panel__lead,
    .focus-list__item {
        font-size: 0.9375rem;
    }
}

/* Impact stories — minimal editorial cards */
.impact-stories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.impact-story__image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.impact-story__body {
    padding-top: 1rem;
    border-top: 1px solid rgba(106, 13, 173, 0.1);
}

.impact-story__title {
    font-family: var(--font-display);
    font-size: clamp(1.0625rem, 1vw + 0.65rem, 1.375rem);
    font-weight: 600;
    line-height: 1.28;
    color: var(--primary-purple);
    margin: 0 0 0.375rem;
    letter-spacing: var(--tracking-display);
}

.impact-story__byline {
    margin: 0 0 0.625rem;
    max-width: none;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.impact-story__excerpt {
    margin: 0;
    max-width: none;
    font-size: 0.875rem;
    line-height: 1.65;
    font-weight: 400;
    color: #6B7280;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 640px) {
    .impact-stories {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 2.25rem;
    }
}

@media (min-width: 1024px) {
    .impact-stories {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 2rem;
    }

    .impact-story__excerpt {
        font-size: 0.9375rem;
    }
}

/* Team — editorial roster index */
.team-roster {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.team-roster__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(106, 13, 173, 0.1);
}

.team-roster__entry {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0.75rem 1rem 0;
    margin: 0;
    border: none;
    border-bottom: 1px solid rgba(106, 13, 173, 0.08);
    border-left: 3px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 220ms ease,
        background 220ms ease,
        padding-left 220ms ease;
}

.team-roster__entry:hover {
    background: rgba(106, 13, 173, 0.03);
}

.team-roster__entry.is-active {
    border-left-color: var(--accent-gold);
    padding-left: 0.875rem;
    background: rgba(244, 163, 0, 0.04);
}

.team-roster__entry:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

.team-roster__num {
    flex-shrink: 0;
    min-width: 1.75rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    color: var(--accent-gold);
    padding-top: 0.2rem;
}

.team-roster__entry-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.team-roster__entry-name {
    font-family: var(--font-display);
    font-size: clamp(1.0625rem, 1vw + 0.55rem, 1.375rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary-purple);
    letter-spacing: var(--tracking-display);
    transition: color 220ms ease;
}

.team-roster__entry:not(.is-active) .team-roster__entry-name {
    color: rgba(106, 13, 173, 0.72);
}

.team-roster__entry-role {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(30, 86, 49, 0.72);
}

.team-roster__stage {
    min-height: 18rem;
}

.team-roster__profile {
    padding-top: 0.25rem;
}

.team-roster__profile.is-revealing {
    animation: teamRosterReveal 300ms ease-out;
}

@keyframes teamRosterReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-roster__profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.team-roster__portrait {
    max-width: 16rem;
}

.team-roster__photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 1.125rem;
}

.team-roster__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, rgba(106, 13, 173, 0.9), rgba(106, 13, 173, 0.7));
    color: var(--cream-white);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
}

.team-roster__headline {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--primary-purple);
    letter-spacing: var(--tracking-display);
    margin: 0 0 0.375rem;
}

.team-roster__position {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(30, 86, 49, 0.82);
    margin: 0 0 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(106, 13, 173, 0.1);
}

.team-roster__bio {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.72;
    color: var(--charcoal-text);
    max-width: 42ch;
}

.team-roster__bio p {
    margin: 0 0 1rem;
    max-width: none;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.team-roster__bio p:last-child {
    margin-bottom: 0;
}

.team-roster__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary-purple);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 200ms ease, gap 200ms ease;
}

.team-roster__linkedin svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.team-roster__linkedin:hover {
    color: var(--accent-forest-green);
    gap: 0.625rem;
}

.team-roster__linkedin:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (min-width: 640px) {
    .team-roster__profile-grid {
        grid-template-columns: minmax(9rem, 12rem) 1fr;
        gap: 1.75rem 2rem;
        align-items: start;
    }

    .team-roster__bio {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .team-roster {
        grid-template-columns: minmax(15rem, 20rem) 1fr;
        gap: 3rem 4.5rem;
        align-items: start;
    }

    .team-roster__nav {
        position: sticky;
        top: 6rem;
    }

    .team-roster__portrait {
        max-width: none;
    }

    .team-roster__profile-grid {
        grid-template-columns: minmax(11rem, 14rem) 1fr;
        gap: 2rem 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-roster__entry,
    .team-roster__linkedin {
        transition: none !important;
    }

    .team-roster__profile.is-revealing {
        animation: none !important;
    }
}

/* Testimonials — editorial voice cards */
.testimonials-section {
    background: linear-gradient(
        180deg,
        var(--warm-off-white) 0%,
        rgba(106, 13, 173, 0.04) 50%,
        var(--warm-off-white) 100%
    );
}

.voice-carousel__viewport {
    overflow: hidden;
}

.voice-carousel__track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.voice-carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.voice-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.voice-carousel__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(106, 13, 173, 0.15);
    background: var(--soft-white);
    color: var(--primary-purple);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.voice-carousel__arrow:hover {
    background: rgba(106, 13, 173, 0.06);
    border-color: rgba(106, 13, 173, 0.28);
    transform: translateY(-1px);
}

.voice-carousel__arrow:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.voice-carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voice-carousel__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: rgba(106, 13, 173, 0.2);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.voice-carousel__dot.is-active {
    width: 1.5rem;
    background: var(--primary-purple);
}

.voice-carousel__dot:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.voice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem 1.5rem 1.25rem 1.375rem;
    border-radius: 1.25rem;
    background: var(--soft-white);
    border: 1px solid rgba(106, 13, 173, 0.1);
    box-shadow: 0 12px 32px -24px rgba(106, 13, 173, 0.35);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.voice-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-purple) 0%, var(--accent-gold) 100%);
    border-radius: 4px 0 0 4px;
}

.voice-card:hover {
    transform: translateY(-3px);
    border-color: rgba(106, 13, 173, 0.2);
    box-shadow: 0 20px 40px -22px rgba(106, 13, 173, 0.28);
}

.voice-card__mark {
    display: block;
    font-size: 3rem;
    line-height: 0.75;
    margin-bottom: 0.5rem;
    opacity: 0.85;
    user-select: none;
}

.voice-card__quote {
    flex: 1;
    margin: 0 0 1.25rem;
    padding: 0;
    border: none;
}

.voice-card__quote p {
    margin: 0;
    max-width: none;
}

.voice-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(106, 13, 173, 0.08);
}

.voice-card__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(106, 13, 173, 0.12);
}

.voice-card__avatar--initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 13, 173, 0.08);
    color: var(--primary-purple);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    font-style: normal;
}

.voice-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.voice-card__name {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    font-style: normal;
    color: var(--primary-purple);
    line-height: 1.3;
}

.voice-card__role {
    font-size: 0.75rem;
    color: #6B7280;
    line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
    .voice-carousel__track {
        transition: none;
    }
}

/* Blog preview — minimal editorial cards */
.blog-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.blog-preview-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--cream-white);
    border: 1px solid rgba(106, 13, 173, 0.07);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-preview-card:hover {
    border-color: rgba(106, 13, 173, 0.14);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -28px rgba(106, 13, 173, 0.45);
}

.blog-preview-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-preview-card__link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

.blog-preview-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.05) 0%, rgba(244, 163, 0, 0.1) 100%);
}

.blog-preview-card__image,
.blog-preview-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-preview-card__placeholder {
    background:
        linear-gradient(160deg, rgba(106, 13, 173, 0.08) 0%, transparent 55%),
        linear-gradient(20deg, rgba(244, 163, 0, 0.12) 0%, transparent 50%),
        var(--warm-off-white);
}

.blog-preview-card:hover .blog-preview-card__image,
.blog-preview-card:hover .blog-preview-card__placeholder {
    transform: scale(1.04);
}

.blog-preview-card__date {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-purple);
    background: rgba(255, 251, 244, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid rgba(106, 13, 173, 0.08);
}

.blog-preview-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.625rem;
    padding: 1.125rem 1.25rem 1.375rem;
    border-top: 1px solid rgba(106, 13, 173, 0.06);
}

.blog-preview-card__title {
    font-family: var(--font-display);
    font-size: var(--type-card);
    font-weight: 300;
    line-height: 1.28;
    color: var(--primary-purple);
    letter-spacing: var(--tracking-display);
    transition: color 0.25s ease;
}

.blog-preview-card:hover .blog-preview-card__title {
    color: #5a0b94;
}

.blog-preview-card__excerpt {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #6B7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-preview-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.blog-preview-card__more i {
    font-size: 0.625rem;
    transition: transform 0.25s ease;
}

.blog-preview-card:hover .blog-preview-card__more i {
    transform: translateX(4px);
}

@media (min-width: 640px) {
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .blog-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-preview-card,
    .blog-preview-card__image,
    .blog-preview-card__placeholder,
    .blog-preview-card__more i {
        transition: none;
    }

    .blog-preview-card:hover {
        transform: none;
    }

    .blog-preview-card:hover .blog-preview-card__image,
    .blog-preview-card:hover .blog-preview-card__placeholder {
        transform: none;
    }
}

/* Blog listing page */
.blog-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(58vh, 32rem);
    padding: 6rem 0 4.5rem;
    overflow: hidden;
    background: var(--primary-purple);
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero__wash {
    position: absolute;
    inset: 0;
    background: rgba(106, 13, 173, 0.72);
}

.blog-hero__content {
    position: relative;
    z-index: 1;
}

.blog-list-section {
    padding: 4rem 1rem 5rem;
    background: var(--warm-off-white);
}

.blog-preview-grid--archive {
    gap: 2rem;
    max-width: 72rem;
    margin-inline: auto;
}

.blog-preview-grid--archive .blog-preview-card {
    background: var(--soft-white);
    border-color: rgba(106, 13, 173, 0.09);
    box-shadow: 0 10px 28px -24px rgba(31, 41, 55, 0.2);
}

.blog-preview-grid--archive .blog-preview-card:hover {
    border-color: rgba(106, 13, 173, 0.16);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -28px rgba(106, 13, 173, 0.28);
}

.blog-preview-grid--archive .blog-preview-card__body {
    padding: 1.25rem 1.375rem 1.5rem;
    gap: 0.75rem;
}

.blog-preview-grid--archive .blog-preview-card__excerpt {
    -webkit-line-clamp: 3;
    font-size: 0.9375rem;
    line-height: 1.68;
}

.blog-list-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.blog-list-empty__title {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 2vw + 0.5rem, 1.875rem);
    font-weight: 600;
    color: var(--primary-purple);
    margin: 0 0 0.5rem;
}

.blog-list-empty__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6B7280;
}

@media (min-width: 768px) {
    .blog-hero {
        padding-bottom: 5.5rem;
    }

    .blog-list-section {
        padding-top: 5.5rem;
        padding-bottom: 6rem;
    }

    .blog-preview-grid--archive {
        gap: 2.25rem 2rem;
    }
}

@media (min-width: 1024px) {
    .blog-list-section {
        padding-top: 6.5rem;
    }

    .blog-preview-grid--archive {
        gap: 2.5rem 2.25rem;
    }
}

.type-accent {
    font-family: var(--font-accent) !important;
    font-weight: 600;
    font-size: calc(1em * var(--type-accent-scale));
    line-height: 1;
    letter-spacing: 0.01em;
    vertical-align: -0.04em;
    -webkit-font-smoothing: antialiased;
}

h1 .type-accent,
h2 .type-accent {
    font-weight: 700;
    vertical-align: -0.06em;
}

h3 .type-accent,
h4 .type-accent {
    font-weight: 600;
}

.type-body {
    font-family: var(--font-body);
    font-size: var(--type-body);
    line-height: var(--leading-body);
}

.type-secondary {
    font-family: var(--font-body);
    font-size: var(--type-secondary);
    line-height: var(--leading-body);
}

.type-label {
    font-family: var(--font-body);
    font-size: var(--type-label);
    line-height: 1.5;
    font-weight: 500;
}

p, a, button, li, span, div, input, textarea, select, label{
    font-family: var(--font-body);
    color: var(--text);
    font-weight: 400;
    letter-spacing: 0;
}
/* Override for buttons and CTAs with explicit cream-white text */
a.text-cream-white, button.text-cream-white, a.text-cream-white span, a.text-cream-white i {
    color: var(--cream-white) !important;
}

a.ngo-cta,
button.ngo-cta,
a.ngo-cta .ngo-cta__label,
button.ngo-cta .ngo-cta__label,
a.ngo-cta .ngo-cta__icon,
button.ngo-cta .ngo-cta__icon {
    color: inherit;
}

/* Footer links - ensure white text on dark background */
footer a.footer-link,
footer a.footer-link span,
footer span.footer-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer a.footer-link:hover,
footer a.footer-link:hover span {
    color: #F4A300 !important; /* accent-gold */
}

/* General footer links override */
footer a:not(.text-secondary-orange):not(.bg-secondary-orange):not(.footer-link) {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer a:hover:not(.bg-accent-gold):not(.footer-link):not(.footer-contact-icon--link) {
    color: #F4A300 !important; /* accent-gold */
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 251, 244, 0.15);
    color: var(--cream-white);
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-contact-icon i {
    font-size: 1.125rem;
    line-height: 1;
}

.footer-contact-icon__svg {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-contact-icon--link {
    color: var(--cream-white) !important;
    text-decoration: none;
}

.footer-contact-icon--link:hover {
    background: #000;
    color: var(--cream-white) !important;
    transform: scale(1.08);
}

.footer-contact-icon--link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

@media (min-width: 640px) {
    .footer-contact-icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .footer-contact-icon i {
        font-size: 1.25rem;
    }

    .footer-contact-icon__svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Legacy alias — keep if used elsewhere */
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 251, 244, 0.15);
    color: var(--cream-white) !important;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-social:hover {
    background: #000;
    color: var(--cream-white) !important;
    transform: scale(1.08);
}

.footer-social:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.footer-social__icon {
    width: 1.125rem;
    height: 1.125rem;
}

@media (min-width: 640px) {
    .footer-social {
        width: 2.75rem;
        height: 2.75rem;
    }

    .footer-social__icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

body {
    color: var(--text);
    margin: 0;
    padding: 0;
    background: var(--muted);
    font-family: var(--font-body);
    font-size: var(--type-body);
    line-height: var(--leading-body);
}

p {
    font-family: var(--font-body);
    line-height: var(--leading-body);
    margin-bottom: 1.25em;
}

p:not([class*="text-"]) {
    font-size: var(--type-body);
}

main p,
main li {
    max-width: 65ch;
}

.text-center p,
.text-center li,
[class*="text-center"] > p {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    :root {
        --type-body: 1.0625rem;
        --type-secondary: 1rem;
        --type-label: 0.875rem;
    }
}

@media (min-width: 768px) {
    :root {
        --type-body: 1.125rem;
    }
}

html {
    margin: 0;
    padding: 0;
}

/* Improve image quality */
img {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* High quality rendering for thumbnails - use smooth scaling for photos */
img[class*="object-contain"] {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    will-change: transform;
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 13, 173, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility
*:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
} */

/* button:focus,
a:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
} */

/* Mobile drawer — sleek minimal sidebar */
.mobile-drawer__overlay {
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer__panel {
    width: min(100%, 16rem);
    background: var(--cream-white);
    box-shadow: -12px 0 40px -12px rgba(106, 13, 173, 0.22);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mobile-drawer__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid rgba(106, 13, 173, 0.08);
}

.mobile-drawer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.mobile-drawer__logo {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    object-fit: cover;
    flex-shrink: 0;
}

.mobile-drawer__brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-purple);
    letter-spacing: var(--tracking-display);
}

.mobile-drawer__brand-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.1;
}

.menu-toggle--drawer,
.menu-toggle--drawer .menu-toggle__line {
    color: var(--primary-purple) !important;
}

.menu-toggle--drawer:hover,
.menu-toggle--drawer:hover .menu-toggle__line {
    color: var(--accent-gold) !important;
}

.menu-toggle--drawer:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.mobile-drawer__nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0 1rem;
}

.mobile-drawer__section + .mobile-drawer__section {
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(106, 13, 173, 0.06);
}

.mobile-drawer__section-label {
    padding: 0.875rem 1.25rem 0.375rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9CA3AF;
}

.mobile-drawer__link,
.mobile-drawer__sublink {
    display: block;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    color: var(--charcoal-text);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-drawer__link {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 400;
    letter-spacing: var(--tracking-display);
}

.mobile-drawer__sublink {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
}

.mobile-drawer__link:hover,
.mobile-drawer__sublink:hover,
.mobile-drawer__link.is-active,
.mobile-drawer__sublink.is-active {
    color: var(--primary-purple);
    background: rgba(106, 13, 173, 0.04);
    border-left-color: var(--accent-gold);
}

.mobile-drawer__foot {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(106, 13, 173, 0.08);
    background: linear-gradient(180deg, transparent 0%, rgba(106, 13, 173, 0.03) 100%);
}

.mobile-drawer__lang {
    margin-bottom: 0.875rem;
}

.mobile-drawer__lang .mobile-drawer__section-label {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

.mobile-drawer__lang-options {
    display: inline-flex;
    gap: 0.375rem;
    padding: 0.25rem;
    border-radius: 9999px;
    background: rgba(106, 13, 173, 0.06);
}

.mobile-drawer__lang-btn {
    min-width: 2.75rem;
    padding: 0.4375rem 0.875rem;
    border: none;
    border-radius: 9999px;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #6B7280;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-drawer__lang-btn.is-active {
    background: var(--cream-white);
    color: var(--primary-purple);
    box-shadow: 0 2px 8px -4px rgba(106, 13, 173, 0.35);
}

.mobile-drawer__lang-btn:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-drawer__overlay,
    .mobile-drawer__panel {
        transition: none;
    }
}

/* Remove focus outline for navigation links */
.nav-link:focus,
.mobile-nav-link:focus,
.mobile-drawer__link:focus,
.mobile-drawer__sublink:focus,
header nav a:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Partners Carousel Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-left {
    animation: scroll-left 30s linear infinite;
}

.animate-scroll-left:hover {
    animation-play-state: paused;
}

#main-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
}

#main-header.bg-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
}

#site-header-shell {
    height: 0;
    overflow: visible;
}

/* Light page tops (e.g. blog article, auth pages) — solid header from load */
body.header-on-light #main-header,
body.header-on-light #main-header.bg-transparent {
    background-color: rgba(250, 248, 244, 0.98) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border-bottom: 1px solid #e5e7eb !important;
}

body.header-on-light #main-header .header-title,
body.header-on-light #main-header.bg-transparent .header-title {
    color: var(--primary-purple) !important;
}

body.header-on-light #main-header .header-subtitle,
body.header-on-light #main-header.bg-transparent .header-subtitle {
    color: var(--charcoal-text) !important;
}

body.header-on-light #main-header .header-nav-link:not(.active),
body.header-on-light #main-header.bg-transparent .header-nav-link:not(.active),
body.header-on-light #main-header .header-resources-btn:not(.active),
body.header-on-light #main-header.bg-transparent .header-resources-btn:not(.active),
body.header-on-light #main-header .header-resources-btn:not(.active) span,
body.header-on-light #main-header.bg-transparent .header-resources-btn:not(.active) span,
body.header-on-light #main-header .header-resources-btn:not(.active) i,
body.header-on-light #main-header.bg-transparent .header-resources-btn:not(.active) i {
    color: #1F2937 !important;
}

body.header-on-light #main-header .header-nav-link.active,
body.header-on-light #main-header.bg-transparent .header-nav-link.active,
body.header-on-light #main-header .header-resources-btn.active,
body.header-on-light #main-header.bg-transparent .header-resources-btn.active,
body.header-on-light #main-header .header-resources-btn.active span,
body.header-on-light #main-header.bg-transparent .header-resources-btn.active span,
body.header-on-light #main-header .header-resources-btn.active i,
body.header-on-light #main-header.bg-transparent .header-resources-btn.active i {
    color: #6A0DAD !important;
}

body.header-on-light #main-header .header-nav-link:hover,
body.header-on-light #main-header.bg-transparent .header-nav-link:hover,
body.header-on-light #main-header .header-resources-btn:hover,
body.header-on-light #main-header.bg-transparent .header-resources-btn:hover {
    color: #F4A300 !important;
}

body.header-on-light #main-header .header-lang-btn,
body.header-on-light #main-header.bg-transparent .header-lang-btn,
body.header-on-light #main-header .header-lang-btn-mobile,
body.header-on-light #main-header.bg-transparent .header-lang-btn-mobile,
body.header-on-light #main-header .header-lang-btn .header-lang-current,
body.header-on-light #main-header.bg-transparent .header-lang-btn .header-lang-current,
body.header-on-light #main-header .header-lang-btn i,
body.header-on-light #main-header.bg-transparent .header-lang-btn i,
body.header-on-light #main-header .header-lang-btn-mobile i,
body.header-on-light #main-header.bg-transparent .header-lang-btn-mobile i,
body.header-on-light #main-header .menu-toggle,
body.header-on-light #main-header.bg-transparent .menu-toggle,
body.header-on-light #main-header .menu-toggle__line,
body.header-on-light #main-header.bg-transparent .menu-toggle__line {
    color: #1F2937 !important;
}

body.header-on-light #main-header .header-logo,
body.header-on-light #main-header.bg-transparent .header-logo {
    background-color: transparent !important;
    padding: 0 !important;
}

/* Header logo: light grey/off-white on dark hero before scroll, seamless when scrolled */
#main-header.bg-transparent:not(.header-scrolled) .header-logo-img {
    filter: brightness(0) invert(0.92);
    transition: filter 0.25s ease, transform 0.2s ease;
}

#main-header.header-scrolled .header-logo-img,
body.header-on-light #main-header .header-logo-img {
    filter: none !important;
    transition: filter 0.25s ease, transform 0.2s ease;
}

#main-header.bg-transparent .header-logo {
    background-color: var(--soft-white);
    padding: 2px;
    box-shadow: none;
}

#main-header.header-scrolled .header-logo {
    background-color: transparent !important;
    padding: 0 !important;
}

/* Header Navigation Styles */
#main-header .header-nav-link,
#main-header .header-resources-btn,
#main-header .header-resources-btn span,
#main-header .header-resources-btn i {
    font-weight: 600 !important;
}

/* Transparent header: white nav (anchors + Resources button and its label/icon) */
#main-header.bg-transparent .header-nav-link:not(.active),
#main-header.bg-transparent .header-resources-btn:not(.active),
#main-header.bg-transparent .header-resources-btn:not(.active) span,
#main-header.bg-transparent .header-resources-btn:not(.active) i {
    color: #fff !important;
}

#main-header.bg-transparent .header-nav-link.active,
#main-header.bg-transparent .header-resources-btn.active,
#main-header.bg-transparent .header-resources-btn.active span,
#main-header.bg-transparent .header-resources-btn.active i {
    color: #F4A300 !important;
}

#main-header.header-scrolled .header-nav-link:not(.active),
#main-header.header-scrolled .header-resources-btn:not(.active),
#main-header.header-scrolled .header-resources-btn:not(.active) span,
#main-header.header-scrolled .header-resources-btn:not(.active) i {
    color: #1F2937 !important;
}

#main-header.header-scrolled .header-nav-link.active,
#main-header.header-scrolled .header-resources-btn.active,
#main-header.header-scrolled .header-resources-btn.active span,
#main-header.header-scrolled .header-resources-btn.active i {
    color: #6A0DAD !important;
}

/* Language chooser (header CTA area) */
#main-header .header-lang-btn-mobile {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

#main-header .header-lang-btn,
#main-header .header-lang-btn-mobile,
#main-header .header-lang-btn .header-lang-current,
#main-header .header-lang-btn i {
    font-weight: 600 !important;
}

#main-header.bg-transparent .header-lang-btn,
#main-header.bg-transparent .header-lang-btn-mobile,
#main-header.bg-transparent .header-lang-btn .header-lang-current,
#main-header.bg-transparent .header-lang-btn i,
#main-header.bg-transparent .header-lang-btn-mobile i,
#main-header.bg-transparent .menu-toggle,
#main-header.bg-transparent .menu-toggle__line {
    color: #fff !important;
}

#main-header.header-scrolled .header-lang-btn,
#main-header.header-scrolled .header-lang-btn-mobile,
#main-header.header-scrolled .header-lang-btn .header-lang-current,
#main-header.header-scrolled .header-lang-btn i,
#main-header.header-scrolled .header-lang-btn-mobile i,
#main-header.header-scrolled .menu-toggle,
#main-header.header-scrolled .menu-toggle__line {
    color: #1F2937 !important;
}

.header-lang-panel .lang-option,
.header-lang-panel .lang-option span {
    color: #1F2937 !important;
}

.header-lang-panel .lang-option:hover,
.header-lang-panel .lang-option:hover span {
    color: #6A0DAD !important;
}

/* Premium menu toggle */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease;
}

#main-header .header-lang-btn-mobile:hover,
#main-header .header-lang-btn-mobile:hover i,
#main-header .menu-toggle:hover,
#main-header .menu-toggle:hover .menu-toggle__line,
#main-header .menu-toggle.is-active,
#main-header .menu-toggle.is-active .menu-toggle__line {
    color: var(--accent-gold) !important;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.menu-toggle__icon {
    position: relative;
    display: block;
    width: 1.125rem;
    height: 0.8125rem;
}

.menu-toggle__line {
    position: absolute;
    left: 0;
    height: 1.5px;
    border-radius: 9999px;
    background: currentColor;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), top 0.34s cubic-bezier(0.22, 1, 0.36, 1), bottom 0.34s cubic-bezier(0.22, 1, 0.36, 1), width 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.menu-toggle__line:nth-child(1) {
    top: 0;
    width: 100%;
}

.menu-toggle__line:nth-child(2) {
    top: 50%;
    right: 0;
    left: auto;
    width: 68%;
    transform: translateY(-50%);
}

.menu-toggle__line:nth-child(3) {
    bottom: 0;
    width: 100%;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
    top: 50%;
    width: 100%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__line:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(3) {
    top: 50%;
    bottom: auto;
    width: 100%;
    transform: translateY(-50%) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .menu-toggle,
    .menu-toggle__line {
        transition: none;
    }
}

.lang-coming-soon-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.nav-link {
    position: relative;
    outline: none !important;
    border: none !important;
}

.nav-link:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #F4A300; /* accent-gold */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #F4A300 !important; /* accent-gold */
}

.nav-link.active::after {
    width: 80%;
    background-color: #F4A300;
}

/* Blog detail — minimal editorial article */
.blog-detail {
    background: var(--warm-off-white);
}

.blog-detail__shell {
    max-width: 42rem;
    margin-inline: auto;
}

.blog-detail__header {
    padding: 6.5rem 1rem 2rem;
}

.blog-detail__date {
    display: block;
    margin-bottom: 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.blog-detail__title {
    font-family: var(--font-display);
    font-size: var(--type-page);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: var(--tracking-display);
    color: var(--primary-purple);
    margin: 0 0 1rem;
}

.blog-detail__dek {
    margin: 0;
    max-width: none;
    font-size: 1.0625rem;
    line-height: 1.7;
    font-weight: 400;
    color: #4B5563;
}

.blog-detail__figure {
    margin: 0 0 2rem;
    padding: 0 1rem;
}

.blog-detail__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 28rem;
    object-fit: cover;
    border-radius: 0.75rem;
}

.blog-detail__body {
    padding-bottom: 3rem;
}

.blog-detail__empty {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6B7280;
    font-style: italic;
}

.blog-detail__footer {
    padding: 0 1rem 4rem;
    border-top: 1px solid rgba(106, 13, 173, 0.1);
}

.blog-detail__footer .blog-detail__shell {
    padding-top: 1.75rem;
}

.blog-detail__footer-actions {
    display: flex;
    justify-content: center;
}

/* Blog article body */
.blog-article-body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.78;
    color: var(--charcoal-text);
}

.blog-article-body p {
    margin: 0 0 1.25rem;
    max-width: none;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.blog-article-body p:last-child {
    margin-bottom: 0;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 1.25rem;
    padding-left: 1.375rem;
}

.blog-article-body li {
    margin-bottom: 0.5rem;
}

.blog-article-body li:last-child {
    margin-bottom: 0;
}

.blog-article-body blockquote {
    margin: 1.5rem 0;
    padding: 0 0 0 1rem;
    border-left: 3px solid var(--accent-gold);
    font-style: italic;
    color: #4B5563;
}

.blog-article-body img {
    display: block;
    width: 100%;
    height: auto;
    margin: 1.75rem 0;
    border-radius: 0.5rem;
}

.blog-article-body h1,
.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    color: var(--primary-purple) !important;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: var(--tracking-display);
}

.blog-article-body h2 {
    font-size: clamp(1.375rem, 1.5vw + 0.75rem, 1.875rem);
    margin: 2.25rem 0 0.875rem;
}

.blog-article-body h3 {
    font-size: clamp(1.125rem, 1vw + 0.65rem, 1.5rem);
    margin: 1.75rem 0 0.625rem;
}

.blog-article-body a {
    color: var(--primary-purple);
    font-weight: 500;
    text-underline-offset: 2px;
}

.blog-article-body a:hover {
    color: var(--accent-forest-green);
}

@media (min-width: 768px) {
    .blog-detail__header {
        padding-top: 7rem;
        padding-bottom: 2.5rem;
    }

    .blog-detail__dek {
        font-size: 1.125rem;
    }

    .blog-article-body {
        font-size: 1.0625rem;
        line-height: 1.8;
    }

    .blog-detail__footer {
        padding-bottom: 5rem;
    }
}

/* Legacy blog-detail-hero overrides (kept for any cached refs) */
.blog-detail-hero .blog-detail-back,
.blog-detail-hero .blog-detail-back span,
.blog-detail-hero .blog-detail-back i {
    color: #F4A300 !important;
}

.blog-detail-hero .blog-detail-back:hover,
.blog-detail-hero .blog-detail-back:hover span,
.blog-detail-hero .blog-detail-back:hover i {
    color: #ffffff !important;
}

.blog-detail-hero .blog-detail-meta,
.blog-detail-hero .blog-detail-meta span {
    color: #ffffff !important;
}

.blog-detail-hero .blog-detail-meta i {
    color: #F4A300 !important;
}

.blog-detail-hero h1 {
    color: #ffffff !important;
}

.blog-detail-hero p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.blog-detail-hero .inline-flex span.uppercase {
    color: #ffffff !important;
}

/* Mobile nav link active state (legacy) */
.mobile-nav-link.active,
.mobile-drawer__link.is-active,
.mobile-drawer__sublink.is-active {
    color: var(--primary-purple) !important;
    background: rgba(106, 13, 173, 0.04) !important;
    border-left-color: var(--accent-gold) !important;
}

/* Partners carousel */
.partners-section {
    background: var(--soft-white);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 1.25rem 1.5rem;
}

.partners-marquee {
    overflow: hidden;
    min-height: 10.5rem;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partners-scroll 42s linear infinite;
    align-items: stretch;
    min-height: 10.5rem;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.partner-logo-card {
    flex-shrink: 0;
    margin: 0 1rem;
    width: 12.5rem;
    min-height: 9.5rem;
    padding: 1rem 1.125rem 0.875rem;
    border-radius: 1rem;
    background: var(--soft-white);
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 28px -18px rgba(106, 13, 173, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.625rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partners-grid .partner-logo-card {
    margin: 0;
    width: 11.5rem;
}

.partner-logo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 163, 0, 0.45);
    box-shadow: 0 18px 36px -16px rgba(106, 13, 173, 0.28);
}

.partner-logo-card__media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 4.75rem;
    padding: 0.25rem;
}

.partner-logo-card img {
    max-width: 100%;
    max-height: 4.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(25%) opacity(0.88);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.partner-logo-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.03);
}

.partner-logo-card__name {
    width: 100%;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(106, 13, 173, 0.08);
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-align: center;
    color: #4B5563;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.partner-logo-card:hover .partner-logo-card__name {
    color: var(--primary-purple);
}

.partners-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 1.25rem;
    }

    .partners-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .partner-logo-card {
        margin: 0;
    }
}

@media (min-width: 640px) {
    .partner-logo-card {
        width: 13.5rem;
        min-height: 10rem;
    }

    .partners-grid .partner-logo-card {
        width: 12.5rem;
    }
}

/* Home hero — full viewport, flush to top under fixed header */
main {
    margin: 0;
    padding: 0;
}

.home-hero {
    margin-top: 0;
    height: 100svh;
    height: 100vh;
    isolation: isolate;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero__content {
    z-index: 1;
}

.home-hero__bg-image {
    transform: none;
    -webkit-transform: none;
}

.home-hero h1,
.home-hero p,
.home-hero .home-hero__reveal span {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.home-hero h1 .type-accent,
.home-hero h1 .text-accent-gold {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

/* Home hero — content entrance */
.home-hero__reveal {
    opacity: 0;
    animation: hero-reveal-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--hero-delay, 0s);
}

.home-hero__accent-bar {
    transform-origin: left center;
    animation: hero-accent-grow 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--hero-delay, 0s);
    transform: scaleX(0);
}

@keyframes hero-reveal-up {
    from {
        opacity: 0;
        transform: translateY(1.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-accent-grow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__reveal,
    .home-hero__accent-bar {
        animation: none;
    }

    .home-hero__reveal {
        opacity: 1;
        transform: none;
    }

    .home-hero__accent-bar {
        transform: none;
    }
}

/* Handcrafted CTA buttons */
.ngo-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 34px 8px;
    border: none;
    background: transparent;
    color: inherit;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.018em;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    isolation: isolate;
    box-shadow: none;
    transition:
        transform 260ms ease-out,
        filter 260ms ease-out,
        color 260ms ease-out;
}

.ngo-cta:focus {
    outline: none;
}

.ngo-cta:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

.ngo-cta__shape {
    position: absolute;
    inset: -2px -4px -4px;
    width: calc(100% + 8px);
    height: calc(100% + 4px);
    pointer-events: none;
    z-index: 0;
    transition: transform 260ms ease-out;
    overflow: visible;
}

.ngo-cta__fill {
    transition: fill 260ms ease-out;
}

.ngo-cta__content {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    transform: translateY(-1px);
}

.ngo-cta__icon {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    transition: transform 260ms ease-out;
}

.ngo-cta__label {
    white-space: nowrap;
}

/* Primary — gold fill shaped to path */
.ngo-cta--primary {
    color: var(--charcoal-text);
    filter: drop-shadow(0 8px 22px rgba(244, 163, 0, 0.26));
}

.ngo-cta--primary .ngo-cta__fill {
    fill: var(--cta-primary-bg);
}

.ngo-cta--primary .ngo-cta__label,
.ngo-cta--primary .ngo-cta__icon {
    color: var(--charcoal-text);
}

.ngo-cta--primary:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 14px 28px rgba(244, 163, 0, 0.34));
}

.ngo-cta--primary:hover .ngo-cta__fill {
    fill: var(--cta-primary-hover);
}

.ngo-cta--primary:hover .ngo-cta__shape {
    transform: scale(1.015) rotate(-0.2deg);
}

.ngo-cta--primary:hover .ngo-cta__icon {
    transform: translateY(-1px);
}

/* Secondary — fill follows organic outline */
.ngo-cta--secondary {
    color: var(--primary-purple);
    filter: drop-shadow(0 4px 14px rgba(106, 13, 173, 0.08));
}

.ngo-cta--secondary .ngo-cta__fill {
    fill: rgba(106, 13, 173, 0.18);
}

.ngo-cta--secondary:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 26px rgba(106, 13, 173, 0.16));
}

.ngo-cta--secondary:hover .ngo-cta__fill {
    fill: rgba(106, 13, 173, 0.28);
}

.ngo-cta--secondary:hover .ngo-cta__shape {
    transform: scale(1.015) rotate(0.18deg);
}

.ngo-cta--secondary:hover .ngo-cta__icon {
    transform: translateY(-1px) rotate(3deg);
}

/* Secondary on dark backgrounds */
.ngo-cta--secondary.ngo-cta--on-dark {
    color: var(--cream-white);
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
}

.ngo-cta--secondary.ngo-cta--on-dark .ngo-cta__fill {
    fill: rgba(255, 251, 244, 0.76);
}

.ngo-cta--secondary.ngo-cta--on-dark:hover {
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.24));
}

.ngo-cta--secondary.ngo-cta--on-dark:hover .ngo-cta__fill {
    fill: rgba(255, 251, 244, 0.86);
}

/* Compact — header and tight layouts */
.ngo-cta--compact {
    min-height: 40px;
    padding: 8px 20px 6px;
    font-size: 0.8125rem;
}

.ngo-cta--compact .ngo-cta__content {
    gap: 8px;
}

.ngo-cta--compact .ngo-cta__icon {
    width: 16px;
    height: 16px;
}

.ngo-cta:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.ngo-cta:disabled:hover {
    transform: none;
    filter: none;
}

.ngo-cta.w-full {
    width: 100%;
}

.ngo-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.875rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .ngo-cta,
    .ngo-cta__shape,
    .ngo-cta__icon,
    .ngo-cta__fill {
        transition: none;
    }

    .ngo-cta:hover {
        transform: none;
    }

    .ngo-cta--primary:hover .ngo-cta__shape,
    .ngo-cta--secondary:hover .ngo-cta__shape {
        transform: none;
    }

    .ngo-cta--primary:hover .ngo-cta__icon,
    .ngo-cta--secondary:hover .ngo-cta__icon {
        transform: none;
    }
}

/* Donate page — minimal editorial checkout */
.donate-page {
    background: var(--warm-off-white);
    padding-bottom: 4rem;
}

.donate-page__shell {
    max-width: 40rem;
    margin-inline: auto;
    padding-top: 6.5rem;
}

.donate-page__header {
    margin-bottom: 2.5rem;
}

.donate-page__intro {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #4B5563;
    max-width: 36rem;
}

.donate-page__intro-link {
    color: var(--accent-gold);
    font-weight: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(244, 163, 0, 0.55);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.donate-page__intro-link:hover {
    color: var(--primary-purple);
    text-decoration-color: currentColor;
}

/* Donation payment return notice */
.donate-payment-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.875rem 1rem;
    border-radius: 0.625rem;
    border: 1px solid transparent;
}

.donate-payment-notice__icon {
    flex-shrink: 0;
    font-size: 1.125rem;
    line-height: 1;
    margin-top: 0.125rem;
}

.donate-payment-notice__body {
    flex: 1;
    min-width: 0;
}

.donate-payment-notice__title {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.donate-payment-notice__message {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #4B5563;
}

.donate-payment-notice__dismiss {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    color: inherit;
    opacity: 0.65;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.donate-payment-notice__dismiss:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}

.donate-payment-notice--success {
    background: #F0FDF4;
    border-color: rgba(4, 120, 87, 0.2);
    color: #047857;
}

.donate-payment-notice--success .donate-payment-notice__title {
    color: #065F46;
}

.donate-payment-notice--processing {
    background: #FAF5FF;
    border-color: rgba(106, 13, 173, 0.15);
    color: var(--primary-purple);
}

.donate-payment-notice--failed,
.donate-payment-notice--cancelled {
    background: #FEF2F2;
    border-color: rgba(220, 38, 38, 0.18);
    color: #B91C1C;
}

.donate-payment-notice--failed .donate-payment-notice__title,
.donate-payment-notice--cancelled .donate-payment-notice__title {
    color: #991B1B;
}

.donate-panel {
    background: #fff;
    border: 1px solid rgba(106, 13, 173, 0.1);
    border-radius: 0.75rem;
    padding: 1.75rem 1.5rem;
}

.donate-panel__notice {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6B7280;
}

.donate-form {
    display: flex;
    flex-direction: column;
}

.donate-form__section + .donate-form__section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(106, 13, 173, 0.08);
}

.donate-form__label {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-purple);
}

.donate-form__currency-note {
    margin: -0.5rem 0 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6B7280;
}

.donate-form__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.donate-field__label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
}

.donate-field__optional {
    font-weight: 400;
    color: #9CA3AF;
}

.donate-field__required {
    color: #C4A882;
    font-weight: 600;
}

.donate-field__input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--charcoal-text);
    background: var(--warm-off-white);
    border: 1px solid rgba(106, 13, 173, 0.15);
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.donate-field__input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.12);
}

.donate-field__input::placeholder {
    color: #C5CAD3;
    opacity: 1;
}

.donate-field__input:read-only {
    background: #F3F4F6;
    color: #6B7280;
    cursor: default;
}

.donate-field__hint {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: #9CA3AF;
}

.donate-field__amount-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.donate-field__currency {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-purple);
    flex-shrink: 0;
}

.donate-field__input--amount {
    flex: 1;
}

.donate-amounts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.donate-amounts__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-purple);
    background: var(--warm-off-white);
    border: 1px solid rgba(106, 13, 173, 0.2);
    border-radius: 0.625rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.donate-amounts__btn:active {
    transform: scale(0.98);
}

.donate-amounts__btn:hover {
    border-color: var(--primary-purple);
    background: rgba(106, 13, 173, 0.06);
}

.donate-amounts__btn.is-selected {
    color: var(--charcoal-text);
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.donate-amounts__btn.is-selected:hover {
    color: var(--charcoal-text);
    background: #e09400;
    border-color: #e09400;
}

.donate-amounts__value {
    line-height: 1;
}

.donate-declaration__label {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    cursor: pointer;
    padding: 0.25rem 0;
}

.donate-declaration__checkbox {
    margin-top: 0.125rem;
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

.donate-declaration__text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #4B5563;
}

.donate-form__error {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: #DC2626;
}

.donate-form__status {
    margin: 0 0 1.25rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #991B1B;
    background: #FEF2F2;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 0.5rem;
}

.donate-field__input.is-invalid {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.donate-form__section.has-error > .donate-form__label {
    color: #B91C1C;
}

.donate-declaration.has-error .donate-declaration__text {
    color: #7F1D1D;
}

.donate-form__actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
}

.donate-form__actions-primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
    width: 100%;
}

.donate-form__submit {
    min-width: 14rem;
}

.donate-form__secure {
    margin: 0;
    font-size: 0.75rem;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.donate-form__signed-in {
    margin: 0;
    font-size: 0.625rem;
    line-height: 1.45;
    color: #9CA3AF;
}

.donate-form__signed-in a {
    color: var(--primary-purple);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.donate-trust {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.donate-trust li {
    position: relative;
    padding-left: 1.125rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #6B7280;
}

.donate-trust li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--accent-gold);
}

@media (max-width: 639px) {
    .donate-page__shell {
        padding-top: 5.25rem;
    }

    .donate-page__header {
        margin-bottom: 1.25rem;
    }

    .donate-page__header .type-page {
        font-size: 1.625rem;
        line-height: 1.15;
    }

    .donate-page__header .type-accent {
        font-size: 1.12em;
    }

    .donate-page__intro {
        font-size: 0.8125rem;
        line-height: 1.6;
        margin-top: 0.75rem;
    }

    .donate-panel {
        margin-inline: -0.25rem;
        border-radius: 0.875rem;
        padding: 1.125rem 0.875rem;
        border-color: rgba(106, 13, 173, 0.12);
    }

    .donate-form__section + .donate-form__section {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }

    .donate-form__section--amount {
        order: -2;
    }

    .donate-form__section--details {
        order: -1;
    }

    .donate-form__section--declaration {
        order: 0;
    }

    .donate-form__label {
        margin-bottom: 0.75rem;
        font-size: 0.6875rem;
        letter-spacing: 0.05em;
    }

    .donate-form__currency-note {
        margin: -0.375rem 0 0.75rem;
        font-size: 0.75rem;
    }

    .donate-form__actions {
        margin-top: 1.25rem;
        align-items: stretch;
        gap: 0.5rem;
    }

    .donate-form__actions-primary {
        align-items: stretch;
    }

    .donate-form__submit {
        width: 100%;
        min-width: 0;
    }

    .donate-form__submit .ngo-cta__label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.875rem;
    }

    .donate-form__secure {
        justify-content: center;
        width: 100%;
        font-size: 0.6875rem;
    }

    .donate-form__signed-in {
        text-align: center;
        font-size: 0.5625rem;
    }

    .donate-field__label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .donate-field__input {
        font-size: 1rem;
        min-height: 2.5rem;
        padding: 0.5rem 0.75rem;
    }

    .donate-field__currency {
        font-size: 0.8125rem;
    }

    .donate-field__amount-wrap {
        min-height: 2.5rem;
    }

    .donate-field__hint {
        font-size: 0.6875rem;
    }

    .donate-amounts {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .donate-amounts__btn {
        min-height: 2.375rem;
        font-size: 0.8125rem;
        font-weight: 600;
    }

    .donate-declaration__text {
        font-size: 0.75rem;
        line-height: 1.55;
    }

    .donate-declaration__checkbox {
        width: 1.125rem;
        height: 1.125rem;
    }

    .donate-form__error {
        font-size: 0.75rem;
    }

    .donate-form__status {
        margin-bottom: 1rem;
        font-size: 0.75rem;
    }

    .donate-trust {
        margin-top: 1.25rem;
        gap: 0.5rem;
    }

    .donate-trust li {
        font-size: 0.6875rem;
        line-height: 1.5;
    }
}

@media (max-width: 359px) {
    .donate-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* PesaPal modal — mobile fullscreen checkout */
@media (max-width: 639px) {
    #herspire-payment-modal .herspire-payment-modal__viewport {
        padding: 0;
        align-items: stretch;
    }

    #herspire-payment-modal .herspire-payment-modal__dialog {
        max-width: none;
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        border: 0;
    }

    #herspire-payment-modal .herspire-payment-modal__header {
        padding-top: calc(0.875rem + env(safe-area-inset-top, 0px));
    }

    #herspire-payment-modal #herspire-payment-iframe {
        min-height: 0;
    }

    #herspire-payment-modal #herspire-payment-result {
        padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Payment history badges */
.payment-type-badge,
.payment-status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
}

.payment-type-badge--donation {
    color: #6A0DAD;
    background: rgba(106, 13, 173, 0.1);
}

.payment-type-badge--membership {
    color: #047857;
    background: rgba(4, 120, 87, 0.1);
}

.payment-type-badge--other {
    color: #4B5563;
    background: rgba(75, 85, 99, 0.1);
}

.payment-status-badge--completed {
    color: #047857;
    background: rgba(4, 120, 87, 0.1);
}

.payment-status-badge--pending,
.payment-status-badge--processing {
    color: #B45309;
    background: rgba(180, 83, 9, 0.1);
}

.payment-status-badge--failed,
.payment-status-badge--cancelled {
    color: #DC2626;
    background: rgba(220, 38, 38, 0.1);
}

.payment-status-badge--refunded {
    color: #4B5563;
    background: rgba(75, 85, 99, 0.1);
}

@media (min-width: 640px) {
    .donate-page__shell {
        padding-top: 7rem;
    }

    .donate-form__grid {
        grid-template-columns: 1fr 1fr;
    }

    .donate-field--full {
        grid-column: 1 / -1;
    }

    .donate-panel {
        padding: 2rem 2.25rem;
    }

    .donate-amounts {
        display: flex;
        flex-wrap: wrap;
        gap: 0.625rem;
    }

    .donate-amounts__btn {
        width: auto;
        min-width: 4.5rem;
        min-height: auto;
        padding: 0.625rem 1rem;
        font-size: 0.9375rem;
        font-weight: 500;
        border-radius: 999px;
    }

    .donate-form__currency-note {
        display: none;
    }
}
