.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vh, 44px) var(--pad-x, 24px);
  border-top: 1px solid var(--hairline, #D8D4C8);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--serif, 'Libre Caslon Text', Georgia, serif);
  font-size:var(--text-small);
  color: var(--muted, #706A60);
}
.site-footer .fm { font-style: italic; }
.site-footer .footer-navigation,
.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.site-footer a, .site-footer button {
  font: inherit;
  color: #5C1A1A;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--hairline, #D8D4C8);
  padding: 0 0 1px;
  text-decoration: none;
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease;
}
.site-footer a:hover, .site-footer button:hover { border-bottom-color: currentColor; }
.site-footer--dark {
  background: linear-gradient(rgba(20, 17, 13, 0.96), rgba(20, 17, 13, 0.96));
  --hairline: rgba(232, 224, 207, 0.2);
  color: #E8E0CF;
}
.site-footer--dark a, .site-footer--dark a:visited,
.site-footer--dark button { color: var(--gold, #B49360); }
.site-footer--dark a:focus-visible,
.site-footer--dark button:focus-visible { outline: 2px solid var(--gold, #B49360); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .site-footer a, .site-footer button { transition: none; }
}

/* Share the final slide's space and background instead of adding a section. */
.slide.faq { padding-bottom: 0; }
.faq > .site-footer {
  flex-shrink: 0;
  margin-top: clamp(24px, 4vh, 40px);
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}
