Here is quote from John Paul II that does deal with “modesty”. As you can see – when clothes are worn according to it objective function – we cannot attribute “immodesty”. A girl/woman in a swimsuit at the beach or pool – cannot be deemed to be “immodest” – yet some here would label the girl/woman as “immodest” – showing what “only a husband should see”. ** Now lets say – a girl/woman wearing a shorts/tank top and even a mini-skirt - walking along minding her own business --to her these are just clothes to wear --this is their objective function – and meant to do nothing other–she would be labeled by some as “immodest”.**
You are almost completely misunderstanding and misinterpreting the pope’s words. The pope goes over several instances where partial nudity or full nudity are typically acceptable: working, bathing, and for a medical examination. It’s obvious that these are good reasons, because it’s sometimes difficult to work in certain attire, hard to bathe when fully clothed, and impossible for certain areas to be examined when clothed.
But simply because something is called a “swimming suit” or a “dress” does mean that is its only objective function. Everyone who wears a small swim suit knows full well that that suit is not for swimming (I’ve yet to see an Olympic swimmer say that wearing a small suit improves the function of swimming, and we all know why).
so for “Whereas the use of such a costume outside its proper context is immodest”, it must also be said that some modes of attire are inherently immodest in public (private is the prerogative of the two married spouses).
As the pope points out in “There are certain objective situations in which even total nudity of the body is not immodest,** since the proper function of nakedness in this context is not to provoke a reaction to the person as an object for enjoyment”**, he implies that there are other times where a person’s dress is meant to provoke a reaction. This is especially obvious in the bathing suit industry. If, as the pope says, the function of the modern bathing suit is for bathing, why would such an industry be built around looking sexy? If the function of bathing were truly being served (it is not, it’s merely an unsubstantiated claim you’re making), more focus would be set on the* functionality* of the bathing suit, and less time spent on making sure it strategically covers body parts and doesn’t fall off when someone actually goes for a swim. It is highly ironic that people are more worried about clothes supposedly designed specifically for bathing coming off and undone than their normal clothes, which aren’t custom designed!
If you want to address functionality as it relates to modesty, and then try to claim that low cut, high cut, or mini cut modes of attire are more functional, you’ve got a lot of data to battle. Anyone who has ever worn something extremely tight, form fitting, or exposing knows that in no way did it serve to increase any sort of functionality, other than attracting attention.