/* ============================================================
   TEAM PAGE STYLES — tp__ classes
   ============================================================ */

/* Override global white body background for team page */
body:has(.tp) {
  background: #000 !important;
}

/* BASE */
.tp {
  background: #000;
  display: flex;
  flex-direction: column;
}

/* STAGE */
.tp__stage {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 0 80px 0;
  min-height: 90vh;
  gap: 0;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 100px;
}

/* Dark left-to-right gradient over image so text is readable */
.tp__stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, #000 28%, rgba(0,0,0,0.6) 52%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

/* LEFT TEXT */
.tp__text {
  width: 48%;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding-left: 80px;
  margin-top: -60px;
}

.tp__name {
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 500;
  color: #F6BC0E;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  line-height: 1.1;
  font-family: Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.tp__desig {
  font-size: clamp(14px, 1.3vw, 18px);
  color: #ffffff !important;
  font-weight: 500;
  margin: 0 0 28px;
  font-family: Arial, Helvetica, sans-serif;
}

.tp__bio {
  font-size: clamp(11px, 1vw, 14px);
  color: #ffffff !important;
  font-weight: 400;
  width: 100%;
  max-width: 100%;
  line-height: 1.85;
  margin: 0 0 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.tp__bio:last-child {
  margin-bottom: 0;
}

/* RIGHT IMAGE — full height, covers right side */
.tp__side-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  z-index: 0;
}

.tp__side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* STRIP */
.tp__strip {
  background-color: #3030309e;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 16px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  position: relative;
  z-index: 10;
  margin-top: -200px;
  border-radius: 0px 0px 40px 40px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  cursor: grab;
  margin-bottom: -20px;
}

/* Webkit scrollbar styling */
.tp__strip::-webkit-scrollbar {
  display: none;
  height: 0;
}

.tp__strip::-webkit-scrollbar-track {
  background: transparent;
}

.tp__strip::-webkit-scrollbar-thumb {
  background: transparent;
}

.tp__strip::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.tp__strip:active {
  cursor: grabbing;
}

.tp__thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  flex: 0 0 auto;
  min-width: 100px;
  padding: 0 12px;
  transition: transform 0.2s ease;
}

.tp__thumb:hover {
  transform: translateY(-3px);
}

/* MOBILE/TABLET (<992px) */
@media (max-width: 991px) {
  .tp__strip {
    padding: 20px 16px 24px;
    scroll-padding-left: 16px;
  }
  .tp__thumb:first-child {
    margin-left: 0;
  }
}

/* DESKTOP (992px+) - Hide scrollbar */
@media (min-width: 992px) {
  .tp__strip {
    scrollbar-width: none;
  }
  
  .tp__strip::-webkit-scrollbar {
    display: none !important;
  }
  
  .tp__strip {
    justify-content: space-evenly;
    gap: 8px;
  }

  .tp__thumb {
    padding: 0 16px;
  }
}

@media (min-width: 1280px) {
  .tp__thumb {
    padding: 0 20px;
  }
}

@media (min-width: 1440px) {
  .tp__thumb {
    padding: 0 24px;
  }
}

@media (min-width: 1600px) {
  .tp__thumb {
    padding: 0 28px;
  }
}

@media (min-width: 1920px) {
  .tp__thumb {
    padding: 0 36px;
  }
}

.tp__ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  padding: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #2a2a2a;
  flex-shrink: 0;
}

.tp__thumb--on .tp__ring {
  border-color: #F6BC0E;
  box-shadow: 0 0 0 3px rgba(246, 188, 14, 0.35), 0 4px 20px rgba(246, 188, 14, 0.25);
}

.tp__timg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.tp__tname {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  font-family: Arial, sans-serif;
  transition: color 0.2s ease;
}

.tp__tdesig {
  font-size: 15px;
  color: white !important;
  text-align: center;
  line-height: 1.2;
  font-family: Arial, sans-serif;
  transition: color 0.2s ease;
}

.tp__thumb--on .tp__tname {
  color: #F6BC0E;
}

.tp__thumb--on .tp__tdesig {
  color: rgba(246, 188, 14, 0.7);
}

/* ============================================================
   LARGE SCREEN: 1024px and above (Desktop - Side by side)
   ============================================================ */

/* 1024px – 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .tp__stage {
    padding: 110px 0 70px 0;
  }

  .tp__text {
    width: 50%;
    padding-left: 48px;
    margin-top: -40px;
  }

  .tp__side-img {
    width: 62%;
  }

  .tp__strip {
    padding: 18px 36px 22px;
    margin-top: -180px;
  }

  .tp__ring {
    width: 72px;
    height: 72px;
  }

  .tp__tname {
    font-size: 13px;
  }

  .tp__tdesig {
    font-size: 12px;
  }
}

/* 1280px – 1439px */
@media (min-width: 1280px) and (max-width: 1439px) {
  .tp__stage {
    padding: 120px 0 80px 0;
  }

  .tp__text {
    width: 48%;
    padding-left: 60px;
    margin-top: -50px;
  }

  .tp__side-img {
    width: 64%;
  }

  .tp__strip {
    padding: 20px 48px 24px;
    margin-top: -200px;
  }

  .tp__ring {
    width: 80px;
    height: 80px;
  }

  .tp__tname {
    font-size: 14px;
  }

  .tp__tdesig {
    font-size: 13px;
  }
}

