Preheat oven to 325°F (170°C). Grease a 9-inch square baking pan. Line pan with parchment paper, letting excess extend over sides of pan.
In the top of a double boiler, heat 6 ounces (170 grams) chocolate over simmering water, stirring occasionally, until melted and smooth. Remove from heat; whisk in granulated sugar, melted butter, brown sugar, and espresso powder. Let cool for 5 minutes.
Add eggs, egg yolk, and vanilla to chocolate mixture, whisking until combined.
Whisk together flours, cocoa, and salt in a medium bowl. Stir in flour mixture until just a few bits of flour remain. Fold in 4 ounces (113 grams) chocolate. Spread batter into prepared pan; sprinkle with remaining 2 ounces (57 grams) chocolate.
Bake until a wooden pick inserted in center comes out with a few moist crumbs, 22 to 28 minutes. Let cool completely in pan. Using excess parchment as handles, remove from pan, and cut into bars.