Attic insulated with spray foam at the roofline. Thermal bridging is reduced by spraying over the rafters. Air leakage is reduced by encapsulating the attic.