.craft-footer {
  margin-top: clamp(3rem, 7vw, 7rem);
  background: var(--paper, #fff);
  color: var(--ink, #242823);
  border-top: 4px solid var(--primary, #384c40);
}
.craft-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.75rem);
  padding-block: clamp(2rem, 4vw, 4.5rem);
}
.craft-footer .brand { display: block; max-width: 100%; }
.craft-footer .brand img { max-width: min(100%, 16.5rem); height: auto; }
.craft-footer-identity p { max-width: 36ch; line-height: 1.6; margin: 1rem 0; }
.craft-footer a { color: inherit; text-decoration: none; }
.craft-footer a:hover, .craft-footer a:focus-visible { text-decoration: underline; text-underline-offset: .22em; }
.craft-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.craft-footer .craft-footer-social { display: inline-block; font-weight: 700; border-bottom: 1px solid currentColor; padding-block: .25rem; }
.craft-footer-block { display: flex; flex-direction: column; gap: .1rem; align-items: flex-start; }
.craft-footer-block h2 { font: inherit; font-weight: 750; margin: 0 0 .6rem; }
.craft-footer-block a, .craft-footer-base a { display: inline-flex; align-items: center; min-height: 30px; line-height: 1.45; overflow-wrap: anywhere; }
.craft-footer-base { border-top: 1px solid currentColor; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.craft-footer-base nav { display: flex; flex-wrap: wrap; column-gap: 1.1rem; }
@media (max-width: 850px) {
  .craft-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .craft-footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .craft-footer-block { border-top: 1px solid var(--line, #bbb); padding-top: 1.2rem; }
  .craft-footer-base { align-items: flex-start; flex-direction: column; }
  .craft-footer-block a, .craft-footer-base a { min-height: 40px; }
}
@media print { .craft-footer { display: none; } }
