footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 34px 24px 38px;
  text-align: center;
}

footer > * {
  margin: 0;
}

footer .footer-motto {
  color: #cbb781;
  font: 400 clamp(1.05rem, 2.1vw, 1.3rem)/1.35 Georgia, 'Times New Roman', serif;
  letter-spacing: .015em;
  text-transform: none;
}

footer .footer-studio {
  color: #bcb9a7;
  font: 400 .88rem/1.6 Arial, sans-serif;
  letter-spacing: .015em;
  text-transform: none;
}

footer .footer-studio a {
  color: #dfc484;
  text-decoration: none;
}

footer .footer-studio a:hover,
footer .footer-studio a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

footer .footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: #a8a994;
}

footer .footer-meta a:hover,
footer .footer-meta a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 540px) {
  footer {
    display: flex;
    padding: 32px 22px 36px;
  }

  footer > * {
    margin: 0;
  }

  footer .footer-meta {
    flex-direction: column;
    gap: 11px;
  }
}
