@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --forest: #24543E;
    --green: #3F7658;
    --cream: #F7F3EA;
    --sand: #D9B36C;
    --charcoal: #202824;
    --gray: #68716B;
    --white: #FFFFFF;
    --border: #E5E0D5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
}

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

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* Header */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    flex-shrink: 0;
}

.logo-name {
    font-family: "DM Serif Display", serif;
    font-size: 28px;
    color: var(--forest);
}

.logo-type {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-navigation a {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: var(--green);
}

.donate-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--forest);
    color: var(--white);
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease;
}


.donate-button:hover,
.primary-button:hover {
    background: var(--green);
    transform: translateY(-1px);
}


/* Hero */

.hero {
    background: var(--cream);
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-content {
    padding: 90px 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}
.hero-image {
    width: 100%;
    max-width: 460px;
    justify-self: end;
}

.hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-text {
    max-width: 720px;
}

.hero-label,
.section-label {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(44px, 5.5vw, 68px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--forest);
    max-width: 800px;
    margin-bottom: 28px;
}

.hero-description {
    max-width: 650px;
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--forest);
    color: var(--forest);
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.secondary-button:hover {
    background: var(--forest);
    color: var(--white);
}


/* General sections */

.intro-section,
.programs-section,
.volunteer-section,
.donate-section {
    padding: 100px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.section-heading h2,
.volunteer-content h2,
.donate-content h2 {
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-size: clamp(38px, 4.5vw, 45px);
    line-height: 1.15;
    color: var(--forest);
}

.intro-content {
    max-width: 760px;
}

.intro-content p {
    color: var(--gray);
    font-size: 17px;
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--forest);
    font-weight: 600;
    border-bottom: 1px solid var(--forest);
    padding-bottom: 3px;
}


/* Programs */

.programs-section {
    background: var(--cream);
}

.programs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border);
    margin-bottom: 35px;
}

.program-item {
    padding: 38px 30px 38px 0;
    border-bottom: 1px solid var(--border);
}

.program-item:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid var(--border);
}

.program-item h3 {
    font-family: "DM Serif Display", serif;
    font-size: 30px;
    font-weight: 400;
    color: var(--forest);
    margin-bottom: 12px;
}

.program-item p {
    color: var(--gray);
    max-width: 460px;
}


/* Volunteer */

.volunteer-section {
    background: var(--forest);
    color: var(--white);
}

.volunteer-content {
    max-width: 760px;
}

.volunteer-content .section-label {
    color: var(--sand);
}

.volunteer-content h2 {
    color: var(--white);
    margin-bottom: 25px;
}

.volunteer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    margin-bottom: 18px;
}

.volunteer-content .primary-button {
    margin-top: 15px;
    background: var(--sand);
    color: var(--charcoal);
}

.volunteer-content .primary-button:hover {
    background: var(--white);
}


/* Donate */

.donate-section {
    background: var(--white);
}

.donate-content {
    max-width: 760px;
}

.donate-content h2 {
    margin-bottom: 25px;
}

.donate-content p {
    color: var(--gray);
    font-size: 17px;
    margin-bottom: 25px;
}

.donate-content .primary-button {
    margin-top: 5px;
}


/* Footer */

.site-footer {
    background: #102A58;
    color: var(--white);
    padding-top: 65px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 55px;
}

.site-footer .logo-name {
    color: var(--white);
}

.site-footer .logo-type {
    color: rgba(255, 255, 255, 0.55);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 18px;
    font-size: 14px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}


/* Mobile */

@media (max-width: 900px) {

    .main-navigation {
        display: none;
    }

    .header-inner {
        min-height: 74px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 75px 0;
    }

    .programs-list {
        grid-template-columns: 1fr;
    }

    .program-item,
    .program-item:nth-child(even) {
        padding: 30px 0;
        border-left: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {

    .donate-button {
        padding: 10px 15px;
        font-size: 13px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description,
    .intro-content p,
    .volunteer-content p,
    .donate-content p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 220px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .intro-section,
    .programs-section,
    .volunteer-section,
    .donate-section {
        padding: 70px 0;
    }
}

/* About Page */

.page-hero {
    background: var(--cream);
    padding: 85px 0;
}

.page-hero h1 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(46px, 6vw, 60px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--forest);
    margin-bottom: 15px;
}

.page-hero > .container > p:last-child {
    color: var(--gray);
    font-size: 17px;
}

.about-section {
    padding: 100px 0;
}

.about-intro {
    max-width: 800px;
}

.about-intro h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 4.5vw, 45px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--forest);
    margin-bottom: 28px;
}

.about-intro > p:last-child {
    color: var(--gray);
    font-size: 17px;
}

.about-section-alt {
    background: var(--cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-content h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--forest);
}

.about-content > div:last-child p {
    color: var(--gray);
    font-size: 17px;
    padding-top: 8px;
}

@media (max-width: 700px) {
    .page-hero {
        padding: 65px 0;
    }

    .about-section {
        padding: 70px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}


/* Programs Page */

.programs-page-section {
    padding: 80px 0 100px;
}

.program-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 45px;
    padding: 55px 0;
    border-top: 1px solid var(--border);
}

.program-detail:last-child {
    border-bottom: 1px solid var(--border);
}

.program-number {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sand);
    padding-top: 8px;
}

.program-detail h2 {
    font-family: "DM Serif Display", serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--forest);
    margin-bottom: 15px;
}

.program-detail p {
    max-width: 650px;
    color: var(--gray);
    font-size: 17px;
}

.impact-page-section {
    padding: 80px 0 100px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.impact-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
}

.impact-card > img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.impact-card-copy {
    padding: 28px;
}

.impact-card-copy .section-label {
    margin-bottom: 10px;
}

.impact-card-copy h2 {
    margin-bottom: 12px;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: 30px;
    font-weight: 400;
}

.impact-card-copy > p:last-child {
    margin-bottom: 0;
    color: var(--gray);
    font-size: 16px;
}

@media (max-width: 600px) {
    .program-detail {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 40px 0;
    }

    .program-number {
        padding-top: 0;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }
}


/* Contact Page */

.contact-section {
    padding: 90px 0 110px;
}

.contact-intro {
    max-width: 700px;
    margin-bottom: 55px;
}

