In a large bowl, whisk together the flour, fine sea salt, sugar, and instant yeast. Add the warm water and 1 tablespoon olive oil and stir with a spatula until a sticky, shaggy dough forms with no dry flour left, about 1 minute.
Cover the bowl and let the dough rest for 10 minutes. With wet hands, lift one edge of the dough, stretch it up, and fold it over the center. Turn the bowl a quarter turn and repeat 3 more times.
Cover and let the dough rise in a warm spot until doubled, about 1 hour.
Pour 2 tablespoons olive oil into a 10-inch cast-iron skillet and brush it over the bottom and sides. Scrape the dough into the skillet, turn it once to coat with oil, and gently stretch it toward the edges. If it springs back, wait 5 minutes and stretch again.
Cover and let rise for 30 minutes, until puffy and almost touching the sides. Meanwhile, heat the oven to 425°F with a rack in the center.
Drizzle the dough with the remaining 2 tablespoons olive oil. With oiled fingertips, press straight down to the bottom of the skillet to dimple the dough all over. Sprinkle with the rosemary and flaky sea salt.
Bake for 20 to 25 minutes, until deep golden brown on top and the bottom is crisp. The center should read about 200 to 210°F on an instant-read thermometer.
Let the focaccia cool in the skillet for 5 minutes, then move it to a wire rack and cool for 5 more minutes. Slice into 8 pieces and serve warm.