/* Hero portraits — figure right, copy left. Complements styles.css; loaded only on index.html. */

.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    align-items: center;
}

.hero-slider .hero-content {
    text-align: left;
    max-width: none;
    margin: 0;
}

.hero-slider .hero-actions {
    justify-content: flex-start;
}

.hero-figure {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 16 / 10;
    background: #0f172a;
}

.hero-figure img,
.hero-figure picture,
.hero-figure picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 18%;
}

@media (max-width: 767px) {
    .hero-figure {
        order: -1;
        max-height: 42vh;
    }
}

@media (min-width: 768px) {
    .hero-stage {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2rem;
        padding: 0 64px;
    }

    .hero-slider .hero-content {
        padding: 0;
    }

    .hero-figure {
        aspect-ratio: 4 / 5;
        min-height: 420px;
        order: 0;
    }

    .hero-figure img,
    .hero-figure picture,
    .hero-figure picture img {
        object-position: 82% center;
    }
}