.contact-intro h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--forest);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-item {
    padding: 35px 30px 35px 0;
}

.contact-item + .contact-item {
    border-left: 1px solid var(--border);
    padding-left: 30px;
}

.contact-item h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--forest);
}

.contact-item p,
.contact-item a {
    color: var(--gray);
    font-size: 15px;
}

.contact-item p {
    margin-bottom: 8px;
}

.contact-item a:hover {
    color: var(--green);
}

.contact-item > a {
    display: block;
    margin-bottom: 8px;
}

.social-links {
    display: grid;
    gap: 10px;
}

.contact-item .social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--border);
    text-decoration: none;
}

.contact-item .social-link:hover {
    border-color: var(--green);
}

.social-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.social-link span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-form-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    margin-top: 100px;
}

.contact-form-section h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--forest);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    padding: 13px 15px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: var(--charcoal);
    background: var(--white);
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--green);
}

.form-field textarea {
    resize: vertical;
}

.contact-form .primary-button {
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.contact-form-notices {
    padding: 14px 16px;
    border: 1px solid #B8D8C2;
    background: #F0F8F2;
    color: #245B34;
}

.contact-form-success,
.form-error {
    margin: 0;
}

.form-error {
    color: #8C2E20;
    font-size: 13px;
}

@media (max-width: 750px) {
    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-item,
    .contact-item + .contact-item {
        padding: 30px 0;
        border-left: none;
    }

    .contact-item + .contact-item {
        border-top: 1px solid var(--border);
    }

    .contact-form-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 70px;
    }
}

/* Gallery Page */

.gallery-section {
    padding: 90px 0 110px;
}

.gallery-intro {
    max-width: 700px;
    margin-bottom: 55px;
}

.gallery-intro h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--forest);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--cream);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    padding: 10px 12px;
    color: var(--gray);
    font-size: 13px;
}

@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Donate Page */

.donation-section {
    padding: 90px 0 110px;
}

.donation-intro {
    max-width: 700px;
    margin-bottom: 55px;
}

.donation-intro h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--forest);
    margin-bottom: 20px;
}

.donation-intro > p:last-child {
    color: var(--gray);
    font-size: 17px;
}

.donation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.donation-option {
    background: var(--white);
    padding: 45px;
}

.option-label {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 15px;
}

.donation-option h3 {
    font-family: "DM Serif Display", serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--forest);
    margin-bottom: 25px;
}

.mobile-money {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    margin-bottom: 20px;
}

.mobile-money p {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 8px;
}

.mobile-money p:last-child {
    margin-bottom: 0;
}

.mobile-money a {
    color: var(--forest);
    font-weight: 600;
}

.option-note {
    color: var(--gray);
    font-size: 15px;
}

.paypal-placeholder {
    margin-top: 25px;
    padding: 18px;
    background: var(--cream);
    border-left: 3px solid var(--sand);
    color: var(--gray);
    font-size: 14px;
}

@media (max-width: 700px) {
    .donation-options {
        grid-template-columns: 1fr;
    }

    .donation-option {
        padding: 32px;
    }
}


/* ================================
   VOLUNTEER PAGE
================================ */

.volunteer-team-section {
    padding: 90px 0;
    background: var(--white);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--forest);
    margin: 0;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.volunteer-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.volunteer-member {
    text-align: left;
}

.volunteer-photo {
    width: 100%;
    height: 330px;
    margin-bottom: 22px;
    overflow: hidden;
    background: var(--cream);
}

.volunteer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.volunteer-member h3 {
    font-family: "DM Serif Display", serif;
    font-size: 27px;
    font-weight: 400;
    color: var(--forest);
    margin: 0 0 4px;
}

.volunteer-country {
    font-size: 14px;
    color: var(--gray);
    margin: 0 0 12px;
}

.volunteer-role {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.volunteer-member > p:last-child {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}


/* Volunteer information section */

.volunteer-info-section {
    padding: 90px 0;
    background: var(--cream);
}

.volunteer-info-section .container {
    max-width: 800px;
}

.volunteer-info-section h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--forest);
    margin-bottom: 20px;
}

.volunteer-info-section p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray);
}


/* Mobile */

@media (max-width: 900px) {

    .volunteer-team {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .volunteer-team {
        grid-template-columns: 1fr;
    }

    .volunteer-photo {
        height: 380px;
    }

    .volunteer-team-section,
    .volunteer-info-section {
        padding: 65px 0;
    }

}


/*GALLERY PAGE*/

.gallery-section {
    padding: 90px 0;
    background: var(--white);
}

.gallery-intro {
    max-width: 750px;
    margin-bottom: 55px;
}

.gallery-intro h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--forest);
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    width: 100%;
    height: 360px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--cream);
}

.gallery-item img {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: cover;
    display: block;
}


/* Mobile */

@media (max-width: 900px) {

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

}

@media (max-width: 600px) {

    .gallery-section {
        padding: 65px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 380px;
    }

}

/* ================================
   VOLUNTEER APPLICATION
================================ */

.volunteer-application-section {
    padding: 100px 0;
    background: var(--cream);
}

.application-heading {
    max-width: 720px;
    margin-bottom: 50px;
}

.application-heading h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--forest);
    margin: 0 0 18px;
}

