/* ── Custom overrides & micro-interactions ── */

/* Smooth focus visible for keyboard users */
*:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #b8d4b8;
    color: #193119;
}

/* Prevent horizontal scroll from animated blobs */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf6f0;
}
::-webkit-scrollbar-thumb {
    background: #8abb8a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5fa05f;
}

/* Subtle text shadow for hero readability */
.hero-gradient h1 {
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

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