Reorganize imports to avoid flash of unstyled text; move Mapbox after page content