.application-heading p:last-child {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

/* Warm, continuous neumorphic theme */

:root {
    --forest: #123B7A;
    --green: #1F559E;
    --cream: #F8F4E9;
    --sand: #E7B426;
    --charcoal: #202B3C;
    --gray: #677384;
    --white: #FFFFFF;
    --border: #E6DDC7;
    --surface-shadow: 9px 9px 22px #d8d1c5, -9px -9px 22px #fffaf1;
    --surface-shadow-small: 5px 5px 12px #d8d1c5, -5px -5px 12px #fffaf1;
    --surface-inset: inset 4px 4px 9px #d8d1c5, inset -4px -4px 9px #fffaf1;
}

body {
    background: var(--cream);
}

.site-header,
.hero,
.intro-section,
.programs-section,
.volunteer-section,
.donate-section,
.page-hero,
.about-section,
.about-section-alt,
.programs-page-section,
.contact-section,
.gallery-section,
.donation-section,
.volunteer-team-section,
.volunteer-info-section,
.volunteer-application-section,
.site-footer {
    background: var(--cream);
}

.site-header {
    border: 0;
}

.header-inner {
    min-height: 88px;
}

.main-navigation {
    gap: 6px;
    padding: 7px;
    border-radius: 999px;
    box-shadow: var(--surface-shadow-small);
}

.main-navigation a {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
    color: var(--forest);
    background: var(--cream);
    box-shadow: var(--surface-inset);
}

.donate-button,
.primary-button,
.secondary-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: fit-content;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: var(--surface-shadow-small);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.donate-button,
.primary-button {
    background: var(--forest);
    color: var(--cream);
}

.secondary-button,
.text-link {
    background: var(--cream);
    color: var(--forest);
}

.text-link {
    margin-top: 12px;
    border: 0;
    padding-bottom: 10px;
}

.donate-button:hover,
.primary-button:hover,
.secondary-button:hover,
.text-link:hover {
    color: var(--forest);
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 7px 7px 16px #d8d1c5, -7px -7px 16px #fffaf1;
}

.donate-button:active,
.primary-button:active,
.secondary-button:active,
.text-link:active {
    transform: translateY(0);
    box-shadow: var(--surface-inset);
}

.donate-button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.text-link:focus-visible,
.main-navigation a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

.hero-content {
    padding-top: 76px;
    padding-bottom: 76px;
}

.hero-image img,
.gallery-item,
.volunteer-photo {
    overflow: hidden;
    border: 7px solid var(--cream);
    border-radius: 28px;
    box-shadow: var(--surface-shadow);
}

.hero-image img {
    height: 460px;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.about-intro h2,
.about-content h2,
.program-detail h2,
.contact-intro h2,
.contact-form-section h2,
.gallery-intro h2,
.donation-intro h2,
.application-heading h2 {
    color: var(--forest);
}

.volunteer-section .volunteer-content h2 {
    color: var(--forest);
}

.volunteer-section .volunteer-content p {
    color: var(--gray);
}

.volunteer-section .volunteer-content .section-label {
    color: var(--green);
}

.volunteer-section .volunteer-content .primary-button {
    background: var(--forest);
    color: var(--cream);
}

.volunteer-section .volunteer-content .primary-button:hover {
    background: var(--cream);
    color: var(--forest);
}

.programs-list {
    gap: 20px;
    border: 0;
}

.program-item,
.program-item:nth-child(even) {
    padding: 28px;
    border: 0;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
}

.program-item h3 {
    color: var(--forest);
}

.about-content,
.programs-page-section,
.contact-details,
.donation-options,
.volunteer-team {
    border: 0;
    background: transparent;
}

.program-detail,
.program-detail:last-child {
    border: 0;
    border-radius: 22px;
    padding: 32px;
    margin-bottom: 20px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
}

.program-number {
    color: var(--green);
}

.contact-details {
    gap: 20px;
}

.contact-item,
.contact-item + .contact-item {
    padding: 28px;
    border: 0;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
}

.contact-item h3 {
    color: var(--forest);
}

.contact-form-section {
    align-items: start;
}

.contact-form {
    padding: 36px;
    border: 0;
    border-radius: 26px;
    background: var(--cream);
    box-shadow: var(--surface-shadow);
}

.contact-form .primary-button {
    align-self: flex-start;
}

.form-field input,
.form-field textarea {
    border: 0;
    border-radius: 14px;
    background: var(--cream);
    box-shadow: var(--surface-inset);
    padding: 14px 16px;
    color: var(--charcoal);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.gallery-grid {
    gap: 24px;
}

.gallery-item {
    height: auto;
    aspect-ratio: 4 / 3;
    background: var(--cream);
}

.gallery-item img,
.volunteer-photo img {
    border-radius: 20px;
}

.volunteer-team {
    gap: 34px 24px;
}

.volunteer-photo {
    height: 300px;
    margin-bottom: 20px;
}

.donation-options {
    gap: 22px;
}

.donation-option {
    border-radius: 24px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
}

.mobile-money {
    border: 0;
    padding: 18px 0;
    box-shadow: inset 0 1px var(--border), inset 0 -1px var(--border);
}

.paypal-placeholder {
    border: 0;
    border-radius: 16px;
    background: var(--cream);
    box-shadow: var(--surface-inset);
}

.site-footer {
    color: var(--charcoal);
    padding-top: 35px;
}

.site-footer .logo-name,
.site-footer .logo-type,
.footer-brand p,
.footer-links a,
.footer-contact a,
.footer-bottom p {
    color: var(--gray);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--forest);
}

.footer-links a,
.footer-contact a {
    width: fit-content;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--forest);
}

.footer-bottom {
    border: 0;
    box-shadow: inset 0 1px var(--border);
}

@media (max-width: 900px) {
    .main-navigation {
        display: none;
    }
}

@media (max-width: 750px) {
    .contact-form {
        padding: 28px 22px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        gap: 16px;
    }

    .hero-content {
        padding-top: 58px;
        padding-bottom: 58px;
        gap: 38px;
    }

    .hero-image img {
        height: 340px;
        border-radius: 22px;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
        max-width: none;
        flex-wrap: wrap;
    }

    .hero-actions .primary-button,
    .hero-actions .secondary-button {
        width: auto;
    }

    .program-item,
    .program-item:nth-child(even),
    .program-detail,
    .program-detail:last-child {
        padding: 24px;
    }

    .contact-item,
    .contact-item + .contact-item {
        padding: 24px;
    }

    .donation-option {
        padding: 28px 24px;
    }

    .gallery-item {
        height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation: none !important;
    }
}

/* Responsive navigation, borderless imagery, and refined motion */

.hero-image,
.gallery-item,
.volunteer-photo,
.impact-hero-image {
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    box-shadow: var(--surface-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-image img,
.gallery-item img,
.volunteer-photo img,
.impact-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    box-shadow: none;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.hero-image img {
    height: 460px;
}

.gallery-item img {
    aspect-ratio: 4 / 3;
}

.volunteer-photo img {
    height: 100%;
}

.site-logo,
.footer-links a,
.footer-contact a {
    transition: transform 0.25s ease, color 0.25s ease;
}

.program-item,
.program-detail,
.contact-item,
.donation-option,
.impact-stat,
.impact-card,
.impact-join-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-hero {
    padding: 72px 0 54px;
}

.impact-hero-content {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: clamp(36px, 7vw, 88px);
}

.impact-hero-copy {
    max-width: 600px;
}

.impact-hero-copy h1 {
    margin-bottom: 22px;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(44px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.04;
}

.impact-hero-copy > p:not(.section-label) {
    max-width: 560px;
    margin-bottom: 28px;
    color: var(--gray);
    font-size: 17px;
}

.impact-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.impact-hero-image {
    height: 430px;
}

.impact-at-a-glance,
.impact-work-section,
.impact-join-section {
    padding: 52px 0;
}

.impact-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.impact-stat {
    min-width: 0;
    padding: 28px;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
}

.impact-stat-value {
    display: block;
    margin-bottom: 16px;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1;
}

.impact-stat h2 {
    margin-bottom: 8px;
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.4;
}

.impact-stat p,
.impact-section-heading > p:last-child,
.impact-card p,
.impact-join-card > div > p:last-child {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.impact-section-heading {
    max-width: 700px;
    margin-bottom: 34px;
}

.impact-section-heading h2,
.impact-join-card h2 {
    margin-bottom: 14px;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(34px, 4.5vw, 50px);
    font-weight: 400;
    line-height: 1.12;
}

.impact-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.impact-card {
    padding: 28px;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
}

.impact-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--surface-inset);
}

.impact-card h3 {
    margin-bottom: 8px;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: 25px;
    font-weight: 400;
}

.impact-join-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 26px;
    background: var(--cream);
    box-shadow: var(--surface-shadow);
}

.impact-join-card > div:first-child {
    max-width: 600px;
}

.impact-join-card .impact-actions {
    flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
    .donate-button:hover,
    .primary-button:hover,
    .secondary-button:hover,
    .text-link:hover {
        transform: translateY(-3px);
        box-shadow: 8px 8px 18px #d8d1c5, -8px -8px 18px #fffaf1;
    }

    .program-item:hover,
    .program-detail:hover,
    .contact-item:hover,
    .donation-option:hover,
    .impact-stat:hover,
    .impact-card:hover,
    .impact-join-card:hover {
        transform: translateY(-4px);
        box-shadow: 9px 12px 22px #d8d1c5, -7px -7px 18px #fffaf1;
    }

    .hero-image:hover,
    .gallery-item:hover,
    .volunteer-photo:hover,
    .impact-hero-image:hover {
        transform: translateY(-4px);
        box-shadow: 12px 15px 28px #d8d1c5, -8px -8px 20px #fffaf1;
    }

    .hero-image:hover img,
    .gallery-item:hover img,
    .volunteer-photo:hover img,
    .impact-hero-image:hover img {
        transform: scale(1.035);
    }

    .site-logo:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 48px, 720px);
    }

    .header-inner {
        min-height: 0;
        flex-wrap: wrap;
        gap: 14px 18px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .site-logo {
        order: 1;
    }

    .header-inner > .donate-button {
        order: 2;
        margin-left: auto;
    }

    .main-navigation {
        display: flex;
        order: 3;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: flex-start;
        gap: 4px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation::-webkit-scrollbar {
        display: none;
    }

    .main-navigation a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .hero-content {
        gap: 36px;
    }

    .volunteer-team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-hero-content {
        grid-template-columns: 1fr 0.85fr;
        gap: 32px;
    }

    .impact-hero-image {
        height: 360px;
    }

    .impact-join-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 40px, 560px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 54px 0;
    }

    .hero-text {
        max-width: none;
    }

    .hero h1 {
        font-size: clamp(42px, 11vw, 58px);
    }

    .hero-image {
        width: 100%;
        max-width: none;
    }

    .hero-image img {
        height: clamp(250px, 75vw, 400px);
    }

    .intro-section,
    .programs-section,
    .volunteer-section,
    .donate-section,
    .about-section,
    .contact-section,
    .donation-section,
    .volunteer-team-section,
    .volunteer-info-section,
    .volunteer-application-section,
    .gallery-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .programs-list,
    .gallery-grid,
    .donation-options,
    .contact-details,
    .impact-stat-grid,
    .impact-card-grid {
        grid-template-columns: 1fr;
    }

    .program-item,
    .program-item:nth-child(even) {
        padding: 24px;
    }

    .program-item h3 {
        font-size: 26px;
    }

    .program-detail,
    .program-detail:last-child {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px;
    }

    .program-detail h2 {
        font-size: 34px;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 64px;
    }

    .contact-item,
    .contact-item + .contact-item {
        padding: 24px;
    }

    .contact-item + .contact-item {
        border: 0;
    }

    .contact-form {
        padding: 26px 20px;
    }

    .form-field input,
    .form-field textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .form-field textarea {
        min-height: 130px;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .volunteer-photo {
        height: clamp(260px, 75vw, 390px);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .impact-hero {
        padding: 50px 0 30px;
    }

    .impact-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .impact-hero-copy h1 {
        font-size: clamp(42px, 11vw, 58px);
    }

    .impact-hero-image {
        height: clamp(240px, 68vw, 360px);
    }

    .impact-at-a-glance,
    .impact-work-section,
    .impact-join-section {
        padding: 32px 0;
    }

    .impact-stat-grid,
    .impact-card-grid {
        gap: 16px;
    }

    .impact-stat,
    .impact-card {
        padding: 24px;
    }

    .impact-join-card {
        gap: 24px;
        padding: 28px 24px;
    }
}

@media (max-width: 420px) {
    .container {
        width: calc(100% - 32px);
    }

    .contact-details,
    .contact-item {
        min-width: 0;
    }

    .contact-item,
    .contact-item + .contact-item {
        padding: 20px;
    }

    .contact-item a {
        overflow-wrap: anywhere;
    }

    .header-inner {
        gap: 12px;
    }

    .logo-name {
        font-size: 25px;
    }

    .logo-type {
        font-size: 9px;
    }

    .donate-button {
        min-height: 42px;
        padding: 9px 16px;
    }

    .main-navigation {
        padding: 5px;
    }

    .main-navigation a {
        padding: 9px 11px;
        font-size: 12px;
    }

    .hero-actions,
    .impact-actions {
        gap: 10px;
    }

    .hero-actions .primary-button,
    .hero-actions .secondary-button,
    .impact-actions .primary-button,
    .impact-actions .secondary-button {
        min-height: 44px;
        padding: 10px 15px;
        font-size: 12px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

/* Volunteer page: tighter rhythm and useful content in every section */

.page-hero.volunteer-page-hero {
    padding: 48px 0 40px;
}

.volunteer-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
}

.volunteer-hero-copy {
    max-width: 580px;
}

.volunteer-hero-copy h1 {
    margin-bottom: 16px;
}

.volunteer-hero-copy > p:not(.section-label) {
    max-width: 520px;
    margin-bottom: 24px;
    color: var(--gray);
    font-size: 17px;
}

.volunteer-hero-image {
    position: relative;
    height: clamp(260px, 32vw, 390px);
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--surface-shadow);
}

.volunteer-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.volunteer-image-caption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(241, 236, 226, 0.94);
    color: var(--forest);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(8px);
}

.volunteer-team-section {
    padding: 42px 0 54px;
}

.volunteer-team-section .section-heading {
    margin-bottom: 28px;
}

.volunteer-section-intro {
    margin-top: 12px;
    color: var(--gray);
    font-size: 15px;
}

.volunteer-team {
    align-items: stretch;
    gap: 20px;
}

.volunteer-member {
    min-width: 0;
    padding: 14px 14px 18px;
    border-radius: 24px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.volunteer-photo {
    height: auto;
    aspect-ratio: 4 / 4.25;
    margin-bottom: 16px;
    border-radius: 17px;
    box-shadow: none;
}

.volunteer-member h3 {
    margin-bottom: 2px;
    font-size: 25px;
}

.volunteer-country {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--cream);
    box-shadow: var(--surface-inset);
    font-size: 12px;
}

.volunteer-role {
    margin-bottom: 8px;
    font-size: 14px;
}

.volunteer-member > p:last-child {
    font-size: 13px;
    line-height: 1.6;
}

.volunteer-info-section {
    padding: 48px 0;
}

.volunteer-info-section .container {
    max-width: 1120px;
}

.volunteer-info-heading {
    max-width: 650px;
    margin-bottom: 24px;
}

.volunteer-info-section h2 {
    margin-bottom: 0;
    font-size: clamp(32px, 4vw, 44px);
}

.volunteer-opportunity-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.volunteer-opportunity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border-radius: 20px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
}

.volunteer-opportunity > span {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--forest);
    font-size: 11px;
    font-weight: 700;
    box-shadow: var(--surface-inset);
}

