/* ---------- Portraits ---------- */
.people {
  padding: 6rem 1.5rem 7rem;
  background: linear-gradient(180deg, transparent, rgba(2, 26, 58, 0.6) 30%);
}

.people header { text-align: center; margin-bottom: 4rem; }

.people h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
}

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.person {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 8px 8px;
  overflow: hidden;
  padding: 8px;
  background: linear-gradient(160deg, #ffffff, #e8edf4 45%, #aab6c6);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 999px 999px 4px 4px;
}

.person h3 {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  /* auto top margin pins the icons to the bottom of the card, so both
     rows line up even when one name wraps onto two lines */
  margin-top: auto;
  padding-top: 1.25rem;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-3px);
  outline: none;
}

.socials svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 760px) {
  .duo { grid-template-columns: minmax(0, 300px); }
}
