Custom Houses and Magical Secrets: The Cipher by Diana Pharaoh Francis
Port cities are nothing new in fantasy. In point of fact, port cities are one of the archetypal types of places you will find on a Diana Wynne Jones-esque tour of a fantasy world. Port cities are where cultures meet, where ships from near and far provide opportunities for escape and travel and for the unknown to come to the characters. Anything might be found lurking at the docks, or anyone might be sitting in the dark corner of a wharfside tavern. The markets can have anything for sale, providing further roads to adventure. Port cities might hold wonderful potential for story, but that perspective is usually from an outsider, or a lower class perspective. The fantasy hero reaching the port after a trip overland. The street-rat who has always haunted the dockside haunts, scraping a living. The pirate who enters a hive of scum and villainy looking for more men for her ship, or to sell off the booty from her last score. You don’t normally have as your hero a government bureaucrat. Like, say…a customs inspector.

