/* ==============================================================
   OUR CORE TEAM - SECTION, DESKTOP GRID & MOBILE SLIDER
   ============================================================== */

#team {
  padding: 90px 0;
  background: #0A2540;
  position: relative;
}

#team .section-eyebrow {
  color: var(--gold, #E4AF3B);
}

#team .section-h2 {
  color: var(--white, #ffffff);
}

#team .about-body {
  color: var(--mist, rgba(255, 255, 255, 0.7));
}

/* ==============================================================
   DESKTOP / LAPTOP / MAC GRID LAYOUT (min-width: 992px)
   ============================================================== */
.team-desktop-grid {
  display: none;
}

@media (min-width: 992px) {
  .team-desktop-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1200px;
    margin: 40px auto 0;
  }

  .team-grid-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .team-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .team-grid-card {
    background: #ffffff;
    border: 1.5px solid var(--gold, #E4AF3B);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
  }

  .team-grid-card:hover {
    border-color: var(--gold, #E4AF3B);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(228, 175, 59, 0.25);
  }

  /* --- Top Row: Founders / Executive Leads (Split Card) --- */
  .team-card-leader {
    padding: 28px;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: stretch;
    text-align: left;
  }

  .leader-photo-col {
    flex: 0 0 120px;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .leader-photo-frame {
    width: 120px;
    height: 120px;
    min-height: unset;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(228, 175, 59, 0.6);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.14);
    position: relative;
    background: #f0f4f8;
    flex-shrink: 0;
  }

  .leader-photo-frame picture,
  .leader-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .team-card-leader:hover .leader-photo-frame img {
    transform: scale(1.22);
  }

  .leader-content-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
  }

  .leader-header-group {
    margin-bottom: 8px;
  }

  .leader-quote {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy, #0A2540);
    line-height: 1.45;
    margin: 10px 0;
    padding-left: 12px;
    border-left: 3px solid var(--gold, #E4AF3B);
    font-style: italic;
  }

  /* --- Bottom Row: Core Department Leads (Portrait Feature Card) --- */
  .team-card-member {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
  }

  .member-photo-frame {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(228, 175, 59, 0.6);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.12);
    margin-bottom: 18px;
    flex-shrink: 0;
    background: #f0f4f8;
    position: relative;
  }

  .member-photo-frame picture,
  .member-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .team-card-member:hover .member-photo-frame img {
    transform: scale(1.22);
  }

  .member-content-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
  }

  /* --- Typography & Elements --- */
  .team-name {
    font-size: 21px;
    font-weight: 800;
    color: var(--navy, #0A2540);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.2px;
  }

  .team-card-member .team-name {
    font-size: 19px;
    margin-bottom: 2px;
  }

  .team-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #D49B24;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    margin-top: 4px;
    margin-bottom: 2px;
  }

  .team-card-member .team-badge {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .team-role {
    font-size: 13.5px;
    color: #5B7189;
    font-weight: 600;
    margin-top: 2px;
  }

  .team-bio {
    font-size: 13px;
    color: #4A5568;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
  }

  .team-card-member .team-role {
    font-size: 12.5px;
    color: #5B7189;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
  }

  .team-card-member .team-bio {
    text-align: center;
  }

  .team-footer {
    margin-top: 14px;
    padding-top: 6px;
    display: flex;
    align-items: center;
  }

  .team-card-member .team-footer {
    margin-top: 18px;
    width: 100%;
    justify-content: center;
  }

  .team-li-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy, #0A2540);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(10, 37, 64, 0.04);
    border: 1px solid rgba(10, 37, 64, 0.12);
    transition: all 0.2s ease;
  }

  .team-li-link:hover {
    color: var(--navy, #0A2540);
    background: var(--gold, #E4AF3B);
    border-color: var(--gold, #E4AF3B);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(228, 175, 59, 0.25);
  }

  .team-li-link i {
    font-size: 13px;
    color: #0077b5;
    transition: color 0.2s ease;
  }

  .team-li-link:hover i {
    color: var(--navy, #0A2540);
  }

  /* Hide mobile slider on desktop/laptop */
  .team-slider-wrapper {
    display: none !important;
  }
}

/* Medium Desktop / Tablet Landscape adjustments (992px to 1120px) */
@media (min-width: 992px) and (max-width: 1120px) {
  .team-card-leader {
    padding: 22px 18px;
    gap: 18px;
  }

  .leader-photo-col {
    flex: 0 0 110px;
    width: 110px;
  }

  .leader-photo-frame {
    width: 110px;
    height: 110px;
    min-height: unset;
  }

  .team-grid-card {
    border-radius: 16px;
  }

  .team-card-member {
    padding: 24px 18px;
  }

  .member-photo-frame {
    width: 100px;
    height: 100px;
  }
}

/* ==============================================================
   MOBILE & TABLET SLIDER LAYOUT (< 992px)
   ============================================================== */
@media (max-width: 991px) {
  #team {
    padding-top: 85px !important;
    padding-bottom: 110px !important;
  }

  .team-slider-wrapper {
    display: block;
    position: relative;
    width: 100%;
    margin: 35px auto 0;
    /* Responsive side breathing room — scales from 14px (phones) to 28px (wide tablets) */
    padding: 0 clamp(14px, 4.5vw, 28px) 20px;
    box-sizing: border-box;
  }

  .team-slider-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 4px;
    position: static;
  }

  .team-nav-btn {
    position: static;
    transform: none;
    width: 44px;
    height: 44px;
    font-size: 15px;
    border-radius: 50%;
    background: var(--navy, #0A2540);
    border: 1.5px solid rgba(228, 175, 59, 0.35);
    color: var(--gold, #E4AF3B);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.15);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .team-nav-btn:active {
    background: var(--gold, #E4AF3B);
    color: var(--navy, #0A2540);
    border-color: var(--gold, #E4AF3B);
    transform: scale(0.94);
  }

  .team-nav-btn.team-nav-disabled,
  .team-nav-btn.swiper-button-disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .team-swiper-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: transparent;
  }

  .team-card-wrapper {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    background: transparent;
    padding: 0;
  }

  .team-card {
    background: #ffffff;
    border: 1.5px solid var(--gold, #E4AF3B);
    border-radius: 18px;
    padding: 30px 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .team-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .founder-img-frame {
    width: 105px;
    height: 130px;
    min-width: 105px;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--gold, #E4AF3B);
    box-shadow: 0 6px 16px rgba(10, 37, 64, 0.1);
    flex-shrink: 0;
    background: #f0f4f8;
  }

  .founder-img-frame picture,
  .founder-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .team-card-attr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    flex: 1;
    min-width: 0;
  }

  .team-card-attr .founder-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy, #0A2540);
    margin: 0;
    line-height: 1.2;
  }

  .team-card-attr .founder-certs-text {
    font-size: 10.5px;
    font-weight: 800;
    color: #D49B24;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
  }

  .team-card-attr .founder-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .team-card-attr .founder-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #5B7189;
    margin: 0;
    line-height: 1.2;
  }

  .team-card-attr .founder-li-btn {
    width: 26px;
    height: 26px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold, #E4AF3B);
    color: var(--navy, #0A2540);
    border-radius: 6px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .team-card-divider {
    display: none;
  }

  .team-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .team-card-right .founder-eyebrow {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #D49B24;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .team-card-right .quote-mark-open {
    display: none;
  }

  .team-card-right .founder-quote-text {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.65;
    color: #4A5568;
    margin: 0;
  }

  .team-card-right .founder-quote-text strong {
    font-weight: 700;
    color: var(--navy, #0A2540);
  }

  .team-card-right .founder-quote-text em {
    font-style: normal;
    color: #0A2540;
    font-weight: 400;
  }
}


/* ==============================================================
   DESKTOP-ONLY CORPORATE TEAM REDESIGN
   ============================================================== */
.team-pro-section {
  display: none;
}

@media (min-width: 992px) {
  .team-pro-section {
    display: block;
    padding: 90px clamp(24px, 4vw, 56px) 100px;
    background: #0A2540;
    position: relative;
  }

  .team-pro-inner {
    max-width: 1180px;
    margin: 0 auto;
  }

  #team-pro .section-eyebrow {
    color: var(--gold, #E4AF3B);
  }

  .team-pro-head {
    text-align: center;
  }

  .team-pro-head p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin: 20px auto 46px;
    max-width: 800px;
  }

  .team-pro-roster {
    display: grid;
    gap: 16px;
    width: 100%;
  }

  .team-pro-card {
    align-items: stretch;
    background:
      linear-gradient(90deg, rgba(228, 175, 59, 0.09), transparent 30%),
      #ffffff;
    border: 1px solid rgba(228, 175, 59, 0.42);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 76px clamp(118px, 13vw, 158px) minmax(0, 1fr) auto;
    gap: clamp(18px, 2.3vw, 30px);
    min-height: 190px;
    min-width: 0;
    overflow: hidden;
    padding: 18px 22px 18px 0;
    position: relative;
  }

  .team-pro-index {
    align-items: center;
    background: #071B30;
    border-right: 1px solid rgba(228, 175, 59, 0.42);
    color: rgba(228, 175, 59, 0.95);
    display: flex;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
  }

  .team-pro-photo {
    align-self: center;
    aspect-ratio: 4 / 5;
    background: #edf2f6;
    border: 1px solid rgba(10, 37, 64, 0.12);
    border-radius: 10px;
    height: 154px;
    overflow: hidden;
    position: relative;
  }

  .team-pro-photo picture,
  .team-pro-photo img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .team-pro-photo img {
    object-fit: cover;
    object-position: top center;
  }

  .team-pro-main {
    align-self: center;
    display: grid;
    gap: 8px;
    min-width: 0;
  }

  .team-pro-id h3 {
    color: var(--navy, #0A2540);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 5px;
  }

  .team-pro-id span {
    color: #D49B24;
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .team-pro-role {
    color: #5B7189;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
  }

  .team-pro-quote {
    border-left: 3px solid var(--gold, #E4AF3B);
    color: var(--navy, #0A2540);
    font-size: 13px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.48;
    margin: 4px 0 0;
    padding-left: 13px;
  }

  .team-pro-copy {
    color: rgba(10, 37, 64, 0.76);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.62;
    margin: 0;
  }

  .team-pro-link {
    align-items: center;
    align-self: center;
    background: #0A2540;
    border: 1px solid #0A2540;
    border-radius: 999px;
    color: var(--navy, #0A2540);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 8px;
    line-height: 1;
    padding: 11px 15px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
  }

  .team-pro-link span {
    color: #ffffff;
  }

  .team-pro-link i {
    color: var(--gold, #E4AF3B);
    font-size: 13px;
  }

  .team-pro-link:hover,
  .team-pro-link:focus-visible {
    background: var(--gold, #E4AF3B);
    border-color: var(--gold, #E4AF3B);
    transform: translateY(-2px);
  }

  .team-pro-link:hover span,
  .team-pro-link:focus-visible span,
  .team-pro-link:hover i,
  .team-pro-link:focus-visible i {
    color: var(--navy, #0A2540);
  }
}

@media (min-width: 992px) and (max-width: 1180px) {
  .team-pro-card {
    grid-template-columns: 58px 118px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 18px 18px 0;
  }

  .team-pro-photo {
    height: 136px;
  }

  .team-pro-link {
    grid-column: 3;
    justify-self: start;
    margin-top: 2px;
  }
}

/* Dribbble-inspired desktop showcase override */
@media (min-width: 992px) {
  #team-pro.team-pro-section {
    background:
      linear-gradient(180deg, #061a2f 0%, #030b1a 50%, #061a2f 100%);
    display: block;
    isolation: isolate;
    overflow: hidden;
    padding: 96px clamp(24px, 4vw, 56px) 108px;
  }

  #team-pro.team-pro-section::before {
    border: 1px solid rgba(228, 175, 59, 0.18);
    border-bottom: 0;
    border-radius: 900px 900px 0 0;
    content: "";
    height: 420px;
    left: 50%;
    position: absolute;
    top: 252px;
    transform: translateX(-50%);
    width: min(760px, 62vw);
    z-index: -1;
  }

  #team-pro.team-pro-section::after {
    background:
      linear-gradient(90deg, transparent, rgba(228, 175, 59, 0.14), transparent),
      linear-gradient(180deg, rgba(255,255,255,0.04), transparent 44%);
    content: "";
    inset: 0;
    opacity: 0.85;
    pointer-events: none;
    position: absolute;
    z-index: -2;
  }

  .team-pro-inner {
    max-width: 1360px;
  }

  .team-pro-head {
    margin: 0 auto;
    max-width: 920px;
    text-align: center;
  }

  .team-pro-head p {
    color: rgba(255, 255, 255, 0.72);
    margin: 20px auto 48px;
  }

  .team-pro-stage {
    align-items: center;
    contain: layout paint;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: clamp(14px, 2vw, 24px);
    margin: 0 auto;
    max-width: 1320px;
    overflow: clip;
    position: relative;
  }

  .team-pro-window {
    contain: layout paint;
    overflow: clip;
    padding: 18px 0 54px;
    width: 100%;
  }

  .team-pro-track {
    align-items: stretch;
    display: flex;
    gap: clamp(14px, 1.7vw, 24px);
    transform: translateX(var(--team-pro-shift, 0px));
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }

  .team-pro-card {
    background:
      linear-gradient(180deg, rgba(13, 45, 76, 0.24), rgba(1, 11, 24, 0.86)),
      #071B30;
    border: 1px solid rgba(228, 175, 59, 0.18);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    box-sizing: border-box;
    color: #ffffff;
    display: block;
    flex: 0 0 clamp(170px, 15.5vw, 230px);
    height: clamp(358px, 38vw, 456px);
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    transform: translateY(0);
    transition:
      flex-basis 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
  }

  .team-pro-card::before {
    background: linear-gradient(180deg, rgba(228, 175, 59, 0.5), transparent 54%);
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s ease;
    z-index: 2;
  }

  .team-pro-card:hover,
  .team-pro-card.is-active {
    border-color: rgba(228, 175, 59, 0.55);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
    transform: translateY(-8px);
  }

  .team-pro-card.is-active {
    flex-basis: clamp(260px, 23vw, 340px);
  }

  .team-pro-card.is-flipped {
    background:
      linear-gradient(145deg, rgba(228, 175, 59, 0.98), rgba(177, 127, 28, 0.96)),
      #E4AF3B;
    color: var(--navy, #0A2540);
  }

  .team-pro-image {
    inset: 0;
    position: absolute;
  }

  .team-pro-image picture,
  .team-pro-image img {
    display: block;
    height: 100%;
    width: 100%;
  }

  .team-pro-image img {
    filter: saturate(0.98) contrast(1.02);
    object-fit: cover;
    object-position: top center;
    transform: scale(1.04);
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .team-pro-card:hover .team-pro-image img,
  .team-pro-card.is-active .team-pro-image img {
    transform: scale(1.25);
  }

  .team-pro-image::after {
    background:
      linear-gradient(180deg, transparent 42%, rgba(2, 8, 20, 0.94) 100%),
      linear-gradient(0deg, rgba(10, 37, 64, 0.1), rgba(10, 37, 64, 0.1));
    content: "";
    inset: 0;
    position: absolute;
  }

  .team-pro-card.is-flipped .team-pro-image {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .team-pro-brief {
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    left: 0;
    min-width: 0;
    padding: clamp(18px, 2vw, 26px);
    position: absolute;
    right: 0;
    z-index: 3;
  }

  .team-pro-card.is-flipped .team-pro-brief {
    inset: 0;
    justify-content: space-between;
    padding: clamp(22px, 2.5vw, 32px);
  }

  .team-pro-number {
    color: var(--gold, #E4AF3B);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
  }

  .team-pro-card.is-flipped .team-pro-number {
    color: rgba(10, 37, 64, 0.64);
  }

  .team-pro-brief h3 {
    color: #ffffff;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
    max-width: 12ch;
  }

  .team-pro-card.is-active .team-pro-brief h3 {
    font-size: clamp(25px, 2.5vw, 34px);
  }

  .team-pro-card.is-flipped .team-pro-brief h3 {
    color: var(--navy, #0A2540);
    font-size: clamp(26px, 2.7vw, 36px);
    max-width: 10ch;
  }

  .team-pro-role,
  .team-pro-badge,
  .team-pro-copy,
  .team-pro-quote {
    margin: 0;
  }

  .team-pro-role {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
  }

  .team-pro-badge {
    color: var(--gold, #E4AF3B);
    font-family: 'Courier New', monospace;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .team-pro-copy,
  .team-pro-quote,
  .team-pro-link {
    display: none;
  }

  .team-pro-card.is-flipped .team-pro-role {
    color: rgba(10, 37, 64, 0.78);
  }

  .team-pro-card.is-flipped .team-pro-badge {
    color: rgba(10, 37, 64, 0.62);
  }

  .team-pro-card.is-flipped .team-pro-copy,
  .team-pro-card.is-flipped .team-pro-quote {
    color: rgba(10, 37, 64, 0.86);
    display: block;
    font-size: clamp(11px, 1vw, 13px);
    line-height: 1.55;
  }

  .team-pro-card.is-flipped .team-pro-quote {
    border-left: 2px solid rgba(10, 37, 64, 0.54);
    font-style: italic;
    font-weight: 800;
    margin-top: auto;
    padding-left: 12px;
  }

  .team-pro-card.is-flipped .team-pro-link {
    align-items: center;
    align-self: flex-start;
    background: var(--navy, #0A2540);
    border: 1px solid var(--navy, #0A2540);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 8px;
    line-height: 1;
    padding: 11px 15px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    white-space: nowrap;
  }

  .team-pro-card.is-flipped .team-pro-link i {
    color: var(--gold, #E4AF3B);
  }

  .team-pro-card.is-flipped .team-pro-link:hover,
  .team-pro-card.is-flipped .team-pro-link:focus-visible {
    background: #071B30;
    transform: translateY(-2px);
  }

  .team-pro-flip {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 18px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 42px;
    z-index: 5;
  }

  .team-pro-flip:hover,
  .team-pro-flip:focus-visible {
    background: var(--gold, #E4AF3B);
    border-color: var(--gold, #E4AF3B);
    color: var(--navy, #0A2540);
    transform: translateY(-2px);
  }

  .team-pro-card.is-flipped .team-pro-flip {
    background: var(--navy, #0A2540);
    border-color: var(--navy, #0A2540);
    color: var(--gold, #E4AF3B);
    transform: rotate(180deg);
  }

  .team-pro-arrow {
    align-items: center;
    align-self: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    height: 56px;
    justify-content: center;
    width: 56px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    z-index: 4;
  }

  .team-pro-arrow:hover,
  .team-pro-arrow:focus-visible {
    background: rgba(228, 175, 59, 0.18);
    border-color: rgba(228, 175, 59, 0.5);
    color: var(--gold, #E4AF3B);
    transform: translateY(-2px);
  }

  .team-pro-progress {
    bottom: 0;
    display: grid;
    gap: 8px;
    grid-column: 2;
    grid-template-columns: repeat(5, minmax(24px, 1fr));
    left: 50%;
    max-width: 520px;
    position: absolute;
    transform: translateX(-50%);
    width: min(42vw, 520px);
  }

  .team-pro-progress span {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    height: 3px;
    overflow: hidden;
  }

  .team-pro-progress span::before {
    background: var(--gold, #E4AF3B);
    content: "";
    display: block;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
  }

  .team-pro-progress span.is-active::before {
    transform: scaleX(1);
  }
}

@media (min-width: 992px) and (max-width: 1180px) {
  #team-pro.team-pro-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .team-pro-stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
  }

  .team-pro-arrow {
    height: 44px;
    width: 44px;
  }

  .team-pro-card {
    flex-basis: 164px;
    height: 408px;
  }

  .team-pro-card.is-active {
    flex-basis: 276px;
  }

  .team-pro-card.is-flipped .team-pro-brief {
    gap: 5px;
    padding: 22px 24px;
  }

  .team-pro-card.is-flipped .team-pro-brief h3 {
    font-size: 25px;
    line-height: 1.02;
  }

  .team-pro-card.is-flipped .team-pro-copy,
  .team-pro-card.is-flipped .team-pro-quote {
    font-size: 10.6px;
    line-height: 1.45;
  }

  .team-pro-card.is-flipped .team-pro-quote {
    padding-left: 10px;
  }

  .team-pro-card.is-flipped .team-pro-link {
    font-size: 11px;
    padding: 10px 13px;
  }
}
