/* Shared contact affordances. Keep the existing grid layout of gold CTAs. */
a.channel-link:not(.button) {
  display: inline-flex;
  align-items: center;
  column-gap: 12px;
  max-width: 100%;
}

.channel-link > .channel-label {
  min-width: 0;
}

.channel-link > .channel-icon {
  display: block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.text-link.channel-link:hover > .channel-icon {
  transform: none;
}

.contact-copy > a.channel-link:not(.button) {
  display: flex;
  width: fit-content;
}

.mobile-menu a.channel-link {
  display: flex;
  justify-content: flex-start;
}

/* A visible email sits with the phone rather than among the company links. */
.footer-contact-channels {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
}

.site-footer .footer-contact-channels > .channel-link {
  justify-content: flex-end;
  width: fit-content;
  min-height: 44px;
  margin: 0;
  white-space: nowrap;
}

.site-footer .footer-phone.channel-link > .channel-icon {
  width: 26px;
  height: 26px;
}

.site-footer .footer-email.channel-link {
  color: #b9bab3;
  font-size: 15px;
  line-height: 1.4;
}

.site-footer .footer-email.channel-link:hover,
.site-footer .footer-email.channel-link:focus-visible {
  color: #fff;
}

/* Stable labels and generous hit areas; only the decorative marks pulse. */
.footer-social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-columns a.footer-social-link {
  display: inline-flex;
  align-items: center;
  column-gap: 12px;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  color: #d0d1cb;
  line-height: 1.4;
}

.footer-social-name {
  min-width: 0;
}

.footer-social-mark {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  background: #ffffff05;
  color: var(--champagne);
  opacity: .86;
  transform-origin: center;
  animation: footer-social-pulse 12s ease-in-out infinite;
}

.footer-social-mark > svg {
  display: block;
  width: 22px;
  height: 22px;
}

.footer-social-link:nth-child(1) .footer-social-mark {
  color: #ff0033;
  border-color: #ff003338;
  background: #ff00330a;
}

.footer-social-link:nth-child(2) .footer-social-mark {
  color: #fff;
  border-color: transparent;
  border-radius: 10px;
  background: radial-gradient(circle at 28% 106%, #feda75 0%, #fa7e1e 26%, #d62976 52%, #962fbf 76%, #4f5bd5 100%);
}

.footer-social-link:nth-child(3) .footer-social-mark {
  color: #fff;
  border-color: #0866ff;
  background: #0866ff;
}

/* One 1.7-second pulse every four seconds: YouTube, Instagram, Facebook. */
.footer-social-link:nth-child(2) .footer-social-mark {
  animation-delay: -8s;
}

.footer-social-link:nth-child(3) .footer-social-mark {
  animation-delay: -4s;
}

.footer-social-links:hover .footer-social-mark,
.footer-social-links:focus-within .footer-social-mark {
  animation-play-state: paused;
}

.footer-columns a.footer-social-link:hover,
.footer-columns a.footer-social-link:focus-visible {
  color: #fff;
}

.footer-social-link:hover .footer-social-mark,
.footer-social-link:focus-visible .footer-social-mark {
  box-shadow: 0 0 0 3px #ffffff18;
}

@keyframes footer-social-pulse {
  0%, 2%, 16%, 100% {
    transform: scale(1);
    opacity: .86;
  }
  8% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-contact-channels {
    flex: 0 1 100%;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
  }

  .site-footer .footer-contact-channels > .channel-link {
    justify-content: flex-start;
  }

  .site-footer .footer-phone.channel-link > .channel-icon {
    width: 22px;
    height: 22px;
  }

  .site-footer .footer-email.channel-link {
    font-size: 14px;
  }

  .footer-columns a.footer-social-link {
    column-gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-social-mark {
    animation: none;
    transform: none;
    opacity: 1;
  }
}
