/* =========================================================
   SAKWA WANGARA
   Leadership & Corporate Trainer
   Simple Responsive Stylesheet
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --dark: #11100d;
    --dark-2: #181611;
    --dark-3: #211e18;

    --cream: #f5f1e9;
    --cream-2: #e9e3d8;
    --muted: #b9b2a6;

    --gold: #c59a4a;
    --gold-light: #dfbd76;

    --brown: #3b3022;
    --line: rgba(255,255,255,0.10);

    --white: #ffffff;

    --heading: "Manrope", sans-serif;
    --body: "DM Sans", sans-serif;

    --max-width: 1200px;

    --radius: 4px;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--cream);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 48px, var(--max-width));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: relative;
    z-index: 100;
    background: rgba(17,16,13,0.96);
    border-bottom: 1px solid var(--line);
}

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


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-family: var(--heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
}

.brand-text span {
    font-size: 11px;
    color: var(--muted);
}


/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--cream-2);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-links .nav-button {
    padding: 11px 18px;
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

.nav-links .nav-button:hover {
    background: var(--gold);
    color: var(--dark);
}


/* MOBILE MENU BUTTON */

.menu-button {
    display: none;
    background: none;
    border: 0;
    color: var(--cream);
    font-size: 27px;
}


/* =========================================================
   GENERAL
========================================================= */

.section {
    padding: 110px 0;
}

.label,
.section-number {
    display: inline-block;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.4;
}

.section-number {
    margin-bottom: 45px;
}

h1,
h2,
h3 {
    font-family: var(--heading);
    line-height: 1.08;
}

h1 span,
h2 span,
.large-heading span {
    color: var(--gold-light);
}

p {
    color: var(--muted);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 21px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.button-primary {
    background: var(--gold);
    color: var(--dark);
    border: 1px solid var(--gold);
}

.button-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.button-outline {
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--cream);
}

.button-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(197,154,74,0.08),
            transparent 35%
        ),
        var(--dark);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
    padding: 75px 0;
}

.hero-content {
    max-width: 680px;
}

.hero-content h1 {
    margin: 20px 0 25px;
    font-size: clamp(48px, 6vw, 76px);
    letter-spacing: -3px;
    color: var(--cream);
}

.hero-content > p {
    max-width: 610px;
    font-size: 17px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 12px;
    color: var(--cream-2);
}

.hero-note span {
    width: 28px;
    height: 1px;
    background: var(--gold);
}


/* HERO IMAGE */

.hero-photo {
    position: relative;
}

.photo-frame {
    width: 100%;
    height: 580px;
    overflow: hidden;
    border: 1px solid rgba(197,154,74,0.35);
    background: var(--dark-3);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
      object-position: center;
}

