/* Our Programs — National Apology Breakfast (Figma 8900:5068) */

body.public-site .public-cms-section--our-work-hero h1,
body.public-site .public-cms-section--our-work-why h2,
body.public-site .public-cms-section--our-work-partners h2,
body.public-site .public-cms-section--our-work-purpose h2,
body.public-site .public-cms-section--our-work-recap h2,
body.public-site .public-cms-section--our-work-cta h2,
body.public-site .public-cms-section--our-work-cta h3 {
    font-family: var(--font-display);
    font-size: var(--public-h1-size);
    line-height: var(--public-h1-leading);
    font-weight: 400;
}

.our-work-display {
    font-family: var(--font-display);
    font-size: var(--public-h1-size);
    line-height: var(--public-h1-leading);
    font-weight: 400;
    margin: 0 0 1.25rem;
}

.our-work-display--ivory {
    color: var(--jm-color-ivory);
}

.our-work-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.our-work-kicker--ivory {
    color: var(--jm-color-ivory);
    font-weight: 400;
}

.our-work-kicker--coral {
    color: var(--jm-color-accent);
}

.our-work-kicker--orange {
    color: var(--jm-color-orange);
    font-weight: 400;
}

.our-work-copy {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.our-work-copy--ivory {
    color: var(--jm-color-ivory);
}

.our-work-portrait {
    aspect-ratio: 4 / 5;
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
}

.our-work-portrait__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero */
.public-cms-section--our-work-hero {
    position: relative;
    min-height: 760px;
    margin-top: 50px;
    padding: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #1a1410;
}

.our-work-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.our-work-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.our-work-hero__copy {
    max-width: 45rem;
}

.public-cms-section--our-work-hero .our-work-copy {
    margin-bottom: 2.5rem;
}

.public-cms-section--our-work-hero .btn-ivory {
    color: #000;
}

.public-cms-section--our-work-hero .btn-ivory:hover,
.public-cms-section--our-work-hero .btn-ivory:focus {
    color: #000;
}

/* Gallery — full-bleed image slider with right-edge peek */
.public-cms-section--our-work-gallery {
    background: linear-gradient(180deg, #000 0%, #202020 100%);
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5rem 0;
}

.our-work-gallery {
    width: 100%;
}

.our-work-gallery-swiper {
    overflow: hidden;
    padding-left: max(1rem, calc((100vw - 1320px) / 2 + 1rem));
}

.our-work-gallery-swiper .swiper-wrapper {
    align-items: center;
}

.our-work-gallery-swiper .swiper-slide.our-work-gallery__slide {
    width: min(500px, 80vw);
    height: auto;
    flex-shrink: 0;
}

.our-work-gallery__frame {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
}

.our-work-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .public-cms-section--our-work-gallery {
        min-height: 0;
        padding: 3rem 0;
    }

    .our-work-gallery-swiper {
        padding-left: 1rem;
    }
}

/* Shared carousel nav */
.our-work-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 2.5rem;
}

.our-work-carousel-nav__btn {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.our-work-carousel-nav__btn img {
    width: 24px;
    height: 24px;
    display: block;
}

.our-work-carousel-nav__btn--ghost-ivory {
    border: 1px solid var(--jm-color-ivory);
}

.our-work-carousel-nav__btn--ghost-ivory img {
    transform: rotate(180deg);
}

.our-work-carousel-nav__btn--solid-ivory {
    border: 0;
    background: var(--jm-color-ivory);
}

.our-work-carousel-nav__btn--ghost-coral {
    border: 1px solid var(--jm-color-accent);
}

.our-work-carousel-nav__btn--ghost-coral img {
    transform: rotate(180deg);
}

.our-work-carousel-nav__btn--solid-coral {
    border: 0;
    background: var(--jm-color-accent);
}

/* Why / purpose */
.public-cms-section--our-work-why,
.public-cms-section--our-work-purpose {
    padding: 6.25rem 0;
}

/* Partners */
.public-cms-section--our-work-partners {
    padding: 6.25rem 0;
}

.our-work-partners__copy {
    max-width: 64.875rem;
    margin-inline: auto;
}

.our-work-partners__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem 4rem;
    margin: 4rem 0 5rem;
}

.our-work-partners__logo {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.our-work-partners__logo img {
    max-height: 70px;
    max-width: 275px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.our-work-partners__fn-heading {
    font-family: var(--font-display);
    font-size: 2.368rem;
    line-height: 1.5;
    font-weight: 400;
    margin: 0 0 1.875rem;
}

.our-work-partners__fn-image {
    display: block;
    max-width: min(100%, 962px);
    height: auto;
    margin-inline: auto;
}

/* Recap — full-bleed image slider with right-edge peek */
.public-cms-section--our-work-recap {
    padding: 6.25rem 0;
    overflow: hidden;
}

.our-work-recap__copy {
    max-width: 70.875rem;
    margin-inline: auto;
}

.our-work-recap__gallery {
    margin-top: 3.75rem;
    width: 100%;
}

.our-work-recap-swiper {
    overflow: hidden;
    padding-left: max(1rem, calc((100vw - 1320px) / 2 + 1rem));
}

.our-work-recap-swiper .swiper-slide.our-work-recap__slide {
    width: min(350px, 78vw);
    height: auto;
    flex-shrink: 0;
}

.our-work-recap__frame {
    width: 100%;
    aspect-ratio: 35 / 30;
    overflow: hidden;
    background: #fff;
}

.our-work-recap__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .our-work-recap-swiper {
        padding-left: 1rem;
    }
}

/* Quote */
.public-cms-section--our-work-quote {
    background: linear-gradient(90deg, #231f20 0%, #4a4e2e 100%);
    padding: 4rem 0;
}

.our-work-quote {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.our-work-quote__message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.our-work-quote__portrait {
    width: 120px;
    height: 120px;
    border-radius: 1000px;
    object-fit: cover;
    flex-shrink: 0;
}

.our-work-quote__text {
    color: #f7f3e8;
    font-size: 1.125rem;
    line-height: 1.5;
    margin: 0;
}

.our-work-quote__rule {
    display: none;
    width: 1px;
    height: 90px;
    background: rgba(247, 243, 232, 0.45);
    flex-shrink: 0;
}

.our-work-quote__name {
    color: #fff;
    font-size: 1.3325rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.our-work-quote__date {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 992px) {
    .our-work-quote {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .our-work-quote__message {
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
        flex: 1 1 auto;
    }

    .our-work-quote__text {
        max-width: 37.2rem;
    }

    .our-work-quote__rule {
        display: block;
    }

    .our-work-quote__meta {
        max-width: 25rem;
    }
}

/* CTA + form */
.public-cms-section--our-work-cta {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(247, 148, 29, 0.2) 100%),
        #000;
    padding: 6.25rem 0;
}

.our-work-cta-form__label {
    display: block;
    color: #f7f3e8;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.our-work-cta-form__input {
    height: 40px;
    border: 0;
    border-radius: 5px;
    font-size: 0.875rem;
}

.our-work-cta-form__textarea {
    height: 80px;
}

.our-work-cta-form__error {
    display: block;
    color: var(--jm-color-orange);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.our-work-cta-form .is-invalid-reg {
    border: 1.5px solid var(--jm-color-orange);
}

@media (max-width: 767.98px) {
    .public-cms-section--our-work-hero {
        min-height: 560px;
    }

    .our-work-partners__fn-heading {
        font-size: 1.75rem;
    }
}
