/* ── Base ── */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Nav scroll state ── */
nav.scrolled {
    background: rgba(253, 246, 238, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(192, 96, 58, 0.08);
}

/* ── Mobile menu open state ── */
.mobile-menu-open #mobile-menu {
    opacity: 1 !important;
    pointer-events: auto !important;
}
.mobile-menu-open #bar1 { transform: translateY(5px) rotate(45deg); }
.mobile-menu-open #bar2 { opacity: 0; }
.mobile-menu-open #bar3 { transform: translateY(-5px) rotate(-45deg); width: 6px; }

/* ── Focus visible ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Selection ── */
::selection { background: rgba(192, 96, 58, 0.15); }

/* ── Subtle hover lift for cards ── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .group img { transition: transform 0.5s ease; }
}

/* ── Scrollbar (subtle) ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF6EE; }
::-webkit-scrollbar-thumb { background: #E8CDB5; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C0603A; }
