/* ---------- Team (Figma Identity file, set 1732:9671 "TEAM SHOWCASE · TABS V3 MESH", 13 Nov) ----------
   Tabs: Leadership / Business development / Services / Marketing. Cards: white, r20, 180px photo r14,
   role icon tile top right, LinkedIn "in" bottom right. Fluid from 320px to 1920px+. */
.gv .sec-team { padding: 160px 0; }
.gv .tt-wrap { margin-top: 60px; }

/* tabs: one line; scrolls sideways if it ever runs out of room, never wraps or gets cut off */
.gv .tt-tabs { position: relative; display: inline-flex; gap: 46px; max-width: 100%; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; box-shadow: inset 0 -1px 0 rgba(25,25,25,.12); vertical-align: top; }
.gv .tt-tabs::-webkit-scrollbar { display: none; }
.gv .tt-tab { flex: none; padding: 0 0 10px; font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 16px; line-height: 24px;
  color: rgba(25,25,25,.6); white-space: nowrap; transition: color .25s ease-out; }
.gv .tt-tab:hover { color: #191919; }
.gv .tt-tab.on { font-weight: 400; color: #191919; }
.gv .tt-tab:focus-visible { outline-offset: 2px; }
.gv .tt-bar { position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--grad, linear-gradient(90deg, #ff4002 0%, #a03ebb 100%)); pointer-events: none;
  transition: transform .45s var(--ease, cubic-bezier(.45, 0, .2, 1)), width .45s var(--ease, cubic-bezier(.45, 0, .2, 1)); }

/* panels */
.gv .tt-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.gv .tt-panel[hidden] { display: none; }
.gv .tt-panel.in { animation: tt-in .45s ease-out both; }
@keyframes tt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* card: the article is the size container, .tt-in lays out its contents */
.gv .tt-card { container-type: inline-size; min-width: 0; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(122,44,144,.08); }
.gv .tt-in { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 24px; align-items: center;
  min-height: 212px; padding: 16px 75px 16px 16px; }
.gv .tt-ph { grid-row: 1 / span 1; width: 180px; height: 180px; border-radius: 14px; object-fit: cover; background: #f6f0f8; }
.gv .tt-tx { min-width: 0; padding: 8px 0; }
.gv .tt-n { margin: 0; font-family: 'Tomorrow', sans-serif; font-weight: 400; font-size: 24px; line-height: 30px; color: #191919; letter-spacing: 0; overflow-wrap: break-word; }
.gv .tt-r { margin: 4px 0 0; font-weight: 300; font-size: 15px; line-height: 22px; color: var(--or, #ff4002); }
.gv .tt-b { margin: 10px 0 0; font-weight: 300; font-size: 14px; line-height: 21px; color: rgba(25,25,25,.7); }
.gv .tt-ic { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(122,44,144,.12); }
.gv .tt-ic svg { width: 24px; height: 24px; }
.gv .tt-li { position: absolute; right: 35px; bottom: 50px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; line-height: 21px;
  color: var(--or, #ff4002) !important; transition: transform .2s; }
.gv .tt-li:hover { transform: scale(1.12); }

/* two columns down to 700px (cards switch to their compact layouts), one column below */
@media (max-width: 699px) {
  .gv .tt-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .gv .sec-team { padding: 96px 0; }
  .gv .tt-wrap { margin-top: 40px; }
  .gv .tt-tabs { gap: 28px; }
  .gv .tt-tab { font-size: 15px; }
  .gv .tt-panel { margin-top: 28px; gap: 16px; }
}

/* card sizes follow the card's own width, so every screen width in between is covered */
@container (max-width: 540px) {
  .gv .tt-in { grid-template-columns: 136px minmax(0, 1fr); column-gap: 18px; min-height: 0; padding: 14px 56px 14px 14px; }
  .gv .tt-ph { width: 136px; height: 136px; border-radius: 12px; }
  .gv .tt-tx { padding: 4px 0; }
  .gv .tt-n { font-size: 21px; line-height: 26px; }
  .gv .tt-r { font-size: 14px; line-height: 20px; }
  .gv .tt-b { margin-top: 8px; font-size: 13px; line-height: 19px; }
  .gv .tt-ic { top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; }
  .gv .tt-ic svg { width: 20px; height: 20px; }
  .gv .tt-li { right: 26px; bottom: 16px; font-size: 16px; }
}
/* phones: photo and name side by side, the short bio runs the full width underneath */
@container (max-width: 440px) {
  .gv .tt-in { grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 0;
    align-items: start; padding: 14px; }
  .gv .tt-ph { grid-row: 1 / span 2; width: 84px; height: 84px; border-radius: 12px; }
  .gv .tt-tx { display: contents; }
  .gv .tt-n { grid-column: 2; grid-row: 1; align-self: end; padding-right: 40px; font-size: 19px; line-height: 24px; }
  .gv .tt-r { grid-column: 2; grid-row: 2; align-self: start; padding-right: 40px; font-size: 13px; line-height: 18px; margin-top: 3px; }
  .gv .tt-b { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; padding-right: 30px; font-size: 13px; line-height: 19px; }
  .gv .tt-ph + .tt-tx .tt-n { min-height: 0; }
  .gv .tt-ic { top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 9px; }
  .gv .tt-ic svg { width: 18px; height: 18px; }
  .gv .tt-li { right: 16px; bottom: 14px; font-size: 15px; line-height: 19px; }
}
/* narrow screens: tabs wrap onto two lines instead of scrolling, so no tab is ever cut off;
   each tab gets its own hairline and the active one its gradient line */
@media (max-width: 640px) {
  .gv .tt-tabs { display: flex; flex-wrap: wrap; gap: 14px 26px; overflow: visible; box-shadow: none; }
  .gv .tt-tab { position: relative; padding-bottom: 8px; box-shadow: inset 0 -1px 0 rgba(25,25,25,.12); }
  .gv .tt-tab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad, linear-gradient(90deg, #ff4002 0%, #a03ebb 100%)); }
  .gv .tt-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gv .tt-panel.in { animation: none; }
  .gv .tt-bar { transition: none; }
}
