/* The public navigation sits on the same white surface across all pages. */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 5vw, 80px);
  background: #fff;
  color: #1d1d1f;
  font: 400 16px/1.45 var(--sans, system-ui);
}
.site-footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  max-width: 1280px;
  margin-inline: auto;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer .footer-brand { font: 400 21px/1.2 Charter, Georgia, serif; }
.site-footer .footer-line { margin: 5px 0 0; font-size: 14px; color: #626268; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.site-footer .robot-easter-egg img { display: block; width: 40px; height: 40px; }

/* Classic pages and article utilities retain their own navigation. */
footer.container, footer.footer { background: #fff; color: #1d1d1f; border: 0; box-shadow: none; }

@media (max-width: 760px) {
  .site-footer .footer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .site-footer nav { grid-column: 1; margin-left: 0; }
  .site-footer .robot-easter-egg { grid-column: 2; grid-row: 1 / span 2; }
}
