/* ==========================================================================
   FIGMA-ACCURATE TEAM PAGE STYLESHEET (css/team.css)
   Recreated 1:1 from Figma: "Team"
   ========================================================================== */

/* --------------------------------------------------------------------------
   PAGE WRAPPER & SHARED TYPOGRAPHY
   -------------------------------------------------------------------------- */
.figma-team-page {
  background-color: #FAFCFB;
  color: #111A18;
  overflow-x: hidden;
}

.team-page-main {
  padding-bottom: 0;
}

.kicker-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00D09C;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  color: #111A18;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-title em {
  font-style: italic;
  font-weight: 700;
  color: #00D09C;
}

.section-subtitle {
  font-size: 15px;
  color: #475551;
  max-width: 680px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.figma-team-hero {
  padding: calc(var(--nav-height, 72px) + 36px) 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-left-text {
  max-width: 580px;
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  color: #111A18;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  font-weight: 700;
  color: #00D09C;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.68;
  color: #475551;
  margin-bottom: 24px;
}

.team-quick-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid rgba(18, 95, 80, 0.15);
  font-size: 12px;
  font-weight: 700;
  color: #07251F;
  box-shadow: 0 4px 12px rgba(18, 95, 80, 0.05);
}

.stat-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00D09C;
}

.hero-right-media {
  display: flex;
  justify-content: center;
}

.hero-image-card {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 11;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(7, 37, 31, 0.12);
  border: 1px solid rgba(18, 95, 80, 0.12);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   2. UNIFIED INTERACTIVE TEAM SECTION (CAROUSEL + HOVER EFFECT SPOTLIGHT)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   2. UNIFIED INTERACTIVE TEAM SECTION & SLIDER (EXACT REFERENCE SPECIFICATION)
   -------------------------------------------------------------------------- */
.team-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 24px 75px;
    background: #FFFFFF;
    position: relative;
    border-top: 1px solid rgba(18, 95, 80, 0.08);
    border-bottom: 1px solid rgba(18, 95, 80, 0.08);
}

.team-container {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.team-section .eyebrow {
    margin: 0 0 8px 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555555;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.team-section .heading {
    margin: 0 0 20px;
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #111A18;
}

.team-section .heading em {
    color: #10c3b4;
    font-weight: 700;
    font-style: italic;
}

.team-section .intro {
    max-width: 1050px;
    margin: 0 0 35px;
    font-size: 15px;
    line-height: 1.45;
    color: #444444;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   SLIDER
========================= */

.slider-outer-wrapper {
    position: relative;
    width: 100%;
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
    padding: 10px 8px 30px;
}

.team-track {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    transform: translateZ(0);
}

.member {
    position: relative;
    flex: 0 0 145px;
    width: 145px;
    height: 330px;
    border-radius: 72px;
    overflow: hidden;
    background: #111A18;
    cursor: pointer;
    flex-shrink: 0;
    transform: translateZ(0);
    will-change: width, flex-basis, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transition:
        width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        flex-basis 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.35s ease,
        box-shadow 0.35s ease,
        opacity 0.3s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desktop Hover Effect Only (min-width: 901px) */
@media (min-width: 901px) {
    .member:hover,
    .member.is-hovered {
        flex-basis: 480px;
        width: 480px;
        border-radius: 28px;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
        z-index: 5;
    }

    .member:hover .member-image,
    .member.is-hovered .member-image {
        width: 50%;
        transform: scale(1.05) translateZ(0);
    }

    .member:hover .image-overlay,
    .member.is-hovered .image-overlay {
        width: 50%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.4) 100%);
    }

    .member:hover .mini-info,
    .member.is-hovered .mini-info {
        opacity: 0;
        transform: translateY(8px);
        pointer-events: none;
    }

    .member:hover .expanded-info,
    .member.is-hovered .expanded-info {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
    }

    .team-track.has-hover .member:not(:hover):not(.is-hovered) {
        flex-basis: 110px;
        width: 110px;
        opacity: 0.82;
    }

    .team-track.has-hover .member:not(:hover):not(.is-hovered) .member-image {
        transform: scale(0.98) translateZ(0);
    }
}

.member-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1) translateZ(0);
    will-change: transform;
    transition:
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
}

.image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.4) 65%, rgba(0, 0, 0, 0.88) 100%);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: opacity;
}

