.site-footer {
  position: relative;
  margin-top: 52px;
  padding-top: 26px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.08) 16%,
    rgba(136, 160, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.08) 84%,
    rgba(255, 255, 255, 0)
  );
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -16px;
  left: 20%;
  width: 60%;
  height: 32px;
  background: radial-gradient(circle, rgba(136, 160, 255, 0.08), rgba(136, 160, 255, 0));
  filter: blur(18px);
  pointer-events: none;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 16px 0 6px;
}

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

.site-footer-wordmark {
  display: block;
  width: clamp(190px, 24vw, 290px);
  max-width: 100%;
  height: auto;
}

.site-footer-slogan {
  margin: 0;
  color: rgba(244, 241, 235, 0.58);
  font-size: 0.92rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.site-footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.site-footer-line {
  margin: 0;
  color: rgba(244, 241, 235, 0.56);
  font-size: 0.9rem;
  line-height: 1.8;
}

.site-footer-line a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease,
    text-shadow 180ms ease;
}

.site-footer-line a:hover,
.site-footer-line a:focus-visible {
  color: rgba(244, 241, 235, 0.84);
  text-decoration: underline;
  text-decoration-color: rgba(244, 241, 235, 0.42);
  text-shadow: 0 0 12px rgba(136, 160, 255, 0.12);
}

@media (max-width: 860px) {
  .site-footer {
    margin-top: 40px;
    padding-top: 22px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
    text-align: center;
  }

  .site-footer-brand,
  .site-footer-meta {
    justify-items: center;
    text-align: center;
  }
}
