/* Progressive enhancement: all content stays visible without JavaScript.
   Individual translate preserves the existing rotations and device transforms. */
[data-reveal] {
  transition:opacity .62s ease,translate .72s cubic-bezier(.2,.75,.2,1);
}
[data-reveal][data-motion-state="below"] { opacity:0; translate:0 24px; }
[data-reveal][data-motion-state="above"] { opacity:0; translate:0 -18px; }
[data-reveal][data-motion-state="visible"] { translate:0 0; }
[data-reveal]:not([data-motion-state="visible"]) { transition-duration:.28s; transition-delay:0s; }
.home-products > :nth-child(2)[data-motion-state="visible"] { transition-delay:70ms; }
.home-products > :nth-child(3)[data-motion-state="visible"] { transition-delay:140ms; }
[data-reveal]:focus-within { opacity:1!important; translate:0 0!important; transition-delay:0s!important; }
.button { transition:background .22s,box-shadow .25s,transform .25s; }
.button svg { transition:transform .25s cubic-bezier(.2,.8,.2,1); }
.site-nav { transition:background .3s,color .3s; }
.site-brand { animation:header-enter .65s ease both; }
.nav-toggle { animation:header-enter .65s ease both; }
.nav-toggle span { transition:transform .25s,opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-9px) rotate(-45deg); }
.home-contact,.footer a { transition:opacity .2s; }
@media(hover:hover) and (pointer:fine) {
  .button:hover { transform:translateY(-2px); box-shadow:0 7px 22px #3a150020; }
  .home-contact:hover,.footer a:hover { opacity:.7; }
}
@media(max-width:820px) {
  .site-nav.is-open { animation:menu-enter .25s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes menu-enter { from { opacity:0; translate:0 -10px; } to { opacity:1; translate:0 0; } }
@keyframes header-enter { from { opacity:0; } to { opacity:1; } }
dialog[open] { animation:dialog-enter .28s cubic-bezier(.2,.8,.2,1) both; }
dialog[open]::backdrop { animation:backdrop-enter .25s ease both; }
@keyframes dialog-enter { from { opacity:0; transform:translateY(12px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes backdrop-enter { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) {
  [data-reveal][data-motion-state] { opacity:1; translate:none; }
  .home-product:hover,.home-product:active,.home-product:hover .product-add,.button:hover,.demo-button:hover svg { transform:none; }
}
@media print {
  [data-reveal][data-motion-state] { opacity:1!important; translate:none!important; transition:none!important; }
}
