/* ==== Footer (compact, non-fixed, no extra bottom gap) ==== */
.site-footer{
  background:#f8f9fb;
  border-top:1px solid #e8e9ee;
  color:#555;
}

/* Single, consistent padding block */
.site-footer .footer-inner{
  max-width:980px;           /* narrower box */
  margin:0 auto;
  padding:6px 10px 2px;      /* ↓ tiny bottom padding to remove gap */
  display:grid;
  gap:6px;
}

/* Ack text: correct clamp order + tight line-height */
.site-footer .ack p{
  margin:0.12em 0;                           /* small & even */
  font-size:clamp(10px, 2.2vw, 11px);        /* min 10 → max 11 */
  line-height:1.22;                           /* tighter lines */
  text-align:center;
}
/* absolutely no extra margin on the last line */
.site-footer .ack p:last-child{ margin-bottom:0; }

/* Nav: small & tight */
.site-footer .footer-nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:clamp(10px, 2.2vw, 11px);
  line-height:1.2;
  margin:0;                                   /* ensure no extra block gap */
}
.site-footer .footer-nav a{ color:inherit; text-decoration:none; }
.site-footer .footer-nav a:hover{ text-decoration:underline; }

/* Optional copyright line, if you add it later */
.site-footer .copy{
  margin:0;
  font-size:clamp(10px, 2.2vw, 11px);
  line-height:1.2;
}

/* Desktop layout */
@media (min-width:800px){
  .site-footer .footer-inner{
    grid-template-columns:1fr auto;
    align-items:center;
  }
  .site-footer .copy{
    grid-column:1 / -1;
    text-align:right;
  }
}

/* Force footer to use the main body font (not OpenDyslexic) */
.site-footer,
.site-footer p,
.site-footer .footer-nav,
.site-footer .footer-nav a,
.site-footer .copy {
  font-family: 'utopia-std', Arial, sans-serif;
}

