/* =====================================================================
   Site footer (every page): logo + tagline, then four link groups
   (Explore, Media, Account, Legal). Builds on the footer styles each page
   already carries (dark background, logo, base row, social icons).
   ===================================================================== */
.footer-brand{ display:flex; flex-direction:column; align-items:center; align-self:flex-start; gap:22px; }   /* logo and tagline share one centre line */
.footer-tagline{ margin:0; text-align:center; font-family:var(--display); font-weight:500; font-stretch:92%; letter-spacing:-.025em;
  font-size:clamp(18px,1.5vw,22px); line-height:1.25; color:rgba(255,255,255,.78); }
.footer-nav{ display:grid; grid-template-columns:repeat(4, auto); gap:32px clamp(40px,5vw,96px); }
.site-footer .footer-head{ margin:0 0 14px; font-family:var(--body); font-stretch:normal; font-size:12px; font-weight:500;
  letter-spacing:.2em; line-height:1.4; text-transform:uppercase; color:rgba(255,255,255,.5); }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
.footer-col a{ display:inline-block; padding:5px 0; font-size:15px; line-height:1.4; color:rgba(255,255,255,.82); transition:color .3s; }
.footer-col a:hover{ color:#fff; text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.footer-col a:focus-visible{ outline:2px solid #fff; outline-offset:3px; }

/* tablet: brand above, four columns across the full width */
@media (max-width:1020px){
  .footer-top{ flex-direction:column; gap:48px; }
  .footer-nav{ width:100%; grid-template-columns:repeat(4, minmax(0,1fr)); gap:32px 24px; }
}
/* phone: two columns; each link is a 44px tap target */
@media (max-width:760px){
  .footer-brand{ gap:18px; }
  .footer-tagline{ font-size:18px; }
  .footer-nav{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:36px 24px; }
  .site-footer .footer-head{ margin-bottom:6px; }
  .footer-col ul{ gap:0; }
  .footer-col a{ padding:11px 0; font-size:16px; line-height:22px; }
  .site-footer .footer-top{ align-items:center; }
  .site-footer .footer-brand{ align-self:center; width:100%; text-align:center; }
  .site-footer .footer-nav{ width:100%; grid-template-columns:repeat(2, minmax(0,1fr)); justify-items:stretch; }
  .site-footer .footer-col{ min-width:0; text-align:center; }
  .site-footer .footer-col ul{ align-items:center; }
  .site-footer .footer-col a{ overflow-wrap:anywhere; }
  /* bottom row (location, email, copyright, social icons) centred to match */
  .site-footer .footer-base{ flex-direction:column; justify-content:center; text-align:center; }
  .site-footer .footer-meta{ align-items:center; }
  .site-footer .footer-social{ justify-content:center; }
}
