/* Shared footer layout, loaded after the main stylesheet. */
footer.site-footer {
  padding: 48px max(5%, calc((100vw - 1360px) / 2)) 26px;
  border-top: 1px solid #ffffff14;
  background: #141019;
}
.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(2, minmax(180px, 1fr));
  gap: 48px;
  padding-bottom: 36px;
}
.site-footer .footer-brand .logo { margin-bottom: 16px; }
.site-footer .footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.site-footer .footer-heading {
  margin: 3px 0 16px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.site-footer .footer-nav { display: grid; gap: 2px; }
.site-footer .footer-nav a {
  width: fit-content;
  max-width: 100%;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.site-footer .footer-nav a:hover { color: var(--lime); }
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 32px;
  padding-top: 22px;
  border-top: 1px solid #ffffff18;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.site-footer .footer-bottom span:last-child { text-align: right; }
@media (max-width: 800px) {
  .site-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  footer.site-footer { padding: 36px 5% 24px; }
  .site-footer .footer-main { gap: 26px 20px; padding-bottom: 28px; }
  .site-footer .footer-nav a { font-size: 12px; }
  .site-footer .footer-bottom { flex-direction: column; gap: 8px; }
  .site-footer .footer-bottom span:last-child { text-align: left; }
}
