He was wearing a white linen dress shirt with the two top buttons undone, khakis and white sneakers with black laces. A Timex Blackjack Watch and a St. Louis Cardinals cap with a vintage logo completed the look. He accepted his coffee with a thank-you and took my hand in a meaty paw.
Since completing his work on the show that made him famous, Mr. Hamm has gone through changes in his personal life while trying to get a movie career going. In 2015, he spent a month in treatment for alcohol addiction at a rehab facility. Some months after that, he and his partner of 18 years, the writer, director and actor Jennifer Westfeldt, announced that they had broken up.
The movies came out one after another: “Million-Dollar Arm,” in which Mr. Hamm plays a sports agent who grows a heart, thanks to a saucy medical resident (Lake Bell); “Keeping Up With the Joneses,” an action comedy starring Zach Galifianakis in which he and a pre-“Wonder Woman” Gal Gadot portray spies; and “Baby Driver,” a crime fantasy in which he appears as a somewhat deranged third banana.
“I always say I make the movies where people go, ‘Hey, I never saw it, but when I finally did, I really liked it,’” Mr. Hamm said. “People saw ‘Baby Driver,’ though. I was pleased with that.”
His most recent film, the melancholy “Marjorie Prime,” is a well-reviewed adaptation of a Jordan Harrison play directed by Michael Almereyda that includes a much-buzzed-about performance by Lois Smith.
“I watched Michael Almereyda’s movies and I read the script and I thought: I like his movies, I like this script, let’s put this chocolate and peanut butter together and see if we can get a Reese’s Peanut Butter Cup,” Mr. Hamm said. “I didn’t know what the movie would end up being, and then I watched it right before Sundance and I was moved.”
I mentioned that the final scene, with its focus on a character’s relationship with a dog, is affecting without being sentimental.
“Don’t even talk to me,” Mr. Hamm said. “I just lost my dog yesterday.”
He was talking about Cora, a shepherd mix he had gotten with Ms. Westfeldt in the early years of their…