.staff-heading {
  padding: 58px 0 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #090909, #220509);
}

.staff-heading .staff-name {
  max-width: 1050px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(2.6rem, 4.4vw, 3.9rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

.staff-heading p {
  margin: 0;
  color: #d2d2cf;
  font-size: 1.08rem;
}

.staff-profile {
  border-bottom: 1px solid var(--line);
}

.staff-two {
  align-items: start;
}

.staff-photo {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid #343434;
  background: #111;
}

.staff-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.staff-photo.portrait-contain img {
  object-fit: contain;
}

.staff-photo.portrait-cover img {
  object-fit: cover;
  object-position: center center;
}

.staff-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.staff-credential {
  min-height: 150px;
  padding: 30px 36px;
  border: 1px solid #3a3a3a;
  border-top: 5px solid var(--red);
  background: #141414;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 850;
  line-height: 1.3;
}

@media (max-width: 820px) {
  .staff-heading {
    padding: 46px 0 34px;
  }

  .staff-heading .staff-name {
    font-size: clamp(1.25rem, 6.5vw, 2.6rem);
    letter-spacing: -0.045em;
  }

  .staff-profile h2 {
    font-size: clamp(1.1rem, 5.1vw, 1.75rem);
    line-height: 1.04;
  }

  .staff-photo {
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .staff-heading .staff-name {
    font-size: clamp(1.15rem, 6vw, 1.35rem);
  }

  .staff-profile h2 {
    font-size: clamp(1.05rem, 4.8vw, 1.3rem);
  }

  .staff-credentials {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .staff-credential {
    min-height: 0;
    padding: 22px;
  }
}
