v3.26.3
Derivative Financial Instruments and Hedging Activities - Narrative (Details)
$ in Thousands, bbl in Millions
12 Months Ended
Aug. 31, 2026
USD ($)
bbl
Aug. 31, 2025
USD ($)
bbl
Derivative [Line Items]    
Long-term derivative assets $ 5,510 $ 1,984
Long-term derivative liabilities 3,600 1,700
Foreign exchange derivatives | Not Designated as Hedging Instrument    
Derivative [Line Items]    
Notional amount of derivative contracts $ 1,500,000 $ 1,700,000
Commodity derivatives | Designated as Hedging Instrument | Cash Flow Hedging    
Derivative [Line Items]    
Aggregate notion amount of cash flow hedges (in barrels) | bbl 3.4 5.1