For decades now, Jurgen Mossack and Ramon Fonseca have been the go-to guys in Panama for international investors looking to put their money in far-flung places.

But even before the world learned their names Sunday -- in reports that alleged their firm played a critical role in helping political leaders around the world move money offshore -- the lawyers knew their lucrative partnership had begun to fray.

During a four-hour interview last week, Mossack and Fonseca sounded like two men in retreat: the go-go days of cranking out shell companies en masse for clients was over; the firm’s been considering scaling back its international franchising; and Mossack was expressing frustration about how Fonseca’s political ambitions were earning them unwelcome scrutiny from regulators and the media. Just days earlier, Fonseca had stepped down as a special adviser to President Juan Carlos Varela, saying he wanted to focus his attention instead on the business.

“We are going to make ourselves the right size -- smaller,” Fonseca said. For the co-head of a firm that over the past few decades has helped revolutionize the way companies and wealthy individuals structure their investments across the globe -- and popularized the British Virgin Islands as a hub -- the statement marks a big drop in ambition.

Many of the details of Mossack Fonseca’s operations were revealed in a documents leak that the International Consortium of Investigative Journalists says showed how scores of celebrities and world leaders have been shuffling billions of dollars through banks and shell companies. (Bloomberg News is not part of the ICIJ consortium and was unaware of the leak when the interview was conducted on March 29.)

Among those who the ICIJ says used the firm’s services to help them stash money overseas are Argentine President Mauricio Macri, Ukrainian President Petro Poroshenko and associates of Russian President Vladimir Putin. Officials from those countries denied wrongdoing, as did the law firm, which said in a statement that it “does not foster or promote illegal acts.” It also refused to comment on any of the clients named in the reports. On Monday, Mossack said in a phone interview that the leak stemmed from the hacking of the firm’s computers and that an outside sleuth had been hired to investigate.

‘da Vinci Man’

Of the two men, it is Mossack, a 68-year-old with German roots, who displays a keen mastery of the nuts and bolts of the business. He did most of the talking during the interview in their Panama City headquarters. The building is sleek, with a distinctive glass-facade, but looks diminutive amid the skyscrapers that dominate the financial district. Across the street is the iconic F&F Tower, a helix-shaped building that helped give the booming city its nickname “Dubai of the Americas.” As the two men spoke that morning, they were flanked by their legal director and two consultants. In all, the firm employs some 500 people in Panama and across the globe.

If Mossack is the nitty-gritty guy, Fonseca, 63, is the self-proclaimed dreamer.

He boasts that his friends have labeled him “a da Vinci man” for his interests in politics, law, business, letters and philanthropy. He’s penned a half-dozen novels over the years, and for a while as a young man had considered becoming a priest.