/* Portrait art direction. Kept in the WordPress theme with its editable media. */
.hero-home--portrait {
    min-height: 0;
    background: #0b1720;
}

.hero-home__portrait {
    position: absolute;
    inset: 0 0 0 auto;
    display: block;
    width: min(66%, 1100px);
    height: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 28%);
}

.hero-home__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

.hero-home--portrait .hero-home__overlay {
    background:
        linear-gradient(90deg, #0b1720 0%, rgb(11 23 32 / .95) 32%, rgb(11 23 32 / .58) 51%, rgb(11 23 32 / .06) 74%),
        linear-gradient(0deg, rgb(11 23 32 / .72), transparent 30%);
}

.hero-home__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 740px;
    padding-block: 76px;
}

.hero-home__copy {
    width: 58%;
    max-width: 710px;
}

.hero-home__copy h1 {
    font-size: clamp(3.25rem, 4.7vw, 4.5rem);
}

.home-about__portrait {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
}

.floating-note__logo {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    object-fit: contain;
}

.home-about__image {
    aspect-ratio: 5 / 4;
    background: #343534;
}

.home-about__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-home__content {
        min-height: 690px;
        padding-block: 60px;
    }

    .hero-home__copy {
        width: 62%;
    }

    .hero-home__copy h1 {
        font-size: 3.25rem;
    }

    .hero-home__portrait {
        width: 72%;
    }

    .hero-home__portrait img {
        object-position: left top;
    }
}

@media (max-width: 767px) {
    .hero-home--portrait {
        min-height: 0;
    }

    .hero-home__portrait {
        inset: 0 0 auto;
        width: 100%;
        height: clamp(390px, 82vw, 550px);
        mask-image: linear-gradient(#000 48%, transparent 100%);
    }

    .hero-home__portrait img {
        object-position: 50% top;
    }

    .hero-home--portrait .hero-home__overlay {
        background: linear-gradient(180deg, rgb(11 23 32 / .06), transparent 200px, #0b1720 440px);
    }

    .hero-home__content {
        min-height: 0;
        padding-top: clamp(305px, 60vw, 390px);
        padding-bottom: 52px;
    }

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

    .hero-home__copy h1 {
        margin-top: 20px;
        font-size: clamp(2.35rem, 9.8vw, 3.5rem);
        line-height: 1.07;
    }

    .hero-home__copy > p:not(.eyebrow) {
        margin-top: 22px;
        font-size: 1rem;
        line-height: 1.7;
    }
}
