/**
 * @file
 * Site footer.
 */

.site-footer {
  background: var(--primary-deeper);
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.site-footer__logo {
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
}

.site-footer__name {
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
}

.site-footer__about {
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  transition: background-color 0.15s ease;
}

.site-footer__social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer__heading {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 640px) {
  .site-footer__bottom-inner {
    flex-direction: row;
  }
}
