/* Full-block background video for the opening banner. */
.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(540px, 70vh, 800px);
    display: flex;
    align-items: center;
    color: #fff;
    background: #0a1720;
}
.hero .hero-image {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
    overflow: hidden;
}
.hero .hero-image > img,
.hero .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
}
.hero .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .42));
    pointer-events: none;
}
.hero .hero-copy {
    position: relative;
    z-index: 2;
    align-items: flex-start;
    padding-top: 90px;
    padding-bottom: 130px;
}
.hero .hero-copy p { color: #fff; text-shadow: 0 1px 4px #0008; }
.hero .hero-image > p { z-index: 1; }
@media (max-width: 760px) {
    .hero { min-height: 580px; }
    .hero .hero-copy { padding-top: 65px; padding-bottom: 110px; }
}
@media print {
    .hero { min-height: 0; color: var(--ink); background: white; }
    .hero .hero-image { display: none; }
    .hero .hero-copy { padding-block: 30px; }
    .hero .hero-copy p { color: var(--ink); text-shadow: none; }
}

/* Let the introduction wrap naturally as a single paragraph. */
.hero .hero-copy > p {
    flex: 0 0 36%;
    width: 36%;
    max-width: 430px;
    padding-top: 0;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.5;
    text-wrap: pretty;
}
@media (max-width: 760px) {
    .hero .hero-copy > p {
        width: 100%;
        max-width: 430px;
        font-size: 18px;
    }
}

/* Optical alignment for Barlow body text beside the taller Jura heading. */
@media (min-width: 761px) {
    .hero .hero-copy > p {
        padding-top: clamp(10px, 1vw, 18px);
    }
}
