/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: #2a1a2c;
    color: #ece0ee;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

/* ── Navigation ── */
#nav {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

#nav.scrolled {
    background: rgba(42, 26, 44, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(91, 58, 92, 0.3);
}

#menu-icon-close {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

/* ── Hero ── */
.hero-eyebrow {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-headline {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Floating Cards ── */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ── Scroll Line ── */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 48px; }
    50% { opacity: 0.8; height: 64px; }
}

/* ── CTA Buttons ── */
.cta-primary {
    border-radius: 2px;
    letter-spacing: 0.2em;
}

.cta-secondary {
    border-radius: 2px;
    letter-spacing: 0.2em;
}

/* ── Section Eyebrow ── */
.section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #D4A84B;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ── Reveal Animations ── */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5) { transition-delay: 0.4s; }

/* ── Menu Items ── */
.menu-item {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(91, 58, 92, 0.3);
    transition: padding-left 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item:hover {
    padding-left: 8px;
}

.menu-item:hover .font-serif {
    color: #D4A84B;
    transition: color 0.3s ease;
}

/* ── Input Fields ── */
.input-field {
    width: 100%;
}

.input-field:focus ~ label,
.input-field:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 10px;
    color: #D4A84B;
}

.input-field:focus {
    border-bottom-color: #D4A84B;
}

/* ── Mobile Menu ── */
#mobile-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-link {
    transition: opacity 0.4s ease;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-headline br {
        display: none;
    }

    #hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .floating-card {
        display: none;
    }

    .menu-item:hover {
        padding-left: 0;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .floating-card {
        display: none;
    }
}

/* ── Selection ── */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #f7f3f8;
}
