/* People page: square portrait cards grouped into sections. Uses the shared theme
   tokens from refinement.css (--ink, --muted, --line). */
.people-section { padding: 44px 0 60px; border-top: 1px solid var(--line); }
.people-section:last-of-type { padding-bottom: 80px; }
.people-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.people-section-head h2 { margin: 0; font-size: calc(32 * var(--u)); }
.people-section-head p { margin: 0; max-width: calc(360 * var(--u)); font-size: calc(14 * var(--u)); line-height: 1.7; text-align: right; }

/* 200px fits the longest name ("Isaac Garcia-Bosch, PhD") on one line at 16px */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.person { margin: 0; }
.person-photo {
  display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 1 / 1; overflow: hidden;
  background: #edf3fc; border: 1px solid #dbe4f1; border-radius: 4px;
}
.person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* placeholder silhouette, sitting on the bottom edge like a portrait */
.person-photo svg { display: block; width: 66%; height: auto; fill: #c3d3ea; }
.person-name { margin: 14px 0 3px; font-size: calc(16 * var(--u)); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-name a { color: inherit; text-decoration: none; }
.person-name a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.person-role { margin: 0; font-size: calc(13 * var(--u)); line-height: 1.5; color: var(--muted); }

@media (max-width: 760px) {
  .people-section { padding: 32px 0 44px; }
  .people-section-head { flex-direction: column; gap: 8px; margin-bottom: 22px; }
  .people-section-head h2 { font-size: calc(26 * var(--u)); }
  .people-section-head p { text-align: left; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .person-name { font-size: min(calc(15 * var(--u)), 3.4vw); margin-top: 10px; }
}
