/* ── Luma site · layout: nav + footer ────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 26px;
  padding: 18px 32px; max-width: calc(var(--maxw) + 64px); margin: 0 auto;
  transition: padding 0.3s ease;
}
.nav::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 100vw; z-index: -1;
  background: rgba(244, 245, 247, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; opacity: 0; transition: opacity 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled::before { opacity: 1; border-bottom-color: var(--border); }
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color 0.18s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; border-radius: 2px; background: var(--accent); transition: width 0.22s var(--ease); }
.nav-links a:hover { color: var(--accent-ink); }
.nav-links a:hover::after { width: 100%; }

.footer { border-top: 1px solid var(--border); padding: 56px 0 36px; background: var(--card); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-size: 14px; color: var(--ink-soft); transition: color 0.18s ease; }
.footer-links a:hover { color: var(--accent-ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent-ink); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .footer-bottom { flex-direction: column; }
}
