

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  padding: 1.75rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(16px);
}

/* ── Full page background animation ───────────────────────── */
.bg-anim-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: block;
}

.bg-anim {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  position: absolute;
  inset: 0;
}

.bg-anim--left {
  left: 0;
  top: 0;
  transform: none;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.footer-copy,
.footer-built {
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-dot {
  color: var(--border-light);
}

.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.footer-page-name {
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

.footer-social {
  height: 34px;
  min-width: 34px;
  padding: 0 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text-muted);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.footer-social:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.footer-email {
  color: var(--text-muted);
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.25s var(--ease-out);
}

.footer-email:hover {
  color: var(--text);
}

.footer-line {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

@media (max-width: 820px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-center {
    justify-content: flex-start;
  }

  .footer-copy,
  .footer-built {
    white-space: normal;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }

  .footer-email {
    max-width: 70vw;
  }
}
