/* ================================
   Staff Header
   ================================ */
.staff-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, #2f4f4f 100%);
  color: #fff;
  text-align: center;
  padding: 1.5rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2.5rem;
}

.staff-header__content {
  max-width: 65ch; /* narrower width for sleek look */
  margin: 0 auto;
}

.staff-header__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-serif-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0,0,0,0.35);
  animation: shadowPulse 2s ease-out forwards;
}

.staff-header__subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0 auto;
  max-width: fit-content;
  padding-bottom: 10px;
  color: white;
  display: flex;
}

/* Reuse the animated shadow keyframes */
@keyframes shadowPulse {
  0%   { text-shadow: 0 0 0 rgba(0,0,0,0); opacity: 0.8; }
  40%  { text-shadow: 0 4px 12px rgba(0,0,0,0.4); opacity: 1; }
  70%  { text-shadow: 0 6px 18px rgba(0,0,0,0.6); }
  100% { text-shadow: 0 3px 8px rgba(0,0,0,0.35); }
}

/* ================================
   Staff Bios Section
   ================================ */
.staff-bios {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.staff-bios__header {
  text-align: center;
  margin-bottom: 2rem;
}

.staff-bios__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-family: var(--font-serif-primary);
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

/* ================================
   Staff Grid
   ================================ */
.staff-bios__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.staff-card {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ================================
   Portraits
   ================================ */
.staff-card__photo {
  text-align: center;
  margin-bottom: 1rem;
}

.staff-card__portrait {
  width: 100%;
  max-width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
  margin: 0 auto;
  display: block;
}

.staff-card__caption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  text-align: center;
}

/* ================================
   Info
   ================================ */
.staff-card__info {
  text-align: center;
}

.staff-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.25rem;
}

.staff-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-green);
  margin-bottom: 1rem;
  text-align: center;
}

.staff-card__bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 0.75rem;
  text-align: left;
}

.staff-card__contact {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #333;
}

.staff-card__contact li {
  margin-bottom: 0.5rem;
}
html {
  scroll-behavior: smooth; /* enables smooth scroll for anchor links */
}

#staff {
  scroll-margin-top: 80px; /* adjust if you have a fixed header */
}

  