.volunteer-opportunity h3 {
    margin: 2px 0 6px;
    color: var(--forest);
    font-size: 15px;
}

.volunteer-opportunity p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.6;
}

.volunteer-certificate-note {
    margin-top: 16px;
    color: var(--gray);
    font-size: 13px;
}

.volunteer-application-section {
    padding: 40px 0 72px;
}

.volunteer-application-section > .container {
    max-width: 980px;
    scroll-margin-top: 28px;
}

.volunteer-application-card {
    padding: clamp(20px, 4vw, 36px);
    border-radius: 26px;
    background: var(--cream);
    box-shadow: var(--surface-shadow);
}

.volunteer-application-card .application-heading {
    max-width: 700px;
    margin: 0 auto 24px;
    text-align: center;
}

.volunteer-application-card .application-heading h2 {
    font-size: clamp(34px, 5vw, 48px);
}

.volunteer-form-frame {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--surface-inset);
}

.volunteer-form-frame iframe {
    display: block;
    width: 100%;
    height: clamp(1050px, 140vw, 1480px);
    border: 0;
    background: #fff;
}

.volunteer-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 4px 0;
}

.volunteer-form-note {
    margin: 0;
    color: var(--gray);
    font-size: 12px;
}

.volunteer-form-fallback {
    flex: 0 0 auto;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
}

