/* The site footer, on every page. */

/* ── Footer ──────────────────────────────────────────────────────────────── */

/* Seated in the shell's reading column, under the article (the template says
   why). A wide page with no outline widens both (navigation.css). The shell owns the
   page's width and side padding. */
.site-footer {
  grid-column: 2;
  padding: 1rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* The brand sits before this grid so it does not keep empty columns alive. */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}

.footer-brand p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.footer-cols nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-cols h2 {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-cols a {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-cols a:hover {
  color: var(--accent-ink);
}

.footer-legal {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
}
