Stanley Kubrick, 1999. Tom Cruise and Nicole Kidman in a marriage-and-masked-orgy dream.
From Wikipedia
Eyes Wide Shut is a 1999 erotic psychological mystery thriller film directed, produced, and co-written by Stanley Kubrick, and starring Tom Cruise and Nicole Kidman. The plot centers on a Manhattan doctor who is shocked when his wife reveals that she contemplated cheating on him. He embarks on a night-long adventure and infiltrates a masked orgy of a secret society. It is based on the 1926 novella Dream Story by Arthur Schnitzler, and transfers the story's setting from early twentieth-century Vienna to 1990s New York City.