#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#mainNav.scrolled {
    background: rgba(250, 247, 242, 0.96);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 24px rgba(92, 61, 46, 0.07);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-display), serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--brown);
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.nav-brand span {
    display: block;
    font-size: 0.65rem;
    font-family: var(--font-body), serif;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body), serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mid);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--terracotta);
}

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

.nav-cta {
    background: var(--terracotta) !important;
    color: #fff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--terracotta-dark) !important;
    transform: translateY(-1px);
}

/* Mobile hamburger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brown);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-display), serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--brown);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--terracotta);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: flex;
    }
}