The perfect starting point to discuss bespoke music for any production is the script.
Any earlier and the story and characters aren’t formed enough to be able to pinpoint the right musical moods. With a script there’s a sense of time and place that provides a context for the style and emotions of the music to be identified.