html {
    scroll-behavior: smooth;
}

*:focus-visible {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Clip diagonal for hero image */
.clip-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}

@media (min-width: 1024px) {
    .clip-diagonal {
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Entrance animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: inherit;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-slide-up,
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .reveal.active {
        transition: none;
    }

    .animate-bounce {
        animation: none;
    }
}
