Not at all.It is not a hard concept.
Zen 4c are fabbed on TSMC 4nm which is a density optimized 5nm. Zen 4c cores also have half the L3 cache the normal zen4 cores have. Cache takes up a lot of area.
EDIT: Theres conflicting articles going around, some say they are on 4nm. Some say its still 5nm. Either way, majority of that area improvement is reduction in cache. Clock freq dont impact area much, so the reduction in clk freq is not really contributing to area reductions.
The library AMD is using is also different with density being priority so everything in that library can be packed closer, routing layers routed closer together via rules, etc.
Cache size reduction is not the major contributor of the size reduction.
Frequency target is part of the design.