/* Additive motion layer - does NOT change colors, fonts or layout of the original theme */
.progress-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 9999; pointer-events: none; }
.progress-bar span { display: block; height: 100%; background: var(--color-pink); transform: scaleX(0); transform-origin: 0 50%; }

/* split-heading words */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-wi { display: inline-block; will-change: transform; }

/* magnetic buttons use the individual `translate` property so they never fight the existing hover transform */
.btn { transition: all 0.3s var(--ease), translate .35s cubic-bezier(.22, 1, .36, 1); }

/* mouse-follow spotlight */
.spot { position: relative; }
.spot::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 89, 166, .16), transparent 62%); }
.spot:hover::after { opacity: 1; }

/* extra hover polish */
.cat-card-media img, .job-card img { transition: transform 1.1s cubic-bezier(.22, 1, .36, 1), filter .6s; }
.cat-card-body { position: relative; }
.cat-card-body::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-pink); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.cat-card:hover .cat-card-body::after { transform: scaleX(1); }
.feature-item { position: relative; }
.feature-item::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-pink); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.feature-item:hover::after { transform: scaleX(1); }
.why-figure::before { transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.why-figure:hover::before { transform: translate(-6px, -6px); }
.step { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.step:hover { transform: translateY(-6px); }
.footer-links a { transition: color .3s, padding .4s cubic-bezier(.22, 1, .36, 1); }
.footer-links a:hover { padding-left: 8px; }
.form-control { transition: border-color .3s, background .3s, box-shadow .3s; }
.contact-form { transition: box-shadow .6s, border-color .4s; }

@media (prefers-reduced-motion: reduce) { .spot::after, .btn { transition: none; } }

/* ↗ icon: Font Awesome 5 has no diagonal arrow, so fa-arrow-up is rotated 45deg to match the design */
.icon-ne { display: inline-block; transform: rotate(45deg); transition: transform .35s var(--ease); }
.btn:hover i.icon-ne,
.btn-ghost:hover i.icon-ne,
.cat-card:hover .link-mono i.icon-ne,
.job-card:hover .job-card-icon i.icon-ne { transform: translate(2px, -2px) rotate(45deg); }
