Calculated, not fetched
Sun position uses the NOAA Solar Calculator (Meeus-adjacent). Given latitude, longitude and date, we solve declination and hour angle on the device. No weather API, no sunrise service. The sky gradient is a lerp between measured palettes keyed to solar elevation: −12°, −6°, −4°, 0°, 6°, 20°, 45°, 62°.
elevation = asin(sin φ·sin δ + cos φ·cos δ·cos H)