.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--space-xl);
    background-color: rgb(var(--color-surface-white));
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
}

.header__left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text-primary);
}

.header__logo img {
    height: 24px;
    width: auto;
}

.header__brandName {
    font-family: var(--font-family-display);
    font-size: 1.25em;
    font-weight: 400;
    white-space: nowrap;
}

.header__center {
    display: flex;
    align-items: center;
}

.header__center .menu__items {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-lg);
}

.header__center .menu__item {
    display: inline-flex;
}

.header__center .menu__link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.header__center .menu__link:hover {
    color: var(--color-text-primary);
}

.header__center .menu__item--active .menu__link {
    color: var(--color-text-primary);
    font-weight: 500;
}

.header__center .menu__label {
    display: inline;
}

.header__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    gap: var(--space-xs);
}

.header__menuToggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-primary);
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .header {
        padding: 0 var(--space-md);
    }

    .header__center {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: rgb(var(--color-surface-white));
        border-bottom: 1px solid var(--color-border-light);
        padding: var(--space-md);
        z-index: 100;
    }

    .header__center--open {
        display: flex;
    }

    .header__center .menu__items {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header__center .menu__item {
        display: flex;
    }

    .header__center .menu__link {
        padding: var(--space-sm) 0;
        font-size: var(--text-md);
        width: 100%;
    }

    .header__menuToggle {
        display: flex;
    }
}
