/* team.css */

.team-section { background: var(--white); }
.team-section-alt { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.team-grid { margin-top: 2rem; }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light-gray);
}

.placeholder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
}
.placeholder-photo.small { aspect-ratio: 1; width: 64px; border-radius: 50%; flex-shrink: 0; }

.photo-initials {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-muted);
  opacity: 0.4;
}

.team-info { padding: 1.5rem; }
.team-name { margin-bottom: 0.3rem; font-size: 1.05rem; }
.team-title { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-bottom: 0.85rem; letter-spacing: 0.02em; }
.team-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.team-links { display: flex; gap: 0.75rem; }
.team-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.team-link:hover { background: var(--accent-light); }

/* CORE GRID */
.core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.core-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: box-shadow 0.2s;
}
.core-card:hover { box-shadow: var(--shadow-sm); }

.core-info { min-width: 0; }
.core-info .team-name { font-size: 0.9rem; margin-bottom: 0.15rem; }
.core-info .team-title { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; margin-bottom: 0; }

/* JOIN */
.join-section { background: var(--off-white); border-top: 1px solid var(--border); }
.join-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.join-box h2 { margin-bottom: 1rem; }
.join-box p { color: var(--text-body); margin-bottom: 2rem; font-size: 0.975rem; }

@media (max-width: 1024px) {
  .leadership-grid { grid-template-columns: 1fr 1fr; }
  .core-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .leadership-grid { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: 1fr; }
}
