v3.26.1
FAIR VALUE MEASURES - Schedule of Principal Amount and Fair Value of Outstanding Debt (Details) - USD ($)
$ in Thousands
May 31, 2026
Aug. 31, 2025
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Principal Amount $ 1,395,000 $ 1,375,000
Estimated Fair Value 1,342,461 1,325,871
Unamortized discounts and debt issuance costs (5,299) (6,740)
Total debt 1,389,701 1,368,260
Senior Notes | 2027 Notes    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Principal Amount 500,000 500,000
Senior Notes | 2032 Notes    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Principal Amount 500,000 500,000
Line of Credit | 2025 Credit Agreement | Term Facility    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Principal Amount 375,000 375,000
Line of Credit | 2025 Credit Agreement | Revolving Credit Facility    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Principal Amount 20,000 0
Level 1 | Senior Notes | 2027 Notes    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Estimated Fair Value 494,320 490,565
Level 1 | Senior Notes | 2032 Notes    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Estimated Fair Value 453,390 460,440
Level 3 | Line of Credit | 2025 Credit Agreement | Term Facility    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Estimated Fair Value 374,760 374,866
Level 3 | Line of Credit | 2025 Credit Agreement | Revolving Credit Facility    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Estimated Fair Value $ 19,991 $ 0