/* ============================================================
   Navbar — editorial fashion-house bar
   Sticky top, thin, all-caps serif logo + spaced sans links.
   ============================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-overlay);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
    z-index: 300;
}

.navbar .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-h);
}

.navbar .nav-logo {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--text-strong);
    letter-spacing: -0.01em;
    line-height: 1;
}

.navbar .nav-menu {
    display: flex;
    align-items: center;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    padding: 0;
    margin: 0;
}

.navbar .nav-divider {
    width: 1px;
    height: 14px;
    background: var(--line-strong);
    margin: 0 32px;
    opacity: 0.5;
}

.navbar .nav-links a {
    position: relative;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: var(--ls-cap);
    transition: color 0.3s ease;
    padding: 6px 0;
}

.navbar .nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--text-strong);
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: var(--text-strong);
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    left: 0;
    width: 100%;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 301;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text-strong);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — full-screen editorial drawer */
.nav-menu-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 0;
    margin: 0;
}

.nav-menu-mobile.open {
    opacity: 1;
    visibility: visible;
}

.nav-menu-mobile .nav-links {
    flex-direction: column;
    gap: 0;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav-menu-mobile .nav-links a {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-soft);
    text-transform: none;
    letter-spacing: -0.01em;
    padding: 14px 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu-mobile .nav-links a:hover,
.nav-menu-mobile .nav-links a.active {
    color: var(--text-strong);
    font-style: italic;
}

.nav-menu-mobile .nav-divider {
    width: 60px;
    height: 1px;
    background: var(--line-strong);
    margin: 18px 0;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .navbar .nav-menu { display: none !important; }
    .nav-hamburger { display: flex; }
    .nav-menu-mobile { display: flex; }
}

@media (max-width: 768px) {
    .navbar .nav-content {
        height: 60px;
    }
    .navbar .nav-logo { font-size: 1.2rem; }
}
