/* Footer compact: match contact.html exactly (Diane, 15 Nov 2026).
   Mono SVG at rest, colour PNG from assets/v4/footer-socials/ on hover and
   focus. Order LinkedIn, YouTube, X, Instagram, TikTok, Facebook.
   Background #071116. No CSS filter on the icons.
   Load after style.css / page CSS so these rules win on older pages.
   typography uses !important only to beat style.css mobile "p" rules and
   first-bottleneck.css compact-footer !important sizes.
   Colour PNG stays 44px at every breakpoint (same late rule as contact.css). */

footer.site-footer-compact{
  --font-heading:'Poppins', system-ui, sans-serif;
  background:#071116 !important;
  color:#C5D0DC !important;
  padding:36px 0 28px !important;
  margin-top:auto !important;
  border-top:0 !important;
}
footer.site-footer-compact .footer-compact{
  text-align:center;
  max-width:none !important;
  margin:0 auto;
}
footer.site-footer-compact p.footer-compact-name,
footer.site-footer-compact .footer-compact-name{
  font:700 16px/1.3 var(--font-heading) !important;
  color:#ffffff !important;
  margin:0 0 10px !important;
}
footer.site-footer-compact p.footer-compact-links,
footer.site-footer-compact .footer-compact-links{
  margin:0 0 10px !important;
  font-size:14px !important;
  line-height:1.65 !important;
  color:#C5D0DC !important;
}
footer.site-footer-compact .footer-compact-links a{
  color:#ffffff !important;
  text-decoration:none;
  font-weight:400 !important;
}
footer.site-footer-compact .footer-compact-links a:hover{
  color:#ffffff !important;
}
footer.site-footer-compact .footer-compact-sep{
  color:#A8B8C8 !important;
  opacity:1;
}
footer.site-footer-compact p.footer-compact-tagline,
footer.site-footer-compact .footer-compact-tagline{
  font-size:13px !important;
  line-height:1.65 !important;
  margin:0 0 8px !important;
  color:#C5D0DC !important;
  opacity:1;
}
footer.site-footer-compact p.footer-compact-copy,
footer.site-footer-compact .footer-compact-copy{
  font-size:12px !important;
  line-height:1.65 !important;
  margin:12px 0 0 !important;
  color:#A8B8C8 !important;
  opacity:1;
}

footer.site-footer-compact .footer-social{
  margin:14px 0 12px !important;
}
footer.site-footer-compact .footer-social-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:nowrap;
  gap:14px;
  justify-content:center;
  align-items:center;
  overflow:visible;
  max-width:100%;
}
footer.site-footer-compact .footer-social-list > li{
  flex:0 0 auto;
  margin:0;
  padding:0;
}
footer.site-footer-compact .footer-social-link,
footer.site-footer-compact .footer-social-list a{
  display:inline-grid;
  grid-template-rows:1fr;
  grid-template-columns:1fr;
  place-items:center;
  width:52px;
  height:52px;
  padding:4px;
  border-radius:0;
  box-sizing:border-box;
  overflow:visible;
  background:transparent !important;
  box-shadow:none;
  color:#C5D0DC !important;
  text-decoration:none;
  flex:0 0 auto;
  transition:outline-color .15s ease;
}
footer.site-footer-compact .footer-social-link:hover,
footer.site-footer-compact .footer-social-list a:hover,
footer.site-footer-compact .footer-social-link:focus-visible,
footer.site-footer-compact .footer-social-list a:focus-visible{
  color:#C5D0DC !important;
  background:transparent !important;
}
footer.site-footer-compact .footer-social-link:focus-visible,
footer.site-footer-compact .footer-social-list a:focus-visible{
  outline:2px solid #ffffff;
  outline-offset:3px;
}

