nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: var(--nav-h);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    transition: background .3s
}

nav.scrolled {
    background: rgba(255, 255, 255, .97)
}

.n-logo {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .04em;
    text-decoration: none;
    flex-shrink: 0
}

.n-links {
    display: flex;
    align-items: center;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.n-links li {
    position: relative
}

.n-links a {
    display: block;
    padding: 0 11px;
    height: var(--nav-h);
    line-height: var(--nav-h);
    font-size: 12px;
    color: var(--ink3);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap
}

.n-links a:hover {
    color: var(--ink)
}

.n-links li:hover .ndrop {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0)
}

.ndrop {
    position: absolute;
    top: calc(var(--nav-h)+1px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--ink5);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s, transform .18s;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
    list-style: none
}

.ndrop a {
    display: block;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--ink3);
    text-decoration: none;
    height: auto;
    line-height: 1.4
}

.ndrop a:hover {
    color: var(--gold);
    background: var(--gp)
}

.n-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.n-back {
    color: var(--ink2);
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px
}

.n-book {
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 99px;
    padding: 0 16px;
    height: 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap
}

.n-book:hover {
    background: var(--ink2);
    color: #fff;
    text-decoration: none
}

.ham {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 4.5px
}

.ham span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .25s
}

.mob {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ink4);
    padding: 16px 20px 24px;
    z-index: 299;
    flex-direction: column;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08)
}

.mob.on {
    display: flex
}

.mob a {
    font-size: 15px;
    color: var(--ink2);
    padding: 11px 0;
    border-bottom: 1px solid var(--ink5);
    text-decoration: none
}

.mob-cta {
    margin-top: 16px;
    background: var(--ink);
    color: #fff !important;
    text-align: center;
    padding: 13px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    display: block;
    border-bottom: none !important
}

@media(max-width:1024px) {
    .n-links {
        display: none
    }

    .ham {
        display: flex
    }
}

.mob-item {
    border-bottom: 1px solid #eee;
}

.mob-link {
    font-size: 15px;
    padding: 12px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.mob-link::after {
    content: '+';
    font-size: 16px;
}

.mob-item.active .mob-link::after {
    content: '-';
}

.mob-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 10px;
}

.mob-item.active .mob-sub {
    max-height: 200px;
}

.mob-sub a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}