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

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

body {
    overflow-x: hidden;
}

/* ── NAV ── */
.nav {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

.nav.scrolled {
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

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

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

.nav.scrolled .nav-link {
    color: rgba(36, 32, 25, 0.7) !important;
}

.nav.scrolled .nav-link:hover {
    color: #d45732 !important;
}

/* ── MOBILE MENU ── */
.menu-line {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    transform: translateX(-50%);
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 5px;
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 11px;
}

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

.mobile-menu-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }

/* ── HERO ── */
.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(164, 150, 134, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line-fill {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d45732;
    animation: scrollDown 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ── BUTTONS ── */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(212, 87, 50, 0.06);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-secondary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* ── HERO CARDS ── */
.hero-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease;
}

.hero-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    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);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
    }

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

/* ── MENU ── */
.menu-card {
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    background: white;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.menu-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(212, 87, 50, 0.15);
}

.menu-item {
    padding: 0.25rem 0;
}

.menu-line {
    height: 1px;
    background: rgba(0, 0, 0, 0.04);
    margin-top: 0.5rem;
    transition: background 0.3s ease;
}

.menu-card:hover .menu-line {
    background: rgba(212, 87, 50, 0.08);
}

.menu-item:hover .menu-line {
    background: rgba(212, 87, 50, 0.2);
}

.menu-item:hover span:first-child {
    color: #d45732;
    transition: color 0.3s ease;
}

/* ── FORM ── */
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #d45732 !important;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #bfb5a7;
}

/* ── UTILITY ── */
::selection {
    background: rgba(212, 87, 50, 0.15);
    color: #39110b;
}

/* ── FOCUS VISIBLE ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d45732;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
    .font-serif.text-6xl {
        font-size: 3.5rem;
        line-height: 0.95;
    }

    .font-serif.text-5xl {
        font-size: 2.5rem;
    }

    .font-serif.text-4xl {
        font-size: 2rem;
    }

    .menu-card {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .font-serif.text-8xl {
        font-size: 5.5rem;
    }
}