.mini-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    color: #fff;
    text-align: center;
    padding: 0 10px;
    z-index: 2;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
}

.mini-name {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

.mini-role {
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.92;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.linkedin-mini {
    width: 22px;
    height: 22px;
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0077b5;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none !important;
    cursor: pointer;
    pointer-events: auto !important;
    position: relative;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.linkedin-mini:hover {
    background: #004182;
    color: #fff !important;
    transform: scale(1.15);
}

/* Expanded content layout (Desktop) */
.expanded-info {
    position: absolute;
    left: 50%;
    top: 0;
    width: 50%;
    height: 100%;
    padding: 28px 24px;
    background: #FFFFFF;
    opacity: 0;
    transform: translate3d(18px, 0, 0);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    z-index: 3;
    border-radius: 0 28px 28px 0;
    transition:
        opacity 0.25s ease 0.08s,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
    will-change: opacity, transform;
}


.expanded-name {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #0a66c2;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.linkedin-large {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0a66c2;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.linkedin-large:hover {
    background: #004182;
    color: #fff !important;
    transform: scale(1.15);
}

.expanded-role {
    color: #555;
    font-size: 11px;
    margin-bottom: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.description {
    color: #222;
    font-size: 12px;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* =========================
   CONTROLS (Bottom Right Alignment)
========================= */

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding: 10px 10px 0 0;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e6e6e6;
    cursor: pointer;
    transition: background .3s ease;
}

.slider-dot.active {
    background: #10c3b4;
}

.slider-arrow {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #10c3b4;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    transform: scale(1.15);
}

.slider-arrow:disabled {
    opacity: .25;
    cursor: default;
    transform: none;
}

/* =========================
   TABLET
========================= */

@media(max-width: 1050px) and (min-width: 701px) {
    .team-section .heading { font-size: 42px; }
    .team-track { gap: 20px; }

    .member {
        flex-basis: 120px;
        width: 120px;
        height: 300px;
    }
}

/* =========================================================
   SMARTPHONE / MOBILE VIEW (2 Cards per view)
========================= */

@media(max-width: 700px) {

    .team-section {
        min-height: auto;
        padding: 30px 16px 45px;
    }

    .team-container {
        width: 100%;
        max-width: 100%;
    }

    .team-section .eyebrow {
        margin-left: 2px;
        font-size: 11px;
    }

    .team-section .heading {
        font-size: 30px;
        letter-spacing: -.8px;
        margin-bottom: 15px;
    }

    .team-section .intro {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 25px;
    }

    .slider-viewport {
        padding: 0 0 15px;
    }

    .team-track {
        gap: 16px;
        align-items: flex-start;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
        transform: translateZ(0);
    }

    /* Exactly 2 cards visible initially, side by side matching user design */
    .member {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        height: 310px;
        border-radius: 70px;
        padding: 0;
        overflow: hidden;
        background: #111A18;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
        cursor: pointer;
        transform: translateY(0) translateZ(0);
        will-change: transform;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    }

    /* Mobile hover & tap: silky micro-lift & zoom, ZERO width thrashing */
    .member:hover,
    .member:active {
        transform: translateY(-5px) translateZ(0);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
        flex-basis: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
    }

    .member-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        object-fit: cover;
        object-position: center top;
        transform: scale(1) translateZ(0);
        will-change: transform;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }

    .member:hover .member-image,
    .member:active .member-image {
        transform: scale(1.07) translateZ(0);
    }

    .image-overlay {
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.88) 100%);
        transition: opacity 0.3s ease;
    }

    .member:hover .image-overlay {
        opacity: 0.95;
    }

    .mini-info {
        bottom: 22px;
        z-index: 2;
        padding: 0 8px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateZ(0);
    }

    .member:hover .mini-info {
        transform: translateY(-4px);
    }

    .mini-name {
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    .mini-role {
        font-size: 10px;
        margin-top: 3px;
        opacity: 0.92;
    }

    .linkedin-mini {
        width: 20px;
        height: 20px;
        margin: 8px auto 0;
        font-size: 10px;
        transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
    }

    .member:hover .linkedin-mini {
        transform: scale(1.15);
        background: #0077b5;
    }

    /* On mobile, details are shown via native slide-up modal sheet */
    .expanded-info {
        display: none !important;
    }
}

/* =========================================================
   MOBILE SLIDE-UP DETAIL MODAL (Silky 60fps Native Sheet)
========================================================= */
.team-mobile-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.team-mobile-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 37, 31, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.team-modal-sheet {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    border-radius: 28px 28px 0 0;
    padding: 26px 22px 34px;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.team-mobile-modal.open .team-modal-sheet {
    transform: translateY(0);
}

.team-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F1F4F3;
    border: none;
    color: #111A18;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.team-modal-close:hover {
    background: #E2E8E6;
    transform: scale(1.05);
}

.team-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-modal-photo-wrap {
    width: 110px;
    height: 140px;
    border-radius: 55px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    background: #111A18;
}

.team-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-modal-name {
    font-size: 21px;
    font-weight: 800;
    color: #111A18;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.team-modal-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #0077b5;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.team-modal-linkedin:hover {
    transform: scale(1.1);
}

.team-modal-role {
    font-size: 13px;
    font-weight: 600;
    color: #00C8B3;
    margin: 6px 0 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.team-modal-divider {
    width: 48px;
    height: 2.5px;
    background: #E2E8E6;
    border-radius: 2px;
    margin: 0 auto 16px;
}

.team-modal-bio {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4A5568;
    margin: 0;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}


    .slider-controls {
        justify-content: flex-end;
        padding-top: 12px;
        gap: 16px;
    }

    .slider-arrow {
        font-size: 30px;
        width: 28px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

/* --------------------------------------------------------------------------
   4. "Find your way in." (4 PATHWAY CARDS)
   -------------------------------------------------------------------------- */
.figma-findway-section {
  padding: 72px 0 64px;
  background: #F4F8F6;
  border-top: 1px solid rgba(18, 95, 80, 0.08);
}

.findway-header {
  margin-bottom: 40px;
}

.findway-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.findway-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(18, 95, 80, 0.10);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 95, 80, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.findway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(18, 95, 80, 0.12);
}

.findway-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0C3E34;
}

.findway-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.findway-card:hover .findway-card-media img {
  transform: scale(1.06);
}

.findway-card-body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.findway-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111A18;
  margin-bottom: 8px;
}

.findway-card-desc {
  font-size: 13px;
  color: #6B7C77;
  line-height: 1.55;
  margin-bottom: 18px;
}

.findway-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #00D09C;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.findway-link:hover {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   5. BOTTOM CTA BANNER (HEADER TEAL & BALANCED SPACING)
   -------------------------------------------------------------------------- */
.team-cta-banner {
  background: #00C8B3 !important;
  padding: 64px 0 !important;
  margin-bottom: 64px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.team-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.team-cta-banner .container {
  max-width: 780px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 0 24px;
}

.team-cta-banner .cta-heading {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 80, 70, 0.12);
}

.team-cta-banner .cta-subheading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 580px;
  font-weight: 450;
}

