/* Shared social discovery component. Source markup: /_includes/social-follow.html. */
.social-follow {
  --social-text: var(--text-primary, var(--text, #f0f0f0));
  --social-muted: var(--text-secondary, var(--muted, #8b95a5));
  --social-border: var(--border-strong, var(--border, rgba(255, 255, 255, 0.12)));
  --social-accent: var(--azure-cyan, var(--accent, #2b88d8));
  --social-surface: var(--bg-card, var(--section-bg, rgba(255, 255, 255, 0.04)));
  width: min(100%, 1200px);
  margin: 40px auto 28px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  color: var(--social-text);
  text-align: left;
  background:
    radial-gradient(circle at 8% 0%, rgba(80, 230, 255, 0.12), transparent 38%),
    var(--social-surface);
  border: 1px solid var(--social-border);
  border-radius: 20px;
}

.site-footer .social-follow { margin-top: 0; }

.social-follow__copy { min-width: min(100%, 270px); }

.social-follow__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--social-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.social-follow .social-follow__title {
  margin: 0 0 6px;
  color: var(--social-text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.social-follow .social-follow__description {
  max-width: 42ch;
  margin: 0;
  color: var(--social-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.social-follow__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.social-follow .social-follow__link {
  min-height: 44px;
  margin: 0;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  color: var(--social-muted);
  background: color-mix(in srgb, var(--social-surface) 86%, transparent);
  border: 1px solid var(--social-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.social-follow .social-follow__link:hover {
  color: var(--social-text);
  background: color-mix(in srgb, var(--social-accent) 10%, var(--social-surface));
  border-color: var(--social-accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.social-follow .social-follow__link:focus-visible {
  outline: 2px solid var(--social-accent);
  outline-offset: 3px;
}

.social-follow__link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

@media (max-width: 820px) {
  .social-follow {
    flex-direction: column;
    text-align: center;
  }

  .social-follow__links { justify-content: center; }
}

@media (max-width: 520px) {
  .social-follow { padding: 22px 18px; }

  .social-follow__links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-follow .social-follow__link { width: 100%; }
  .social-follow .social-follow__link:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .social-follow .social-follow__link { transition: none; }
}
