/* Compact shared footer: About stays attached to the brand/contact block. */
.site-footer{padding:40px 0 20px}
.footer-top{grid-template-columns:minmax(180px,1.25fr) repeat(4,minmax(0,1fr));align-items:start;gap:28px;padding-bottom:28px}
.footer-brand,.footer-intro,.footer-col{min-width:0}
.footer-brand img{height:48px}
.footer-brand p{margin:10px 0 12px}
.footer-brand-about{margin-top:22px}
.footer-col h4{margin:0 0 12px}
.footer-col a{margin:6px 0;line-height:1.65;overflow-wrap:anywhere}
.footer-bottom{align-items:flex-start;flex-wrap:wrap;gap:12px 28px;padding-top:16px;line-height:1.75}
.footer-copyright{max-width:100%;overflow-wrap:anywhere}
.footer-note{flex-wrap:wrap;gap:8px 18px;margin:0}
.footer-note a{display:inline-block;max-width:100%;overflow-wrap:anywhere}
/* The outgoing image remains over the decoded incoming frame during the crossfade. */
.hero-media .hero-transition-image{z-index:1;pointer-events:none;will-change:opacity}
.hero-media::after{z-index:2;pointer-events:none}
@media(max-width:1000px){
  .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 34px}
  .footer-brand{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:34px}
  .footer-brand-about{margin-top:0}
}
@media(max-width:560px){
  .site-footer{padding:30px 0 18px}
  .footer-top{gap:22px 20px;padding-bottom:24px}
  .footer-brand{grid-template-columns:1fr;gap:22px}
  .footer-brand-about{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
  .footer-brand-about h4{grid-column:1/-1;margin-bottom:8px}
  .footer-col a{padding:4px 0;margin:2px 0;font-size:12px}
  .footer-bottom{display:flex;flex-direction:column;gap:10px}
  .footer-copyright{font-size:10px;letter-spacing:.025em}
  .footer-note{gap:8px 16px}
}

/* Utility links sit above the footer columns, away from the floating assistant. */
.footer-note.footer-utility{display:flex;align-items:center;justify-content:flex-start;gap:12px 28px;margin:0 0 26px;padding:0 0 18px;border-bottom:1px solid var(--line);font-size:11px;line-height:1.65;color:var(--muted)}
.footer-utility a{padding:6px 0}
.footer-utility a:hover{color:var(--ink)}
@media(max-width:560px){.footer-note.footer-utility{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;margin-bottom:22px;padding-bottom:16px}.footer-utility a{display:flex;align-items:center;min-height:44px;padding:6px 0}}
