/* Homepage full-screen video hero. Independent of the classic/modern skins. */
.vhero {
    position: relative;
    isolation: isolate;
    min-height: clamp(560px, calc(100svh - 76px), 900px);
    display: flex;
    align-items: center;
    color: #fff;
    background: #07162d;
    overflow: hidden;
}
.vhero-media, .vhero-media video, .vhero-media .vhero-still {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.vhero-media { z-index: -2; }
.vhero-media video, .vhero-media .vhero-still { object-fit: cover; background: center / cover no-repeat; }
.vhero-media video { opacity: 0; transition: opacity .8s ease; }
.vhero-media video.is-playing { opacity: 1; }
.vhero::before {            /* legibility scrim: darker at the left where the words sit */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(7,22,45,.68) 0%, rgba(7,22,45,.38) 42%, rgba(7,22,45,.06) 100%),
        linear-gradient(0deg, rgba(7,22,45,.50) 0%, transparent 34%);
}
.vhero-inner { margin-inline: auto; padding-top: clamp(40px, 8vh, 96px); padding-bottom: clamp(96px, 14vh, 140px); }
.vhero-copy { max-width: 700px; }
.vhero .eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
    font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fd0ff;
}
.vhero .eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.vhero h1 {
    margin: 0 0 20px; color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800;
    text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.4);
}
.vhero h1 em { font-style: normal; background: linear-gradient(90deg, #b4d6ff, #6ff5e0); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,.55)); }
.vhero-lead { text-shadow: 0 1px 14px rgba(0,0,0,.55); margin: 0 0 30px; max-width: 580px; font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.6; color: rgba(255,255,255,.86); }
.vhero .button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.vhero .btn { padding: 14px 26px; font-size: 1rem; }
.vhero .btn-secondary { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.vhero .btn-secondary:hover { background: rgba(255,255,255,.22); }
.vhero .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: none; }
.vhero .btn-ghost:hover { border-color: rgba(255,255,255,.4); }

.vhero-stats {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    border-top: 1px solid rgba(255,255,255,.16); background: rgba(7,22,45,.45); backdrop-filter: blur(10px);
}
.vhero-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.vhero-stats li { padding: 16px 18px; border-left: 1px solid rgba(255,255,255,.12); }
.vhero-stats li:first-child { border-left: 0; padding-left: 0; }
.vhero-stats strong { display: block; font-size: 1.05rem; color: #fff; }
.vhero-stats span { font-size: .85rem; color: rgba(255,255,255,.7); }

.vhero-toggle {
    position: absolute; right: 18px; top: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35); background: rgba(7,22,45,.45); color: #fff; cursor: pointer; backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center; font-size: 14px;
}
.vhero.has-video .vhero-toggle { display: inline-flex; }

@media (max-width: 760px) {
    .vhero { min-height: clamp(520px, 88svh, 760px); }
    .vhero::before { background: linear-gradient(0deg, rgba(7,22,45,.78) 0%, rgba(7,22,45,.42) 60%, rgba(7,22,45,.28) 100%); }
    .vhero-stats ul { grid-template-columns: repeat(2, 1fr); }
    .vhero-stats li:nth-child(3) { border-left: 0; padding-left: 0; }
    .vhero-stats li { padding: 10px 12px; }
    .vhero { flex-direction: column; align-items: stretch; min-height: 0; }
    .vhero-inner { flex: 1; padding-top: 56px; padding-bottom: 36px; }
    .vhero-stats { position: relative; }
}
@media (prefers-reduced-motion: reduce) { .vhero-media video { display: none; } }
