.site-footer {
  width: min(1180px, 100%);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: end;
  margin: 22px auto 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  padding: 20px 4px 0;
}

.site-footer-brand {
  display: grid;
  gap: 5px;
}

.site-footer-logo {
  width: fit-content;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer-brand span,
.site-footer-note {
  color: var(--dim);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: end;
}

.site-footer-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: #fff;
}

.site-footer-note {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 620px) {
  .site-footer {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 2px 0;
  }

  .site-footer-links {
    justify-content: start;
    gap: 10px 16px;
  }

  .site-footer-note {
    grid-column: 1;
  }
}
