body {
    font-family: 'Source Sans 3', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 100;
    padding: 0.75rem 1.5rem;
    background: #0369A1;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.pulse-subtle {
    animation: pulse-subtle 2s ease-in-out infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Hero background with WebP support */
.hero-bg {
    background: url('../assets/hero-engine.jpg') center/cover;
    background-attachment: fixed;
}

.webp .hero-bg {
    background-image: url('../assets/hero-engine.webp');
}

/* Hero photo background overlay */
.hero-photo-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(51,65,85,0.75) 50%, rgba(15,23,42,0.85) 100%);
    z-index: 1;
}

.hero-photo-overlay > * {
    position: relative;
    z-index: 2;
}
