/* =========================================
   SSTUDIO — Team Page
   ========================================= */

/* ---------- Hero ---------- */
.team-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin-top: 0;
}

.team-hero__image-wrap {
  width: 100%;
  height: 100%;
}

.team-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.team-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.6) 0%, rgba(26, 26, 26, 0.15) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5rem;
}

.team-hero__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.8rem;
}

.team-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--hvid);
}

/* ---------- Intro ---------- */
.team-intro {
  padding: 3rem 0;
  background-color: var(--cream);
  text-align: center;
}

.team-intro__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--sort);
  margin-bottom: 1.2rem;
}

.team-intro__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--dark-olive);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Stylist Section ---------- */
.stylist {
  padding: 6rem 0;
  background-color: var(--cream);
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}

.stylist__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.stylist--reversed .stylist__grid {
  direction: rtl;
}

.stylist--reversed .stylist__grid > * {
  direction: ltr;
}

.stylist__image-wrap {
  position: relative;
  overflow: hidden;
}

.stylist__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.stylist__content {
  padding-top: 1rem;
}

.stylist__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--sort);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stylist__tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  font-style: italic;
  color: var(--olive);
  margin-bottom: 2rem;
}

.stylist__bio p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--dark-olive);
  margin-bottom: 1rem;
}

.stylist__quote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--olive);
}

.stylist__quote p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--sort);
}

.stylist__specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.stylist__specialties span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(26, 26, 26, 0.15);
  color: var(--sort);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.stylist__specialties span:hover {
  background-color: var(--sort);
  color: var(--cream);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stylist__grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .team-hero {
    height: 50vh;
  }

  .team-hero__overlay {
    padding-bottom: 3rem;
  }

  .stylist {
    padding: 4rem 0;
  }

  .stylist__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stylist--reversed .stylist__grid {
    direction: ltr;
  }

  .stylist__image {
    aspect-ratio: 4/3;
  }

  .team-intro {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .team-hero {
    height: 40vh;
  }

  .team-hero__overlay {
    padding-bottom: 2.5rem;
  }

  .team-hero__title {
    font-size: 1.8rem;
  }

  .team-intro {
    padding: 2rem 0;
  }

  .team-intro__heading {
    font-size: 1.2rem;
  }

  .team-intro__text {
    font-size: 0.88rem;
  }

  .stylist {
    padding: 3rem 0;
  }

  .stylist__grid {
    gap: 1.5rem;
  }

  .stylist__name {
    font-size: 1.8rem;
  }

  .stylist__tagline {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }

  .stylist__bio p {
    font-size: 0.85rem;
  }

  .stylist__quote {
    margin: 1.5rem 0;
  }

  .stylist__quote p {
    font-size: 0.9rem;
  }

  .stylist__specialties {
    gap: 0.4rem;
  }

  .stylist__specialties span {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