.team-cta-banner .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.team-cta-banner .cta-actions .btn-primary {
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 700;
  background: #07251F !important;
  color: #FFFFFF !important;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(7, 37, 31, 0.22);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid #07251F;
}

.team-cta-banner .cta-actions .btn-primary:hover {
  background: #0d382f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(7, 37, 31, 0.32);
}

.team-cta-banner .cta-actions .btn-secondary {
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  background: transparent !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-cta-banner .cta-actions .btn-secondary:hover {
  background: #FFFFFF !important;
  color: #00C8B3 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* --------------------------------------------------------------------------
   FIGMA SITE FOOTER & SEAMLESS BANNER TRANSITION
   -------------------------------------------------------------------------- */
.figma-team-page .site-footer {
  margin-top: 0 !important;
}

.figma-site-footer {
  background: #EAEFEA;
  color: #111A18;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(18, 95, 80, 0.12);
}

.figma-site-footer .footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.figma-site-footer .footer-brand-col {
  max-width: 320px;
}

.figma-site-footer .footer-logo {
  margin-bottom: 14px;
  display: inline-flex;
}

.figma-site-footer .footer-tagline {
  font-size: 13px;
  color: #475551;
  line-height: 1.6;
}

.figma-site-footer .footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.figma-site-footer .footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.figma-site-footer .col-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #111A18;
  margin-bottom: 6px;
}

.figma-site-footer .footer-col a {
  font-size: 13px;
  color: #475551;
  text-decoration: none;
  transition: color 0.2s ease;
}

.figma-site-footer .footer-col a:hover {
  color: #00D09C;
}

.figma-site-footer .footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(18, 95, 80, 0.12);
  border-bottom: 1px solid rgba(18, 95, 80, 0.12);
  margin-bottom: 24px;
}

