There was a city on a massive boat. The entire ship was a self-contained city. Possibly it was the only city left. It was also a very hierarchical society where the rich ruled with a political philosophy that basically said they could do anything because they were rich, and the ruling elite had no obligation to help out anyone else. The rich deserved to be rich, the poor deserved to be poor.
I was a scullion, or an aspiring young chef or something. I was poor, possibly a homeless orphan. I needed to make good food to achieve my goals, but I didn’t have the ingredients. I went to steal eggs and suchlike in a reputable chef’s kitchen. To avoid being spotted at one point I hid above a door, using the door frame to support myself between the door and the ceiling.