/* ─── STICKY HEADER + NAV ─── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad-x);
    background: rgba(14, 14, 14, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(200, 168, 75, 0.1);
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    line-height: 1;
    min-width: 0;
    overflow: hidden;
}

.site-header .brand img,
.site-header .brand svg {
    height: 30px;
    width: auto;
    display: block;
}

.site-header .brand .wordmark {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: 1.26rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.005em;
    white-space: nowrap;
    line-height: 1;
    font-style: italic;
}

.site-header .brand .wordmark::before {
    content: '— ';
    color: rgba(200, 168, 75, 0.55);
    margin-right: 0.15em;
}

@media (max-width: 1024px) {
    .site-header .brand .wordmark { display: none; }
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.25rem);
}

.nav a {
    position: relative;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav a:hover { color: var(--cream); }

.nav a.is-active {
    color: var(--gold);
}

.nav a.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
}

.nav .lock {
    margin-left: 0.4em;
    font-size: 0.7em;
    opacity: 0.6;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--cream);
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--cream);
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

.nav-toggle.is-open span                   { background: transparent; }
.nav-toggle.is-open span::before           { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after            { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(14, 14, 14, 0.96);
        backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1.5rem var(--pad-x) 2rem;
        border-bottom: 1px solid rgba(200, 168, 75, 0.1);
        transform: translateY(-110%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
    }
    .nav.is-open {
        transform: translateY(0);
        visibility: visible;
        transition: transform 0.3s ease, visibility 0s;
    }
    .nav a { padding: 0.85rem 0; width: 100%; }
}

/* ─── FOOTER ─── */

footer.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(34, 33, 31, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid rgba(200, 168, 75, 0.1);
    padding: 0.55rem var(--pad-x);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
}

.footer-brand {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 0.95rem;
    color: var(--gold);
    line-height: 1;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.footer-links a {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.copyright {
    font-size: 0.66rem;
    color: rgba(245, 240, 232, 0.35);
    letter-spacing: 0.08em;
    line-height: 1;
}

