/* =========================================
   css/connect.css — Warm handcrafted footer
   ========================================= */

.site-footer {
  background: #f4f1eb;          /* same cream as the hero */
  border-top: none;
  padding: 5rem 2rem 4rem;
  text-align: center;
  color: var(--ink);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Handwritten "let's connect" heading */
.footer-heading {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  transform: rotate(-1deg);
  display: inline-block;
}

/* Squiggly divider */
.footer-squiggle {
  width: 140px;
  height: 12px;
  color: var(--ink);
  opacity: 0.25;
  flex-shrink: 0;
}

/* Link row */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  margin-top: 0.5rem;
}

.footer-dot {
  color: var(--ink);
  opacity: 0.3;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 0.25rem;
  user-select: none;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink);
  border: 1.5px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.footer-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-link:hover {
  background: rgba(31, 27, 22, 0.07);
  border-color: rgba(31, 27, 22, 0.15);
}

/* CV pill — filled dark treatment */
.footer-link--cv {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.footer-link--cv:hover {
  background: #3a3530;
  border-color: #3a3530;
  color: var(--bg);
}

/* Name stamp at bottom */
.footer-name {
  font-family: 'Gloria Hallelujah', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  opacity: 0.35;
  margin: 0.5rem 0 0;
  text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .footer-heading {
    font-size: 1.5rem;
  }

  .footer-links {
    gap: 0.4rem 0.1rem;
  }

  .footer-dot {
    display: none;
  }

  .footer-link {
    font-size: 0.85rem;
    padding: 0.45rem 0.8rem;
  }
}
