/* Shared approved homepage footer. */

#footer.site-footer { background: var(--dark); color: var(--salt); padding-bottom: 32px; }
#footer .footer-art { position: relative; height: clamp(280px, 42vw, 620px); overflow: hidden; }
#footer .footer-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
#footer .footer-art::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--dark) 0%, transparent 20%, transparent 76%, var(--dark) 100%); }
#footer .footer-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; padding: 24px 0 32px; }
#footer .footer-brand { display: inline-flex; gap: 12px; min-height: 44px; align-items: center; text-decoration: none; }
#footer .footer-brand img { width: 116px; height: auto; }
#footer .footer-brand span { padding-left: 12px; border-left: 1px solid var(--brass); color: var(--brass); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
#footer .footer-tagline { margin: 14px 0 0; font: 700 32px/1.15 var(--display); }
#footer .footer-email { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brass); }
#footer .footer-secondary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 12px; }
#footer .footer-location { display: flex; align-items: center; justify-content: flex-end; flex: none; gap: 10px; margin: 0 0 0 auto; color: var(--secondary); font-size: 13px; line-height: 1.5; }
#footer .footer-location svg { width: 26px; height: 26px; flex: none; color: var(--brass); }
#footer .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
#footer .footer-nav a { display: flex; align-items: center; min-height: 44px; width: fit-content; padding: 9px 0; font-size: 16px; text-decoration: none; }
#footer.site-footer a:hover { color: var(--brass); text-decoration: underline; }
#footer.site-footer :focus-visible { outline: 2px solid var(--salt); outline-offset: 5px; }
#footer .footer-ai-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; }
#footer .footer-ai-summary p { margin: 0; color: var(--secondary); font-size: 14px; line-height: 1.5; }
#footer .footer-ai-links { display: flex; flex-wrap: wrap; list-style: none; gap: 4px; margin: 0; padding: 0; }
#footer .footer-ai-links li { margin: 0; padding: 0; }
#footer .footer-ai-links a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--salt); }
#footer .footer-ai-links svg { display: block; width: 24px; height: 24px; }
#footer .footer-ai-links a:hover { color: var(--brass); text-decoration: none; }
#footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
#footer .footer-copyright { margin: 0; color: var(--ash); font-size: 13px; }
#footer .footer-utilities { display: flex; flex-wrap: wrap; gap: 4px 28px; }
#footer .footer-utilities a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 0; font-size: 13px; color: var(--secondary); text-decoration: none; }
#footer .footer-utilities svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  #footer .footer-art { height: auto; aspect-ratio: 4 / 3; }
  #footer .footer-art img { object-position: center; }
  #footer .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 16px 0 28px; }
  #footer .footer-tagline { font-size: 30px; margin-top: 12px; }
  #footer .footer-nav { gap: 0 20px; }
  #footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 12px; }
  #footer .footer-utilities { gap: 0 24px; }
  #footer .footer-copyright { order: 1; }
}

/* Reset legacy footer declarations; match the homepage's utility layout. */
#footer.site-footer { padding:0 0 32px; border-top:0; }
#footer .footer-bottom { flex-wrap:nowrap; font-size:inherit; color:inherit; }
#footer .footer-utilities { margin:0; padding-top:0; border-top:0; }
#footer .footer-utilities a { padding-block:10px; }
#footer .footer-utilities a:last-child { margin-left:0; }
