











.s-team {
  --card-w: clamp(200px, 17vw, 300px);
  --card-gap: clamp(20px, 3vw, 56px);
  --pin: 9px;
  --rope: #5c5c5c;
  --tint: 24%; 

  
  --color-bg: var(--dark-bg);
  --color-bg-subtle: color-mix(in srgb, #fff 6%, var(--dark-bg)); 
  --color-text: #f2f2f2;
  --color-text-muted: #b8b8b8;
  --color-text-subtle: #8c8c8c;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.24);
  --border: 1px solid var(--color-border);
  --shadow-sm: none; 
  --focus-ring: 0 0 0 4px color-mix(in srgb, var(--brand-teal) 30%, transparent);
  --color-accent: var(--brand-teal);

  position: relative;
  padding-block: clamp(96px, 8vw, 160px); 
  background: var(--dark-bg);
  color: var(--color-text);
  overflow-x: clip; 
}


.s-team__inner {
  width: 100%;
  max-width: calc(var(--wide-max) + var(--wide-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--wide-pad);
}






.s-team__rail {
  position: relative;
  margin-top: clamp(48px, 5vw, 88px);
}
.s-team__rope {
  position: absolute;
  top: calc(var(--pin) / 2 - 1.5px);
  left: 0;
  width: 100%;
  height: 3px;
  overflow: visible;
  pointer-events: none;
}
.s-team__rope path {
  fill: none;
  stroke: var(--rope);
  stroke-width: 1.5;
}


.s-team__track {
  display: flex;
  gap: var(--card-gap);
  padding: 0 var(--wide-pad) 48px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--wide-pad);
  scrollbar-width: thin;
}


.s-team__hanger {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--card-w);
  scroll-snap-align: start;
  rotate: var(--tilt);
  transform-origin: 50% calc(var(--pin) / 2);
}
.s-team__pin {
  position: relative;
  z-index: 1;
  width: var(--pin);
  height: var(--pin);
  border: 2px solid var(--color-bg);
  border-radius: 50%;
  background: var(--rope);
}
.s-team__string {
  width: 1px;
  height: var(--len);
  margin-top: -2px;
  background: var(--rope);
}

.s-team__clip {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 20px;
  margin-bottom: -6px; 
}
.s-team__clip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--rope);
  border-radius: 50%;
  translate: -50% 0;
}
.s-team__clip::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 9px;
  border-radius: 4px;
  background: var(--rope);
}




.s-team__card {
  width: 100%;
  border-radius: var(--radius-card);
  perspective: 1400px; 
}
.s-team__card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.s-team__flip {
  position: relative;
  display: grid;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
}
.s-team__card.is-flipped .s-team__flip {
  transform: rotateY(180deg);
}
.s-team__face {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 12px;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--color-bg-subtle);
  box-shadow: var(--shadow-sm);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
@media (min-width: 1200px) {
  .s-team__face {
    padding: 18px 18px 14px;
  }
}
.s-team__face--back {
  --color-text: #17171c;
  --color-text-muted: #61616b;
  --color-bg: #ffffff;

  position: absolute;
  inset: 0;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-color: transparent;
  color: var(--color-text);
  transform: rotateY(180deg);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--brand-pink) var(--tint), #fff) 0%,
    color-mix(in srgb, var(--brand-sky) var(--tint), #fff) 38%,
    color-mix(in srgb, var(--brand-green) var(--tint), #fff) 68%,
    color-mix(in srgb, var(--brand-blue) var(--tint), #fff) 100%
  );
}

@media (max-width: 899px) {
  .s-team__card.is-flipped .s-team__flip,
  .s-team__card:focus .s-team__flip {
    transform: none;
  }
  .s-team__face--back {
    display: none;
  }
}

.s-team__tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 8px;
  color: var(--color-text-subtle);
  font-size: 0.625rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}
.s-team__face--back .s-team__tag {
  color: var(--color-text-muted);
}


.s-team__photo {
  aspect-ratio: 300 / 276;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--tone) var(--tint), #fff);
}
.s-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-team__photo-empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: color-mix(in srgb, var(--tone) 70%, #000);
}
.s-team__photo-empty .icon {
  --icon-size: 42%;
  --icon-stroke: 1.5;
}
.s-team__name {
  margin-top: 14px;
  font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.5rem);
  font-weight: var(--fw-medium);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.s-team__role {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}


.s-team__who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.s-team__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tone) var(--tint), #fff);
}
.s-team__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-team__who-name {
  display: block;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.s-team__who-role {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}
.s-team__bio {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.s-team__small {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 0.625rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}
.s-team__projects {
  margin-top: 6px;
  font-size: 0.8125rem;
}
.s-team__projects li {
  padding-block: 6px;
  border-top: 1px solid rgba(16, 16, 24, 0.1);
}
.s-team__projects li:last-child {
  border-bottom: 1px solid rgba(16, 16, 24, 0.1);
}
.s-team__connect {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.s-team__connect .s-team__small {
  margin-top: 0;
}
.s-team__email {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}
.s-team__email:hover {
  text-decoration: underline;
}
.s-team__qr {
  flex: none;
  text-align: center;
}
.s-team__qr img {
  width: 56px;
  height: 56px;
}
.s-team__qr figcaption {
  margin-top: 4px;
  font-size: 0.5625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
}




.s-team.is-ready .s-team__rail {
  touch-action: pan-y; 
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.s-team.is-ready .s-team__rail.is-dragging {
  cursor: grabbing;
}
.s-team.is-ready .s-team__rope {
  top: 0;
  height: var(--rope-h, 3px);
}
.s-team.is-ready .s-team__track {
  display: block;
  position: relative;
  height: var(--rail-h, 560px);
  padding: 0;
  overflow: visible;
}
.s-team.is-ready .s-team__hanger {
  position: absolute;
  top: 0;
  left: 0;
  rotate: none; 
  will-change: transform;
}