.volunteer-form-fallback span {
    transition: transform 0.2s ease;
}

.volunteer-form-fallback:hover span {
    transform: translate(2px, -2px);
}

@media (hover: hover) and (pointer: fine) {
    .volunteer-member:hover {
        transform: translateY(-4px);
        box-shadow: 9px 12px 22px #d8d1c5, -7px -7px 18px #fffaf1;
    }

    .volunteer-member:hover .volunteer-photo img,
    .volunteer-hero-image:hover img {
        transform: scale(1.035);
    }
}

@media (max-width: 900px) {
    .volunteer-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
        gap: 28px;
    }

    .volunteer-team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .volunteer-opportunity-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .page-hero.volunteer-page-hero {
        padding: 34px 0 24px;
    }

    .volunteer-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .volunteer-hero-copy > p:not(.section-label) {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .volunteer-hero-image {
        height: clamp(220px, 62vw, 340px);
        border-radius: 22px;
    }

    .volunteer-team-section,
    .volunteer-info-section {
        padding: 32px 0;
    }

    .volunteer-team-section .section-heading {
        margin-bottom: 22px;
    }

    .volunteer-team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .volunteer-member {
        padding: 10px 10px 14px;
        border-radius: 18px;
    }

    .volunteer-photo {
        aspect-ratio: 1 / 1.12;
        margin-bottom: 12px;
        border-radius: 13px;
    }

    .volunteer-member h3 {
        font-size: 21px;
    }

    .volunteer-role {
        font-size: 12px;
    }

    .volunteer-member > p:last-child {
        font-size: 12px;
    }

    .volunteer-info-heading {
        margin-bottom: 18px;
    }

    .volunteer-opportunity-list {
        gap: 12px;
    }

    .volunteer-opportunity {
        padding: 16px;
    }

    .volunteer-application-section {
        padding: 24px 0 42px;
    }

    .volunteer-application-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .volunteer-application-card .application-heading {
        margin-bottom: 18px;
    }

    .volunteer-form-frame {
        margin: 0 -6px;
        border-radius: 15px;
    }

    .volunteer-form-frame iframe {
        height: 1500px;
    }

    .volunteer-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .volunteer-form-fallback {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .volunteer-member,
    .volunteer-photo img,
    .volunteer-hero-image img,
    .volunteer-form-fallback span {
        transition: none;
    }
}

@media (max-width: 380px) {
    .volunteer-team {
        grid-template-columns: 1fr;
    }

    .volunteer-photo {
        aspect-ratio: 4 / 3;
    }
}

/* Founder profile and shared brand mark */

.site-logo {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.site-logo-mark {
    display: block;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    object-fit: contain;
    background: var(--white);
    box-shadow: var(--surface-shadow-small);
}

.site-logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand .site-logo-mark {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
}

.founder-hero {
    overflow: hidden;
    padding: clamp(54px, 8vw, 100px) 0 clamp(48px, 7vw, 84px);
    background:
        radial-gradient(ellipse at 84% 18%, rgba(217, 179, 108, 0.16), transparent 34%),
        var(--cream);
}

.founder-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    align-items: center;
    gap: clamp(36px, 7vw, 88px);
}

.founder-hero-copy {
    max-width: 620px;
    animation: founder-enter 0.7s ease both;
}

.founder-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--cream);
    box-shadow: var(--surface-inset);
    color: var(--forest);
    font-size: 12px;
    font-weight: 600;
}

