/* NOK Radar Step 20.12 – lightweight visual interactions. Public pages only. */
@media (prefers-reduced-motion: no-preference) {
  body.nok-motion-enabled .nok-reveal {
    opacity:0;
    transform:translate3d(0,16px,0);
    transition:opacity 560ms cubic-bezier(.2,.8,.2,1),transform 560ms cubic-bezier(.2,.8,.2,1);
    transition-delay:var(--nok-reveal-delay,0ms);
  }
  body.nok-motion-enabled .nok-reveal.nok-in-view {opacity:1;transform:none;}
  body.nok-motion-enabled .nok-motion-card {transition:transform 220ms cubic-bezier(.2,.8,.2,1),box-shadow 220ms ease,border-color 220ms ease;}
  @media (hover:hover) and (pointer:fine) {
    body.nok-motion-enabled .nok-motion-card:hover {transform:translate3d(0,-4px,0);box-shadow:0 18px 42px rgba(25,82,108,.14);border-color:#9ed7e2;}
    body.nok-motion-enabled .nok-motion-card:focus-within {box-shadow:0 0 0 3px rgba(9,174,199,.13),0 18px 36px rgba(25,82,108,.10);}
  }
  body.nok-motion-enabled .nok-motion-action {transition:transform 170ms ease,box-shadow 170ms ease,filter 170ms ease;}
  @media (hover:hover) and (pointer:fine) {
    body.nok-motion-enabled .nok-motion-action:hover:not(:disabled) {transform:translateY(-2px);box-shadow:0 8px 18px rgba(10,116,144,.13);}
  }
  body.nok-motion-enabled .nok-motion-action:active:not(:disabled) {transform:translateY(0) scale(.98);}
  body.nok-motion-enabled .nok-motion-progress {transition:transform 90ms linear;}
  body.nok-motion-enabled details[open] > :not(summary) {animation:nok-details-in 190ms ease-out both;}
  @keyframes nok-details-in {from{opacity:.25;transform:translateY(-5px)}to{opacity:1;transform:none}}
}
body.nok-motion-enabled .nok-motion-action:focus-visible,
body.nok-motion-enabled .nok-motion-card a:focus-visible,
body.nok-motion-enabled summary:focus-visible {outline:3px solid #09a8bd;outline-offset:3px;}
.nok-motion-progress {position:fixed;top:0;left:0;height:3px;width:100%;z-index:120;pointer-events:none;background:linear-gradient(90deg,#0898b2,#24cfdd);transform:scaleX(0);transform-origin:0 50%;}
@media (prefers-reduced-motion: reduce) {
  .nok-motion-progress {display:none!important;}
  .nok-reveal {opacity:1!important;transform:none!important;transition:none!important;}
}
