/* Current 4GOSPEL footer, scoped to the DreameCode portfolio copy. */
@font-face {
  font-family: "4GOSPEL Footer";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./cormorant-garamond.ttf") format("truetype");
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 5rem;
  border: 0;
  background: var(--ink);
  color: var(--ink);
  box-shadow: none;
  font-family: "4GOSPEL Footer", Georgia, serif;
}

.site-footer::before {
  content: none;
}

.footer-logo {
  display: block;
  gap: normal;
  width: clamp(9rem, 14vw, 12rem);
  text-decoration: none;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-ornament {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(42rem, 100%);
  color: var(--gold);
  pointer-events: none;
}

.footer-ornament::before,
.footer-ornament::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 65%);
}

.footer-ornament::after {
  transform: scaleX(-1);
}

.footer-ornament svg {
  display: block;
  width: clamp(5.5rem, 12vw, 7rem);
  height: auto;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem 1.5rem;
  max-width: 60rem;
  color: var(--ivory, #faf7f1);
  font-size: 1.125rem;
  line-height: 1.4;
  text-align: center;
}

.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  padding: .25rem 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.site-footer :focus-visible {
  outline: 2px solid #b38b45;
  outline-offset: 4px;
  box-shadow: none;
}

/* Twice the existing sizes at each breakpoint. */
.header-action,
.menu-action,
.menu-button {
  font-size: 1.4rem;
}

@media (max-width: 600px) {
  .menu-button {
    font-size: 1.75rem;
  }
}
