Text this: Embedded circuit analysis and design method for reconfigurable metasurface element