.hero-card {
    position: absolute;
    left: -25px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
    background: var(--gold);
    color: var(--dark);
    min-width: 180px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.hero-card strong {
    font-family: var(--heading);
    font-size: 18px;
}

.hero-card span {
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   LOGO SCROLLER
========================================================= */

.logos-section {
    padding: 30px 0 38px;
    background: #0d0c0a;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.logos-title {
    margin-bottom: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.logo-window {
    width: 100%;
    overflow: hidden;
}

.logo-track {
    width: max-content;
    display: flex;
    animation: logoScroll 28s linear infinite;
}

.logo-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.client-logo {
    width: 190px;
    height: 78px;
    margin-right: 18px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
}

.client-logo img {
    max-width: 140px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logos-note {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
}

@keyframes logoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--cream);
    color: var(--dark);
}

.about .section-number {
    color: var(--brown);
}

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

.large-heading {
    max-width: 570px;
    color: var(--dark);
    font-size: clamp(38px, 4.5vw, 60px);
    letter-spacing: -2px;
}

.about-text {
    max-width: 560px;
}

.about-text p {
    margin-bottom: 20px;
    color: #574f43;
    font-size: 16px;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: #72531f;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--gold);
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: var(--dark);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 18px;
    max-width: 650px;
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: -2px;
}

.section-heading > p {
    font-size: 15px;
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    position: relative;
    min-height: 300px;
    padding: 35px;
    background: var(--dark-2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
    background: #201d17;
}

.service-card.featured {
    background: var(--brown);
}

.service-number {
    display: block;
    margin-bottom: 65px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
}

.service-card h3 {
    max-width: 310px;
    margin-bottom: 15px;
    font-size: 25px;
    color: var(--cream);
}

.service-card p {
    max-width: 370px;
    font-size: 14px;
    line-height: 1.7;
}

.service-card a {
    display: inline-block;
    margin-top: 25px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   FEATURED PROGRAM
========================================================= */

.program {
    background: var(--cream);
    color: var(--dark);
}

.program-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.program-photo {
    height: 570px;
    overflow: hidden;
    background: var(--cream-2);
}

.program-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
   object-position: center;
}

.program-content {
    max-width: 600px;
}

.program-content h2 {
    margin: 18px 0 22px;
    color: var(--dark);
    font-size: clamp(40px, 5vw, 62px);
    letter-spacing: -2px;
}

.program-content > p {
    color: #574f43;
    font-size: 16px;
}

.program-list {
    margin: 30px 0;
    border-top: 1px solid rgba(17,16,13,0.14);
}

.program-list div {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(17,16,13,0.14);
}

.program-list strong {
    color: #8c6727;
    font-size: 12px;
}

.program-list span {
    color: #28231c;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   APPROACH
========================================================= */

.approach {
    background: #0d0c0a;
}

.approach-heading {
    margin-bottom: 45px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.approach-item {
    min-height: 270px;
    padding: 28px 25px;
    border-right: 1px solid var(--line);
}

.approach-item:last-child {
    border-right: 0;
}

.approach-item > span {
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
}

.approach-item h3 {
    margin: 45px 0 15px;
    color: var(--cream);
    font-size: 22px;
}

.approach-item p {
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   GALLERY / PORTFOLIO
========================================================= */

.gallery {
    background: var(--dark);
}

.gallery-portraits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-photo {
    position: relative;
    overflow: hidden;
    background: var(--dark-3);
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.gallery-photo:hover img {
    transform: none;
}


/* PORTRAITS */

.gallery-photo.portrait {
    height: 520px;
}


/* LANDSCAPE */

.gallery-landscape {
    margin-top: 20px;
}

.gallery-photo.landscape {
    height: 430px;
}


/* IMAGE LABEL */

.photo-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 17px;
    background: rgba(17,16,13,0.88);
    border-left: 2px solid var(--gold);
}

.photo-label span {
    color: var(--gold-light);
    font-size: 11px;
}

.photo-label strong {
    color: var(--white);
    font-size: 13px;
}


.gallery-statement {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-statement > span {
    width: 45px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.gallery-statement p {
    font-size: 15px;
}

.gallery-statement strong {
    color: var(--cream);
}


/* =========================================================
   AUDIENCE
========================================================= */

.audience {
    background: var(--cream);
    color: var(--dark);
}

.audience h2 {
    max-width: 800px;
    margin: 20px 0;
    color: var(--dark);
    font-size: clamp(40px, 5vw, 65px);
    letter-spacing: -2px;
}

.audience-intro {
    max-width: 680px;
    color: #574f43;
}

.audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.audience-list span {
    padding: 10px 15px;
    border: 1px solid rgba(17,16,13,0.18);
    color: #352f27;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: #0d0c0a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin: 20px 0 25px;
    font-size: clamp(40px, 5vw, 62px);
    letter-spacing: -2px;
}

.contact-info > p {
    max-width: 540px;
    margin-bottom: 15px;
    font-size: 15px;
}

.contact-details {
    margin-top: 45px;
    border-top: 1px solid var(--line);
}

.contact-details div {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.contact-details small {
    display: block;
    margin-bottom: 5px;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-details strong {
    display: block;
    color: var(--cream);
    font-size: 14px;
}


/* FORM */

.form-box {
    padding: 40px;
    background: var(--cream);
    color: var(--dark);
}

.form-heading {
    margin-bottom: 30px;
}

.form-heading h3 {
    margin: 12px 0 10px;
    color: var(--dark);
    font-size: 32px;
}

.form-heading p {
    color: #5b5348;
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    margin-bottom: 7px;
    color: #332d25;
    font-size: 12px;
    font-weight: 700;
}

.form-field label span {
    color: #a56f19;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #cfc7ba;
    border-radius: 2px;
    padding: 13px 14px;
    outline: none;
    background: #fffdf9;
    color: var(--dark);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-field input,
.form-field select {
    height: 48px;
}

.form-field textarea {
    min-height: 125px;
    resize: vertical;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #928b80;
}

.form-submit {
    margin-top: 25px;
}

.form-submit .button {
    width: 100%;
}

.form-submit p {
    margin-top: 12px;
    color: #777064;
    font-size: 11px;
    text-align: center;
}

.form-status {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 45px 0 25px;
    background: var(--dark);
    border-top: 1px solid var(--line);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 35px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-brand > div:last-child {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-family: var(--heading);
    font-size: 15px;
}

.footer-brand span {
    color: var(--muted);
    font-size: 11px;
}

.footer-top > p {
    max-width: 330px;
    font-size: 13px;
    text-align: right;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: #8f887d;
    font-size: 11px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: var(--gold-light);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .hero-grid {
        grid-template-columns: 1fr 0.9fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 54px;
    }

    .photo-frame {
        height: 500px;
    }

    .about-grid {
        gap: 50px;
    }

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

    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .approach-item:nth-child(3) {
        border-right: 0;
    }

    .approach-item:nth-child(4),
    .approach-item:nth-child(5) {
        border-top: 1px solid var(--line);
    }

    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 45px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(100% - 30px, var(--max-width));
    }

    .section {
        padding: 75px 0;
    }


    /* HEADER */

    .nav {
        min-height: 72px;
    }

    .menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 15px;
        right: 15px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--dark-2);
        border: 1px solid var(--line);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px;
        border-bottom: 1px solid var(--line);
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }

    .nav-links .nav-button {
        text-align: center;
        margin-top: 8px;
    }


    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 60px 0 75px;
    }

    .hero-content h1 {
        font-size: clamp(43px, 13vw, 62px);
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .photo-frame {
        height: 430px;
    }

    .hero-card {
        left: 15px;
        bottom: 15px;
    }


    /* LOGOS */

    .client-logo {
        width: 160px;
        height: 70px;
    }

    .client-logo img {
        max-width: 115px;
        max-height: 45px;
    }


    /* ABOUT */

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

    .large-heading {
        font-size: 40px;
    }


    /* SECTION HEADING */

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 42px;
    }


    /* SERVICES */

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

    .service-card {
        min-height: auto;
        padding: 30px;
    }

    .service-number {
        margin-bottom: 35px;
    }


    /* PROGRAM */

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

    .program-photo {
        height: 420px;
    }

    .program-content h2 {
        font-size: 43px;
    }


    /* APPROACH */

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

    .approach-item,
    .approach-item:nth-child(3),
    .approach-item:nth-child(4),
    .approach-item:nth-child(5) {
        min-height: auto;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-top: 0;
    }

    .approach-item:last-child {
        border-bottom: 0;
    }

    .approach-item h3 {
        margin: 15px 0 8px;
    }


    /* GALLERY */

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

    .gallery-photo.portrait {
        height: 480px;
    }

    .gallery-photo.landscape {
        height: 300px;
    }


    /* AUDIENCE */

    .audience h2 {
        font-size: 43px;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info h2 {
        font-size: 43px;
    }

    .form-box {
        padding: 25px 20px;
    }

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

    .form-field.full {
        grid-column: auto;
    }


    /* FOOTER */

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top > p {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 430px) {

    .brand-text span {
        display: none;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .photo-frame {
        height: 380px;
    }

    .hero-card {
        min-width: 160px;
        padding: 14px 16px;
    }

    .large-heading,
    .section-heading h2,
    .program-content h2,
    .audience h2,
    .contact-info h2 {
        font-size: 37px;
    }

    .gallery-photo.portrait {
        height: 400px;
    }

}
/* =========================================================
   DYNAMIC TRAINING PHOTO GRID
   (drop-in replacement for the hardcoded gallery-portraits /
   gallery-landscape blocks — same visual language, any count)
========================================================= */

.event-photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.event-photo-grid .gallery-photo {
    flex: 0 1 340px;
    min-width: 280px;
}

.event-photo-grid .gallery-photo {
    height: 380px;
}


/* =========================================================
   RECENT ENGAGEMENTS
   (same tile language as .service-grid, applied to events)
========================================================= */

.engagements {
    background: var(--dark);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.engagement-card {
    padding: 35px;
    background: var(--dark-2);
    transition: background 0.2s ease;
}

.engagement-card:hover {
    background: #201d17;
}

.engagement-meta {
    display: block;
    margin-bottom: 24px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.engagement-card h3 {
    max-width: 310px;
    margin-bottom: 15px;
    font-size: 22px;
    color: var(--cream);
    line-height: 1.2;
}

.engagement-card p {
    max-width: 370px;
    font-size: 14px;
    line-height: 1.7;
}

.engagement-outcome {
    margin-top: 14px;
    color: var(--cream-2);
}

.engagement-outcome strong {
    color: var(--gold-light);
    font-weight: 700;
}

.engagement-quote {
    margin-top: 18px;
    padding-left: 14px;
    border-left: 2px solid var(--gold);
    color: var(--cream-2);
    font-size: 13px;
    font-style: italic;
}

.engagement-photos-link {
    display: inline-block;
    margin-top: 20px;
    background: none;
    border: 0;
    padding: 0;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.engagement-photos-link:hover {
    color: var(--gold);
}


/* =========================================================
   GALLERY PHOTO AS BUTTON (reset native button styles so it
   looks identical to the old plain <figure> version)
========================================================= */

.gallery-photo-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--dark-3);
    text-align: left;
    cursor: pointer;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background: rgba(11, 10, 8, 0.94);
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-image {
    max-width: min(86vw, 1000px);
    max-height: 78vh;
    object-fit: contain;
    border: 1px solid rgba(197, 154, 74, 0.35);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--cream-2);
    font-size: 13px;
    letter-spacing: 0.3px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: 0;
    color: var(--cream);
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--gold-light);
}

.lightbox-close {
    top: 24px;
    right: 30px;
    font-size: 34px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    line-height: 1;
    padding: 10px 16px;
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

@media (max-width: 760px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 34px;
        padding: 8px 10px;
    }

    .lightbox-close {
        top: 14px;
        right: 16px;
    }
}

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

@media (max-width: 760px) {
    .event-photo-grid .gallery-photo {
        height: 300px;
    }

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

    .engagement-card {
        padding: 30px;
    }
}
.event-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Buttons default to inline, with browser padding/border/background —
   reset all of that since this is really an image card. */
.gallery-photo {
    all: unset;
    cursor: pointer;
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: #1a1a1a;       /* shows as a clean dark box if the photo 404s */
}

/* This is the actual fix: force every photo into the same shape
   regardless of its source dimensions. */
.gallery-photo::before {
    content: "";
    display: block;
    padding-top: 75%;          /* 4:3 box — change to 100% for square, 125% for 4:5 */
}

.gallery-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.photo-label {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(20, 15, 12, 0.9);
    border-left: 3px solid var(--gold, #d4a94a);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    max-width: calc(100% - 1.5rem);
}

.photo-label span {
    color: var(--gold, #d4a94a);
    flex-shrink: 0;
}

.photo-label strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

@media (max-width: 480px) {
    .event-photo-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   IMPACT STATS — card treatment
   Paste this into css/style.css. No HTML changes needed —
   it targets the .stats-grid / .stat-card classes already
   in your index.html.
========================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.stat-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(217,168,105,0.25);
    border-radius: 12px;
    padding: 2.25rem 1.5rem 1.75rem;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217,168,105,0.6);
    background: rgba(255,255,255,0.05);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    background: #d9a869;
    border-radius: 2px;
}

.stat-card h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    color: #d9a869;
    margin: 0.5rem 0 0.4rem;
    line-height: 1;
}

.stat-card p {
    font-size: 0.9rem;
    color: #a39c8e;
    margin: 0;
}

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

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