.bf-footer {
  box-sizing: border-box;
  padding-inline: 42px;
  color: #e9ece7;
  background: #191a1a;
  font: 15px/1.65 Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

.bf-footer *, .bf-footer *::before, .bf-footer *::after { box-sizing: border-box; }
.bf-footer a { width: fit-content; color: inherit; text-decoration: none; }
.bf-footer__grid, .bf-footer__legal { width: min(100%, 1300px); margin-inline: auto; }
.bf-footer__grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) minmax(0, 4fr);
  gap: clamp(34px, 4vw, 68px);
  padding-block: 68px 0;
}
.bf-footer__brand, .bf-footer__menu { min-width: 0; }
.bf-footer__menus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.2vw, 58px); min-width: 0; }
.bf-footer__wordmark { display: inline-block; color: #fff !important; font: 32px/1.1 Georgia, serif; letter-spacing: -.02em; }
.bf-footer__contact { margin: 24px 0 0; color: rgb(233 236 231 / 72%); font-size: 12px; line-height: 1.8; }
.bf-footer__copyright { margin: 24px 0 0; color: rgb(233 236 231 / 58%); font-size: 12px; }
.bf-footer__social { display: flex; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.bf-footer__social:empty { display: none; }
.bf-footer__social a { display: grid; place-items: center; width: 48px; height: 48px; opacity: .7; transition: opacity 180ms ease; }
.bf-footer__social a:hover { opacity: 1; }
.bf-footer__social svg, .bf-footer__social img { width: 35px; height: 35px; }
.bf-footer__menu { display: flex; flex-direction: column; align-items: flex-start; }
.bf-footer__menu h2 { margin: 0 0 20px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.bf-footer__menu a { padding-block: 3px; opacity: .72; }
.bf-footer__menu a:hover, .bf-footer__legal a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.bf-footer__legal { display: flex; align-items: center; justify-content: center; grid-column: 1 / -1; min-height: 0; margin-top: 4px; padding-block: 32px; border-top: 1px solid rgb(233 236 231 / 22%); font-size: 15px; text-align: center; }
.bf-footer__legal nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.bf-footer__legal a { opacity: .68; }

@media (max-width: 760px) {
  .bf-footer { padding-inline: 24px; }
  .bf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 24px; padding-block: 42px 16px; }
  .bf-footer__brand { grid-column: 1 / -1; margin-bottom: 8px; }
  .bf-footer__menus { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; }
  .bf-footer__wordmark { font-size: 28px; }
  .bf-footer__copyright { margin-top: 18px; }
  .bf-footer__menu h2 { margin-bottom: 12px; }
  .bf-footer__menu a { display: flex; align-items: center; min-height: 32px; width: 100%; line-height: 1.4; overflow-wrap: anywhere; }
  .bf-footer__legal { min-height: 0; padding-block: 26px 15px; }
  .bf-footer__legal nav { display: grid; justify-items: center; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .bf-footer__social a { transition: none; }
}
