/* Explain: Minimal reset and typography for Darren Hall */
* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

[x-cloak] { display: none !important; }

::selection {
    background: var(--accent-color);
    color: var(--primary-color);
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

img,
svg {
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@keyframes gradient-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-gradient-bg {
    background-size: 200% 200%;
    animation: gradient-bg 8s ease infinite;
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
    animation: blob 10s infinite alternate;
}
.animation-delay-2000 {
    animation-delay: 2s;
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-up.is-visible,
.reveal-scale.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}