*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    
    .team-section {
      display: flex;
      flex-wrap: wrap;
      gap: 28px;
      justify-content: center;
      margin-top:39px;
    }

    /* ── Card ── */
    .team-card {
      position: relative;
      width: 215px;
      height: 355px;
      border-radius: 24px;
      background: #ffffff;
      overflow: hidden;
      cursor: default;
      transition:
        transform .55s cubic-bezier(.34,1.56,.64,1),
        box-shadow .4s ease;
    }
    .team-card:hover {
      transform: translateY(-6px);
      
    }

    /* ── Person image ── */
    .card-image {
      position: absolute;
      inset: 0;
      width: 197px;
      height: 307px;
      object-fit: cover;
      object-position: bottom;
      filter: grayscale(100%);
      transition: filter .55s ease;
      margin-top:50px;
      margin-left:10px;
    }
    .team-card:hover .card-image {
      filter: grayscale(0%);
    }

    /* ── Name + role ── */
    .card-info {
      position: absolute;
      top: 20px;
      left: 20px;
      z-index: 2;
    }
    .card-name {
      font-size: 16px;
      font-weight: 800;
      letter-spacing: .04em;
      color: #1a1a1a;
      line-height: 1.2;
      text-transform: uppercase;
    }
    .card-role {
      font-size: 14px;
      font-weight: 400;
      color: #888;
      margin-top: 3px;
      letter-spacing: .01em;
    }

    /* ── Social icons overlay ── */
    .card-socials {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 60px 0 22px;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      gap: 12px;
      z-index: 3;
      background: linear-gradient(to top,
        rgba(255,255,255,.95) 0%,
        rgba(255,255,255,.65) 50%,
        rgba(255,255,255,0)  100%);
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .team-card:hover .card-socials {
      opacity: 1;
    }

    /* ── Individual icon links ── */
    .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #ffffff;
      box-shadow: 0 4px 16px rgba(0,0,0,.14);
      cursor: pointer;
      text-decoration: none;
      opacity: 0;
      transform: translateY(14px) scale(.82);
      transition:
        opacity   .35s ease,
        transform .45s cubic-bezier(.34,1.56,.64,1),
        box-shadow .25s ease;
    }
    .team-card:hover .social-link:nth-child(1) {
      opacity: 1; transform: translateY(0) scale(1); transition-delay: .06s;
    }
    .team-card:hover .social-link:nth-child(2) {
      opacity: 1; transform: translateY(0) scale(1); transition-delay: .13s;
    }
    .team-card:hover .social-link:nth-child(3) {
      opacity: 1; transform: translateY(0) scale(1); transition-delay: .20s;
    }
    .social-link:hover {
      box-shadow: 0 6px 22px rgba(0,0,0,.22);
      transform: translateY(-2px) scale(1.08) !important;
    }
    .social-link svg {
      width: 38px;
      height: 38px;
      display: block;
    }