v3.26.3
Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details) - USD ($)
$ in Thousands
Aug. 31, 2026
Aug. 31, 2025
Property, Plant, and Equipment [Line Items]    
Gross property, plant and equipment $ 12,396,805 $ 12,170,231
Less accumulated depreciation and amortization 7,016,112 6,668,937
Total property, plant and equipment  5,380,693 5,501,294
Land and land improvements    
Property, Plant, and Equipment [Line Items]    
Gross property, plant and equipment 498,013 490,418
Buildings    
Property, Plant, and Equipment [Line Items]    
Gross property, plant and equipment 1,487,578 1,505,368
Machinery and equipment    
Property, Plant, and Equipment [Line Items]    
Gross property, plant and equipment 8,831,931 8,750,348
Computer software, office equipment and other    
Property, Plant, and Equipment [Line Items]    
Gross property, plant and equipment 828,897 570,834
Construction in progress    
Property, Plant, and Equipment [Line Items]    
Gross property, plant and equipment $ 750,386 $ 853,263