/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--navbar-height, 4.25rem);
    background: var(--color-bg-primary, #0E1319);
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-border, rgba(112, 118, 138, 0.2));
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.nav-container {
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 var(--home-edge, clamp(1.25rem, 3.25vw, 2.15rem));
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary, #EDDBD9);
}

.nav-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.brand-title-logo {
    display: block;
    height: 55px;
    aspect-ratio: 806 / 310;
    background-color: currentColor;
    -webkit-mask-image: url('/logo-title.svg');
    mask-image: url('/logo-title.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    /* Fit full logo inside the box so nothing is clipped */
    -webkit-mask-size: contain;
    mask-size: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-secondary, #71768A);
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent, #71768A);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-text-primary, #EDDBD9);
    margin: 3px 0;
    transition: 0.3s;
}


