/* ==========================================================================
   Footer
   Two tiers: brand · navigation · social on top, the legal line below a
   thin divider across the full width.
   ========================================================================== */

.site-footer {
  background: var(--color-ink);
  color: var(--color-text-on-dark);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-8) var(--space-12);
  padding-block: var(--space-10) var(--space-6);
}

.site-footer__brand { display: flex; flex-direction: column; gap: var(--space-3); }

.site-footer__tagline { font-size: 1.0625rem; }

.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-8);
}

.footer-nav__list a { font-size: 1.0625rem; color: #FFFFFF; }
.footer-nav__list a:hover { color: var(--color-pink-soft); text-decoration: underline; }

/* 44px touch targets, but the icons themselves line up with the content edge */
.social { display: flex; gap: var(--space-2); margin-right: -9px; }

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  /*width: 44px;*/
  height: 44px;
  color: #FFFFFF;
}

.social a:hover { color: var(--color-pink); }
.social .icon { width: 26px; height: 26px; }

.site-footer__copy {
  grid-column: 1 / -1;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-small);
  color: var(--color-text-on-dark-muted);
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .site-footer__inner { grid-template-columns: 1fr auto; gap: var(--space-6) var(--space-8); }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; }
  .footer-nav__list { justify-content: flex-start; }
}

/* ---------- Mobile ---------- */
@media (max-width: 639px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding-block: var(--space-8) var(--space-5);
  }
  .footer-nav { grid-row: auto; }
  .footer-nav__list { gap: var(--space-2) var(--space-5); }
  .social { margin: 0 0 0 -9px; }
  .site-footer__copy { padding-top: var(--space-4); }
}
