/* Google Material Symbols variation default settings */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Entrance Animations */
.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Scroll Hint Animation */
.scroll-hint {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Background Gradients */
.bg-mesh {
    background-color: #faf9f6;
    background-image: radial-gradient(at 0% 0%, hsla(273,67%,95%,1) 0, transparent 50%), 
                      radial-gradient(at 50% 0%, hsla(273,67%,98%,1) 0, transparent 50%), 
                      radial-gradient(at 100% 0%, hsla(273,67%,95%,1) 0, transparent 50%);
}

/* Base Body Styles */
body {
    min-height: max(884px, 100dvh);
}

/* Match the visible viewport on desktop and mobile, including mobile browser chrome. */
.hero-section {
    height: 100vh;
    height: 100dvh;
}

.hero-video-frame {
    background: #000;
}

.hero-video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    filter: blur(25px) brightness(0.68);
    pointer-events: none;
}

.hero-video-foreground {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 1 auto;
    width: auto;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    object-fit: contain;
    background: transparent;
}

/* Keep the primary video action visible without hiding native controls. */
.video-play-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    place-items: center;
    color: #2e0052;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
    cursor: pointer;
}

.video-play-button:hover {
    background: #ffffff;
    transform: translate(-50%, -50%) scale(1.06);
}

.video-play-button:focus-visible {
    outline: 3px solid #f0dbff;
    outline-offset: 4px;
}

.video-play-button.is-hidden {
    opacity: 0;
    pointer-events: none;
}