.about-hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.about-hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(18, 23, 23, 0.45);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 95vh;
    gap: 32px;
}

.about-hero-heading {
    max-width: 560px;
}

.about-hero-pagragraph {
    max-width: 460px;
}

/* HERO ANIMATIONS */

.about-hero-heading,
.about-hero-pagragraph {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 1000ms ease,
        transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-hero-heading.is-visible,
.about-hero-pagragraph.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-hero-bg img {
    transform: scale(1.05);
    transition: transform 2000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-hero-bg img.is-visible {
    transform: scale(1);
}

/* TABLET */

@media (max-width: 992px) {
    .about-hero-content {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 24px;
    }
}

/* MOBILE LANDSCAPE */

@media (max-width: 767px) and (orientation: landscape) {
    .about-hero-section {
        min-height: 650px;
    }

    .about-hero-content {
        min-height: 650px;
        padding-block: 32px;
    }
}

/* MOBILE PORTRAIT */

@media (max-width: 767px) and (orientation: portrait) {
    .about-hero-section {
        min-height: 100svh;
    }

    .about-hero-content {
        min-height: 95svh;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .about-hero-heading,
    .about-hero-pagragraph {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .about-hero-bg img {
        transform: none;
        transition: none;
    }
}


.curated-section {
    padding-block: 96px;
}

.curated-main-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.curated-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.curated-heading {
    max-width: 460px;
}

.curated-paragraph {
    max-width: 460px;
}

.curated-images {
    position: relative;
    width: 50%;
    height: 700px;
}

.curated-image-lg,
.curated-image-sm {
    position: absolute;
    object-fit: cover;
}

.curated-image-lg {
    top: 0;
    right: 0;
    width: 78%;
}

.curated-image-sm {
    left: 0;
    top: 25%;
    width: 45%;
    z-index: 1;
}

/* CURATED ANIMATIONS */

.curated-heading,
.curated-paragraph,
.curated-image-sm {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 900ms ease,
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.curated-heading.is-visible,
.curated-paragraph.is-visible,
.curated-image-sm.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.curated-image-lg {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.curated-image-lg.is-visible {
    clip-path: inset(0 0 0 0);
}

/* SMALL DESKTOP */

@media (max-width: 1100px) {
    .curated-heading,
    .curated-paragraph {
        max-width: 400px;
    }

    .curated-image-lg {
        top: 10%;
    }
}

/* TABLET */

@media (max-width: 992px) {
    .curated-section {
        padding-block: 48px;
    }

    .curated-main-wrapper {
        align-items: flex-start;
    }

    .curated-heading {
        max-width: 480px;
    }

    .curated-paragraph {
        max-width: 355px;
    }

    .curated-images {
        height: 450px;
    }

    .curated-image-sm {
        top: 40%;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .curated-main-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .curated-content {
        margin-top: 32px;
        gap: 24px;
    }

    .curated-heading,
    .curated-paragraph {
        max-width: 460px;
    }

    .curated-images {
        order: -1;
        width: 100%;
        height: auto;
        aspect-ratio: 358 / 607;
    }

    .curated-image-lg {
        top: 0;
        right: 0;
        width: 100%;
    }

    .curated-image-sm {
        left: 17%;
        top: 53%;
        width: 66%;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .curated-heading,
    .curated-paragraph,
    .curated-image-sm {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .curated-image-lg {
        clip-path: none;
        transition: none;
    }
}


.cinematic-wrapper {
    width: 100%;
    overflow: hidden;
}

.cinematic-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.12);
    will-change: transform;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .cinematic-wrapper img {
        transform: none !important;
        will-change: auto;
    }
}


.philosophy-section {
    padding-block: 140px;
    position: relative;
}

.philosophy-main-wrapper {
    display: flex;
    justify-content: flex-end;
}

.phil-img {
    position: absolute;
    left: 0;
    bottom: 12%;
    width: 44vw;
    max-width: 680px;
}

.phil-img img {
    display: block;
    width: 100%;
    height: auto;
}

.phil-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
}

.label-md {
    color: var(--clr-grey);
    font-size: 20px;
    font-family: var(--ff-heading);
}

.phil-heading {
    max-width: 640px;
    padding-top: 32px;
}

.phil-paragraph {
    max-width: 500px;
    padding-top: 32px;
}

/* PHILOSOPHY ANIMATIONS */

.phil-content-wrapper .label-md,
.phil-heading,
.phil-paragraph {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 900ms ease,
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.phil-content-wrapper .label-md.is-visible,
.phil-heading.is-visible,
.phil-paragraph.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.phil-img {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.phil-img.is-visible {
    clip-path: inset(0 0 0 0);
}

/* SMALL DESKTOP */

@media (max-width: 1350px) {
    .philosophy-section {
        padding-bottom: 0;
        padding-top: 96px;
    }

    .philosophy-main-wrapper {
        flex-direction: column;
    }

    .phil-img {
        position: relative;
        left: auto;
        bottom: auto;
        order: 2;
        width: 100vw;
        max-width: none;
        margin-top: 64px;
        margin-left: calc(50% - 50vw);
    }

    .phil-content-wrapper {
        order: 1;
        width: 100%;
    }
}

/* TABLET */

@media (max-width: 992px) {
    .philosophy-section {
        padding-top: 72px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .philosophy-section {
        padding-top: 48px;
    }

    .label-md {
        font-size: 16px;
    }

    .phil-heading {
        padding-top: 24px;
        padding-bottom: 8px;
        max-width: 400px;
    }

    .phil-paragraph {
        padding-top: 16px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .phil-content-wrapper .label-md,
    .phil-heading,
    .phil-paragraph {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .phil-img {
        clip-path: none;
        transition: none;
    }
}