/* Decorative scroll motion complements the native page scroll. */
#velmora .vm-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 100;
  background: linear-gradient(90deg, #92713d, #e8c887 70%, #fff0cb);
  box-shadow: 0 0 9px #d9ad6555;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
body.admin-bar #velmora .vm-reading-progress { top: 32px; }
#velmora .vm-back-to-top {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #b9955c;
  border-radius: 50%;
  background: #0a0907ed;
  box-shadow: 0 5px 25px #0008;
  color: #e7cd9f;
  font-size: 22px;
  line-height: 1;
  transition: background .25s, transform .25s;
}
#velmora .vm-back-to-top[hidden] { display: none; }
#velmora .vm-back-to-top:hover { background: #302718; transform: translateY(-3px); }
#velmora .vm-button span { transition: transform .3s; }
#velmora .vm-button:hover span { transform: translateX(4px); }
#velmora .vm-icon { transition: background .4s, box-shadow .4s; }
#velmora .vm-principle:hover .vm-icon { background: #d6b77e0d; box-shadow: 0 0 20px #d6b77e15; }
@media (max-width: 782px) {
  body.admin-bar #velmora .vm-reading-progress { top: 46px; }
  #velmora .vm-back-to-top { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  #velmora .vm-backdrop, #velmora .vm-orbit { transform: none !important; }
  #velmora .vm-button:hover, #velmora .vm-button:hover span,
  #velmora .vm-back-to-top:hover { transform: none; }
}
@media print {
  #velmora .vm-reading-progress, #velmora .vm-back-to-top { display: none; }
}

/* Quiet interaction detail for the sections after the V story. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  #velmora .vx-feature { transition: border-color .35s ease, box-shadow .35s ease; }
  #velmora .vx-feature:hover { border-color:#cbb78645; box-shadow:0 8px 28px #0003; }
  #velmora .vx-process summary, #velmora .vx-faq summary { transition:color .25s ease; }
  #velmora .vx-process summary:hover, #velmora .vx-faq summary:hover { color:#dfc999; }
}
