.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 0;
}

.site-footer__main { padding-bottom: 0.5rem; }

.site-footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .site-footer__col--left {
    text-align: left;
  }

  .site-footer__col--center {
    text-align: center;
  }

  .site-footer__col--right {
    text-align: right;
  }

  .site-footer__col--right .site-footer__links {
    align-items: flex-end;
  }
}

.site-footer__brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .site-footer__brand-col {
    align-items: center;
  }
}

.site-footer__logo {
  display: inline-block;
}

.site-footer__logo-text {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--color-ivory);
}

.site-footer__logo-img { max-width: 11rem; height: auto; }

.site-footer__desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
  color: var(--color-muted);
  max-width: 24rem;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.site-footer__social a {
  display: inline-flex;
  padding: 0.5rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.site-footer__social a:hover { color: var(--color-primary); }

.site-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ivory);
  margin: 0 0 1rem;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.site-footer__links a:hover { color: var(--color-ivory); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__copy,
.site-footer__cites {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0;
}

.footer-credits {
  padding: 0.75rem 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.625rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--color-muted) 55%, transparent);
}

.footer-credits a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--color-muted) 35%, transparent);
  text-underline-offset: 0.15em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-credits a:hover {
  color: color-mix(in srgb, var(--color-muted) 85%, transparent);
  text-decoration-color: currentColor;
}
