/* === Site Footer === */

.site-footer {
  color: black;
  padding: 3rem 7vw 1.75rem;
  border-top: 1px solid lightgrey;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid lightgrey;
}

/* Brand / left column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-tagline {
  font-family: "Noto", serif;
  font-size: 0.82rem;
  color: black;
  letter-spacing: 0.01em;
  max-width: 220px;
  line-height: 1.5;
}

/* Nav / centre column */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-family: "Prata", serif;
  font-size: 0.88rem;
  color: black;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-bottom-color 160ms ease;
}

.footer-nav a:hover {
  color: black;
  border-bottom-color: var(--brand);
}

/* Socials / right column */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-socials-label {
  font-family: "Prata", serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: blackrgba(255, 255, 255, 0.3);
}

.socials-row {
  display: flex;
  gap: 0.9rem;
}

/* Icon-only — no box, no border */
.social-link {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: blackrgba(255, 255, 255, 0.55);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  transition: color 160ms ease, transform 160ms ease;
}

.social-link:hover {
  color: black#fff;
  transform: translateY(-2px);
}

.social-link:active {
  transform: translateY(0);
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal {
  font-family: "Noto", serif;
  font-size: 0.75rem;
  color: blackrgba(255, 255, 255, 0.28);
  letter-spacing: 0.01em;
}

.footer-credit {
  font-family: "Noto", serif;
  font-size: 0.72rem;
  color: blackrgba(255, 255, 255, 0.2);
  letter-spacing: 0.01em;
}

.footer-credit a {
  color: blackrgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-credit a:hover {
  color: blackrgba(255, 255, 255, 0.5);
}

/* === Responsive === */

@media screen and (max-width: 1007px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .footer-nav {
    align-items: flex-end;
  }

  .footer-socials {
    grid-column: 1 / -1;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

@media screen and (max-width: 640px) {
  .site-footer {
    padding: 2.5rem 6vw 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-socials {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}