v3.26.1
Investments in Unconsolidated Affiliates - Financial Results of Unconsolidated Affiliates (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Investments In And Advances To Affiliates [Line Items]      
Net sales $ 1,381,292 $ 1,153,762 $ 1,245,703
Gross profit 378,275 319,035 285,019
Net (loss) earnings 155,035 94,970 117,821
WAVE | Equity Method Investment, Nonconsolidated Investee, Other      
Investments In And Advances To Affiliates [Line Items]      
Net sales 518,903 496,355 479,153
Gross profit 314,291 300,881 286,228
Operating (loss) income 250,608 238,139 225,202
Depreciation and amortization 5,527 5,436 4,926
Interest (income) expense, net 15,414 16,821 17,288
Income tax (benefit) expense 312 341 267
Net (loss) earnings 235,584 221,487 205,976
ClarkDietrich | Equity Method Investment, Nonconsolidated Investee, Other      
Investments In And Advances To Affiliates [Line Items]      
Net sales 1,160,669 1,167,689 1,308,517
Gross profit 180,593 243,556 326,616
Operating (loss) income 86,401 157,375 236,575
Depreciation and amortization 19,324 16,002 15,075
Interest (income) expense, net (185) (93) 171
Income tax (benefit) expense (104) 1,265 2,250
Net (loss) earnings 87,506 163,182 239,309
Other | Equity Method Investment, Nonconsolidated Investee, Other      
Investments In And Advances To Affiliates [Line Items]      
Net sales 280,198 329,651 317,185
Gross profit 21,680 24,745 36,648
Operating (loss) income (8,404) (6,249) 26,881
Depreciation and amortization 8,865 9,902 8,974
Interest (income) expense, net 946 1,041 2,417
Income tax (benefit) expense 395 132 744
Net (loss) earnings $ (10,185) $ (5,539) $ 22,952