.contact {
  background: var(--color-ink);
  color: var(--color-surface);
  padding-inline: max(var(--space-8), calc(50% - 18rem));
  text-align: center;
}

.contact__title {
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-tight);
  color: var(--color-surface);
  margin-bottom: var(--space-2);
}

.contact__lead {
  margin-bottom: var(--space-8);
  color: rgb(255 255 255 / 0.55);
}

.contact__lead strong {
  font-weight: var(--font-medium);
  color: var(--color-surface);
}

.contact__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
}

.contact__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: rgb(255 255 255 / 0.05);
  border: var(--border-base) solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.4);
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease-motion), transform var(--ease-motion);
  text-decoration: none;
}

a.contact__item:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.25);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.5);
  transform: translateY(-2px);
}

a.contact__item:focus-visible {
  outline: var(--border-thick) solid var(--color-gold);
  outline-offset: var(--space-1);
}

.contact__item--wechat {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.contact__name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-surface);
}

.contact__arrow {
  font-size: var(--text-lg);
  color: var(--color-gold);
  line-height: 1;
  transition: transform var(--ease);
}

a.contact__item:hover .contact__arrow {
  transform: translate(2px, -2px);
}

.contact__wechat {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.55);
  margin: 0;
}

.contact__wechat-id {
  font-weight: var(--font-bold);
  color: var(--color-surface);
  word-break: break-all;
}
