@font-face {
    font-family: 'NavigationGrotesque';
    src: url('../fonts/Bricolage-Grotesque.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root { --site-header-height: 70px; }

.site-header {
    box-sizing: border-box;
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    height: var(--site-header-height);
    padding-inline: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    font: 400 17px/1.6 'NavigationGrotesque', sans-serif;
    font-variation-settings: 'wdth' 100;
}

.site-header-logo { display: block; flex: 0 0 150px; width: 150px; margin-inline-start: 20px; }
.site-header-logo img { display: block; width: 100%; height: auto; }

.site-header-links {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0 50px 0 0;
    list-style: none;
}

.site-header-links a {
    display: block;
    color: #181d21;
    font: inherit;
    text-decoration: none;
}

.site-header-links a:is(:hover, [aria-current]) { color: #000; }
.site-header-links a span { position: relative; display: inline-block; padding-bottom: 1px; }

.site-header-links a span::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform .7s cubic-bezier(.18, .83, .27, 1);
}

.site-header-links a:is(:hover, :focus-visible) span::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@media (max-width: 1023px) {
    .site-header-logo { flex-basis: 120px; width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-header-links a span::after { transition: transform 320ms linear; }
}
