/* Hero banner (edge-to-edge full-bleed image, with the headline/CTA in a
   solid band below it rather than overlaid on top, duplicated from
   home.css, matching the site's existing per-page CSS convention).
   The media box is sized by aspect-ratio rather than viewport height:
   the current hero photo is a wide, short desk-scene shot, and a tall
   viewport-height box would force object-fit: cover to zoom into a thin
   vertical sliver of it on portrait screens. Matching the container to
   roughly the photo's own proportions keeps most of the scene in view. */
.hero-banner__media {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    min-height: 220px;
    max-height: 520px;
    overflow: hidden;
}

.hero-banner__img {
    position: absolute;
    inset: 0;
    object-position: center;
}

/* Card band background: the same hero photo, flipped vertically and blurred
   behind a translucent tint (matching home.css's .hero-banner__card), rather
   than a flat bg-dark block. */
.hero-banner__card-frame {
    position: relative;
    overflow: hidden;
}

.hero-banner__card-bg {
    position: absolute;
    inset: 0;
    transform: scaleY(-1);
}

.hero-banner__card {
    background-color: rgba(var(--bs-dark-rgb), 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-banner__headline {
    font-size: clamp(1.25rem, 4.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-banner__subhead {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    max-width: 40rem;
}

/* Hero breadcrumb, shown on the dark card band */
.hero-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* "How It Works" process steps */
.process-step__number {
    font-size: 1.75rem;
    line-height: 1;
}
