.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(247, 243, 237, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.5s ease;
}

.site-header--scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

/* Logo */
.site-header__logo img {
    height: 3.5rem;
    width: 3.5rem;
    object-fit: contain;
    display: block;
}

/* Desktop nav */
.site-header__nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .site-header__nav {
        display: flex;
    }
}

.site-header__nav .nav-link {
    color: var(--color-fg);
}

/* Mobile controls */
.site-header__mobile-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .site-header__mobile-controls {
        display: none;
    }
}

/* Hamburger button */
.site-header__hamburger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-fg);
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__hamburger svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Mobile drawer */
.nav-mobile {
    display: none;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg);
    animation: fade-in 0.2s ease-out;
}

.nav-mobile.nav-mobile--open {
    display: block;
}

@media (min-width: 1024px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-mobile__inner {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 0.25rem;
}

.nav-mobile__inner .nav-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(35, 27, 16, 0.08);
    color: var(--color-fg);
}

.nav-mobile__inner .nav-link:last-of-type {
    border-bottom: none;
}

.nav-mobile__inner .btn-primary {
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
}

/* Body padding for fixed header */
main {
    padding-top: 5rem;
}

/* Admin bar offset — shift fixed header down so it doesn't overlap */
.admin-bar .site-header {
    top: 32px;
}

.admin-bar main {
    padding-top: calc(5rem + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar main {
        padding-top: calc(5rem + 46px);
    }
}
