/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background: #faf8f5;
    color: #1a2744;
    overflow-x: hidden;
}
.font-cormorant { font-family: 'Cormorant Garamond', serif; }
.font-outfit { font-family: 'Outfit', sans-serif; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Reveal Animation ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ─── Nav ─── */
#nav {
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 39, 68, 0.06);
    transition: box-shadow 0.4s ease;
}
#nav.scrolled {
    box-shadow: 0 4px 30px rgba(26, 39, 68, 0.08);
}

/* ─── Mobile Menu ─── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}
#bar1.open { transform: rotate(45deg) translate(5px, 5px); }
#bar2.open { opacity: 0; }
#bar3.open { transform: rotate(-45deg) translate(5px, -5px); width: 6px; }

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf8f5; }
::-webkit-scrollbar-thumb { background: #1a2744; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0f1a2e; }

/* ─── Selection ─── */
::selection { background: rgba(232, 196, 90, 0.3); }
