:root {
  --bg: #f1f4f8;
  --ink: #1d3144;
  --accent: #3d7ab5;
  --gold: #d4af37;
  --gold-light: #f3d77a;
  --gold-soft: #c9a64b;
  --black: #050505;
  --gap: 28px;
  --radius: 16px;
  --ease: cubic-bezier(.65, 0, .25, 1);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.team {
  max-width1: 1180px;
  margin: 0 auto;
  padding1: 64px 24px 80px;
  text-align: center;
}

.team__title {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
}
.team__rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 56px;
  border-radius: 0px;
  background: var(--accent);
}

/* ---------- Slider ---------- */
.slider { --per: 3; }

.slider__viewport {
  overflow: hidden;                    /* clips sideways; padding keeps shadows visible */
  padding: 30px 0 50px;
  margin: -30px 0 -50px;
  touch-action: pan-y;
  cursor: grab;
  outline: none;background: none !important;
}
.slider__viewport.is-dragging { cursor: grabbing; }
.slider__viewport:focus-visible { outline: 3px solid var(--ink); outline-offset: 8px; border-radius: var(--radius); }

.slider__track {
  display: flex;
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
  will-change: transform;
  transition: transform .8s var(--ease);background: none !important;
}
.slider__track.no-anim { transition: none; }

/* ---------- Card ---------- */
.card1 {
  position: relative;
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
           /* room for the plate that overhangs the photo */
  user-select: none; background-image: none;background-color: none !important;
  -webkit-user-select: none;padding1: 3px; padding-bottom: 36px;  
}

.card__photo {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: var(--radius);
  background1: #d6d8dc; background: none;background-color: none !important;
  box-shadow: 0 16px 34px -16px rgba(29, 49, 68, .35);
}
.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; background: none;background: none !important;
  object-position: center top;
  display: block;
  pointer-events: none;
  transition: transform .9s var(--ease);
}
.card:hover .card__photo img { transform: scale(1.03); }

/* ---------- Glossy black plate with golden text ---------- */
.card__plate {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 76%;
  transform: translateX(-50%);
  padding: 14px 12px 13px;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(165deg, #2c2c2e 0%, #0b0b0c 38%, #000 52%, #161617 100%);
  box-shadow:
    0 14px 26px -10px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 0 0 1px rgba(212, 175, 55, .28);
}
/* glass reflection on the upper half */
.card__plate::before {
  content: "";
  position: absolute;
  inset: 0 0 48% 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .20), rgba(255, 255, 255, .03));
  border-radius: 12px 12px 60% 60% / 12px 12px 18px 18px;
  pointer-events: none; 
}
/* soft diagonal sheen that sweeps across on hover */
.card__plate::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: skewX(-18deg);
  transition: left .9s var(--ease);
  pointer-events: none;padding-top: 36px; 
}
.card:hover .card__plate::after { left: 130%; }

.card__name {
  margin: 0;
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.25;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, #a8821f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}
.card__role {
  margin: 1px 0 0;
  font-size: clamp(.8rem, 1.2vw, .88rem);
  font-style1: italic;
  font-weight: 400;
  color: var(--gold-soft);line-height: 19px; color: #d6d8dc;
}

/* ---------- Controls (bottom) ---------- */
.slider__controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10%;
  color: var(--gold);
  background: linear-gradient(165deg, #2c2c2e 0%, #0b0b0c 45%, #000 55%, #161617 100%);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(212, 175, 55, .35);
  cursor: pointer;
  transition: color .3s ease, background .3s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.arrow:hover {
  color: var(--black);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 14px 26px -10px rgba(212, 175, 55, .7);
}
.arrow:active { transform: scale(.93); }
.arrow:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .team1 { padding: 52px 20px 64px; }
}
@media (max-width: 599px) {
  :root1 { --gap: 16px; }
  .slider__viewport { max-width1: 340px; margin: 0 auto; }
  .team__rule { margin-bottom1: 40px;}
  .slider__controls {display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: -10px;
} 
}

@media (prefers-reduced-motion: reduce) {
  .slider__track, .card__photo img, .card__plate::after, .arrow { transition: none; }
}









