.hero-profile {
    min-width: 0;
    padding: 0 8px 8px 0;
    scroll-margin-top: 110px;
}

.projects-grid article.project-card:hover h3 {
    text-decoration: none;
}

.hero-profile .portrait-frame img {
    height: auto;
    aspect-ratio: 1.25;
    object-position: center 40%;
}

.hero-profile .portrait-frame figcaption {
    padding: clamp(20px, 2.5vw, 32px);
}

.hero-profile figcaption p {
    font: 400 clamp(15px, 1.2vw, 18px)/1.65 Manrope, sans-serif;
}

.hero-profile .text-link {
    margin-top: 12px;
}

@media (min-width: 600px) and (max-width: 1023px) {
    .agency .hero-layout {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .agency .hero-copy h1 {
        font-size: clamp(42px, 6.5vw, 64px);
    }
}

@media (max-width: 599px) {
    .agency .hero-layout {
        gap: 36px;
    }

    .hero-profile {
        width: 100%;
        max-width: 440px;
        margin-inline: auto;
    }

    .hero-profile .portrait-frame img {
        aspect-ratio: 1.15;
    }
}
