/* ============================================================
   Resonant System v2 — Footer
   Desktop: brand left, links right, copy below
   Mobile (<640px): brand hidden, links centered, tighter padding
   ============================================================ */

footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3rem 3rem;
}
@media (max-width: 640px) {
  footer { padding: 1.5rem 1.5rem 1.5rem; }
}

footer .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hairline);
}

footer .brand {
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: var(--heading);
}

footer .footer-links {
  display: flex;
  gap: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}
footer .footer-links a { color: var(--muted); }
footer .footer-links a:hover { color: var(--accent); }

footer .copy {
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  footer .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding-top: 1.25rem;
  }
  footer .brand { display: none; }
  footer .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }
  footer .copy {
    text-align: center;
    margin-top: 0.85rem;
  }
}
