Rem units are intermittently miscalculated on load within animations. This happens in Safari 12 both on my Mac and iOS. Occasionally it will render correctly but on refreshes it more often than not renders incorrectly.
Replicate the bug:
Possibly related: https://bugs.webkit.org/show_bug.cgi?id=194749
Seems to only reproduce with Web Animations enabled.