/* Footer-only social links. Local SVG symbols retain the original brand geometry.
   20px icon boxes / 44px hit areas; the dense LinkedIn tile is optically sized to 18px. */
.social-links {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  align-items: center;
  gap: 4px;
  width: max-content;
  margin: 0;
  padding: 0;
}

/* Align the first visible mark with the Index / Bio text, not with its hitbox. */
.footer__index .social-links {
  margin-top: 4px;
  margin-left: -12px;
}

.social-links .social-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  color: var(--ink, #fff);
  background: transparent;
  font: 400 var(--fs-label, 12px)/var(--lh-label, 14px) var(--font-mono, monospace);
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color .16s ease;
}

.social-links__icon {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: currentColor;
  pointer-events: none;
}

@media (hover: hover) {
  .social-links .social-links__item:hover { background: var(--btn-dark, #212121); }
}

.social-links .social-links__item:active { background: var(--hairline-2, #383838); }
.social-links .social-links__item:focus-visible {
  outline: 2px solid var(--ink, #fff);
  outline-offset: 2px;
  border-radius: 8px;
}

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

@media (forced-colors: active) {
  .social-links .social-links__item { color: LinkText; }
  .social-links .social-links__item:focus-visible { outline-color: Highlight; }
}
