/* ── Base & Typography ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
    --plum-50: #faf5f7;
    --plum-100: #f5e8ee;
    --plum-200: #ebcdd9;
    --plum-300: #dbaabe;
    --plum-400: #c47a9a;
    --plum-500: #a8557a;
    --plum-600: #8b3d60;
    --plum-700: #6e2e4c;
    --plum-800: #4a1e33;
    --plum-900: #2d121e;
    --plum-950: #1a0a11;
    --amber-400: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    background-color: var(--plum-50);
    color: var(--plum-900);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-inter {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── Navigation ────────────────────────────────────────────── */
#navbar {
    background: transparent;
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(250, 245, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(219, 170, 190, 0.3);
}

.nav-logo {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber-500);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--plum-500);
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .reveal.revealed {
        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; }
}

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(245, 232, 238, 0.6) 0%, transparent 60%);
    pointer-events: none;
}

/* ── Menu Section ──────────────────────────────────────────── */
#menu .border-plum-200 {
    border-color: rgba(219, 170, 190, 0.5);
}

#menu .border-plum-200:last-child {
    border-bottom: none;
}

/* ── Footer ────────────────────────────────────────────────── */
footer a {
    transition: color 0.3s ease;
}

/* ── Utility ───────────────────────────────────────────────── */
::selection {
    background: var(--plum-200);
    color: var(--plum-900);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
}
