:root {
    --glass-filter: blur(20px) saturate(1.75);
    --glass-light-fill: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.58) 0%,
        rgba(214, 194, 165, 0.38) 46%,
        rgba(214, 194, 165, 0.16) 100%
    );
    --glass-light-border: rgba(255, 248, 236, 0.62);
    --glass-light-text: #191817;
    --glass-light-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        inset 0 -1px 0 rgba(25, 24, 23, 0.12),
        0 10px 28px rgba(0, 0, 0, 0.22);
    --glass-dark-fill: linear-gradient(
        165deg,
        rgba(84, 76, 68, 0.78) 0%,
        rgba(28, 26, 24, 0.74) 100%
    );
    --glass-dark-border: rgba(214, 194, 165, 0.5);
    --glass-dark-text: #f2ede5;
    --glass-dark-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(0, 0, 0, 0.28),
        0 10px 28px rgba(11, 12, 14, 0.16);
}

.site-nav,
.site-footer,
.skip-link {
    --nav-bg: #191817;
    --nav-accent: #d6c2a5;
    --nav-text: #f2ede5;
    --nav-muted: rgba(242, 237, 229, 0.68);
    --nav-line: rgba(214, 194, 165, 0.22);
    --nav-space: clamp(1.25em, 3vw, 2.5em);
    font-size: 16px;
}

.skip-link {
    position: absolute;
    left: 1em;
    top: -4em;
    z-index: 40;
    padding: 0.6em 1em;
    background: var(--nav-accent);
    color: var(--nav-bg);
}

.skip-link:focus {
    top: 1em;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    min-height: 48px;
    padding: 0.7em 1.5em;
    border: 1px solid var(--glass-light-border);
    border-radius: 999px;
    background: var(--glass-light-fill);
    color: var(--glass-light-text);
    box-shadow: var(--glass-light-shadow);
    -webkit-backdrop-filter: var(--glass-filter);
    backdrop-filter: var(--glass-filter);
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.nav-cta::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 55%;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0)
    );
}

.nav-cta:hover {
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(214, 194, 165, 0.42) 100%
    );
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--glass-light-text);
}

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 1em var(--nav-space);
    background: linear-gradient(180deg, rgba(25, 24, 23, 0.72), transparent);
}

.site-nav.is-scrolled,
.site-nav.is-open {
    background: rgba(25, 24, 23, 0.94);
    border-bottom: 1px solid var(--nav-line);
}

.logo,
.footer-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img,
.footer-mark img {
    display: block;
    width: auto;
    height: 4.4em;
    background: none;
    filter:
        drop-shadow(0 0 0.6px rgba(25, 24, 23, 0.9))
        drop-shadow(0 0 0.6px rgba(242, 237, 229, 0.45))
        drop-shadow(0 2px 10px rgba(25, 24, 23, 0.4));
}

.footer-mark img {
    height: 3.4em;
}

.nav-toggle {
    width: 2.6em;
    height: 2.6em;
    padding: 0;
    border: 1px solid var(--nav-line);
    border-radius: 0;
    background: transparent;
    color: var(--nav-text);
    position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    width: 1.1em;
    height: 1px;
    background: var(--nav-text);
    margin: 0 auto;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: relative;
}

.nav-toggle-bar::before {
    top: -6px;
}

.nav-toggle-bar::after {
    top: 5px;
}

.site-menu {
    display: none;
    align-items: center;
    gap: 1.6em;
}

.site-menu a:not(.nav-cta) {
    font-size: 0.78em;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nav-muted);
    text-decoration: none;
}

.site-menu a:not(.nav-cta):hover,
.site-menu a[aria-current="page"]:not(.nav-cta) {
    color: var(--nav-text);
}

.site-nav.is-open .site-menu {
    display: flex;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25em var(--nav-space) 1.75em;
    background: rgba(25, 24, 23, 0.96);
    border-bottom: 1px solid var(--nav-line);
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
    padding: 2.5em var(--nav-space) 3em;
    background: var(--nav-bg);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em 1.35em;
}

.site-footer a {
    color: var(--nav-muted);
    font-size: 0.82em;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--nav-accent);
}

@media (min-width: 760px) {
    .nav-toggle {
        display: none;
    }

    .logo img {
        height: 5.1em;
    }

    .site-menu,
    .site-nav.is-open .site-menu {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        padding: 0;
        background: none;
        border: 0;
    }

    .site-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
