/* Orange to ink on light sections; white to orange on dark sections. */
[data-heading-reveal='true'] { position: relative; color: var(--heading-to); }
[data-heading-state='waiting'], [data-heading-state='running'] { color: var(--heading-from); }
.heading-color-layer {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--heading-to);
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  pointer-events: none;
  user-select: none;
}
html[data-motion-paused='true'] [data-heading-reveal='true'] { color: var(--heading-to); }
html[data-motion-paused='true'] .heading-color-layer { display: none; }
@media (prefers-reduced-motion: reduce) {
  [data-heading-reveal='true'] { color: var(--heading-to); }
  .heading-color-layer { display: none; }
}
@media (forced-colors: active) {
  [data-heading-reveal='true'] { color: CanvasText; }
  .heading-color-layer { display: none; }
}
