/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }

/* ── Scroll Animations ── */
.scroll-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf9f4; }
::-webkit-scrollbar-thumb { background: #e4d5c0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c4a882; }

/* ── Selection ── */
::selection { background: #f5c7a3; color: #7d3519; }

/* ── Header Scroll State ── */
#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

/* ── Gallery Strip Hover ── */
@media (hover: hover) {
    .group:hover .group-hover\:scale-105 { transform: scale(1.05); }
}

/* ── Focus Visible ── */
:focus-visible { outline: 2px solid #db7026; outline-offset: 2px; border-radius: 4px; }

/* ── Mobile Menu Transition ── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}
#mobile-menu.open {
    max-height: 300px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* ── Input Autofill ── */
input:-webkit-autofill, textarea:-webkit-autofill {
    box-shadow: 0 0 0 30px #fdf9ed inset !important;
    -webkit-text-fill-color: #44403c !important;
}
