/* Shared footer: static HTML, three columns on desktop, stacked on mobile. */
body .footer {
  margin-top: 80px;
  padding: 44px 0 16px;
  border-top: 1px solid var(--line);
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 48px;
  width: min(1120px, 92%);
  margin-inline: auto;
  text-align: left;
}

.footer .footer-grid .footer-brand { min-width: 0; text-align: left; }
.footer .footer-brand .footer-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  margin: 0 0 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  /* Preserve the existing white/orange artwork; blend its black backing
     into the charcoal footer without a visible rectangular badge. */
  mix-blend-mode: screen;
}
.footer .footer-tagline {
  max-width: 28ch;
  margin: 0;
  color: var(--m);
  font-size: .9rem;
  line-height: 1.65;
}

.footer .footer-contact-compact,
.footer .social-section { min-width: 0; padding: 0; }
.footer .footer-contact-compact { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer .footer-contact-compact h2,
.footer .social-section h2 {
  margin: 0 0 12px;
  color: var(--t);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}
.footer .footer-contact-compact a {
  min-height: 44px;
  max-width: 100%;
  color: var(--m);
  font-size: .94rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.footer .social-section p {
  margin: 0 0 18px;
  color: var(--m);
  font-size: .9rem;
  line-height: 1.65;
}
.footer .social-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; }
.footer .social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--m);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.footer .social-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #747c87;
  border-radius: 50%;
  color: var(--t);
  background: rgba(255,255,255,.04);
  transition: color .18s, border-color .18s, background .18s;
}
.footer .social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.footer .social-item:hover .social-icon { color: var(--ol); border-color: var(--ol); background: rgba(255,122,0,.08); }
.footer .footer-contact-compact a:hover,
.footer .social-item:hover,
.footer .footer-legal-compact a:hover { color: var(--ol); }

.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.footer .copy { margin: 0; color: var(--m); font-size: .8rem; line-height: 1.6; }
.footer .footer-legal-compact { display: flex; flex-direction: row; align-items: center; gap: 24px; }
.footer .footer-legal-compact a { min-height: 44px; color: var(--m); font-size: .8rem; }

@media (max-width: 1000px) {
  .footer .footer-grid { gap: 28px; }
  .footer .social-links { gap: 10px; }
}

@media (max-width: 760px) {
  body .footer { padding-top: 32px; }
  .footer .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer .footer-grid .footer-brand { text-align: center; }
  .footer .footer-brand .footer-logo { width: 190px; margin-inline: auto; }
  .footer .footer-tagline { max-width: none; }
  .footer .footer-contact-compact { align-items: center; }
  .footer .social-links { justify-content: center; gap: 16px; }
  .footer .footer-contact-compact h2,
  .footer .social-section h2 { margin-bottom: 8px; }
  .footer .social-section p { margin-bottom: 14px; }
  .footer .footer-bottom { flex-direction: column; margin-top: 28px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .footer .social-icon { transition: none; }
}
