/* ============================================================================
   SITE FOOTER — shared by every page, including articles under /insights/.
   Single source of truth: do not re-declare these rules inline on a page.
   Relies on the design tokens (--font-sans, --champagne, --ease) already
   defined in each page's token block.
   ============================================================================ */

.site-footer {
  padding: 34px 0;
  text-align: center;
  border-top: 1px solid rgba(234, 240, 238, 0.12);
}
.site-footer p {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(234, 240, 238, 0.42);
  margin: 0;
  padding: 0 20px;
}

.footer-badge {
  max-width: 180px;
  min-height: 90px;
  margin: 0 auto 18px;
}
.footer-badge > div { max-width: 100%; }

/* Link row. Each link carries its own 44px hit area, so the visible gap is
   set with margins rather than flex gap alone — that keeps the touch targets
   from overlapping when the row wraps. */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  margin: 0 0 16px;
  padding: 0 20px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 240, 238, 0.72);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--champagne); }

/* 44x44 hit area on every viewport; the mark itself stays 20px so the footer
   keeps its understated weight. */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0 0 6px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: rgba(234, 240, 238, 0.42);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.footer-social a:hover,
.footer-social a:focus-visible { color: var(--champagne); }
.footer-social svg { width: 20px; height: 20px; display: block; }

.footer-location { margin: 0 0 8px !important; }

@media (max-width: 760px) {
  /* keep a clear gap once the row wraps */
  .footer-links { gap: 12px 20px; }
}
