/* REMARK: Sticky top bar (js/ui/nav.js) and the footer (js/ui/footer.js). */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(21,21,20,.75); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--accent); }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav nav a:hover, .nav nav a.on { color: var(--ink); text-decoration: none; }
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 0 48px; color: var(--muted); font-size: .9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.footer a { color: var(--muted); }
.nav .narrow { display: none; }
@media (max-width: 640px) { .nav .wide { display: none; } .nav .narrow { display: inline; } }
