/* =========================================================================
   ASHBORN PARTNERS — shared site footer (every public page)
   Markup lives in tools/site-footer.html and is copied into each page by
   `node tools/build-footer.js`. Edit the footer there, then re-run it.
   Self-contained on purpose: the analyzers don't load styles.css, so this
   file defines its own colors and fonts.
   ========================================================================= */
.ash-footer {
  --af-bg: #10241C;
  --af-text: #F4F5F1;
  --af-muted: #A9BCB3;
  --af-faint: rgba(169, 188, 179, 0.85);
  --af-accent: #35D07F;
  --af-accent-dark: #23A863;
  --af-line: rgba(244, 245, 241, 0.14);
  background: var(--af-bg);
  color: var(--af-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 64px 24px 32px;
  text-align: left;
}
.ash-footer *, .ash-footer *::before, .ash-footer *::after { box-sizing: border-box; }
.ash-footer-inner { max-width: 1160px; margin: 0 auto; }

.ash-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--af-line);
}

.ash-footer-logo { display: inline-block; }
.ash-footer-logo img { display: block; height: 56px; width: auto; max-width: 100%; }
.ash-footer-tagline { margin: 16px 0 20px; max-width: 290px; color: var(--af-muted); font-size: 0.95rem; }

.ash-footer h2 {
  margin: 0 0 16px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--af-accent);
}
.ash-footer ul { list-style: none; margin: 0; padding: 0; }
.ash-footer li { margin: 0; }
.ash-footer li + li { margin-top: 10px; }

.ash-footer a {
  color: var(--af-text);
  text-decoration: none;
  transition: color 0.18s ease;
}
.ash-footer a:hover,
.ash-footer a:focus-visible { color: var(--af-accent); }
.ash-footer a:focus-visible { outline: 2px solid var(--af-accent); outline-offset: 3px; border-radius: 4px; }
.ash-footer-col a { font-size: 0.95rem; }

.ash-footer-contact p { margin: 0 0 12px; color: var(--af-muted); font-size: 0.95rem; }
.ash-footer-contact p:last-child { margin-bottom: 0; }
.ash-footer-contact a { overflow-wrap: anywhere; }

.ash-footer-social { display: flex; gap: 10px; }
.ash-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(244, 245, 241, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.ash-footer-social a:hover,
.ash-footer-social a:focus-visible { background: var(--af-accent-dark); color: var(--af-text); }
.ash-footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.ash-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 24px 0 16px; }
.ash-footer-legal a { color: var(--af-muted); font-size: 0.88rem; }
.ash-footer-copy { margin: 0; color: var(--af-faint); font-size: 0.8rem; line-height: 1.6; }

@media (max-width: 900px) {
  .ash-footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .ash-footer-brand, .ash-footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .ash-footer { padding: 48px 20px 32px; }
  .ash-footer-legal { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ash-footer a, .ash-footer-social a { transition: none; }
}
@media print {
  .ash-footer { display: none !important; }
}
