/* Footer link states from Figma 390:2250. Keep the exported stitch geometry;
   only wrapper positions are snapped to the site's 2px spacing grid. */
.site-footer .footer-link {
  position:relative;
  display:inline-block;
  flex:none;
  color:#25272a;
  font-size:16px;
  font-weight:400;
  line-height:20px;
  white-space:nowrap;
  text-decoration:none;
}
.site-footer .footer-link:is(:hover,:focus-visible,:active) {
  text-decoration:none;
}
.site-footer .footer-link:focus-visible { outline-offset:8px; }
.footer-link-decoration {
  position:absolute;
  inset:0;
  visibility:hidden;
  pointer-events:none;
}
.footer-link:is(:hover,:focus-visible,:active) .footer-link-decoration {
  visibility:visible;
}
.footer-link-decoration :is(img,svg) { position:absolute; display:block; max-width:none; }
.footer-link-underline { left:0; top:24px; }
.footer-link.email .footer-link-spark { left:75.764679px; top:-16.138454px; }
.footer-link.linkedin .footer-link-spark { left:49.714844px; top:-12.996094px; }

/* One reserved box, one visible pose; the native idle remains the fallback. */
.site-footer .back-top {
  position:relative;
  flex:none;
  width:72px;
  height:72px;
}
.site-footer .back-top > img { display:block; width:72px; height:72px; }
.footer-goat-turn { position:absolute;inset:0;display:none;pointer-events:none; }
.footer-goat-turn svg { display:block;width:100%;height:100%; }
.site-footer .back-top.is-turning > img { visibility:hidden; }
.site-footer .back-top.is-turning .footer-goat-turn { display:block; }
