v3.25.2
Inventories - Schedule of Inventories (Details) - USD ($)
$ in Thousands
May 31, 2025
Aug. 31, 2024
Inventory, Net [Abstract]    
Processed and unprocessed scrap metal $ 123,073 $ 137,013
Semi-finished goods 12,111 14,846
Finished goods 63,713 72,225
Supplies 74,060 69,848
Inventories $ 272,957 $ 293,932