/**
 * Our Staff page — layout and staff directory grid.
 */

.staff-page {
  background: #fff;
}

/* Hero */
.staff-page-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.staff-page-hero__media {
  position: absolute;
  inset: 0;
}

.staff-page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.staff-page-hero__media--fallback {
  background: linear-gradient(135deg, rgb(22, 78, 108) 0%, rgb(30, 108, 147) 50%, rgb(25, 90, 125) 100%);
}

.staff-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.staff-page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1rem 1rem 2rem;
}

.staff-page-hero__content {
  max-width: 56rem;
  margin: 0 auto;
}

.staff-page-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.staff-page-hero__sub {
  margin: 0 0 1rem;
  font-size: clamp(0.875rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.staff-page-hero__pill {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.staff-page-hero__pill-text {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
}

/* Team */
.staff-page-team {
  padding: 4rem 0;
  background: #fff;
}

@media (min-width: 1024px) {
  .staff-page-team {
    padding: 6rem 0;
  }
}

.staff-page-team__wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .staff-page-team__wrap {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .staff-page-team__wrap {
    padding: 0 2rem;
  }
}

.staff-page-team__intro {
  text-align: center;
  margin-bottom: 4rem;
}

.staff-page-team__h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: rgb(17, 24, 39);
}

.staff-page-team__lead {
  margin: 0 auto;
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgb(55, 65, 81);
}

.staff-page-team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  list-style: none;
  margin: 0 0 4rem;
  padding: 0;
}

@media (min-width: 768px) {
  .staff-page-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .staff-page-team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 1280px) {
  .staff-page-team__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.staff-page-team__card {
  text-align: center;
}

.staff-page-team__photo {
  margin: 0 auto 1rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  background: rgb(243, 244, 246);
}

.staff-page-team__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-page-team__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgb(229, 231, 235) 0%, rgb(209, 213, 219) 100%);
}

.staff-page-team__name {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(17, 24, 39);
}

.staff-page-team__role {
  margin: 0;
  font-size: 1.125rem;
  color: rgb(75, 85, 99);
}

.staff-page-team__empty {
  text-align: center;
  color: rgb(107, 114, 128);
  margin: 0 0 2rem;
}
