/* ── Site Footer ── */
/* WIRED-inspired 3-column grid: brand+social, sections, resources */

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0A0A0A;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
}

/* ── Brand column ── */
.site-footer__logo {
  margin-bottom: 0.75rem;
}

.site-footer__tagline {
  font-size: 0.82rem;
  color: #757575;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

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

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: #9E9E9E;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-footer__social-link:hover {
  background: rgba(255, 20, 147, 0.15);
  color: #FF1493;
}

/* ── Columns ── */
.site-footer__heading {
  font-family: var(--typography-fontFamily-display);
  font-size: 1.1rem;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  margin: 0 0 1rem 0;
  line-height: 1;
  text-transform: uppercase;
  font-weight: var(--typography-fontWeight-display);
}

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

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--size-touch-target);
  min-height: var(--size-touch-target);
  font-size: 0.82rem;
  color: #757575;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ── Bottom bar ── */
.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  font-size: 0.72rem;
  color: #616161;
}

.site-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-footer__legal-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--size-touch-target);
  min-height: var(--size-touch-target);
  color: #616161;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal-links a:hover {
  color: #FF1493;
}

.site-footer__sep {
  color: #424242;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0.75rem 1.5rem;
  }

  .site-footer__tagline {
    max-width: 100%;
  }

  .site-footer__bar-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
  }
}
