#team:where(.nextcore-native, .nextcore-native *) { background: var(--bg); }
/* Theme-specific card colors also follow the system theme before initialization. */
:root[data-theme="dark"] #team {
  --team-card-bg: linear-gradient(135deg, #20272c, #0d1114 58%, #151b1f);
  --team-card-border: #56616a;
  --team-card-name: #f4f5f6;
  --team-card-role: #9baebb;
  --team-card-corner: linear-gradient(135deg, #ed1523, rgba(153, 12, 24, .5) 46%, rgba(85, 12, 20, .18));
  --team-portrait-ring: 0 0 0 3px #41494e, -2px 2px 0 4px #c71c28;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) #team {
    --team-card-bg: linear-gradient(135deg, #20272c, #0d1114 58%, #151b1f);
    --team-card-border: #56616a;
    --team-card-name: #f4f5f6;
    --team-card-role: #9baebb;
    --team-card-corner: linear-gradient(135deg, #ed1523, rgba(153, 12, 24, .5) 46%, rgba(85, 12, 20, .18));
    --team-portrait-ring: 0 0 0 3px #41494e, -2px 2px 0 4px #c71c28;
  }
}
#team .team-inner:where(.nextcore-native, .nextcore-native *) {
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  padding-block: var(--section-space);
}
#team .eyebrow:where(.nextcore-native, .nextcore-native *) {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  letter-spacing: 1.1px;
}
#team .eyebrow:where(.nextcore-native, .nextcore-native *)::before {
  content: '';
  width: 4px;
  height: 19px;
  background: #ed1523;
}
#team .team-description:where(.nextcore-native, .nextcore-native *) {
  max-width: 800px;
  margin-top: 22px;
  color: #bfc6cb;
  font-size: 16px;
  line-height: 1.75;
}
#team .team-grid:where(.nextcore-native, .nextcore-native *) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
#team .team-card:where(.nextcore-native, .nextcore-native *) {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 430px;
  padding: 30px 24px 38px;
  overflow: hidden;
  border: 1px solid var(--team-card-border, #dfe3e6);
  border-radius: 12px;
  background: var(--team-card-bg, #fff);
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
  transition: opacity .6s ease, transform .28s ease, box-shadow .28s ease;
}
#team .team-card:where(.nextcore-native, .nextcore-native *)::before, #team .team-card:where(.nextcore-native, .nextcore-native *)::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 30%;
  aspect-ratio: 1;
  background: var(--team-card-corner, var(--red));
}
#team .team-card:where(.nextcore-native, .nextcore-native *)::before {
  top: 0;
  right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
#team .team-card:where(.nextcore-native, .nextcore-native *)::after {
  bottom: 0;
  left: 0;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
#team .team-card > img:where(.nextcore-native, .nextcore-native *) {
  width: clamp(180px, 16vw, 220px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  filter: none;
  box-shadow: var(--team-portrait-ring, none);
  flex-shrink: 0;
}
#team .team-details:where(.nextcore-native, .nextcore-native *) { padding: 24px 0 0; }
#team .team-card h3:where(.nextcore-native, .nextcore-native *) {
  color: var(--team-card-name, #101a3b);
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 700;
  line-height: 1.3;
}
#team .team-card p:where(.nextcore-native, .nextcore-native *) {
  color: var(--team-card-role, #45516d);
  font-size: 15px;
  line-height: 1.5;
  margin-top: 8px;
}
#team .team-contacts:where(.nextcore-native, .nextcore-native *) {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 14px 0 0;
}
#team .team-contacts a:where(.nextcore-native, .nextcore-native *) {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--red);
  background: transparent;
  border: 0;
  border-radius: 6px;
  transition: opacity .25s ease, transform .25s ease;
}
#team .team-contacts a[aria-disabled="true"]:where(.nextcore-native, .nextcore-native *) { cursor: default; }
#team .team-contacts svg:where(.nextcore-native, .nextcore-native *) { width: 24px; height: 24px; stroke-width: 2; }
#team .team-contacts a:hover:where(.nextcore-native, .nextcore-native *) { opacity: .75; transform: scale(1.05); }
#team .team-contacts a:focus-visible:where(.nextcore-native, .nextcore-native *) { outline-color: var(--red); outline-offset: 1px; }
#team .team-card:hover:where(.nextcore-native, .nextcore-native *) { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 0, 0, .22); }
#team .team-card:nth-child(2).reveal-ready:where(.nextcore-native, .nextcore-native *) { transition-delay: 70ms; }
#team .team-card:nth-child(3).reveal-ready:where(.nextcore-native, .nextcore-native *) { transition-delay: 140ms; }
@media (max-width: 1023px) {
#team .team-grid:where(.nextcore-native, .nextcore-native *) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#team .team-card > img:where(.nextcore-native, .nextcore-native *) { width: 190px; }

}
@media (max-width: 639px) {
#team .team-inner:where(.nextcore-native, .nextcore-native *) { gap: 30px; }
#team .team-grid:where(.nextcore-native, .nextcore-native *) { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; }
#team .team-card:where(.nextcore-native, .nextcore-native *) { width: 100%; max-width: 380px; min-height: 410px; padding-inline: 18px; }
#team .team-card > img:where(.nextcore-native, .nextcore-native *) { width: 180px; height: 180px; }
#team .team-card h3:where(.nextcore-native, .nextcore-native *) { font-size: 22px; }
#team .team-card p:where(.nextcore-native, .nextcore-native *) { font-size: 14px; }
#team .team-description:where(.nextcore-native, .nextcore-native *) { font-size: 15px; }

}
@media (prefers-reduced-motion: reduce) {
#team .team-card:where(.nextcore-native, .nextcore-native *), #team .team-contacts a:where(.nextcore-native, .nextcore-native *) { transition: none; }
#team .team-card:hover:where(.nextcore-native, .nextcore-native *), #team .team-contacts a:hover:where(.nextcore-native, .nextcore-native *) { transform: none; }

}




