.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--gradient-footer);
  color: #fff;
}

/* subtle tally-mark texture in the background */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 28px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
  mask-image: linear-gradient(180deg, transparent, #000 70%);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-block: clamp(48px, 7vw, 80px) 40px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.site-footer__legal-name {
  max-width: 300px;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.site-footer__address {
  margin-bottom: 12px;
  font-style: normal;
  opacity: .92;
}

.site-footer__contact a:hover { text-decoration: underline; }

.site-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav li + li { margin-top: 12px; }

.site-footer__nav a,
.site-footer__cookie {
  font-family: var(--font-heading);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  padding-bottom: 2px;
  transition: border-color .2s;
}

.site-footer__nav a:hover,
.site-footer__cookie:hover { border-color: #fff; }

.site-footer__cookie {
  padding: 0 0 2px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
}

.site-footer__copyright {
  position: relative;
  margin: 0;
  padding: 18px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: .85rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
