Even when your job is to dream up the interplanetary adventures of a Norse god, you might still want to run off and play pirates.

So during the weeks he was editing "Thor: Love and Thunder,” the Marvel movie that opens today, Taika Waititi, its director and co-writer, would occasionally take weekends off for a different journey.

He would get outfitted in a flowing gray wig, matching facial hair and temporary tattoos and don deliciously fetishistic leather gear to portray Blackbeard, the swashbuckling, loin-kindling buccaneer of the HBO Max comedy series "Our Flag Means Death.”