/* Fixed navigation remains transparent until the page scrolls. */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    background: transparent;
    border-bottom-color: transparent;
    transition: background 280ms ease, box-shadow 280ms ease, border-color 280ms ease, backdrop-filter 280ms ease;
}
.header.is-scrolled {
    background: rgba(255, 255, 255, .87);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: rgba(5, 84, 135, .1);
    box-shadow: 0 6px 28px rgba(7, 27, 61, .07);
}
.header-row { min-height: 72px; gap: 18px; }
.header .brand { flex-basis: 130px; }
.header .brand img { width: 130px; height: 56px; }
.header-tools .button.small { min-height: 40px; padding: 8px 12px; }
main { padding-top: 72px; }
main:has(.hero-video) { padding-top: 0; }
.skip { z-index: 50; }
.hero-video {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 480px;
    min-height: min(640px, 78svh);
    padding: 120px 0 48px;
    overflow: hidden;
    background: #055487 url('/media/hero-poster.jpg') center / cover no-repeat;
}
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.hero-content { text-align: start; }
.hero-video h1 {
    color: #fff;
    font-size: clamp(18px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0;
    white-space: nowrap;
    margin: 0 0 36px;
    text-shadow: 0 2px 14px rgba(7, 27, 61, .2);
}
html[lang="en"] .hero-video h1 { font-size: clamp(12px, 2.3vw, 36px); }
.hero-video .hero-actions {
    margin: 0;
    justify-content: flex-start;
    gap: 16px;
}
.hero-video .hero-actions .button {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 14px;
    color: var(--primary);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 4px 18px rgba(7, 27, 61, .08);
}
.hero-video .hero-actions .button.outline {
    color: #fff;
    background: rgba(5, 84, 135, .25);
    border-color: rgba(255, 255, 255, .85);
}
.hero-video .hero-actions .button:hover {
    color: var(--primary);
    background: #fff;
    transform: translateY(-2px);
}
.hero-video .button:focus-visible { outline-color: white; }
@media (max-width: 800px) {
    .header-row { min-height: 64px; gap: 12px; }
    .header .brand { flex-basis: 110px; }
    .header .brand img { width: 110px; height: 48px; }
    main { padding-top: 64px; }
    .hero-video { min-height: 440px; min-height: min(540px, 75svh); padding: 110px 0 40px; }
    .hero-video h1 { margin-bottom: 28px; }
    .hero-video .hero-actions { gap: 12px; }
    .hero-video .hero-actions .button { font-size: 11px; padding: 10px 16px; flex-grow: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .header { transition: none; }
    .hero-background { display: none; }
}