.founder-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sand);
    box-shadow: 0 0 0 4px rgba(217, 179, 108, 0.17);
}

.founder-hero-copy .section-label {
    margin-bottom: 12px;
}

.founder-hero-copy h1 {
    margin-bottom: 2px;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(48px, 7vw, 78px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -1.8px;
}

.founder-role {
    margin-bottom: 22px;
    color: var(--green);
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 600;
}

.founder-location {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(217, 179, 108, 0.2);
    color: var(--forest);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.founder-bio {
    max-width: 590px;
    margin-bottom: 28px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.85;
}

.founder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.founder-actions .primary-button,
.founder-actions .secondary-button {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
}

.founder-portrait {
    position: relative;
    width: min(100%, 460px);
    justify-self: end;
    aspect-ratio: 720 / 919;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.66);
    border-radius: 30px;
    background: var(--cream);
    box-shadow: 14px 18px 38px rgba(55, 67, 57, 0.16), -8px -8px 22px rgba(255, 255, 255, 0.72);
    animation: founder-enter 0.8s 0.12s ease both, founder-float 7s 1s ease-in-out infinite;
}

.founder-portrait::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(24, 34, 29, 0.24));
    content: "";
    pointer-events: none;
}

.founder-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 23px;
    object-fit: cover;
    object-position: center 35%;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.founder-portrait figcaption {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px 12px;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    background: rgba(247, 243, 234, 0.91);
    color: var(--forest);
    backdrop-filter: blur(12px);
}

.founder-portrait figcaption span:first-child {
    font-size: 15px;
    font-weight: 700;
}

.founder-portrait figcaption span:last-child {
    color: var(--gray);
    font-size: 12px;
}

.founder-story-section {
    padding: 76px 0;
    background: var(--white);
}

.founder-story {
    max-width: 850px;
}

.founder-story-heading {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.founder-story-heading h2 {
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 400;
    line-height: 1.14;
}

.founder-story-copy {
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.9;
}

.founder-story-copy p {
    margin-bottom: 20px;
}

.founder-story-copy blockquote {
    margin: 24px 0;
    padding: 20px 26px;
    border-left: 4px solid var(--sand);
    background: var(--cream);
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.4;
}

.founder-story-emphasis {
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: 26px;
    font-weight: 400;
}

.founder-story-closing {
    margin-top: 30px;
    color: var(--forest);
    font-size: 18px;
    font-weight: 700;
}

.about-story-meaning {
    padding: 18px 20px;
    border-left: 4px solid var(--sand);
    background: var(--cream);
    color: var(--forest);
}

.founder-work-section {
    padding: clamp(54px, 8vw, 92px) 0;
}

.founder-work-heading {
    max-width: 660px;
    margin: 0 auto 34px;
    text-align: center;
}

.founder-work-heading h2,
.founder-join-card h2 {
    margin-bottom: 12px;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 400;
    line-height: 1.14;
}

.founder-work-heading > p:last-child,
.founder-join-card > div:first-child > p:last-child {
    color: var(--gray);
}

.founder-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.founder-focus-card {
    min-width: 0;
    padding: 26px;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-focus-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--cream);
    box-shadow: var(--surface-inset);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.founder-focus-card h3 {
    margin-bottom: 8px;
    color: var(--forest);
    font-size: 17px;
}

.founder-focus-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.founder-join-section {
    padding: 0 0 clamp(56px, 8vw, 88px);
}

.founder-join-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: clamp(26px, 5vw, 46px);
    border-radius: 28px;
    background: var(--cream);
    box-shadow: var(--surface-shadow);
}

.founder-join-card .section-label {
    margin-bottom: 10px;
}

.founder-join-card h2 {
    font-size: clamp(30px, 4vw, 42px);
}

.founder-join-card .founder-actions {
    justify-content: flex-end;
}

.founder-preview-section {
    padding: 12px 0 74px;
}

.founder-preview-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 5vw, 46px);
    max-width: 920px;
    padding: 22px;
    border-radius: 28px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
}

.founder-preview-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    object-fit: cover;
    object-position: center 32%;
}

.founder-preview-copy h2 {
    margin-bottom: 0;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.15;
}

.founder-preview-role {
    margin-bottom: 12px;
    color: var(--green);
    font-weight: 600;
}

.founder-preview-copy > p:not(.section-label, .founder-preview-role) {
    max-width: 560px;
    margin-bottom: 20px;
    color: var(--gray);
}

.founder-preview-copy .secondary-button {
    border-radius: 999px;
}

@keyframes founder-enter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes founder-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@media (hover: hover) and (pointer: fine) {
    .founder-portrait:hover img {
        transform: scale(1.035);
    }

    .founder-focus-card:hover {
        transform: translateY(-5px);
        box-shadow: 10px 14px 26px #d8d1c5, -7px -7px 18px #fffaf1;
    }
}

