v3.26.3
INCOME TAXES - Schedule of Reconciliation of Effective Tax Rate (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Amount      
Tax at U.S. federal statutory tax rate $ 136,440    
Increase (decrease) in taxes resulting from:      
State and local taxes, net of U.S. federal income tax benefit 24,351    
Other 3,653    
Foreign derived intangible income (17,167)    
Other 2,711    
Research & development ("R&D") tax credit (18,500)    
Foreign tax credit (26,553)    
Other (1,120)    
Changes in valuation allowances 51    
Nontaxable or nondeductible items 9,233    
Changes in unrecognized tax benefits (8,933)    
Provision for income taxes and effective tax rate $ 116,235 $ 123,918 $ 114,377
Percent      
Tax at U.S. Federal statutory tax rate (in percent) 21.00% 21.00% 21.00%
Increase (decrease) in taxes resulting from:      
State and local taxes, net of U.S. federal income tax benefit (in percent) 3.70% 3.10% 2.20%
Statutory tax differences between the UK and the U.S.   1.70% 1.50%
Other 0.60% (0.40%) 0.30%
Foreign derived intangible income (2.60%) (2.00%) (2.30%)
Other 0.40%    
Research & development ("R&D") tax credit (2.80%) (3.10%) (2.80%)
Foreign tax credit (4.10%)    
Other (0.20%)    
Changes in valuation allowances 0.00%    
Nontaxable or nondeductible items 1.40%    
Changes in unrecognized tax benefits (1.40%) 1.40% 2.30%
Stock-based payments   (1.40%) (2.10%)
U.S. impact of foreign income   (3.10%) (2.50%)
Effective tax rate 17.90% 17.20% 17.60%
Tax Jurisdiction of Domicile [Extensible Enumeration] UNITED STATES    
United Kingdom ("UK")      
Increase (decrease) in taxes resulting from:      
Statutory tax differences between the UK and the U.S. $ 8,447    
Other $ 453    
Increase (decrease) in taxes resulting from:      
Statutory tax differences between the UK and the U.S. 1.30%    
Other 0.10%    
Other foreign jurisdictions      
Increase (decrease) in taxes resulting from:      
Statutory tax differences between the UK and the U.S. $ 3,169    
Increase (decrease) in taxes resulting from:      
Statutory tax differences between the UK and the U.S. 0.50%