/* Site footer (markup in tools/footer.html, written into every page by tools/sync_footer.py).
   Its own file so the Nalanda and Angreal pages, which don't load site.css, share it too. */
.site-footer { text-align: left; color: var(--ink-soft); font-size: .95rem; padding: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.site-footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.site-footer .logo { display: inline-block; font-size: 1.9rem; color: var(--ink); }
.site-footer-brand p { margin: 18px 0 22px; color: var(--muted); font-size: .95rem; }
.site-footer-social { display: flex; gap: 12px; }
.site-footer-social a { width: 48px; height: 48px; border-radius: 50%; background: var(--line); color: var(--ink);
  display: grid; place-items: center; transition: background .15s ease, transform .15s ease; }
.site-footer-social a:hover { background: var(--coral); transform: translateY(-2px); }
.site-footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer-social svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.site-footer-col h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); margin: 8px 0 20px; letter-spacing: 0; }
.site-footer-col a { display: block; width: fit-content; margin-bottom: 14px; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.site-footer-col a:hover { color: var(--coral-deep); text-decoration-color: currentColor; }
.site-footer-notes { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 40px; color: var(--muted); font-size: .85rem; }
.site-footer-notes p { margin: 0 0 6px; max-width: none; }
@media (max-width: 860px) {
  .site-footer-main { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; padding-top: 44px; padding-bottom: 44px; }
  .site-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer-main { grid-template-columns: 1fr 1fr; }
}