/* 1440px – 1599px */
@media (min-width: 1440px) and (max-width: 1599px) {
  .tp__stage {
    padding: 130px 0 90px 0;
  }

  .tp__text {
    width: 46%;
    padding-left: 80px;
    margin-top: -60px;
  }

  .tp__side-img {
    width: 65%;
  }

  .tp__strip {
    padding: 22px 60px 26px;
    margin-top: -210px;
  }

  .tp__ring {
    width: 90px;
    height: 90px;
  }

  .tp__tname {
    font-size: 15px;
  }

  .tp__tdesig {
    font-size: 14px;
  }
}

/* 1600px – 1919px */
@media (min-width: 1600px) and (max-width: 1919px) {
  .tp__stage {
    padding: 140px 0 100px 0;
  }

  .tp__text {
    width: 44%;
    padding-left: 100px;
    margin-top: -60px;
  }

  .tp__name {
    font-size: clamp(28px, 2.4vw, 40px);
  }

  .tp__desig {
    font-size: clamp(16px, 1.3vw, 22px);
  }

  .tp__bio {
    font-size: clamp(13px, 1vw, 16px);
  }

  .tp__side-img {
    width: 66%;
  }

  .tp__strip {
    padding: 24px 80px 28px;
    margin-top: -220px;
  }

  .tp__ring {
    width: 96px;
    height: 96px;
  }

  .tp__tname {
    font-size: 15px;
  }

  .tp__tdesig {
    font-size: 13px;
  }
}

/* 1920px+ */
@media (min-width: 1920px) {
  .tp__stage {
    padding: 160px 0 120px 0;
  }

  .tp__text {
    width: 42%;
    padding-left: 120px;
    margin-top: -60px;
  }

  .tp__name {
    font-size: clamp(32px, 2.2vw, 48px);
  }

  .tp__desig {
    font-size: clamp(18px, 1.2vw, 24px);
  }

  .tp__bio {
    font-size: clamp(14px, 0.9vw, 18px);
    line-height: 1.9;
  }

  .tp__side-img {
    width: 68%;
  }

  .tp__strip {
    padding: 28px 120px 32px;
    margin-top: -240px;
  }

  .tp__ring {
    width: 108px;
    height: 108px;
  }

  .tp__tname {
    font-size: 16px;
  }

  .tp__tdesig {
    font-size: 14px;
  }
}

/* ============================================================
   MOBILE RESPONSIVE: 992px and below (Background image + overlay text)
   ============================================================ */

/* 992px – 1023px (Tablet Large) */
@media (max-width: 1023px) {
  .tp__stage {
    flex-direction: column;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    max-height: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1e1e1e;
    overflow: visible;
  }

  .tp__stage::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
  }

  .tp__text {
    width: 100%;
    padding: 40px 30px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    background: none;
  }

  .tp__name {
    font-size: clamp(24px, 5vw, 36px);
    white-space: normal;
    margin-bottom: 10px;
  }

  .tp__desig {
    font-size: clamp(14px, 3vw, 18px);
    margin-bottom: 20px;
  }

  .tp__bio {
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.7;
    color: #e0e0e0 !important;
  }

  .tp__side-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }

  .tp__side-img img {
    object-fit: cover;
    object-position: center;
  }

  .tp__strip {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px 8px 20px;
    margin-top: 0;
    background-color: rgba(48, 48, 48, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 40px 40px;
    justify-content: flex-start;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    z-index: 3;
    scroll-padding-left: 8px;
  }

  .tp__ring {
    width: 70px;
    height: 70px;
  }

  .tp__tname {
    font-size: 12px;
  }

  .tp__tdesig {
    font-size: 10px;
  }
}

/* 768px – 991px (Tablet) */
@media (max-width: 991px) {
  .tp__stage {
    flex-direction: column;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    max-height: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1e1e1e;
  }

  .tp__stage::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
  }

  .tp__text {
    width: 100%;
    padding: 250px 28px 80px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    background: none;
  }

  .tp__name {
    font-size: clamp(22px, 5vw, 32px);
    white-space: normal;
    margin-bottom: 8px;
  }

  .tp__desig {
    font-size: clamp(13px, 3vw, 17px);
    margin-bottom: 18px;
  }

  .tp__bio {
    font-size: clamp(11px, 2vw, 13px);
    line-height: 1.65;
    color: #d0d0d0 !important;
  }

  .tp__side-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }

  .tp__side-img img {
    object-fit: cover;
    object-position: center;
  }

  .tp__strip {
    position: absolute;
    bottom: 0;

    width: 100%;
    padding: 14px 8px 18px;
    margin-top: 0;
    background-color: rgba(48, 48, 48, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 30px 30px ;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    z-index: 3;
  }

  .tp__ring {
    width: 66px;
    height: 66px;
  }

  .tp__tname {
    font-size: 11px;
  }

  .tp__tdesig {
    font-size: 9px;
  }
}

