/* ===================================================================
   Zurl — Footer partial
   Pairs with views/partials/footer.ejs. Uses the --zurl-* tokens
   declared in header.css, so link header.css first.

   Everything is scoped under .site-footer to keep page stylesheets
   and the shared chrome from overwriting each other.
=================================================================== */

.site-footer {
  font-family: var(--zurl-font-body);
  background: var(--zurl-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 24px 28px;
}

.site-footer a { color: inherit; text-decoration: none; }
.site-footer svg { display: block; max-width: 100%; }
.site-footer p { margin: 0; }

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================== BRAND ===================== */
.site-footer .brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-footer .brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--zurl-gradient);
  color: #fff;
}

.site-footer .brand__name {
  font-family: var(--zurl-font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fff;
}

.site-footer__tagline {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===================== COLUMNS ===================== */
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__col h4 {
  font-family: var(--zurl-font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 4px;
}

.site-footer__col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  width: fit-content;
  transition: color var(--zurl-transition);
}
.site-footer__col a:hover { color: #fff; }

/* ===================== BOTTOM STRIP ===================== */
.site-footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-footer { padding: 48px 18px 24px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 420px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}
