v3.26.1
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Schedule of Derivative Instruments in Statement of Financial Position, Fair Value (Details) - USD ($)
$ in Thousands
May 31, 2026
Aug. 31, 2025
Derivative [Line Items]    
Derivative asset, noncurrent $ 469 $ 701
Derivative liability, current (7,227) (551)
Derivative liability, noncurrent (2,613) (6,196)
Derivative asset, current 860 0
Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Fair ‎Value (8,823) (5,495)
Net Tax ‎Effect 3,111 1,934
Net ‎OCI (5,712) (3,561)
Cross-currency interest rate swaps | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative asset, noncurrent 298 0
Net Tax ‎Effect (105) 0
Net ‎OCI $ 193 $ 0
Derivative Asset, Noncurrent, Statement of Financial Position [Extensible Enumeration] Other non-current assets (includes $469 and $701 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments) Other non-current assets (includes $469 and $701 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments)
Cross-currency interest rate swaps | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative liability, current $ (6,203) $ 0
Net Tax ‎Effect 2,172 0
Net ‎OCI $ (4,031) $ 0
Derivative Liability, Current, Statement of Financial Position [Extensible Enumeration] Other accrued expenses and other current liabilities (includes $7,227 and $551 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments) Other accrued expenses and other current liabilities (includes $7,227 and $551 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments)
Cross-currency interest rate swaps | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative liability, noncurrent $ (2,430) $ (5,381)
Net Tax ‎Effect 851 1,884
Net ‎OCI $ (1,579) $ (3,497)
Derivative Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] Other long-term liabilities (includes $2,613 and $6,196 for the fair value of derivative instruments and $14,745 and $13,628 for post-employment plans as of May 31, 2026 and August 31, 2025, respectively) Other long-term liabilities (includes $2,613 and $6,196 for the fair value of derivative instruments and $14,745 and $13,628 for post-employment plans as of May 31, 2026 and August 31, 2025, respectively)
Interest rate swaps | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative asset, current $ 403 $ 0
Net Tax ‎Effect (91) 0
Net ‎OCI $ 312 $ 0
Derivative Asset, Current, Statement of Financial Position [Extensible Enumeration] Prepaid Expense and Other Assets, Current Prepaid Expense and Other Assets, Current
Interest rate swaps | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative asset, noncurrent $ 0 $ 701
Net Tax ‎Effect 0 (157)
Net ‎OCI $ 0 $ 544
Derivative Asset, Noncurrent, Statement of Financial Position [Extensible Enumeration] Other non-current assets (includes $469 and $701 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments) Other non-current assets (includes $469 and $701 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments)
Interest rate swaps | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative liability, current $ (144) $ 0
Net Tax ‎Effect 39 0
Net ‎OCI $ (105) $ 0
Derivative Liability, Current, Statement of Financial Position [Extensible Enumeration] Other accrued expenses and other current liabilities (includes $7,227 and $551 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments) Other accrued expenses and other current liabilities (includes $7,227 and $551 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments)
Interest rate swaps | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative liability, noncurrent $ (183) $ (815)
Net Tax ‎Effect 48 207
Net ‎OCI $ (135) $ (608)
Derivative Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] Other long-term liabilities (includes $2,613 and $6,196 for the fair value of derivative instruments and $14,745 and $13,628 for post-employment plans as of May 31, 2026 and August 31, 2025, respectively) Other long-term liabilities (includes $2,613 and $6,196 for the fair value of derivative instruments and $14,745 and $13,628 for post-employment plans as of May 31, 2026 and August 31, 2025, respectively)
Non-deliverable forward foreign-exchange contracts | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative asset, current $ 134 $ 0
Net Tax ‎Effect (47) 0
Net ‎OCI $ 87 $ 0
Derivative Asset, Current, Statement of Financial Position [Extensible Enumeration] Prepaid Expense and Other Assets, Current Prepaid Expense and Other Assets, Current
Non-deliverable forward foreign-exchange contracts | Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative liability, current $ (698) $ 0
Net Tax ‎Effect 244 0
Net ‎OCI $ (454) $ 0
Derivative Liability, Current, Statement of Financial Position [Extensible Enumeration] Other accrued expenses and other current liabilities (includes $7,227 and $551 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments) Other accrued expenses and other current liabilities (includes $7,227 and $551 as of May 31, 2026 and August 31, 2025, respectively, for the fair value of derivative instruments)