Direct measurements of energy transfer across steep density and temperature gradients in a hot-dense-matter system are presented. Hot-dense-plasma conditions were generated by high-intensity laser irradiation of a thin-foil target containing a buried metal layer. Energy transfer to the layer was measured using picosecond time-resolved x-ray emission spectroscopy. The data show two x-ray flashes in time. Fully explicit, coupled particle-in-cell and collisional-radiative atomic kinetics model predictions reproduce these observations, connecting the two x-ray flashes with staged radial energy transfer within the target.