/* Site footer — shared by every page. Self-contained so it works on pages
   that don't load site.css. */
footer.site-footer {
  display: block; text-align: left; position: relative;
  padding: 3.5rem var(--gutter, 5%) 2rem;
  border-top: 1px solid var(--border, #1e1e1e);
  font-family: var(--font-body, 'Inter', sans-serif);
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem 2rem;
}
.site-footer .footer-name {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-weight: 700; font-size: 1.05rem; color: var(--cream, #F0EAE0);
  text-decoration: none; display: inline-block;
}
.site-footer .footer-name span { color: var(--amber, #D4821A); }
.site-footer .footer-tagline {
  margin: 0.75rem 0 0; max-width: 26ch;
  font-size: 0.82rem; line-height: 1.6; color: var(--muted, #8a847f);
}
.site-footer .footer-col h2 {
  margin: 0 0 0.9rem; line-height: 1.4; max-width: none; border: 0; padding: 0;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--amber, #D4821A);
}
.site-footer .footer-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer .footer-col li { margin: 0 0 0.55rem; }
.site-footer a { color: var(--muted, #8a847f); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--cream, #F0EAE0); }
.site-footer .footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem 1.5rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border, #1e1e1e);
  font-size: 0.78rem; color: var(--muted, #8a847f);
}
.site-footer .footer-legal { display: flex; gap: 1.25rem; }
.site-footer .footer-legal a { font-size: 0.78rem; }
@media (max-width: 900px) {
  .site-footer .footer-top { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .site-footer .footer-top { grid-template-columns: 1fr; }
}

/* Skip link — first focusable element on every page */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 10000;
  background: var(--amber, #D4821A); color: #080808;
  padding: 0.7rem 1.1rem; border-radius: 4px;
  font-family: var(--font-body, 'Inter', sans-serif); font-weight: 600; font-size: 0.9rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; outline: 2px solid #F0EAE0; outline-offset: 2px; }
main:focus { outline: none; }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--amber, #D4821A); outline-offset: 3px; }

/* Respect the device's reduce-motion setting on every page */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
