:root {
    --green: #1b4332;
    --white: #ffffff;
    --site-header-height: clamp(4.35rem, 11vh, 5.75rem);
}

html {
    scroll-padding-top: var(--site-header-height);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: var(--site-header-height);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.site-header .header-row {
    height: 100%;
    align-items: center;
    margin-bottom: 0;
    padding: 0 clamp(1.75rem, 5vw, 4.5rem);
    box-sizing: border-box;
}

.header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(0.75rem, 2vh, 1.75rem);
    flex-wrap: wrap;
    row-gap: 1rem;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex: 0 0 auto;
}

.brand__mark-img {
    display: block;
    height: clamp(42px, 6.75vmin, 72px);
    width: auto;
    max-width: min(260px, 62vw);
    object-fit: contain;
    object-position: left top;
}

.nav-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: clamp(0.85rem, 2vw, 1.35rem);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1.35rem);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: clamp(0.9625rem, 1.5vw, 1.0475rem);
    font-weight: 500;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.35rem;
}

.nav-links a:hover {
    opacity: 0.75;
}

.nav-links a[aria-current="page"] {
    font-weight: 700;
}

.nav-links a.nav-links__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.05rem;
    margin: -0.12rem 0;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-weight: 600;
    transition:
        background-color 0.18s ease,
        opacity 0.18s ease;
}

.nav-links a.nav-links__cta:hover {
    opacity: 1;
    background: #143628;
}

.nav-links a.nav-links__cta:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    opacity: 1;
}

.nav-links__item--admin,
.nav-links__item--location,
.nav-links__item--notices {
    display: inline-flex;
    align-items: center;
    margin-left: 0;
}

.nav-links__item--admin,
.nav-links__item--notices {
    padding-left: clamp(0.75rem, 1.5vw, 1.35rem);
    border-left: 1px solid rgba(27, 67, 50, 0.28);
}

.nav-links li:has(> a.nav-links__cta) + .nav-links__item--location {
    padding-left: clamp(0.75rem, 1.5vw, 1.35rem);
    border-left: 1px solid rgba(27, 67, 50, 0.28);
}

.nav-links__item--admin a {
    color: #b42318;
    font-weight: 500;
}

.nav-links__item--admin a:hover {
    opacity: 0.78;
    color: #912018;
}

.nav-links__item--admin a:focus-visible {
    outline: 2px solid #b42318;
    outline-offset: 3px;
    opacity: 1;
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0.42rem;
    border: none;
    background: transparent;
    color: var(--green);
    cursor: pointer;
    border-radius: 8px;
    transition:
        background-color 0.18s ease,
        opacity 0.18s ease;
}

.nav-lang:hover {
    opacity: 0.82;
    background: rgba(27, 67, 50, 0.07);
}

.nav-lang:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    opacity: 1;
}

.nav-lang__icon {
    width: 1.375rem;
    height: 1.375rem;
    display: block;
}

.site-chrome-layout {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.site-chrome-main {
    flex: 1 1 auto;
    padding-top: var(--site-header-height);
}

.site-footer {
    width: 100%;
    background: var(--green);
    color: rgba(255, 255, 255, 0.94);
    padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 4.75rem)
        clamp(2rem, 4.5vw, 2.75rem);
    box-sizing: border-box;
}

.site-chrome-layout .site-footer {
    margin-top: auto;
}

.site-footer__inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: start;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.site-footer__brand-mark {
    width: clamp(7rem, 18vw, 9.25rem);
    height: auto;
    flex-shrink: 0;
    opacity: 0.96;
}

.site-footer__brand-text {
    margin: 0;
    font-size: clamp(0.8125rem, 1vw, 0.8875rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    max-width: 18rem;
}

.site-footer__nav {
    flex-shrink: 0;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem clamp(1rem, 2vw, 1.35rem);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: clamp(0.8125rem, 1vw, 0.8875rem);
    font-weight: 600;
}

.site-footer__links a:hover {
    opacity: 0.78;
}

.site-footer__links a[aria-current="page"] {
    opacity: 0.92;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__bottom {
    padding-top: clamp(1.35rem, 2.75vw, 1.75rem);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.7825rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__legal a:hover {
    opacity: 0.85;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.7825rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-height: 680px) {
    :root {
        --site-header-height: clamp(3.75rem, 10vh, 4.75rem);
    }

    .brand__mark-img {
        height: clamp(32px, 5vmin, 56px);
    }
}
