/* Keep the approved visual world; states explain action and location. */
:root { --interaction-ease: cubic-bezier(.16,1,.3,1); }
a.button, .contact-button, .demo-button, button {
  transition: opacity 120ms ease, background-color 150ms ease, transform 120ms var(--interaction-ease);
}
a.button:active, .contact-button:active, .demo-button:active, button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { cursor: default; opacity: .55; }
.site-nav a[aria-current="location"], nav[aria-label="Main navigation"] a[aria-current="location"] { text-decoration: underline; text-underline-offset: .4em; }
.interaction-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.interaction-undo { display:block; margin-top:12px; padding:12px 20px; min-height:44px; color:inherit; background:transparent; border:1px solid currentColor; border-radius:999px; font:inherit; font-size:13px; cursor:pointer; }
.interaction-undo[hidden] { display:none; }
#result-count { overflow-wrap:anywhere; }
.project-feedback { animation: result-ack 180ms ease-out; }
@keyframes result-ack { from { opacity:.65; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) {
  a.button,.contact-button,.demo-button,button { transition:none; }
  a.button:active,.contact-button:active,.demo-button:active,button:active:not(:disabled) { transform:none; }
  .project-feedback { animation:none; }
}
