.site-footer {
  position: relative;
  isolation: isolate;
  background: var(--night-deep);
  color: var(--white);
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 15px, rgb(201 162 94 / 8%) 15px 16px, transparent 16px 31px),
    repeating-linear-gradient(-45deg, transparent 0 15px, rgb(201 162 94 / 8%) 15px 16px, transparent 16px 31px);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  content: '';
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, .7fr) minmax(0, 1.17fr) minmax(0, .93fr);
  gap: 1.75rem clamp(1.35rem, 4vw, 3.8rem);
  padding-block: clamp(3.4rem, 6.3vw, 5.6rem) clamp(2.55rem, 5vw, 4.1rem);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .7rem;
  color: var(--white);
  text-decoration: none;
}

.footer-brand img {
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 auto;
  border-radius: 50%;
}

.footer-brand span {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
  line-height: 1;
}

.footer-intro,
.footer-address,
.footer-list {
  color: var(--muted-on-dark);
  font-size: .94rem;
}

.footer-intro {
  max-width: 28ch;
}

.footer-heading {
  margin-bottom: .95rem;
  color: var(--accent-on-dark);
  font: 730 .73rem/1.4 var(--body);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: .34rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-address {
  font-style: normal;
}

.footer-map {
  display: inline-flex;
  align-items: baseline;
  gap: .44rem;
  margin-top: .75rem;
}

.footer-list a, .footer-map, .footer-bar a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  overflow-wrap: anywhere;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.footer-list a:hover, .footer-map:hover, .footer-bar a:hover {
  color: var(--accent-on-dark);
  text-decoration-color: currentColor;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 2.2rem;
  padding-block: 1.4rem 1.65rem;
  border-top: 1px solid rgb(201 162 94 / 22%);
  color: var(--muted-on-dark);
  font-size: .86rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .65rem;
}

.footer-legal a {
  text-decoration-color: var(--gold);
}

.footer-bar .footer-credit a {
  color: var(--white);
  font-weight: 750;
  text-decoration-color: currentColor;
}

.footer-bar .footer-credit a:hover {
  color: var(--accent-on-dark);
}

@media (max-width: 62rem) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.1rem, 8vw, 5rem);
  }
}

@media (max-width: 26.25rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-heading {
    margin-bottom: .54rem;
  }

  .footer-bar {
    display: grid;
  }
}
