:root {
  --brand-white: #ececec;
  --brand-black: #191a19;
  --pink: #e54b8d;
  --white: white;
  --black: black;
  --blue: #c0fcf8;
  --dark-grey: #333;
  --light-grey: #999;
}

/* Ensure navbar stays on top of all content */
.navbar.fixed-top {
  z-index: 99999;
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

.container-large {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.container-large.is--sticky {
  position: sticky;
  top: 100px;
  overflow: visible;
}

.padding-block {
  padding-top: 40px;
  padding-bottom: 14.6vw;
}

.padding-block.has--no-bottom {
  padding-bottom: 0;
}

.relative-block {
  position: relative;
}

.reviews-section {
  background-color: #ffffff;
  position: relative;
}

.team-section-header {
  text-align: center;
  padding: 80px 20px 0;
}

.content-block.has--full-height {
  height: 100svh;
  overflow: visible;
}

.content-block.has--full-height.is--relative {
  z-index: 9999;
  overflow: visible;
}

.review-collection {
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
  overflow: visible;
}

.swiper {
  z-index: 5;
  overflow: visible;
}

.swiper.is--reviews {
  position: relative;
  overflow: visible;
}

.swiper-wrapper {
  perspective: 71vw;
  display: flex;
  position: relative;
}

.swiper-wrapper.is--reviews {
  height: calc(33vw + 100px);
  position: relative;
  padding-top: 0;
}

.swiper-slide.is--review {
  perspective: 73vw;
  width: 300px;
  max-width: 75vw;
  height: auto;
  min-height: auto;
  display: flex;
  position: absolute;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.swiper-slide.is--review.is--left {
  inset: 0% 0% auto auto;
}

.swiper-slide.is--review.is--right {
  inset: 0% auto auto 0%;
}

.review-block {
  background-color: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: translateZ(0);
}

.swiper-pagination {
  display: none;
}

.hidden-link,
.hidden-block {
  display: none;
}

.texture-wrapper {
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0% 0% auto;
  overflow: hidden;
}

.texture-wrapper.is--sticky {
  background-color: #ffffff;
}

.texture-wrapper.is--smaller {
  height: 41vw;
}

.texture-block {
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: multiply;
  object-fit: contain;
  background-image: url("https://cdn.prod.website-files.com/66c2fc2d3f238706366ee71c/66d6c0c9c4e66da0d30c9f2a_texture.webp");
  background-repeat: repeat;
  background-size: 100%;
  width: 100vw;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.reviews-section .texture-block {
  display: none;
}

.texture-block.is--card_left {
  width: 70vw;
  left: -10%;
  display: none !important;
}

.texture-block.is--card_right {
  opacity: 0.7;
  mix-blend-mode: color-burn;
  width: 70vw;
  position: absolute;
  inset: 0% 0% 0% -5%;
  display: none !important;
}

.texture-block.is--photo {
  opacity: 1;
  width: 100vw;
  min-width: 100vw;
  display: none;
  left: 0%;
}

/* ==================== TEAM CARD STYLES ==================== */

.team-card {
  background: #0a3d4d;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(5, 43, 59, 0.12);
  border: none;
  transition: box-shadow 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.team-card:hover {
  box-shadow: 0 20px 50px rgba(5, 43, 59, 0.18);
}

.team-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 180px;
  background: linear-gradient(135deg, #0a3d4d 0%, #164a5c 100%);
  overflow: hidden;
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-avatar img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 20px 18px;
  text-align: center;
  background: #0a3d4d;
  flex: 1;
}

.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
  text-transform: none;
}

.team-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: #36c2d1;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-focus {
  font-size: 0.78rem;
  color: #b8c5cc;
  line-height: 1.5;
  margin: 0;
  text-transform: none;
}

/* ==================== MOBILE RESPONSIVE ==================== */
/* Team cards: desktop stack effect + mobile/tablet carousel behavior */

@media screen and (max-width: 767px) {
  .relative-block {
    height: auto !important;
  }

  .container-large.is--sticky {
    position: relative;
    height: auto;
  }

  .content-block.has--full-height {
    height: auto;
  }

  .content-block.has--full-height.is--relative {
    height: auto;
    perspective: none;
  }

  .review-collection {
    height: auto;
  }

  .swiper.is--reviews {
    overflow: hidden;
  }

  .swiper-wrapper.is--reviews {
    perspective: none;
    height: auto;
    min-height: unset;
    display: flex;
    flex-direction: row;
    gap: 0;
    padding-top: 0;
  }

  .swiper-slide.is--review {
    position: relative !important;
    transform: none !important;
    width: 75vw !important;
    max-width: 300px;
    flex-shrink: 0;
    min-height: unset;
    inset: auto !important;
  }

  .swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding-bottom: 40px;
  }

  .team-card-header {
    height: 200px;
  }

  .team-card-body {
    padding: 20px 18px;
  }

  /* Reviews-section scoped mobile overrides */
  .reviews-section .relative-block {
    height: auto !important;
  }

  .reviews-section .container-large.is--sticky {
    position: relative;
    height: auto;
  }

  .reviews-section .content-block.has--full-height.is--relative {
    height: auto;
    perspective: none;
  }

  .reviews-section .review-collection {
    height: auto;
  }

  .reviews-section #reviews.swiper {
    height: auto;
    overflow: hidden;
  }

  .reviews-section .swiper-wrapper.is--reviews {
    perspective: none;
    min-height: unset;
    display: flex;
    flex-direction: row;
    gap: 0;
  }

  .reviews-section .swiper-slide.is--review {
    position: relative !important;
    transform: none !important;
    width: 80vw !important;
    max-width: 340px;
    flex-shrink: 0;
    min-height: unset;
    inset: auto !important;
  }

  .reviews-section .swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding-bottom: 40px;
  }

  .team-section-header {
    padding: 50px 20px 10px;
  }
}

@media screen and (min-width: 768px) {
  .swiper-pagination {
    display: none;
  }

  .reviews-section .swiper-pagination {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .swiper-slide.is--review {
    width: 260px;
  }

  .team-card-header {
    height: 150px;
  }

  .team-card-body {
    padding: 16px 14px;
  }

  .team-name {
    font-size: 0.95rem;
  }

  .team-focus {
    font-size: 0.72rem;
  }

  /* Reviews-section scoped tablet overrides */
  .reviews-section .swiper-slide.is--review {
    width: 255px;
  }

  .reviews-section .team-card-header {
    height: 150px;
  }

  .reviews-section .team-card-body {
    padding: 14px 14px;
  }
}