Here is the general concept you are after.
Black (normally brown) is the live from utility, white (normally sky-blue) is the neutral.
Red connotes "switched-hot" or "hot when the light is to be on".
The yellows are 2 travelers. The thing about travelers is one is live, the other is not live.
Since you want a plain switch at one site and a dimmer at the other, I gather that you have a preference. Too bad! That will be forced upon you by the topology/layout of your wiring, and the wire requirements of the smart(er) switch. You might get lucky, or not.
The surest option to give you full control where. you want it, is to use full-and-proper "smart switch". Choose a type that has a companion "remote" which gives the same controls. The wiring will still force you to place the master unit where you must, but the controls will feel the same.