/* 2human website: the motion that framer-motion and Radix did in the React build. app.css (the live build's compiled
 * Tailwind) stays unchanged; everything the port adds is here. data-m attributes come from render.js. */
:root { --ease-inOut: cubic-bezier(0.42, 0, 0.58, 1); --ease-out: cubic-bezier(0, 0, 0.58, 1); }

/* reveal: start state, only with JavaScript (without it, everything is simply shown) */
.js [data-m] { opacity: var(--m-o, 0); }
.js [data-m][data-mt] { transform: translate(var(--m-x, 0px), var(--m-y, 0px)) scale(var(--m-s, 1)) scaleX(var(--m-sx, 1)); }
.js [data-m].m-in { opacity: 1; }
.js [data-m][data-mt].m-in { transform: none; }
.js [data-m]:not(.m-done) {
  transition: opacity var(--m-d) var(--m-e, var(--ease-inOut)) var(--m-t, 0s), transform var(--m-d) var(--m-e, var(--ease-inOut)) var(--m-t, 0s);
}

/* the hero's scroll indicator (animate y [0, 8, 0], 2 s, repeating) */
.scroll-bob { animation: th-bob 2s var(--ease-inOut) infinite; }
@keyframes th-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* the logo (whileHover scale 1.05, whileTap 0.98, spring) */
.logo-mark { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.logo-mark:hover { transform: scale(1.05); }
.logo-mark:active { transform: scale(0.98); }

/* the mobile menu (height 0 <-> auto, opacity, 0.3 s) */
[data-menu] { transition: height 0.3s var(--ease-inOut), opacity 0.3s var(--ease-inOut); }

/* the contact form's progress bar (width, 0.3 s) */
.contact-progress { transition: width 0.3s var(--ease-inOut); }

@media (prefers-reduced-motion: reduce) {
  .js [data-m], .js [data-m][data-mt] { opacity: 1; transform: none; transition: none; }
  .scroll-bob { animation: none; }
}
