/* Keep the homepage opening aligned with the client’s full-width group portrait. */
.hero.homehero {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1024 / 742;
    padding: 0;
    background: #26384a;
}
.homehero :is(.hero-photo, video) {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 50% 0;
    z-index: 0;
}
.homehero .herowrap {
    position: absolute;
    inset-inline-start: 4.5%;
    bottom: 6.3%;
    display: block;
    width: min(50%, 650px);
    height: auto;
    margin: 0;
    padding: 0;
    z-index: 1;
    pointer-events: none;
}
.homehero .titleplate {
    width: 100%;
    max-width: none;
    padding: clamp(15px, 1.8vw, 30px) clamp(20px, 3.1vw, 44px);
    border: 0;
    border-radius: 3px;
    background: rgb(23 41 58 / 90%);
}
.homehero .titleplate .eyebrow {
    margin: 0 0 clamp(5px, .6vw, 10px);
    font-size: clamp(10px, .9vw, 13px);
    line-height: 1.35;
}
.homehero .titleplate h1 {
    margin: 0;
    font-size: clamp(37px, 4.85vw, 72px);
    line-height: 1.03;
}
[dir=rtl] .homehero .titleplate h1 {
    font-size: clamp(32px, 4.1vw, 64px);
    line-height: 1.24;
}
.homehero .titleplate p:last-child:not(.eyebrow) {
    margin: 0;
    font-size: clamp(14px, 1.42vw, 21px);
    line-height: 1.4;
}
.homehero .titleplate p:last-child::before {
    content: "";
    display: block;
    width: 4.5em;
    border-top: 2px solid #d9c3c7;
    margin-block: .6em;
}
.homehero .vtools {
    position: absolute;
    inset-inline-start: auto;
    inset-inline-end: 4.5%;
    bottom: 3.5%;
    margin: 0;
    z-index: 2;
}
.homehero #play {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 54px;
    min-height: 50px;
    padding: 3px 6px;
    background: rgb(23 41 58 / 82%);
    color: #fff;
    border: 0;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.2;
}
.homehero #play::before {
    content: "▶";
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font: 14px/1 Arial, sans-serif;
}
.homehero #play[data-playing="true"]::before { content: "Ⅱ"; }
.homehero #play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (min-width: 801px) {
    /* Keep the live-action performance and laboratory footage clear of the title. */
    .homehero.show-footage .herowrap { opacity: 0; }
}
@media (max-width: 800px) {
    .hero.homehero { display: grid; grid-template: auto auto / minmax(0, 1fr) auto; aspect-ratio: auto; }
    .homehero :is(.hero-photo, video) {
        position: static;
        grid-area: 1 / 1 / 2 / 3;
        align-self: start;
        height: auto;
        aspect-ratio: 1600 / 1058;
        object-fit: contain;
    }
    .homehero .herowrap {
        position: static;
        grid-area: 2 / 1;
        width: auto;
        align-self: center;
        padding: 17px 16px;
    }
    .homehero .titleplate { padding: 0; background: transparent; }
    .homehero .titleplate h1, [dir=rtl] .homehero .titleplate h1 { font-size: clamp(26px, 5.9vw, 40px); }
    .homehero .titleplate .eyebrow { margin-bottom: 4px; }
    .homehero .titleplate p:last-child::before { margin-block: .42em; width: 3em; }
    .homehero .vtools { position: static; grid-area: 2 / 2; align-self: end; margin: 0 14px 15px; }
}
/* Let the wordmark wrap without widening the photograph on small phones. */
@media (max-width: 365px) {
    .mainbar .bar { gap: 6px; }
    .mainbar .brand { min-width: 0; flex-shrink: 1; }
    .mainbar .brand span { min-width: 0; white-space: normal; }
    .mainbar .mobile { flex-shrink: 0; }
}
