Prep the pan: Line an 8x8-inch square pan with parchment paper, leaving overhang on two sides to lift the bars out later.
Make the crust: In a bowl, stir almond flour, melted coconut oil, maple syrup, vanilla, and salt until it forms a damp, sandy mixture. Press firmly and evenly into the lined pan.
Use the bottom of a measuring cup to compact it well. Chill while you make the filling.
Soften the gelatin: In a small bowl, sprinkle gelatin over cold water and let it bloom for 5 minutes. If using agar, skip to step 5.
Whip the filling base: In a mixing bowl, beat softened cream cheese until smooth.
Add Greek yogurt, protein powder, maple syrup, lemon zest, lemon juice, vanilla, and a pinch of salt. Beat until creamy and lump-free. Taste and adjust sweetness if needed.
Melt the setting agent: Gently warm the bloomed gelatin in the microwave (5–10 seconds) or over a hot water bath just until melted, not boiling.
For agar, simmer it in 1/4 cup water for 2–3 minutes until dissolved. Cool for 1 minute.
Incorporate and blend: With the mixer running on low, stream in the melted gelatin or agar mixture. Mix just until evenly combined.
Make the raspberry swirl: In a small bowl, lightly mash raspberries with lemon juice and a touch of sweetener if using.
You want juicy but still a few chunks.
Assemble: Pour the cheesecake filling over the chilled crust and smooth the top. Spoon small dollops of raspberry mixture across the surface, then drag a toothpick or skewer through to create swirls. Scatter a few extra whole raspberries if you like.
Chill to set: Refrigerate for at least 4 hours, preferably overnight, until firm to the touch and sliceable.
Slice into bites: Lift the slab from the pan using the parchment.
Use a sharp knife rinsed in hot water and wiped dry to cut into 25–36 bite-sized squares. Wipe the knife between cuts for clean edges.