/* Mise en page — equipe */

.team-hero {
  padding: 42px 0px 85px;
  display: flex;
  align-items: center;
}

.team-hero__photo {
  overflow: hidden;
  position: absolute;
  inset: 0px;
  z-index: -2;
}

.team-hero__photo img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.team-hero::after {
  background: linear-gradient(
    90deg,
    rgba(23, 26, 23, 0.96) 7%,
    rgba(23, 26, 23, 0.875) 40%,
    rgba(23, 26, 23, 0.35) 80%
  );
}

.team-hero__copy {
  max-width: 770px;
}

.team-hero__copy h1 {
  font-size: clamp(48px, 5.1vw, 74px);
}

.team-hero__copy > p:last-child {
  max-width: 565px;
  margin-top: 28px;
  color: rgb(213, 216, 205);
  line-height: 1.85;
}

.director {
  background: var(--color-panel);
}

.director__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 105px;
  align-items: start;
}

.director__name {
  margin: 30px 12px 0px;
}

.director__name h2 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: normal;
}

.director__name p {
  font-size: 13px;
  color: var(--color-accent);
  margin-top: 9px;
  line-height: 1.6;
}

.director__copy h2 {
  font-size: clamp(36px, 3.3vw, 48px);
}

.director__letter {
  margin-top: 32px;
  color: rgb(204, 208, 196);
  font-size: 16px;
  line-height: 1.9;
}

.director__letter p + p {
  margin-top: 22px;
}

.director__signature {
  font:
    italic 29px Georgia,
    serif;
  color: rgb(216, 185, 127);
  margin-top: 30px;
}

.team-poles__icon {
  width: 46px;
  height: 46px;
  color: var(--color-accent);
  display: block;
  margin-bottom: 30px;
}

.team-poles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(201, 168, 106, 0.25);
  margin-top: 50px;
}

.team-poles__item {
  padding: 35px 35px 38px;
  border-right: 1px solid rgba(201, 168, 106, 0.208);
}

.team-poles__item:first-child {
  padding-left: 0px;
}

.team-poles__item:last-child {
  border: 0px;
}

.team-poles__item > span {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: rgb(191, 168, 117);
}

.team-poles__item h3 {
  font-size: 26px;
  margin-top: 16px;
}

.team-poles__item p {
  font-size: 15px;
  margin-top: 18px;
  color: rgb(203, 208, 194);
  line-height: 1.8;
}

.interlude--team .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.interlude--team p:not(.eyebrow) {
  margin: 0px;
  font:
    23px / 1.6 Georgia,
    serif;
  max-width: 550px;
}

.team-approach {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.collaboration-steps {
  border-left: 1px solid rgba(201, 168, 106, 0.4);
  padding-left: 35px;
}

.collaboration-steps__item {
  padding: 0px 0px 28px;
  position: relative;
}

.collaboration-steps__item:last-child {
  padding-bottom: 0px;
}

.collaboration-steps__item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--color-accent);
  background: var(--color-panel);
  border-radius: 50%;
}

.collaboration-steps__item > span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--color-accent);
}

.collaboration-steps__item h3 {
  font-size: 25px;
  margin-top: 10px;
}

.collaboration-steps__item p {
  color: rgb(203, 208, 194);
  font-size: 14px;
  line-height: 1.75;
  margin-top: 12px;
}

.work-photo img {
  height: 500px;
  object-fit: cover;
}

.detail-line {
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: 0.7px;
  line-height: 1.8;
  border-top: 1px solid rgba(201, 168, 106, 0.267);
  padding-top: 20px;
  margin-top: 30px;
}

.director__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Responsive */

@media (max-width: 1100px) {
  .director__grid {
    gap: 60px;
  }

  .interlude--team .container,
  .team-approach {
    gap: 50px;
  }

  .team-poles__item {
    padding-inline: 24px;
  }
}

@media (max-width: 800px) {
  .director__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-hero {
    padding: 30px 0px 65px;
  }

  .team-hero::after {
    background: linear-gradient(
      90deg,
      rgba(23, 26, 23, 0.93),
      rgba(23, 26, 23, 0.65)
    );
  }

  .director__grid > div:first-child {
    max-width: 460px;
    width: 100%;
    margin: auto;
  }

  .interlude--team .container,
  .team-approach {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-poles {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .team-poles__item {
    padding: 28px 0px;
    border-right: 0px;
    border-bottom: 1px solid rgba(201, 168, 106, 0.208);
  }

  .team-poles .team-poles__icon {
    float: right;
    margin: 5px 0px 0px 20px;
  }

  .interlude--team p:not(.eyebrow) {
    font-size: 21px;
  }

  .work-photo img {
    height: 370px;
  }
}

@media (max-width: 480px) {
  .director__grid {
    gap: 45px;
  }

  .team-hero__copy h1 {
    font-size: 40px;
  }

  .work-photo img {
    height: 310px;
  }
}
