v3.26.3
Restructuring - Summary of Charges Recorded in Connection with Restructuring by Reportable Segment (Detail) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Restructuring Cost and Reserve [Line Items]    
Current Year Charges $ 5,157 $ 8,814
MAP 2025    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 645 8,814
Cumulative Costs to Date 85,486  
Total Expected Costs 89,880  
MAP 2025 | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges (245) 7,076
Cumulative Costs to Date 60,717  
Total Expected Costs 61,971  
MAP 2025 | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 890 1,738
Cumulative Costs to Date 17,145  
Total Expected Costs 20,285  
MAP 2025 | Other Restructuring Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 0 0
Cumulative Costs to Date 7,624  
Total Expected Costs 7,624  
MAP 2025 | CPG Segment    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 677 2,596
Cumulative Costs to Date 30,667  
Total Expected Costs 34,321  
MAP 2025 | CPG Segment | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges (152) 1,941
Cumulative Costs to Date 23,663  
Total Expected Costs 24,917  
MAP 2025 | CPG Segment | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 829 655
Cumulative Costs to Date 7,004  
Total Expected Costs 9,404  
MAP 2025 | PCG Segment    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges (10) 3,943
Cumulative Costs to Date 26,597  
Total Expected Costs 27,337  
MAP 2025 | PCG Segment | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges (71) 3,307
Cumulative Costs to Date 14,055  
Total Expected Costs 14,055  
MAP 2025 | PCG Segment | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 61 636
Cumulative Costs to Date 5,450  
Total Expected Costs 6,190  
MAP 2025 | PCG Segment | Other Restructuring Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 0 0
Cumulative Costs to Date 7,092  
Total Expected Costs 7,092  
MAP 2025 | Consumer Segment    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges (22) 2,275
Cumulative Costs to Date 28,272  
Total Expected Costs 28,272  
MAP 2025 | Consumer Segment | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges (22) 1,828
Cumulative Costs to Date 23,049  
Total Expected Costs 23,049  
MAP 2025 | Consumer Segment | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 0 447
Cumulative Costs to Date 4,691  
Total Expected Costs 4,691  
MAP 2025 | Consumer Segment | Other Restructuring Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 0 0
Cumulative Costs to Date 532  
Total Expected Costs 532  
MAP 2025 | Corporate/Other    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 0 0
Cumulative Costs to Date (50)  
Total Expected Costs (50)  
MAP 2025 | Corporate/Other | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 0 $ 0
Cumulative Costs to Date (50)  
Total Expected Costs (50)  
2026 Restructuring Action    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 4,512  
Cumulative Costs to Date 28,930  
Total Expected Costs 40,099  
2026 Restructuring Action | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 4,027  
Cumulative Costs to Date 27,030  
Total Expected Costs 32,493  
2026 Restructuring Action | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 485  
Cumulative Costs to Date 1,900  
Total Expected Costs 7,606  
2026 Restructuring Action | CPG Segment    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 398  
Cumulative Costs to Date 9,589  
Total Expected Costs 13,091  
2026 Restructuring Action | CPG Segment | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 385  
Cumulative Costs to Date 9,353  
Total Expected Costs 12,855  
2026 Restructuring Action | CPG Segment | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 13  
Cumulative Costs to Date 236  
Total Expected Costs 236  
2026 Restructuring Action | PCG Segment    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 896  
Cumulative Costs to Date 7,437  
Total Expected Costs 14,881  
2026 Restructuring Action | PCG Segment | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 599  
Cumulative Costs to Date 6,595  
Total Expected Costs 8,556  
2026 Restructuring Action | PCG Segment | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 297  
Cumulative Costs to Date 842  
Total Expected Costs 6,325  
2026 Restructuring Action | Consumer Segment    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 3,218  
Cumulative Costs to Date 10,531  
Total Expected Costs 10,754  
2026 Restructuring Action | Consumer Segment | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 3,043  
Cumulative Costs to Date 9,709  
Total Expected Costs 9,709  
2026 Restructuring Action | Consumer Segment | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 175  
Cumulative Costs to Date 822  
Total Expected Costs 1,045  
2026 Restructuring Action | Corporate/Other    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 0  
Cumulative Costs to Date 1,373  
Total Expected Costs 1,373  
2026 Restructuring Action | Corporate/Other | Severance and Benefit (Credits) Costs    
Restructuring Cost and Reserve [Line Items]    
Current Year Charges 0  
Cumulative Costs to Date 1,373  
Total Expected Costs $ 1,373