/* Leadership photo cards + team listing refinements */

.lead-feature {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 8px 0 40px;
  margin: 0 0 12px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
  max-width: 920px;
}

.lead-feature-photo-wrap {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-muted);
}

.lead-feature-photo {
  width: 100%;
  height: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.lead-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead-feature-name {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lead-feature-role {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--muted);
}

.lead-feature-bio {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.lead-section {
  margin: 28px 0 44px;
}

.lead-section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.lead-card {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.lead-card-photo-wrap {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-muted);
}

.lead-card-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.lead-card-name {
  margin: 12px 0 4px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.lead-card-role {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.lead-feature,
.lead-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lead-feature:hover .lead-feature-name,
.lead-card:hover .lead-card-name {
  color: var(--blue);
}

.lead-feature:focus-visible,
.lead-card:focus-visible,
.team-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .lead-feature:hover,
  .lead-card:hover {
    transform: translateY(-2px);
  }
  .lead-feature:hover .lead-feature-photo,
  .lead-card:hover .lead-card-photo {
    transform: scale(1.02);
  }
  .lead-feature:active,
  .lead-card:active {
    transform: translateY(0);
  }
  .lead-feature-photo,
  .lead-card-photo {
    transition: transform 180ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-feature,
  .lead-card,
  .lead-feature-photo,
  .lead-card-photo,
  .team-card {
    transition: none;
  }
}

.lead-text-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.lead-text-card {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.lead-text-card .team-name,
.lead-text-card .lead-card-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.lead-text-card .team-role,
.lead-text-card .lead-card-role {
  margin: 0;
}

.home-lead-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .lead-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lead-feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 28px;
  }
  .lead-feature-photo-wrap,
  .lead-feature-photo {
    max-width: 320px;
  }
  .lead-text-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .lead-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }
  .lead-card-name {
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }
}

.profile-photo-wrap {
  width: 160px;
  max-width: 40vw;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border, #e5e7eb);
}

.profile-photo-wrap img {
  width: 100%;
  height: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
