:root {
    --header-height: 80px;
}

.site-header {
    width: 100%;
    background-image: linear-gradient(to right, #ffffff 80%, #000000 0%); /* White dashed line */
    background-repeat: repeat-x;
    background-position: 0 var(--header-height);
    background-size: 30px 2px; /* 30px wide, 2px height */
    padding-bottom: 6px; /* This allows the 2px line to be visible. */
    /* Total height of the header is var(--header-height) + padding-bottom */
    font-family: "Courier New", Courier, monospace;
}

.site-header .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    height: 70px;
    padding: 4px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    /* Ensure the brand text and logo use the white color */
    color: #ffffff;
}

.site-header .brand-logo {
    height: 74px;
    width: auto;
    display: block;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Nav */
.site-header .nav {
    display: flex;
    gap: 12px;
    /* Nav container stretches to the full height as well */
    height: 100%;
}

.site-header .nav-link {
    color: #dddddd;
    text-decoration: none;

    /* Remove vertical padding, keep horizontal padding */
    padding: 0 8px;

    /* Make the link a flex item and center the text */
    display: flex;
    align-items: center;

    /* Make the element stretch to fill the height of its parent (.header-inner) */
    align-self: stretch;

    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header .brand-logo:hover,
.site-header .brand-logo:focus-visible,
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    background-color: #1e1e1e;
    color: #ffffff;
    outline: 3px dashed white;
}

@media (max-width: 520px) {
    .site-header .brand-name {
        font-size: 1rem;
    }

    .site-header .nav {
        gap: 8px;
    }

    .site-header .nav-link {
        padding: 6px 6px;
    }
}
