.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--border) 74%, transparent 26%);
  background: color-mix(in srgb, var(--surface) 92%, transparent 8%);
}

.site-footer__inner,
.site-footer__bar {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
}

.site-footer__brand strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-hi);
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.site-footer__brand p,
.site-footer__brand span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer__brand span,
.site-footer__column strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__column strong {
  margin-bottom: 0.5rem;
  color: var(--faint);
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer__column a {
  color: inherit;
  text-decoration: none;
  font-size: 0.84rem;
}

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

.site-footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 74%, transparent 26%);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

@media (max-width: 960px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer__inner,
  .site-footer__bar {
    width: calc(100% - 1rem);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__bar {
    flex-direction: column;
  }
}
