/* Team page layout and components. Every section uses editable core blocks. */

.lsh-team-body .content-area {
  margin-bottom: 0;
  margin-top: 0;
}

.lsh-team-body .entry-header,
.lsh-team-body .entry-footer {
  display: none;
}

.lsh-team-body .content-wrap,
.lsh-team-body .site-main,
.lsh-team-body .entry-content-wrap,
.lsh-team-body article.page {
  padding: 0;
}

.lsh-team-body .site-container,
.lsh-team-body .content-container {
  max-width: none;
  padding: 0;
}

.lsh-team-page {
  --lsh-team-purple: #55206f;
  --lsh-team-purple-deep: #351044;
  --lsh-team-red: #b33138;
  --lsh-team-sky: #dceef7;
  --lsh-team-cream: #f7f4ed;
  --lsh-team-ink: #17212b;
  --lsh-team-muted: #5f6872;
  --lsh-team-white: #fff;
  color: var(--lsh-team-ink);
  overflow: hidden;
}

.lsh-team-page * {
  box-sizing: border-box;
}

.lsh-team-page > * {
  margin-block: 0 !important;
}

.lsh-team-page .wp-block-group {
  margin-block-start: 0;
}

.lsh-team-shell {
  margin-inline: auto;
  max-width: 1220px;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.lsh-team-section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.lsh-team-section--soft {
  background: var(--lsh-team-cream);
}

.lsh-team-section--sky {
  background: linear-gradient(145deg, #f8fcfe 0%, var(--lsh-team-sky) 100%);
}

.lsh-team-heading {
  color: var(--lsh-team-purple-deep);
  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}

.lsh-team-heading--center {
  margin-inline: auto;
  max-width: none;
  text-align: center;
  width: 100%;
}

.lsh-team-lead {
  color: var(--lsh-team-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  max-width: 62ch;
}

.lsh-team-lead--center {
  margin-inline: auto;
  text-align: center;
}

.lsh-team-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.lsh-team-button-row .wp-block-button__link {
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.92rem 1.45rem;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lsh-team-button-row .wp-block-button__link:hover {
  box-shadow: 0 12px 28px rgba(23, 33, 43, 0.22);
  transform: translateY(-2px);
}

.lsh-team-button--primary .wp-block-button__link {
  background: var(--lsh-team-red);
  color: var(--lsh-team-white);
}

.lsh-team-button--light .wp-block-button__link {
  background: var(--lsh-team-white);
  color: var(--lsh-team-purple-deep);
}

.lsh-team-button--outline .wp-block-button__link {
  background: transparent;
  border-color: currentColor;
  color: var(--lsh-team-white);
}

.lsh-team-hero {
  background:
    radial-gradient(circle at 83% 18%, rgba(220, 238, 247, 0.18) 0 11rem, transparent 11.1rem),
    linear-gradient(135deg, var(--lsh-team-purple-deep) 0%, var(--lsh-team-purple) 100%);
  color: var(--lsh-team-white);
  min-height: 570px;
  position: relative;
}

.lsh-team-hero::after {
  background: var(--lsh-team-red);
  border-radius: 50%;
  content: "";
  height: 10rem;
  opacity: 0.86;
  position: absolute;
  right: -4.5rem;
  top: -4rem;
  width: 10rem;
}

.lsh-team-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  min-height: 570px;
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
  position: relative;
  z-index: 1;
}

.lsh-team-hero h1 {
  color: var(--lsh-team-white);
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0 0 1.25rem;
  max-width: 11ch;
  text-wrap: balance;
}

.lsh-team-hero__copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  line-height: 1.65;
  max-width: 590px;
}

.lsh-team-hero__visual {
  background: var(--lsh-team-white);
  border-radius: 30px;
  box-shadow: 0 32px 80px rgba(17, 3, 24, 0.34);
  height: clamp(390px, 32vw, 460px);
  margin: 0;
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.lsh-team-hero__visual::after {
  border: 2px solid rgba(179, 49, 56, 0.28);
  border-radius: 50%;
  bottom: -4rem;
  content: "";
  height: 11rem;
  position: absolute;
  right: -3rem;
  width: 11rem;
}

.lsh-team-hero__visual img {
  display: block;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  padding: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.lsh-team-grid {
  align-items: stretch;
  display: grid;
  gap: 1.4rem;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.75rem, 5vw, 4.25rem);
}

.lsh-team-card {
  background: var(--lsh-team-white);
  border: 1px solid rgba(53, 16, 68, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(23, 33, 43, 0.08);
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  height: 100%;
  overflow: hidden;
}

.lsh-team-card__media {
  align-items: flex-end;
  background: var(--lsh-team-white);
  display: flex;
  margin: 0;
  min-height: 355px;
  overflow: hidden;
}

.lsh-team-card__media img {
  display: block;
  height: 100%;
  max-height: 355px;
  object-fit: contain;
  object-position: center bottom;
  width: 100%;
}

.lsh-team-card__media .wp-image-664 {
  object-fit: cover;
  object-position: 52% center;
}

.lsh-team-card__media img.lsh-team-card__photo {
  object-fit: cover;
  object-position: center 15%;
}

.lsh-team-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 2.3rem);
}

.lsh-team-card__role {
  color: var(--lsh-team-red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0 0 0.85rem !important;
  text-transform: uppercase;
}

.lsh-team-card h3 {
  color: var(--lsh-team-purple-deep);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.lsh-team-card__body > p:not(.lsh-team-card__role) {
  color: var(--lsh-team-muted);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 1025px) {
  .lsh-team-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc((100% - 1.4rem) / 2);
    width: 100%;
  }
}

.lsh-team-story {
  background: var(--lsh-team-purple-deep);
  color: var(--lsh-team-white);
}

.lsh-team-story__grid {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.lsh-team-story__media {
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  margin: 0;
  overflow: hidden;
}

.lsh-team-story__media img {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.lsh-team-story .lsh-team-heading {
  color: var(--lsh-team-white);
}

.lsh-team-story__copy > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
}

.lsh-team-values {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.lsh-team-value {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 1rem;
  grid-template-columns: 2.6rem 1fr;
  padding-top: 0.85rem;
}

.lsh-team-value strong {
  align-items: center;
  background: var(--lsh-team-red);
  border-radius: 50%;
  display: inline-flex;
  height: 2.6rem;
  justify-content: center;
  width: 2.6rem;
}

.lsh-team-value p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.lsh-team-principles {
  align-items: stretch;
  display: grid;
  gap: 1.25rem;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.lsh-team-principle {
  background: var(--lsh-team-white);
  border: 1px solid rgba(53, 16, 68, 0.1);
  border-radius: 22px;
  height: 100%;
  padding: clamp(1.6rem, 3vw, 2.2rem);
}

.lsh-team-principle figure {
  background: var(--lsh-team-sky);
  border-radius: 16px;
  margin: 0 0 1.4rem;
  padding: 0.85rem;
  width: 64px;
}

.lsh-team-principle figure img {
  display: block;
  filter: brightness(0) saturate(100%);
  height: 36px;
  width: 36px;
}

.lsh-team-principle h3 {
  color: var(--lsh-team-purple-deep);
  font-size: 1.4rem;
  margin: 0 0 0.65rem;
}

.lsh-team-principle p {
  color: var(--lsh-team-muted);
  line-height: 1.65;
  margin: 0;
}

.lsh-team-final-cta {
  align-items: center;
  color: var(--lsh-team-white);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  padding-inline: 0;
}

.lsh-team-final-cta > .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(179, 49, 56, 0.96) 0%, rgba(179, 49, 56, 0.88) 48%, rgba(53, 16, 68, 0.82) 100%);
  opacity: 1;
}

.lsh-team-final-cta > .wp-block-cover__image-background {
  object-position: center 38%;
}

.lsh-team-final-cta > .wp-block-cover__inner-container {
  padding: 0;
  width: 100%;
}

.lsh-team-final-cta__inner {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.lsh-team-final-cta .lsh-team-button-row {
  align-items: stretch;
  flex-direction: column;
  flex: 0 0 min(100%, 17.5rem);
  width: min(100%, 17.5rem);
}

.lsh-team-final-cta .wp-block-button,
.lsh-team-final-cta .wp-block-button__link {
  width: 100%;
}

.lsh-team-final-cta .wp-block-button__link {
  text-align: center;
}

.lsh-team-final-cta h2 {
  color: var(--lsh-team-white);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  max-width: 17ch;
  text-wrap: balance;
}

@media (max-width: 1024px) {
  .lsh-team-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  }

  .lsh-team-grid {
    grid-template-columns: 1fr;
  }

  .lsh-team-principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .lsh-team-principle:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  .lsh-team-hero__grid,
  .lsh-team-story__grid {
    grid-template-columns: 1fr;
  }

  .lsh-team-hero__grid {
    padding-block: 3.75rem;
  }

  .lsh-team-hero__visual {
    height: 300px;
    min-height: 300px;
  }

  .lsh-team-hero__visual img {
    min-height: 0;
  }

  .lsh-team-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .lsh-team-section {
    padding-block: 3.75rem;
  }

  .lsh-team-hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.65rem);
  }

  .lsh-team-hero__copy {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .lsh-team-button-row,
  .lsh-team-button-row .wp-block-button,
  .lsh-team-button-row .wp-block-button__link {
    width: 100%;
  }

  .lsh-team-button-row .wp-block-button__link {
    text-align: center;
  }

  .lsh-team-final-cta .lsh-team-button-row {
    flex-basis: auto;
    width: 100%;
  }

  .lsh-team-card {
    grid-template-columns: 1fr;
    grid-template-rows: 330px 1fr;
  }

  .lsh-team-card__media {
    height: 330px;
    min-height: 0;
  }

  .lsh-team-card__media img {
    height: 330px;
    max-height: none;
  }

  .lsh-team-card__body {
    min-height: 250px;
  }

  .lsh-team-principles {
    grid-template-columns: 1fr;
  }

  .lsh-team-principle:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lsh-team-page *,
  .lsh-team-page *::before,
  .lsh-team-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
