v3.26.3
INCOME TAX (Reconciliation of Federal Statutory Rate to Effective Tax Rate from Continuing Operations, Current Year) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Amount      
U.S. federal statutory income tax rate $ 149,312 $ 22,584 $ 133,491
State and local income tax, net of federal income tax 19,964 4,341 17,629
Tax credits      
Energy tax credits - 48C advanced energy project credit (145,355)    
Other tax credits (264)    
Nontaxable or non-deductible items:      
Non-deductible compensation 3,579    
Nontaxable gain (2,371)    
Other non-deductible items 2,968    
Effect of cross-border tax laws 1,842    
Changes in unrecognized tax benefits (10,914)    
Other foreign jurisdictions 2,020 (1,344) 513
Other:      
IRC Section 50(c)(1) - basis adjustment 30,525    
Withholding tax 931    
Other 2,925 6,840 (2,321)
Income tax expense $ 55,162 $ 22,883 $ 150,180
Percent      
U.S. federal statutory income tax rate 21.00%    
State and local income tax, net of federal income tax 2.80%    
Tax credits      
Energy tax credits - 48C advanced energy project credit (20.40%)    
Other tax credits 0.00%    
Nontaxable or non-deductible items:      
Non-deductible compensation 0.40%    
Nontaxable gain (0.30%)    
Other non-deductible items 0.40%    
Effect of cross-border tax laws 0.30%    
Changes in unrecognized tax benefits (1.50%)    
Other foreign jurisdictions 0.30%    
Other:      
IRC Section 50(c)(1) - basis adjustment 4.30%    
Withholding tax 0.10%    
Other miscellaneous 0.40%    
Effective income tax rate 7.80% 21.30% 23.60%