.navbar {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 28px;
    padding-right: 24px;
}

.header {
    margin-bottom: 4px;
    color: #1d1d1fc7;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.025em;
    font-style: uppercase !important;
    text-decoration: none;
    cursor: pointer;
}

.header:active {
    text-decoration: none;
}

.logo-colon {
    display: inline-block;
    font-weight: 800;
    transform: translateY(-0.11em) scale(1.08);
}

.sub-navbar {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.mobile-only {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: #6a6a6a;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: lowercase;
    padding-left: 14px;
    position: relative;
    transition: color 0.28s ease, opacity 0.28s ease;
    letter-spacing: -0.02em;
}

.nav-link.active {
    color: #1a1a1a;
}

.nav-button {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.subsection2 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mobile-name {
    display: none;
}

@media (max-width: 640px) {
    .desktop-name {
        display: none;
    }

    .mobile-name {
        display: inline;
        font-weight: 650;
        letter-spacing: -0.045em;
    }

    .header {
        font-size: clamp(2rem, 7vw, 2.75rem);
        line-height: 0.95;
        margin-bottom: 0;
    }

    .mobile-only {
        display: list-item;
    }

    .navbar {
        margin-left: auto;
        padding-right: 0;
        align-items: flex-start;
    }

    .sub-navbar {
        width: 82px;
        height: 54px;
        padding: 6px 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 2px;
        overflow: hidden;
        text-align: right;
    }

    .nav-link {
        display: block;
        padding-left: 0;
        font-size: 0.88rem;
        line-height: 1.05;
        color: rgba(0, 0, 0, 0.34);
        transition: color 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
    }

    .nav-link.active {
        color: rgba(0, 0, 0, 0.82);
        font-weight: 600;
    }

    .nav-link.is-prev,
    .nav-link.is-next {
        color: rgba(0, 0, 0, 0.38);
        font-weight: 500;
    }

    .nav-link.is-hidden-mobile {
        display: none;
    }

    .logo-colon {
        transform: translateY(-0.12em) scale(1.12);
    }

    .subsection2 {
        height: auto;
        min-height: 100%;
        display: block;
        overflow: visible;
    }
}