/* ══ HEADER ══ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 16, 24, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-bar {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-logo:hover {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--accent-subtle);
}

.nav-links a.active {
    color: var(--accent);
    background: var(--accent-subtle);
}

/* ══ MOBILE NAV ══ */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: all 0.3s var(--ease-out);
}

/* ══ FOOTER ══ */
.site-footer {
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 2rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-sig {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: color 0.2s var(--ease-out);
}

.footer-icon:hover {
    color: var(--accent);
}
