.header-socials {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.site-header > .header-socials { margin-right: auto; }

.header-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border, #d9d9d2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink, #181817);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.header-socials a:hover,
.header-socials a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent, #294fc4);
  background: #fff;
  color: var(--accent, #294fc4);
}

.header-socials [data-copy-email].is-copied {
  border-color: var(--green, #287a51);
  background: var(--green, #287a51);
  color: #fff;
}

.email-address.is-copied { color: var(--green, #287a51); }

.email-button.is-copied {
  border-color: var(--green, #287a51);
  background: var(--green, #287a51);
  transform: rotate(-2deg);
}

.header-socials svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}

@media (max-width: 620px) {
  .site-header {
    min-height: auto;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.7rem 0;
  }

  .site-header .brand span {
    display: inline;
  }

  .site-header > .header-socials { margin-right: 0; }

  .site-nav {
    flex: 0 0 100%;
    width: 100%;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .header-socials a {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-socials a { transition: none; }
}
