.flex-content.banner {
    background-color: var(--atf-blue);
    color: rgba(255,255,255,.86);
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
body.home .flex-content.banner { min-height: min(86vh, 860px); }
.flex-content.banner .main-title,
.flex-content.banner h1, .flex-content.banner h2 { color: #fff; }
.flex-content.banner .eyebrow { color: var(--atf-sky); }
.flex-content.banner .eyebrow::after { background: rgba(255,255,255,.28); max-width: 120px; }
.flex-content.banner h1.main-title {
    font-size: clamp(2.6rem, 1.2rem + 4.2vw, 5rem);
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
}
.flex-content.banner .text.lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); max-width: 34rem; color: rgba(255,255,255,.86); }
.flex-content.banner .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 2.25rem 0 0; margin: 0; }
.flex-content.banner .btn-secondary { color: #fff; }

/* Split hero: art on the right half on large screens */
.flex-content.banner img.bg {
    left: auto; right: 0; width: 46%; height: 100%; object-fit: cover; object-position: 74% 50%; z-index: 0;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0), #000 18%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0), #000 18%);
}
.flex-content.banner .container { z-index: 1; }
.flex-content.banner .overlay { z-index: 0; }

/* Interior pages: shorter, navy */
body:not(.home) .flex-content.banner { background-color: var(--atf-navy); min-height: 380px; }
body:not(.home) .flex-content.banner h1.main-title { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.9rem); }

@media (max-width: 991px) {
    .flex-content.banner { flex-direction: column; align-items: stretch; }
    .flex-content.banner img.bg { position: relative; order: 2; width: 100%; height: 300px; display: block; margin: 2.5rem 0 -3rem; object-position: 50% 62%; -webkit-mask-image: none; mask-image: none; }
    body.home .flex-content.banner { min-height: 0; padding-bottom: 3rem; }
}

/* Brand lockup inside a hero (Veritas bridge page) */
.flex-content.banner .brand-lockup { margin: 0 0 1.75rem; }
.flex-content.banner .brand-lockup img { width: 300px; max-width: 70%; height: auto; display: block; }

/* Veritas bridge page: Veritas navy, not ATF blue */
body.page-id-1666 .flex-content.banner { background-color: #000B1B; }
