/* Header - Mobile First */
header {
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}
header .container {
    padding:0;
}
header .container  .inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding:1rem;
}

.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
    width: 126px; /* 551/175 * 40 = ~126px to maintain aspect ratio */
    aspect-ratio: 551 / 175; /* Preserve original aspect ratio - prevents layout shift */
    object-fit: contain;
    object-position: left center;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle svg {
    width: 2rem;
    height: 2rem;
    fill: var(--text-darkest);
}
.menu-toggle span {
    font-size: 0.65rem;
    color: var(--text-darkest);
    margin-top:-0.25rem;
    text-transform: uppercase;
}

nav {
    height:0;
    overflow: hidden;
    transition: height 0.3s ease;
}
nav.active {
    height:300px;
    overflow: auto;
}
nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    margin: 0;
}
nav ul li a {
    text-decoration: none;
    font-size: 1.0rem;
    color: var(--text-darkest)
}
nav ul li {
    margin: 0;
    padding: 0;
    text-indent: 0;
}
@media (min-width: 1025px) {
    .menu-toggle {
        display: none;
    }
    nav {
        height: auto;
        overflow: visible;
    }
    header .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    header .container  .inner{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    nav ul {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
}