/* team.html ONLY — member grid layout + pill typography */

html[data-team-page] .team-page-team-section {
  background: #ffffff;
  overflow: visible;
}

html[data-team-page] .team-page-members-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 4px 8px 0;
}

html[data-team-page] .team-page-member-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
}

html[data-team-page] .team-page-member-card__body h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: capitalize;
}

html[data-team-page] .team-page-member-card__body h3 a {
  color: #2e0c5e;
  text-decoration: none;
  transition: color 0.2s ease;
}

html[data-team-page] .team-page-member-card__body h3 a:hover {
  color: #6311de;
}

html[data-team-page] .team-page-member-card__role {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: capitalize;
  color: #facc15;
  text-shadow: 0 1px 4px rgba(46, 12, 94, 0.12);
}

html[data-team-page] .team-page-member-card__pill {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 3px solid #2c0e53;
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -2px 0 rgba(46, 12, 94, 0.07) inset,
    0 20px 40px rgba(46, 12, 94, 0.22),
    0 8px 16px rgba(46, 12, 94, 0.12);
}

html[data-team-page] .team-page-member-card__pill h3,
html[data-team-page] .team-page-member-card__pill .team-page-member-card__role {
  transform: none;
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;
}

@media (max-width: 1199px) {
  html[data-team-page] .team-page-members-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  html[data-team-page] .team-page-members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  html[data-team-page] .team-page-members-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* 2026-06-12 team body layout polish — member grid only */
html[data-team-page] .team-page-team-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(72, 27, 130, 0.08), transparent 30%),
    radial-gradient(circle at 12% 16%, rgba(46, 12, 94, 0.05), transparent 26%),
    #ffffff !important;
}

html[data-team-page] .team-page-members-grid {
  max-width: 1240px;
  gap: 24px 18px;
}

html[data-team-page] .team-page-member-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

html[data-team-page] .team-page-member-card__pill {
  overflow: hidden;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 240, 252, 0.48)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(72, 27, 130, 0.08);
  backdrop-filter: blur(18px) saturate(142%);
  -webkit-backdrop-filter: blur(18px) saturate(142%);
  transform: none;
}

html[data-team-page] .team-page-member-card__role {
  color: #facc15;
  text-shadow:
    1px 0 0 #2c0e53,
    -1px 0 0 #2c0e53,
    0 1px 0 #2c0e53,
    0 -1px 0 #2c0e53,
    0 4px 12px rgba(46, 12, 94, 0.16);
}

/* 2026-06-12 visible team body design pass */
html[data-team-page] .team-page-team-section.team__section {
  position: relative;
  isolation: isolate;
  padding-top: clamp(72px, 8vw, 104px) !important;
  padding-bottom: clamp(78px, 9vw, 116px) !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(99, 17, 222, 0.14), transparent 32%),
    radial-gradient(circle at 8% 22%, rgba(250, 204, 21, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f3ff 48%, #ffffff 100%) !important;
  overflow: visible !important;
}

html[data-team-page] .team-page-section-intro {
  position: relative;
  isolation: isolate;
  max-width: 820px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  padding: clamp(18px, 2.5vw, 28px);
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.18), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(250, 248, 255, 0.74) 54%, rgba(245, 240, 252, 0.62)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 34px 72px rgba(72, 27, 130, 0.2),
    0 14px 30px rgba(72, 27, 130, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(72, 27, 130, 0.1);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

html[data-team-page] .team-page-section-intro::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -12px;
  height: 42%;
  border-radius: 0 0 24px 24px;
  background: rgba(46, 12, 94, 0.16);
  filter: blur(16px);
  z-index: -1;
}

html[data-team-page] .team-page-section-intro__eyebrow,
html[data-team-page] .team-page-section-intro__title,
html[data-team-page] .team-page-section-intro__text {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 240, 252, 0.52)),
    rgba(255, 255, 255, 0.44);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(142%);
  -webkit-backdrop-filter: blur(18px) saturate(142%);
}

html[data-team-page] .team-page-section-intro__eyebrow {
  margin-bottom: 12px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #facc15;
  text-shadow: 1px 0 0 #2c0e53, -1px 0 0 #2c0e53, 0 1px 0 #2c0e53, 0 -1px 0 #2c0e53;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

html[data-team-page] .team-page-section-intro__title {
  margin-bottom: 12px;
  padding: 12px 18px;
  border-radius: 20px;
  color: #2e0c5e;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.12;
}

html[data-team-page] .team-page-section-intro__text {
  margin-bottom: 0;
  padding: 12px 16px;
  border-radius: 18px;
  color: #2e0c5e;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 650;
  line-height: 1.55;
}

html[data-team-page] .team-page-members-grid {
  max-width: 1320px !important;
  gap: 30px 22px !important;
  padding: 8px 0 0 !important;
}

html[data-team-page] .team-page-member-card__body h3 {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem) !important;
  font-weight: 900 !important;
}

@media (max-width: 575px) {
  html[data-team-page] .team-page-section-intro {
    margin-bottom: 28px;
  }
}

/* 2026-06-12 team readable text and job-description lock */
html[data-team-page] .team-page-member-card__pill {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  padding: 14px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 255, 0.7)),
    rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.74) !important;
}

html[data-team-page] .team-page-member-card__pill h3,
html[data-team-page] .team-page-member-card__pill h3 a {
  color: #2e0c5e !important;
  text-shadow: none !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

html[data-team-page] .team-page-member-card__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 !important;
  padding: 7px 12px !important;
  border-radius: 999px;
  background: #2c0e53 !important;
  border: 1px solid rgba(250, 204, 21, 0.42);
  color: #ffffff !important;
  text-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

html[data-team-page] .team-page-member-card__desc {
  width: 100%;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 240, 252, 0.58)),
    rgba(255, 255, 255, 0.52);
  color: #333333 !important;
  text-shadow: none !important;
  font-size: 0.82rem !important;
  font-weight: 560 !important;
  line-height: 1.42 !important;
}

html[data-team-page] .team-page-member-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #2e0c5e !important;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 850;
  background: #facc15;
  border: 1px solid rgba(46, 12, 94, 0.18);
  box-shadow: 0 12px 24px rgba(72, 27, 130, 0.14);
}

/* 2026-06-12 role text final hard lock */
html[data-team-page] .team-page-member-card .team-page-member-card__pill .team-page-member-card__role {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(250, 204, 21, 0.48) !important;
  background: #2c0e53 !important;
  box-shadow:
    0 10px 20px rgba(46, 12, 94, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 0 transparent !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
}