/* 600px – 767px (Small Tablet) */
@media (max-width: 767px) {
  .tp__stage {
    flex-direction: column;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    max-height: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1e1e1e;
    margin-bottom: -10px;
  }

  .tp__stage::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
  }

  .tp__text {
    width: 100%;
    padding: 350px 24px 75px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    background: none;
  }

  .tp__name {
    font-size: clamp(20px, 5vw, 28px);
    white-space: normal;
    margin-bottom: 7px;
  }

  .tp__desig {
    font-size: clamp(12px, 3vw, 16px);
    margin-bottom: 16px;
  }

  .tp__bio {
    font-size: clamp(10px, 2vw, 12px);
    line-height: 1.6;
    color: #c0c0c0 !important;
  }

  .tp__side-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }

  .tp__side-img img {
    object-fit: cover;
    object-position: center;
  }

  .tp__strip {
    position: absolute;
    bottom: 0;

    width: 100%;
    padding: 12px 8px 16px;
    margin-top: 0;
    background-color: rgba(48, 48, 48, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 30px 30px ;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    z-index: 3;
  }

  .tp__ring {
    width: 62px;
    height: 62px;
  }

  .tp__tname {
    font-size: 10px;
  }

  .tp__tdesig {
    font-size: 8px;
  }
}

/* 480px – 599px (Large Mobile) */
@media (max-width: 599px) {
  .tp__stage {
    flex-direction: column;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    max-height: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1e1e1e;
  }

  .tp__stage::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
  }

  .tp__text {
    width: 100%;
    padding: 350px 20px 70px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    background: none;
  }

  .tp__name {
    font-size: clamp(18px, 5vw, 26px);
    white-space: normal;
    margin-bottom: 6px;
  }

  .tp__desig {
    font-size: clamp(12px, 2.8vw, 15px);
    margin-bottom: 14px;
  }

  .tp__bio {
    font-size: clamp(10px, 1.9vw, 11px);
    line-height: 1.55;
    color: #b0b0b0 !important;
  }

  .tp__side-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }

  .tp__side-img img {
    object-fit: cover;
    object-position: center;
  }

  .tp__strip {
    position: absolute;
    bottom: 0;

    width: 100%;
    padding: 10px 8px 14px;
    margin-top: 0;
    background-color: rgba(48, 48, 48, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 30px 30px ;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    z-index: 3;
  }

  .tp__ring {
    width: 58px;
    height: 58px;
  }

  .tp__tname {
    font-size: 9px;
  }

  .tp__tdesig {
    font-size: 7px;
  }
}

/* 360px – 479px (Mobile) */
@media (max-width: 479px) {
  .tp__stage {
    flex-direction: column;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    max-height: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1e1e1e;
  }

  .tp__stage::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
  }

  .tp__text {
    width: 100%;
    padding: 350px 18px 65px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    background: none;
  }

  .tp__name {
    font-size: clamp(16px, 5vw, 24px);
    white-space: normal;
    margin-bottom: 5px;
  }

  .tp__desig {
    font-size: clamp(11px, 2.6vw, 14px);
    margin-bottom: 12px;
  }

  .tp__bio {
    font-size: clamp(9px, 1.8vw, 10px);
    line-height: 1.5;
    color: #a0a0a0 !important;
  }

  .tp__side-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }

  .tp__side-img img {
    object-fit: cover;
    object-position: center;
  }

  .tp__strip {
    position: absolute;
    bottom: 0;

    width: 100%;
    padding: 8px 8px 12px;
    margin-top: 0;
    background-color: rgba(48, 48, 48, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 30px 30px ;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    z-index: 3;
  }

  .tp__ring {
    width: 54px;
    height: 54px;
  }

  .tp__tname {
    font-size: 8px;
  }

  .tp__tdesig {
    font-size: 6px;
  }
}

/* 320px – 359px (Small Mobile) */
@media (max-width: 359px) {
  .tp__stage {
    flex-direction: column;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin-bottom: -10px;
    max-height: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1e1e1e;
    }

  .tp__stage::after {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,1) 100%);
    z-index: 1;
  }

  .tp__text {
    width: 100%;
    padding: 350px 16px 60px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    background: none;
  }

  .tp__name {
    font-size: clamp(14px, 4.5vw, 22px);
    white-space: normal;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
  }

  .tp__desig {
    font-size: clamp(10px, 2.4vw, 13px);
    margin-bottom: 10px;
  }

  .tp__bio {
    font-size: clamp(8px, 1.6vw, 9px);
    line-height: 1.45;
    color: #909090 !important;
  }

  .tp__side-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }

  .tp__side-img img {
    object-fit: cover;
    object-position: center;
  }

  .tp__strip {
    position: absolute;
    bottom: 0;

    width: 100%;
    padding: 6px 8px 10px;
    margin-top: 0;
    background-color: rgba(48, 48, 48, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 30px 30px;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    z-index: 3;
  }

  .tp__ring {
    width: 50px;
    height: 50px;
  }

  .tp__tname {
    font-size: 7px;
  }

  .tp__tdesig {
    font-size: 6px;
  }
}