/* Explain: Layout utilities for page sections and media. */
.section-pad {
    padding-top: clamp(4.5rem, 9vw, 7rem);
    padding-bottom: clamp(4.5rem, 9vw, 7rem);
}

.hero-media {
    position: relative;
    display: flex;
    min-height: min(72vh, 600px);
    align-items: flex-end;
    overflow: hidden;
    background: var(--sage-dark);
}

@media (min-width: 640px) {
    .hero-media {
        min-height: min(78vh, 680px);
    }
}

@media (min-width: 1024px) {
    .hero-media {
        min-height: min(86vh, 760px);
    }
}

.hero-media__img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 46%;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 30, 58, 0.82) 0%, rgba(9, 30, 58, 0.6) 42%, rgba(9, 30, 58, 0.95) 100%);
    pointer-events: none;
}

.page-hero {
    position: relative;
    display: flex;
    min-height: min(68vh, 580px);
    align-items: flex-end;
    overflow: hidden;
    background: var(--primary-color);
}

.band-surface {
    background: var(--surface-color);
}

.band-gradient {
    background: linear-gradient(180deg, var(--background-color) 0%, var(--surface-color) 100%);
}

.frame-image {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.25rem;
    box-shadow: var(--shadow-soft);
}

.frame-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}