/**
 * RSite — Site Header (thick glass chrome pill)
 * Depends on: base.css (variables, glass-card)
 *
 * Thick chrome pill header — glass blur, white/5 border,
 * black/15 background, shadow-lg. No gold accent in chrome.
 * Design tokens borrowed from StickerPanel strip and Composer input pill.
 */

/* ── Header container ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 6px 16px;
    background: rgba(9, 9, 9, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ── Brand — glass-pill like the input pill's left affordance ── */
.header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95em;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 0.5px solid var(--border-default);
    background: var(--surface-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.header-brand:hover {
    border-color: var(--border-bright);
    background: var(--surface-overlay-strong);
}

.header-brand-icon {
    font-size: 1.2em;
    line-height: 1;
    opacity: 0.6;
}

/* ── Nav — StickerPanel strip pattern ── */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-nav-link {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.82em;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.header-nav-link:hover {
    color: var(--text-primary);
    background: var(--surface-overlay);
}

.header-nav-link.active {
    color: var(--text-primary);
    background: var(--accent-glow-sm);
}

/* ── Actions — input pill right zone pattern ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-action-link {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.82em;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.header-action-link:hover {
    color: var(--text-primary);
    background: var(--surface-overlay);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .site-header {
        padding: 6px 12px;
    }

    .header-brand {
        font-size: 0.85em;
        padding: 4px 10px;
    }
}
