Pig Latin Translator

Translate English text to Pig Latin and back. Handles consonant clusters, vowel-initial words, and capitalization.

Rules:
• Words starting with a consonant: move consonant cluster to end + "ay" (e.g. "hello" → "ellohay")
• Words starting with a vowel: add "way" (e.g. "apple" → "appleway")
• Capitalization is preserved.