v3.26.1
Goodwill and Other Long-Lived Assets - Summary of Changes in Carrying Amount of Goodwill (Detail) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
May 31, 2025
May 31, 2026
May 31, 2025
Goodwill [Line Items]      
Goodwill, Beginning Balance   $ 376,480 $ 331,595
Acquisitions and purchase accounting adjustments [1]   118,402 41,402
Impairment losses $ 50,050    
Translation adjustments   5,902 3,483
Goodwill, Ending Balance 376,480 500,784 376,480
Total Reportable Segments      
Goodwill [Line Items]      
Goodwill, Beginning Balance   376,480 331,595
Acquisitions and purchase accounting adjustments [1]   118,402 41,402
Translation adjustments   5,902 3,483
Goodwill, Ending Balance 376,480 500,784 376,480
Building Products | Total Reportable Segments      
Goodwill [Line Items]      
Goodwill, Beginning Balance   111,070 65,948
Acquisitions and purchase accounting adjustments [1]   118,402 41,639
Translation adjustments   5,902 3,483
Goodwill, Ending Balance 111,070 235,374 111,070
Consumer Products | Total Reportable Segments      
Goodwill [Line Items]      
Goodwill, Beginning Balance   265,410 265,647
Acquisitions and purchase accounting adjustments [1]     (237)
Goodwill, Ending Balance $ 265,410 $ 265,410 $ 265,410
[1] For additional information regarding our acquisitions, refer to Note P – Acquisitions.”