/* Hero banner (edge-to-edge full-bleed image, with the headline/CTA in a
   frosted card below it, matching the services pages' hero pattern).
   The media box is sized by aspect-ratio rather than viewport height, to
   match this photo's own proportions (1672x941, ~16:9) and keep the whole
   scene in view rather than letting object-fit: cover crop into it. */
.hero-banner__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 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 the services pages' hero pattern. */
.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;
}

/* Client logo teaser grid (duplicated from clients.css, matching the
   site's existing per-page CSS convention) */
.client-logo-card {
    min-height: 110px;
    transition: box-shadow .15s ease-in-out;
}

.client-logo-card:hover {
    box-shadow: 0 .5rem 1rem rgba(var(--bs-primary-rgb), .15) !important;
}

.client-logo-card__img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

/* Homepage services grid */
.service-card {
    transition: box-shadow .15s ease-in-out;
}

.service-card:hover {
    box-shadow: 0 .5rem 1rem rgba(var(--bs-primary-rgb), .15);
}

/* Dewpoint membership logo (duplicated from about.css, same convention) */
.dewpoint-logo {
    max-width: 260px;
    height: auto;
}
