كَانَ زَيْدٌ قَائِمًا — verb + ism + khabar.
كَانَ قَائِمًا زَيْدٌ — verb + fronted khabar + delayed ism.
قَائِمًا كَانَ زَيْدٌ — predicate + verb + subject noun.
In all three, Zayd stays nominative ism kāna and qāʾiman stays accusative khabar kāna. The ordering may affect focus, not the core case assignment.