.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.person {
  flex: 0 1 320px;
  text-align: center;
  padding: 32px 24px;
}

.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--highlight);
}

.avatar.initials {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-text);
  font: 700 2.6rem var(--heading);
}

.person .line {
  display: block;
  margin-top: 8px;
  text-decoration: none;
  color: var(--muted);
  word-break: break-word;
}

.person .line:hover {
  color: var(--highlight);
}
