/* Shared footer. Navigation is defined in header.css. */
.foot {
  --pad: clamp(20px, 4vw, 56px);
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #141416;
  color: rgba(242, 240, 236, .7);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  padding-top: clamp(44px, 5.4vw, 72px);
}
.foot > .wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.foot .foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.4vw, 48px); padding-bottom: clamp(34px, 4vw, 52px); }
@media(min-width: 900px) { .foot .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
@media(min-width: 560px) and (max-width: 899px) { .foot .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot .foot-grid > * { min-width: 0; }
.foot .foot-brand img { width: 38px; height: 38px; margin-bottom: 14px; }
.foot .foot-brand b { display: block; font-size: 15px; letter-spacing: .14em; font-weight: 800; color: #f2f0ec; }
.foot .foot-brand p { margin-top: 12px; font-size: 12.5px; line-height: 1.75; max-width: 30ch; color: rgba(242, 240, 236, .5); }
.foot .fcol h4 { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 240, 236, .42); font-weight: 500; margin-bottom: 14px; }
.foot .fcol ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.foot .fcol a, .foot .fcol li { font-size: 12.5px; color: rgba(242, 240, 236, .72); line-height: 1.5; overflow-wrap: anywhere; }
.foot .fcol a:hover { color: #fff; }
.foot .foot-bar { border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; color: rgba(242, 240, 236, .52); text-transform: uppercase; }
.foot .foot-bar a:hover { color: rgba(242, 240, 236, .7); }

section[id], #contact { scroll-margin-top: 92px; }

/* The standalone 404 footer shares the site's black surface. */
footer.site-footer-minimal { background: #141416; color: rgba(242, 240, 236, .7); border-top-color: rgba(255, 255, 255, .15); }
footer.site-footer-minimal .copy, footer.site-footer-minimal a { color: inherit; }
footer.site-footer-minimal a:hover { color: #fff; }
