/* The site footer, shared by every page (markup: partials/footer.html).
   Brand beside four link columns, then the legal line. The columns reflow
   from four across to two to one as the page narrows. Self-contained: its
   own colours and fonts (Manrope, JetBrains Mono, Geist for the wordmark),
   so it looks the same on any page. */
.site-footer {
  --footer-ink: #241f19;
  --footer-muted: #605648;
  --footer-line: rgb(36 31 25 / 0.2);
  --footer-line-light: rgb(36 31 25 / 0.14);
  --footer-mono: 'JetBrains Mono', ui-monospace, monospace;
  border-top: 1.5px solid var(--footer-line);
  padding: 56px 0 40px;
  color: var(--footer-muted);
  font-family: Manrope, system-ui, sans-serif;
  text-align: left;
}
.site-footer .wordmark-sm {
  font-family: Geist, system-ui, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--footer-ink);
}
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.footer-brand { max-width: 340px; }
.footer-brand p { margin: 14px 0 0; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.footer-cols { display: grid; grid-template-columns: repeat(4, max-content); gap: 32px 56px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col h3 {
  margin: 0 0 4px;
  font-family: var(--footer-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-ink);
}
.site-footer a { color: var(--footer-muted); text-decoration: none; }
.site-footer a:hover { color: var(--footer-ink); }
.footer-base {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--footer-line-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-family: var(--footer-mono);
  font-size: 13px;
}
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 32px 24px; }
}
