/* SEMC homepage hero video (load after styles.css) */

.hero--video {
    --hero-aspect: auto;
    aspect-ratio: auto;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    height: 100vh;
    height: 100svh;
    margin-top: 0;
    z-index: 1;
}

.hero--video .hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    transform: scale(1.06) translateY(-1.5%);
    display: block;
    background: #061428;
}

.hero-overlay--video {
    background:
        linear-gradient(180deg,
            rgba(6, 20, 40, 0.05) 0%,
            rgba(6, 20, 40, 0.01) 32%,
            rgba(6, 20, 40, 0.22) 68%,
            rgba(6, 20, 40, 0.82) 100%),
        radial-gradient(ellipse 95% 55% at 50% 22%, transparent 0%, rgba(6, 20, 40, 0.12) 100%);
}

.hero--video::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 120px rgba(6, 20, 40, 0.35);
}

.hero--video::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    z-index: 12;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.85;
}

.hero-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 0.55rem;
    z-index: 25;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem 0;
    max-width: min(92vw, 34rem);
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    transition: transform var(--transition-base);
}

.hero-scroll-hint__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
    animation: heroScrollBounce 2.1s ease-in-out infinite;
}

.hero-scroll-hint__arrow svg {
    width: clamp(2.75rem, 7vw, 3.65rem);
    height: clamp(2.75rem, 7vw, 3.65rem);
    stroke-width: 2.35;
}

.hero-scroll-hint__headline {
    margin: 0.15rem 0 0;
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.05rem, 2.4vw, 1.55rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.hero-scroll-hint__label {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-scroll-hint__track {
    position: relative;
    width: 2px;
    height: 34px;
    margin-top: 0.35rem;
    border-radius: var(--radius-full);
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.85), rgba(255, 193, 7, 0.08));
    overflow: hidden;
}

.hero-scroll-hint__track-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.75);
    animation: heroScrollTrackDot 2.1s ease-in-out infinite;
}

.hero-scroll-hint:hover,
.hero-scroll-hint:focus-visible {
    transform: translateX(-50%) translateY(3px);
    outline: none;
}

.hero-scroll-hint:hover .hero-scroll-hint__headline,
.hero-scroll-hint:focus-visible .hero-scroll-hint__headline {
    color: var(--accent);
}

.hero-scroll-hint:hover .hero-scroll-hint__label,
.hero-scroll-hint:focus-visible .hero-scroll-hint__label {
    color: rgba(255, 255, 255, 1);
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes heroScrollTrackDot {
    0%, 100% { top: 0; opacity: 0.35; }
    50% { top: calc(100% - 6px); opacity: 1; }
}

@media (max-width: 767px) {
    .hero-scroll-hint {
        bottom: 0.4rem;
        gap: 0.28rem;
    }

    .hero-scroll-hint__headline {
        font-size: clamp(0.95rem, 4.5vw, 1.2rem);
    }

    .hero-scroll-hint__label {
        font-size: 0.66rem;
        letter-spacing: 0.14em;
    }

    .hero-scroll-hint__track {
        height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-hint__arrow,
    .hero-scroll-hint__track-dot {
        animation: none;
    }

    .hero--video .hero-video {
        display: none;
    }

    .hero--video .hero-media {
        background: #061428 center / cover no-repeat;
    }
}

body.has-hero-video .semc-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: transparent;
    box-shadow: none;
}

body.has-hero-video.splash-active .semc-site-header {
    visibility: hidden;
    pointer-events: none;
}

body.has-hero-video .semc-top-bar {
    background: linear-gradient(90deg, var(--navy-dark), var(--navy));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.has-hero-video .semc-brand-bar {
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

body.has-hero-video .semc-nav-bar {
    background: linear-gradient(180deg, rgba(18, 52, 95, 0.34), rgba(10, 31, 61, 0.38));
    backdrop-filter: blur(8px) saturate(1.08);
    -webkit-backdrop-filter: blur(8px) saturate(1.08);
    border-bottom: 1px solid rgba(255, 193, 7, 0.18);
}

body.has-hero-video .semc-site-header.is-scrolled {
    box-shadow: 0 12px 40px rgba(6, 20, 40, 0.28);
}

body.has-hero-video .semc-site-header.is-scrolled .semc-nav-bar {
    background: linear-gradient(180deg, var(--navy-light), var(--navy));
    backdrop-filter: none;
}

body.has-hero-video .semc-top-bar-inner {
    min-height: 42px;
    padding: 0.22rem 0.9rem;
    gap: 0.45rem;
}

body.has-hero-video .semc-top-ticker {
    min-height: 32px;
    padding: 0.12rem 0.32rem 0.12rem 0.18rem;
    gap: 0.4rem;
}

body.has-hero-video .semc-ticker-label {
    padding: 0.24rem 0.52rem 0.24rem 0.42rem;
    font-size: 0.6rem;
}

body.has-hero-video .semc-ticker-item {
    font-size: 0.82rem;
    gap: 0.45rem;
    padding: 0.08rem 2.1rem 0.08rem 0;
}

body.has-hero-video .semc-ticker-icon {
    width: 22px;
    height: 22px;
}

body.has-hero-video .semc-ticker-date {
    font-size: 0.72rem;
    padding: 0.12rem 0.48rem;
}

@media (max-width: 991px) {
    body.has-hero-video .semc-top-bar-inner {
        min-height: 38px;
        padding: 0.18rem 0.65rem;
    }

    body.has-hero-video .semc-top-ticker {
        min-height: 28px;
    }
}