@media (max-width: 850px) {
    .founder-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.78fr);
        gap: 28px;
    }

    .founder-portrait {
        width: 100%;
    }

    .founder-focus-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .founder-focus-card {
        padding: 22px;
    }

    .founder-join-card {
        grid-template-columns: 1fr;
    }

    .founder-join-card .founder-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .site-logo-mark {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .footer-brand .site-logo-mark {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .founder-hero {
        padding: 38px 0 42px;
    }

    .founder-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .founder-hero-copy h1 {
        font-size: clamp(46px, 12vw, 64px);
    }

    .founder-eyebrow {
        margin-bottom: 22px;
    }

    .founder-bio {
        margin-bottom: 22px;
        font-size: 15px;
        line-height: 1.75;
    }

    .founder-portrait {
        width: min(100%, 440px);
        justify-self: center;
        border-radius: 24px;
    }

    .founder-portrait img {
        border-radius: 17px;
    }

    .founder-portrait figcaption {
        right: 13px;
        bottom: 13px;
        left: 13px;
        padding: 11px 14px;
    }

    .founder-work-section {
        padding: 50px 0;
    }

    .founder-work-heading {
        margin-bottom: 24px;
        text-align: left;
    }

    .founder-focus-card {
        padding: 20px;
    }

    .founder-join-section {
        padding-bottom: 52px;
    }

    .founder-join-card {
        gap: 20px;
        border-radius: 22px;
    }

    .founder-preview-section {
        padding: 0 0 54px;
    }

    .founder-preview-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
        border-radius: 22px;
    }

    .founder-preview-card > img {
        max-height: 280px;
        aspect-ratio: 4 / 3;
        object-position: center 30%;
    }
}

@media (max-width: 380px) {
    .site-logo {
        gap: 7px;
    }

    .site-logo-mark {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .logo-name {
        font-size: 23px;
    }

    .logo-type {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .founder-actions .primary-button,
    .founder-actions .secondary-button {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 12px;
    }

    .founder-join-card {
        padding: 22px 18px;
    }
}

/* About and gallery page refinements */

.about-hero {
    overflow: hidden;
    padding: clamp(48px, 7vw, 88px) 0;
    background:
        radial-gradient(ellipse at 8% 12%, rgba(217, 179, 108, 0.17), transparent 32%),
        var(--cream);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
}

.about-hero-copy {
    max-width: 600px;
    animation: about-rise 0.65s ease both;
}

.about-hero-copy h1,
.gallery-hero h1 {
    margin-bottom: 18px;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(44px, 6.3vw, 72px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -1.4px;
}

.about-hero-copy > p:not(.section-label) {
    max-width: 520px;
    margin-bottom: 24px;
    color: var(--gray);
    font-size: 17px;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.about-actions .primary-button,
.about-actions .secondary-button,
.about-pillars-heading > .secondary-button,
.about-preview-link {
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 999px;
}

.about-hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--gray);
    font-size: 13px;
}

.about-hero-note > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--cream);
    box-shadow: var(--surface-inset);
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
}

.about-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1.08;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.56);
    border-radius: 30px;
    background: var(--cream);
    box-shadow: var(--surface-shadow);
    animation: about-rise 0.75s 0.1s ease both;
}

.about-hero-image::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(24, 34, 29, 0.4));
    content: "";
    pointer-events: none;
}

.about-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
    object-position: center 45%;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.about-hero-image figcaption {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(247, 243, 234, 0.9);
    color: var(--forest);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
}

.about-story-section {
    padding: clamp(56px, 8vw, 92px) 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: clamp(32px, 8vw, 100px);
    align-items: start;
}

.about-story-heading {
    max-width: 520px;
}

.about-story-heading h2,
.about-pillars-heading h2,
.about-join-card h2,
.gallery-join-card h2 {
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(34px, 4.5vw, 50px);
    font-weight: 400;
    line-height: 1.13;
}

.about-story-copy {
    max-width: 600px;
    padding-top: 4px;
}

.about-story-copy > p {
    margin-bottom: 16px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

.about-story-copy .text-link {
    margin-top: 4px;
    border-radius: 999px;
}

.about-pillars-section {
    padding: clamp(48px, 7vw, 78px) 0;
    background:
        radial-gradient(ellipse at 92% 10%, rgba(217, 179, 108, 0.14), transparent 34%),
        var(--cream);
}

.about-pillars-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.about-pillars-heading > div {
    max-width: 650px;
}

.about-pillars-heading h2 {
    max-width: 600px;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.about-pillar-card {
    min-width: 0;
    padding: 22px;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.about-pillar-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 17px;
    border-radius: 50%;
    background: var(--cream);
    box-shadow: var(--surface-inset);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.about-pillar-card h3 {
    margin-bottom: 8px;
    color: var(--forest);
    font-size: 16px;
    line-height: 1.4;
}

.about-pillar-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.65;
}

.founder-preview-section {
    padding-top: clamp(48px, 7vw, 76px);
    padding-bottom: clamp(48px, 7vw, 76px);
}

.about-join-section,
.gallery-join-section {
    padding: 0 0 clamp(56px, 8vw, 88px);
}

.about-join-card,
.gallery-join-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: clamp(26px, 5vw, 44px);
    border-radius: 28px;
    background: var(--cream);
    box-shadow: var(--surface-shadow);
}

.about-join-card h2,
.gallery-join-card h2 {
    margin-bottom: 10px;
    font-size: clamp(30px, 4vw, 42px);
}

.about-join-card > div:first-child > p:last-child,
.gallery-join-card > div:first-child > p:last-child {
    color: var(--gray);
}

.gallery-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(46px, 6vw, 72px) 0;
    background:
        radial-gradient(ellipse at 92% 50%, rgba(217, 179, 108, 0.2), transparent 35%),
        var(--cream);
}

.gallery-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
}

.gallery-hero-grid > div:first-child {
    max-width: 720px;
}

.gallery-hero h1 {
    max-width: 680px;
    font-size: clamp(44px, 6vw, 68px);
}

.gallery-hero-grid > div:first-child > p:not(.section-label) {
    max-width: 600px;
    margin-bottom: 22px;
    color: var(--gray);
    font-size: 16px;
}