.figma-site-footer .footer-contact-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.figma-site-footer .contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475551;
}

.figma-site-footer .footer-cert-badges {
  display: flex;
  gap: 8px;
}

.figma-site-footer .cert-pill {
  padding: 4px 10px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid rgba(18, 95, 80, 0.15);
  font-size: 11px;
  font-weight: 700;
  color: #07251F;
}

.figma-site-footer .footer-copyright-line {
  text-align: center;
  font-size: 12px;
  color: #6B7C77;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (DESKTOP -> TABLET -> SMARTPHONE)
   -------------------------------------------------------------------------- */

/* ---- TABLET (max-width: 1024px) ---- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-left-text {
    max-width: 100%;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .findway-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .figma-site-footer .footer-top-grid {
    grid-template-columns: 1fr;
  }
  /* Capsule pills: slightly smaller on tablets */
  .stadium-capsule-pill {
    flex: 0 0 115px;
    width: 115px;
    height: 250px;
  }
  .stadium-capsules-track {
    gap: 14px;
  }
  
}

/* ---- SMALL TABLET / LARGE PHONE (max-width: 768px) ---- */
@media (max-width: 768px) {
  .figma-team-hero {
    padding: calc(var(--nav-height, 60px) + 28px) 0 48px;
  }
  .hero-title {
    font-size: clamp(26px, 6.5vw, 36px);
  }
  .hero-desc {
    font-size: 14px;
  }
  .hero-image-card {
    border-radius: 20px;
    max-width: 100%;
  }



  

  /* Findway cards: still 2 col but tighter */
  .figma-findway-section {
    padding: 48px 0 48px;
  }
  .findway-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .findway-card-body {
    padding: 16px 14px;
  }
  .findway-card-title {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .findway-card-desc {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .findway-link {
    font-size: 12px;
  }

  .figma-site-footer .footer-nav-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- PHONE (max-width: 540px) ---- */
@media (max-width: 540px) {
  .figma-team-hero {
    padding: calc(var(--nav-height, 56px) + 20px) 0 36px;
  }
  .hero-title {
    font-size: clamp(24px, 7vw, 32px);
  }
  .hero-desc {
    font-size: 13.5px;
    line-height: 1.55;
  }
  .hero-image-card {
    border-radius: 16px;
  }
  .stat-pill {
    font-size: 11px;
    padding: 6px 12px;
  }



  

  /* FINDWAY: Single column on phone */
  .figma-findway-section {
    padding: 40px 0 48px;
  }
  .findway-header {
    margin-bottom: 28px;
  }
  .findway-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .findway-card {
    border-radius: 16px;
  }
  .findway-card-media {
    aspect-ratio: 16 / 9;
  }
  .findway-card-body {
    padding: 18px 16px;
  }
  .findway-card-title {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .findway-card-desc {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .findway-link {
    font-size: 13px;
  }

  /* CTA Banner */
  .team-cta-banner {
    padding: 48px 0 !important;
    margin-bottom: 48px;
  }
  .team-cta-banner .cta-heading {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }
  .team-cta-banner .cta-subheading {
    font-size: 13.5px !important;
    margin-bottom: 22px !important;
  }
  .team-cta-banner .cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    gap: 10px;
  }
  .team-cta-banner .cta-actions .btn-primary,
  .team-cta-banner .cta-actions .btn-secondary {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
  }

  /* Footer */
  .figma-site-footer .footer-nav-cols {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ---- VERY SMALL PHONE (max-width: 380px) ---- */
@media (max-width: 380px) {
  .stadium-capsule-pill {
    flex: 0 0 88px;
    width: 88px;
    height: 200px;
  }
  .capsule-name {
    font-size: 8.5px;
  }
  .capsule-role {
    font-size: 7.5px;
  }
  
  .findway-cards-grid {
    gap: 12px;
  }
}