footer.site-footer-compact .footer-social-icon,
footer.site-footer-compact img.footer-social-icon{
  grid-area:1/1;
  display:block;
  object-fit:contain;
  background:transparent;
  border-radius:0;
  max-width:none !important;
  min-width:18px;
  min-height:18px;
  flex:0 0 auto;
  visibility:visible;
  filter:none;
  transition:opacity .15s ease, transform .15s ease;
}
footer.site-footer-compact .footer-social-icon--mono{
  width:22px;
  height:22px;
  color:inherit;
  fill:currentColor;
}
footer.site-footer-compact .footer-social-icon--color,
footer.site-footer-compact img.footer-social-icon--color{
  width:44px !important;
  height:auto !important;
  max-width:none !important;
  opacity:0;
  pointer-events:none;
  filter:none;
}
footer.site-footer-compact .footer-social-link:hover .footer-social-icon--mono,
footer.site-footer-compact .footer-social-link:focus-visible .footer-social-icon--mono,
footer.site-footer-compact .footer-social-link:active .footer-social-icon--mono,
footer.site-footer-compact .footer-social-list a:hover .footer-social-icon--mono,
footer.site-footer-compact .footer-social-list a:focus-visible .footer-social-icon--mono,
footer.site-footer-compact .footer-social-list a:active .footer-social-icon--mono{
  opacity:0;
}
footer.site-footer-compact .footer-social-link:hover .footer-social-icon--color,
footer.site-footer-compact .footer-social-link:focus-visible .footer-social-icon--color,
footer.site-footer-compact .footer-social-link:active .footer-social-icon--color,
footer.site-footer-compact .footer-social-list a:hover .footer-social-icon--color,
footer.site-footer-compact .footer-social-list a:focus-visible .footer-social-icon--color,
footer.site-footer-compact .footer-social-list a:active .footer-social-icon--color{
  opacity:1;
  transform:scale(1.12);
}

@media (max-width:640px){
  footer.site-footer-compact .footer-social-list{flex-wrap:nowrap;gap:6px;max-width:100%}
  footer.site-footer-compact .footer-social-link,
  footer.site-footer-compact .footer-social-list a{width:40px;height:40px;padding:6px}
  footer.site-footer-compact .footer-social-icon--mono{width:20px;height:20px}
  footer.site-footer-compact .footer-social-icon--color,
  footer.site-footer-compact img.footer-social-icon--color{width:38px;height:auto}
}
@media (max-width:300px){
  footer.site-footer-compact .footer-social-list{gap:2px}
  footer.site-footer-compact .footer-social-link,
  footer.site-footer-compact .footer-social-list a{width:36px;height:36px;padding:5px}
  footer.site-footer-compact .footer-social-icon--mono{width:18px;height:18px}
  footer.site-footer-compact .footer-social-icon--color,
  footer.site-footer-compact img.footer-social-icon--color{width:34px;height:auto}
}

/* Same late rule as contact.css / home.css: colour PNG stays 44px at every
   breakpoint so the hover mark reads larger than the 22px rest mono. */
footer.site-footer-compact .footer-social-icon--color,
footer.site-footer-compact img.footer-social-icon--color{
  width:44px !important;
  height:auto !important;
  max-width:none !important;
  opacity:0;
  pointer-events:none;
  filter:none;
}
footer.site-footer-compact .footer-social-link:hover .footer-social-icon--mono,
footer.site-footer-compact .footer-social-link:focus-visible .footer-social-icon--mono,
footer.site-footer-compact .footer-social-link:active .footer-social-icon--mono,
footer.site-footer-compact .footer-social-list a:hover .footer-social-icon--mono,
footer.site-footer-compact .footer-social-list a:focus-visible .footer-social-icon--mono,
footer.site-footer-compact .footer-social-list a:active .footer-social-icon--mono{
  opacity:0;
}
footer.site-footer-compact .footer-social-link:hover .footer-social-icon--color,
footer.site-footer-compact .footer-social-link:focus-visible .footer-social-icon--color,
footer.site-footer-compact .footer-social-link:active .footer-social-icon--color,
footer.site-footer-compact .footer-social-list a:hover .footer-social-icon--color,
footer.site-footer-compact .footer-social-list a:focus-visible .footer-social-icon--color,
footer.site-footer-compact .footer-social-list a:active .footer-social-icon--color{
  opacity:1;
  transform:scale(1.12);
}