.gallery-hero-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(136px, 17vw, 200px);
    aspect-ratio: 1;
    border: 1px solid rgba(63, 118, 88, 0.1);
    border-radius: 50%;
    background: var(--cream);
    box-shadow: var(--surface-shadow);
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(19px, 2.3vw, 27px);
    line-height: 1.15;
    animation: gallery-breathe 6s ease-in-out infinite;
}

.gallery-hero-plus {
    color: var(--sand);
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.gallery-section {
    padding: clamp(42px, 6vw, 68px) 0 clamp(56px, 8vw, 92px);
}

.gallery-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    max-width: none;
    margin-bottom: 28px;
}

.gallery-intro h2 {
    margin: 0;
    color: var(--forest);
    font-family: "DM Serif Display", serif;
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 400;
    line-height: 1.12;
}

.gallery-intro > p {
    margin-bottom: 5px;
    color: var(--gray);
    font-size: 13px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.gallery-card {
    min-width: 0;
    overflow: hidden;
    padding: 10px 10px 15px;
    border-radius: 24px;
    background: var(--cream);
    box-shadow: var(--surface-shadow-small);
    animation: about-rise 0.55s ease both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card-featured {
    grid-column: span 2;
}

.gallery-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 17px;
    background: #e7e0d4;
}

.gallery-card-featured .gallery-image-link {
    aspect-ratio: 1.78;
}

.gallery-image-link::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(24, 34, 29, 0.36));
    content: "";
    pointer-events: none;
}

.gallery-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.gallery-photo-number {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    background: rgba(247, 243, 234, 0.84);
    color: var(--forest);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
}

.gallery-view-pill {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    background: rgba(247, 243, 234, 0.9);
    color: var(--forest);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-view-pill > span {
    font-size: 14px;
}

.gallery-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 5px 0;
}

.gallery-card figcaption > span:first-child {
    overflow: hidden;
    color: var(--forest);
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-card figcaption > span:last-child {
    color: var(--gray);
    font-size: 11px;
}

.gallery-image-link:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
}

.gallery-join-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.gallery-join-actions .primary-button,
.gallery-join-actions .secondary-button {
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 999px;
}

@keyframes about-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gallery-breathe {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (hover: hover) and (pointer: fine) {
    .about-hero-image:hover img {
        transform: scale(1.035);
    }

    .about-pillar-card:hover,
    .gallery-card:hover {
        transform: translateY(-4px);
        box-shadow: 9px 12px 22px #d8d1c5, -7px -7px 18px #fffaf1;
    }

    .gallery-card:hover .gallery-image-link img {
        transform: scale(1.045);
    }

    .gallery-card:hover .gallery-view-pill {
        transform: translateY(-3px);
        background: var(--white);
    }
}

@media (max-width: 900px) {
    .about-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
        gap: 30px;
    }

    .about-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-join-card,
    .gallery-join-card {
        grid-template-columns: 1fr;
    }

    .gallery-join-actions {
        justify-content: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 700px) {
    .about-hero {
        padding: 42px 0;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-hero-copy h1,
    .gallery-hero h1 {
        font-size: clamp(42px, 11vw, 60px);
    }

    .about-hero-copy > p:not(.section-label) {
        font-size: 15px;
    }

    .about-hero-image {
        max-height: 390px;
        aspect-ratio: 1.2;
        border-radius: 24px;
    }

    .about-hero-image img {
        border-radius: 17px;
    }

    .about-hero-image figcaption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        font-size: 11px;
    }

    .about-story-section {
        padding: 48px 0;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-story-heading h2,
    .about-pillars-heading h2 {
        font-size: clamp(34px, 8.5vw, 44px);
    }

    .about-story-copy > p {
        font-size: 15px;
    }

    .about-pillars-section {
        padding: 44px 0;
    }

    .about-pillars-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 22px;
    }

    .about-pillars-grid {
        gap: 12px;
    }

    .about-pillar-card {
        padding: 18px;
        border-radius: 19px;
    }

    .about-pillar-card h3 {
        font-size: 15px;
    }

    .about-pillar-card p {
        font-size: 12px;
    }

    .about-join-section,
    .gallery-join-section {
        padding-bottom: 50px;
    }

    .about-join-card,
    .gallery-join-card {
        gap: 18px;
        padding: 24px 20px;
        border-radius: 22px;
    }

    .about-join-card h2,
    .gallery-join-card h2 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .gallery-hero {
        padding: 42px 0;
    }

    .gallery-hero-grid {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
    }

    .gallery-hero-mark {
        width: clamp(82px, 20vw, 122px);
        font-size: clamp(13px, 3.3vw, 18px);
    }

    .gallery-hero-plus {
        font-size: 18px;
    }

    .gallery-hero-grid > div:first-child > p:not(.section-label) {
        font-size: 14px;
    }

    .gallery-section {
        padding: 38px 0 54px;
    }

    .gallery-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 20px;
    }

    .gallery-intro h2 {
        font-size: 36px;
    }

    .gallery-grid {
        gap: 12px;
    }

    .gallery-card {
        padding: 7px 7px 12px;
        border-radius: 18px;
    }

    .gallery-image-link {
        border-radius: 13px;
    }

    .gallery-photo-number {
        top: 8px;
        left: 8px;
        padding: 5px 8px;
        font-size: 9px;
    }

    .gallery-view-pill {
        right: 8px;
        bottom: 8px;
        min-height: 32px;
        padding: 6px 9px;
        font-size: 10px;
    }

    .gallery-card figcaption {
        gap: 2px;
        padding: 9px 3px 0;
    }

    .gallery-card figcaption > span:first-child {
        font-size: 12px;
    }

    .gallery-card figcaption > span:last-child {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .about-actions,
    .gallery-join-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-actions .primary-button,
    .about-actions .secondary-button,
    .gallery-join-actions .primary-button,
    .gallery-join-actions .secondary-button {
        width: 100%;
    }

    .about-pillars-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card-featured {
        grid-column: auto;
    }

    .gallery-image-link,
    .gallery-card-featured .gallery-image-link {
        aspect-ratio: 1.2;
    }

    .gallery-card figcaption > span:first-child {
        font-size: 13px;
    }

    .gallery-card figcaption > span:last-child {
        font-size: 11px;
    }

    .gallery-hero-grid {
        grid-template-columns: 1fr;
    }

    .gallery-hero-mark {
        display: none;
    }
}
