/* ==========================================================================
   Ratnadeep — motion system
   Only active when JS adds .js-anim to <html>; fully disabled for
   prefers-reduced-motion. Every page has its own signature motion.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-back: cubic-bezier(.34, 1.56, .64, 1); --dur: .9s; }

/* ---------- 1. Reveal primitives ---------- */
.js-anim [data-anim] { transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), clip-path 1.1s var(--ease-out), filter var(--dur) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + var(--delay, 0ms)); will-change: opacity, transform; }
.js-anim [data-anim].is-in { opacity: 1; transform: none; filter: none; }
.js-anim [data-anim="fade-up"]:not(.is-in) { opacity: 0; transform: translateY(40px); }
.js-anim [data-anim="fade-down"]:not(.is-in) { opacity: 0; transform: translateY(-30px); }
.js-anim [data-anim="fade-left"]:not(.is-in) { opacity: 0; transform: translateX(60px); }
.js-anim [data-anim="fade-right"]:not(.is-in) { opacity: 0; transform: translateX(-60px); }
.js-anim [data-anim="zoom"]:not(.is-in) { opacity: 0; transform: scale(.88); }
.js-anim [data-anim="zoom-out"]:not(.is-in) { opacity: 0; transform: scale(1.12); }
.js-anim [data-anim="blur"]:not(.is-in) { opacity: 0; filter: blur(14px); transform: translateY(16px); }
.js-anim [data-anim="flip"]:not(.is-in) { opacity: 0; transform: perspective(1000px) rotateX(-28deg) translateY(50px); transform-origin: 50% 0; }
.js-anim [data-anim="flip-y"]:not(.is-in) { opacity: 0; transform: perspective(900px) rotateY(-70deg); transform-origin: 0 50%; }
.js-anim [data-anim="tilt"]:not(.is-in) { opacity: 0; transform: perspective(900px) rotate(-3deg) translateY(60px); }
.js-anim [data-anim="pop"] { transition-timing-function: var(--ease-back); }
.js-anim [data-anim="pop"]:not(.is-in) { opacity: 0; transform: scale(.4); }
.js-anim [data-anim="spin-pop"] { transition-timing-function: var(--ease-back); }
.js-anim [data-anim="spin-pop"]:not(.is-in) { opacity: 0; transform: scale(.5) rotate(-25deg); }
.js-anim [data-anim="drop"] { transition-timing-function: var(--ease-back); transition-duration: 1s; }
.js-anim [data-anim="drop"]:not(.is-in) { opacity: 0; transform: translateY(-120px) rotate(-4deg); }
.js-anim [data-anim="rise"]:not(.is-in) { opacity: 0; transform: translateY(110px) scale(.96); }
.js-anim [data-anim="clip-up"] { opacity: 1; }
.js-anim [data-anim="clip-up"]:not(.is-in) { clip-path: inset(100% 0 0 0); transform: translateY(30px); }
.js-anim [data-anim="clip-up"].is-in { clip-path: inset(0 0 0 0); }
.js-anim [data-anim="clip-left"]:not(.is-in) { clip-path: inset(0 100% 0 0); }
.js-anim [data-anim="clip-left"].is-in { clip-path: inset(0 0 0 0); }
.js-anim [data-anim="clip-circle"]:not(.is-in) { clip-path: circle(0% at 50% 50%); }
.js-anim [data-anim="clip-circle"].is-in { clip-path: circle(75% at 50% 50%); }
.js-anim [data-anim="wave"]:not(.is-in) { opacity: 0; transform: translateY(50px) scale(.94); }
.js-anim [data-anim="wave"] { transition-delay: calc(var(--wave, 0) * 70ms); }
.js-anim [data-anim="slide-alt"]:nth-child(odd):not(.is-in) { opacity: 0; transform: translateX(-80px); }
.js-anim [data-anim="slide-alt"]:nth-child(even):not(.is-in) { opacity: 0; transform: translateX(80px); }

/* ---------- 2. Hero intros (run on load, not on scroll) ---------- */
@keyframes kenburns { from { transform: scale(1.18) translate(2%, 1%); } to { transform: scale(1) translate(0, 0); } }
@keyframes kenburns-flip { from { transform: scaleX(-1) scale(1.15); } to { transform: scaleX(-1) scale(1); } }
@keyframes slow-pan { 0% { transform: scale(1.15) translateX(-3%); } 100% { transform: scale(1.15) translateX(3%); } }
@keyframes heat-glow { 0%, 100% { filter: saturate(1) brightness(1); } 50% { filter: saturate(1.35) brightness(1.15); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(110%) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes letter-in { from { opacity: 0; transform: translateY(.5em) scale(.6); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes slide-in-left { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes shade-sweep { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes typewipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.js-anim .hero__media { animation: kenburns 9s var(--ease-out) both; }
.js-anim .hero__media--flip { animation-name: kenburns-flip; }
.js-anim .hero__content > * { animation: rise-in 1s var(--ease-out) both; }
.js-anim .hero__content > :nth-child(1) { animation-delay: .15s; }
.js-anim .hero__content > :nth-child(2) { animation-delay: .3s; }
.js-anim .hero__content > :nth-child(3) { animation-delay: .45s; }
.js-anim .hero__content > :nth-child(4) { animation-delay: .6s; }
.js-anim .hero__content > :nth-child(5) { animation-delay: .75s; }
.js-anim .hero__content > :nth-child(6) { animation-delay: .9s; }

/* split-word headline (JS wraps words in .w > span) */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; }
.js-anim .split-words.is-in .w > span, .js-anim .hero .split-words .w > span { animation: word-in .9s var(--ease-out) both; animation-delay: calc(var(--wi) * 70ms + var(--base, .35s)); }
.js-anim .split-words:not(.is-in) .w > span { opacity: 0; }
.js-anim .hero .split-words .w > span { opacity: 1; }
.split-letters .l { display: inline-block; white-space: pre; }
.js-anim .split-letters .l { animation: letter-in .6s var(--ease-out) both; animation-delay: calc(var(--li) * 28ms + .3s); }

/* ---------- 3. Page signatures ---------- */

/* HOME — Ken Burns hero, slide text swap, stats tick up, cards tilt-in, red underline draws */
.page-home .hero-slide:not([hidden]) > * { animation: rise-in .8s var(--ease-out) both; }
.page-home .hero-slide:not([hidden]) > :nth-child(2) { animation-delay: .08s; }
.page-home .hero-slide:not([hidden]) > :nth-child(3) { animation-delay: .16s; }
.page-home .hero-slide:not([hidden]) > :nth-child(4) { animation-delay: .24s; }
.page-home .hero__tab { position: relative; overflow: hidden; }
.page-home .hero__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red-500); transform-origin: left; animation: tab-progress 7s linear both; }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.page-home .why-list .ring { transition: transform .6s var(--ease-back), background .3s; }
.page-home .why-list li.is-in .ring { animation: ring-pulse 2.4s ease-out .4s 1; }
@keyframes ring-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,99,.55); } 100% { box-shadow: 0 0 0 22px rgba(255,77,99,0); } }
.page-home .why-list li:hover .ring { transform: rotate(-12deg) scale(1.08); background: rgba(255,255,255,.06); }
.page-home .app-card::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--red-600); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); pointer-events: none; mix-blend-mode: multiply; opacity: .35; }
.page-home .app-card:hover::before { transform: scaleY(1); }
.accent-draw { background: linear-gradient(var(--red-600), var(--red-600)) no-repeat 0 100% / 0 4px; padding-bottom: 2px; transition: background-size 1.2s var(--ease-out) .5s; }
.is-in .accent-draw, .accent-draw.is-in { background-size: 100% 4px; }

/* ABOUT — line-drawn SVG illustrations, collage parallax, leaders slide from opposite sides, stage crossfade */
.draw-svg [data-draw] { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.2s var(--ease-out); transition-delay: calc(var(--di, 0) * 150ms + .2s); }
.is-in .draw-svg [data-draw], .draw-svg.is-in [data-draw] { stroke-dashoffset: 0; }
.draw-svg .dash-flow { animation: dash-flow 1.6s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -20; } }
.draw-svg .orbit { transform-box: fill-box; transform-origin: center; animation: orbit-pulse 2.6s ease-in-out infinite; }
@keyframes orbit-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.draw-svg .target-pulse { transform-box: fill-box; transform-origin: center; animation: target-pulse 3s ease-out infinite; }
@keyframes target-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.page-about .stage-panel:not([hidden]) img { animation: stage-img .9s var(--ease-out) both; }
.page-about .stage-panel:not([hidden]) > div > * { animation: rise-in .7s var(--ease-out) both; }
.page-about .stage-panel:not([hidden]) > div > :nth-child(2) { animation-delay: .1s; }
.page-about .stage-panel:not([hidden]) > div > :nth-child(3) { animation-delay: .2s; }
@keyframes stage-img { from { clip-path: inset(0 0 0 100%); transform: scale(1.1); } to { clip-path: inset(0 0 0 0); transform: none; } }
.page-about .stage-tab { transition: transform .3s var(--ease-back), background .3s, color .3s; }
.page-about .stage-tab:hover { transform: translateY(-4px); }
.page-about .collage__badge { animation: badge-bob 4s ease-in-out infinite; }
@keyframes badge-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* PRODUCTS — slow panning hero, 3D flip cascade, filter shuffle */
.page-products .hero__media { animation: slow-pan 18s ease-in-out infinite alternate; }
.page-products [data-filter-item].shuffle-in { animation: shuffle-in .55s var(--ease-back) both; animation-delay: calc(var(--si, 0) * 55ms); }
@keyframes shuffle-in { from { opacity: 0; transform: scale(.85) translateY(24px) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
.page-products .card__media img { transition: transform .8s var(--ease-out), filter .5s; }
.page-products .card:hover .card__media img { transform: scale(1.08) rotate(.6deg); }
.page-products .pill { transition: background .3s, color .3s, transform .3s var(--ease-back); }
.page-products .pill:active { transform: scale(.94); }

/* PRODUCT DETAIL — image mask wipe, badge slides up, grade tiles pop, table rows sweep */
.page-product .pd-photo .frame { animation: typewipe 1.3s var(--ease-out) .2s both; }
.page-product .pd-photo .frame img { animation: kenburns 6s var(--ease-out) both; }
.page-product .pd-photo__badge { animation: rise-in .9s var(--ease-back) 1s both; }
.page-product .pd-hero .split > .stack > * { animation: slide-in-left .9s var(--ease-out) both; }
.page-product .pd-hero .split > .stack > :nth-child(2) { animation-delay: .1s; }
.page-product .pd-hero .split > .stack > :nth-child(3) { animation-delay: .2s; }
.page-product .pd-hero .split > .stack > :nth-child(4) { animation-delay: .3s; }
.js-anim .page-product .spec-table tbody tr, .js-anim.page-product .spec-table tbody tr { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.js-anim .spec-table:not(.is-in) tbody tr { opacity: 0; transform: translateX(-40px); }
.page-product .grade-tiles li { transition: transform .3s var(--ease-back), background .3s; }
.page-product .grade-tiles li:hover { transform: translateY(-4px) scale(1.04); background: var(--red-600); }
.page-product .custom-grade::after { animation: spin-slow 18s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* APPLICATIONS — glowing heat hero, diagonal wave grid, flowing match arrow */
.page-applications .hero__media { animation: kenburns 9s var(--ease-out) both, heat-glow 4s ease-in-out 2s infinite; }
.page-applications .industry .icon-tile { transition: transform .5s var(--ease-back), background .25s, color .25s; }
.page-applications .industry:hover .icon-tile { transform: rotate(-10deg) scale(1.12); }
.page-applications .match-arrow { animation: arrow-bounce 1.6s ease-in-out infinite; }
@keyframes arrow-bounce { 0%, 100% { transform: translateY(-4px); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }
.page-applications .material-grid li { position: relative; overflow: hidden; }
.page-applications .material-grid li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.page-applications .need { transition: transform .35s var(--ease-back), box-shadow .3s; }
.page-applications .need:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

/* PACKAGING — crates drop in, strapping line, truck/ship/plane drive across */
.page-packaging .collage__b { animation: badge-bob 5s ease-in-out infinite; }
.page-packaging .ship-mode .icon-tile svg { animation: drive 2.8s ease-in-out infinite; }
.page-packaging .ship-mode:nth-child(2) .icon-tile svg { animation-name: sail; }
.page-packaging .ship-mode:nth-child(3) .icon-tile svg { animation-name: fly; }
@keyframes drive { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
@keyframes sail { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-2px); } }
@keyframes fly { 0%, 100% { transform: translate(-2px, 2px); } 50% { transform: translate(2px, -3px); } }
.page-packaging .strap { position: relative; }
.page-packaging .strap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--red-600) 0 18px, transparent 18px 26px); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) .3s; border-radius: var(--radius) var(--radius) 0 0; }
.page-packaging .strap.is-in::before { transform: scaleX(1); }

/* BLOGS — blurred focus-in, featured parallax tilt on hover */
.page-blogs .page-head h1 { animation: typewipe 1.4s var(--ease-out) .2s both; }
.page-blogs .post-feature { transition: transform .5s var(--ease-out), box-shadow .5s; transform-style: preserve-3d; }
.page-blogs .post-art svg { animation: float-y 5s ease-in-out infinite; }
@keyframes float-y { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

/* EVENTS — timeline line draws, dates flip, ticker */
.page-events .event-list { position: relative; }
@media (min-width: 980px) {
  .page-events .event-list { padding-left: 40px; }
  .page-events .event-list::before { content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--red-600), var(--indigo-200)); transform: scaleY(0); transform-origin: top; transition: transform 1.8s var(--ease-out); }
  .page-events .event-list.is-in::before { transform: scaleY(1); }
  .page-events .event { position: relative; overflow: visible; }
  .page-events .event::before { content: ""; position: absolute; left: -35px; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--red-600); }
}
.page-events .event__date strong { display: inline-block; }
.page-events .event.is-in .event__date strong { animation: date-flip .9s var(--ease-back) .3s both; }
@keyframes date-flip { from { transform: perspective(400px) rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* CAREERS — mosaic photo reveal, roles slide from left, form fields cascade */
.page-careers .photo-grid > div { position: relative; }
.page-careers .photo-grid > div::after { content: ""; position: absolute; inset: 0; background: var(--indigo-700); transform: scaleX(0); transform-origin: right; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 180ms + .2s); }
.js-anim .page-careers .photo-grid:not(.is-in) > div::after { transform: scaleX(1); }
.page-careers .job { transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.page-careers .job:hover { transform: translateX(8px); box-shadow: var(--shadow-card); border-color: var(--indigo-200); }

/* CONTACT — form slides in, phone icon rings, offices flip */
.page-contact .contact-quick a:first-child .icon-tile svg { animation: ring 2.8s ease-in-out 1.5s infinite; transform-origin: 50% 20%; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-16deg); } 78% { transform: rotate(14deg); } 82% { transform: rotate(-10deg); } 86% { transform: rotate(8deg); } 90% { transform: rotate(0); } }
.page-contact .form { animation: slide-in-form 1.1s var(--ease-out) .3s both; }
@keyframes slide-in-form { from { opacity: 0; transform: translateX(80px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
.page-contact .form .field, .page-contact .form .full { animation: rise-in .6s var(--ease-out) both; }
.page-contact .form > :nth-child(n) { animation-delay: calc(.5s + var(--fi, 0) * 60ms); }
.page-contact .map::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: rgba(200,16,46,.5); animation: target-pulse 2.2s ease-out infinite; pointer-events: none; }

/* INSPECTION — step progress line, checkmarks tick in sequence, scanning beam */
.page-inspection .steps { position: relative; }
@media (min-width: 1200px) {
  .page-inspection .steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 54px; height: 2px; background: var(--red-600); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-out) .3s; z-index: 0; }
  .page-inspection .steps.is-in::before { transform: scaleX(1); }
  .page-inspection .step { z-index: 1; }
}
.page-inspection .test-list li svg path { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms + .3s); }
.page-inspection .test-list.is-in li svg path, .page-inspection [role="tabpanel"]:not([hidden]) .test-list.is-in li svg path { stroke-dashoffset: 0; }
.page-inspection [role="tabpanel"]:not([hidden]) .test-list li { animation: rise-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.page-inspection .hero__frame::after { content: ""; position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(180deg, transparent, rgba(255,138,153,.18), transparent); animation: scan 5s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes scan { 0% { top: -120px; } 60%, 100% { top: 100%; } }

/* CERTIFICATIONS — logos spin-pop, certificate sheets rise out of the tray, seal shimmer */
.page-certifications .cert-sheet { overflow: hidden; }
.page-certifications .cert-sheet > div { transition: transform 1s var(--ease-back); transition-delay: calc(var(--i, 0) * 120ms + .2s); }
.js-anim .page-certifications .card:not(.is-in) .cert-sheet > div { transform: translateY(110%); }
.page-certifications .card:hover .cert-sheet > div { transform: translateY(-8px) rotate(-1.5deg); }
.page-certifications .cert-logo { transition: transform .4s var(--ease-back); }
.page-certifications .cert-logo:hover { transform: rotate(-6deg) scale(1.06); }

/* CLIENTS — ripple-in logo wall from centre, scrolling ticker */
.page-clients .client abbr { transition: transform .4s var(--ease-back), background .3s, color .3s; }
.page-clients .client:hover abbr { transform: rotate(-8deg) scale(1.1); background: var(--red-600); color: #fff; }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 48px; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--indigo-200); white-space: nowrap; }
.ticker__track span::before { content: "◆"; color: var(--red-600); font-size: 10px; margin-right: 48px; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 404 — glitchy number */
.page-404 .big-404 { font-family: var(--font-display); font-size: clamp(96px, 20vw, 200px); font-weight: 700; line-height: 1; color: var(--indigo-700); position: relative; animation: float-y 4s ease-in-out infinite; }
.page-404 .big-404 span { color: var(--red-600); display: inline-block; animation: spin-slow 8s linear infinite; }

/* ---------- 4. Global micro-interactions ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover::after { opacity: 1; }
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 150; background: linear-gradient(90deg, var(--red-600), var(--red-200)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.wa__btn { animation: wa-nudge 6s ease-in-out 4s infinite; }
@keyframes wa-nudge { 0%, 90%, 100% { transform: none; } 92% { transform: rotate(-12deg) scale(1.08); } 94% { transform: rotate(10deg) scale(1.08); } 96% { transform: rotate(-6deg); } }
.inquiry-tab { transition: padding .3s var(--ease-out), background .3s; }
.inquiry-tab:hover { padding-right: 20px; }

/* ---------- 5. Reduced motion: switch everything off ---------- */
@media (prefers-reduced-motion: reduce) {
  .js-anim [data-anim], .js-anim [data-anim]:not(.is-in) { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .draw-svg [data-draw] { stroke-dashoffset: 0 !important; }
  .js-anim .split-words .w > span { opacity: 1 !important; }
  .ticker__track { animation: none; }
}

/* ---------- 6. Per-page hero intro variations ---------- */
@keyframes blur-in { from { opacity: 0; filter: blur(16px); transform: scale(1.04); } to { opacity: 1; filter: none; transform: none; } }
@keyframes drop-in { 0% { opacity: 0; transform: translateY(-60px); } 70% { opacity: 1; transform: translateY(6px); } 100% { transform: none; } }
@keyframes clip-line { from { clip-path: inset(0 0 100% 0); transform: translateY(24px); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes zoom-settle { from { transform: scale(1.35); filter: brightness(.6); } to { transform: scale(1); filter: none; } }
.js-anim .page-about .hero__media { animation: zoom-settle 2.4s var(--ease-out) both; }
.js-anim .page-products .hero__content > * { animation-name: slide-in-left; }
.js-anim .page-applications .hero__content > * { animation-name: clip-line; animation-duration: 1.1s; }
.js-anim .page-packaging .hero__content > * { animation-name: drop-in; animation-timing-function: var(--ease-out); }
.js-anim .page-events .hero__content > * { animation-name: blur-in; animation-duration: 1.3s; }
.js-anim .page-events .hero h1 { animation: typewipe 1.6s var(--ease-out) .3s both; }
.js-anim .page-careers .hero__content > * { animation-name: blur-in; }
.js-anim .page-careers .hero__media { animation: zoom-settle 3s var(--ease-out) both; }
.js-anim .page-inspection .hero__content > * { animation-name: slide-in-left; animation-duration: 1.2s; }
.js-anim .page-clients .hero__content > * { animation-name: clip-line; }
.js-anim .page-certifications .dark-hero .stack > * { animation: rise-in 1s var(--ease-out) both; }
.js-anim .page-certifications .dark-hero .stack > :nth-child(2) { animation-delay: .1s; }
.js-anim .page-certifications .dark-hero .stack > :nth-child(3) { animation-delay: .2s; }
.js-anim .page-certifications .dark-hero .stack > :nth-child(4) { animation-delay: .3s; }
.js-anim .page-certifications .dark-hero .stack > :nth-child(5) { animation-delay: .4s; }
.js-anim .page-certifications .dark-hero::before { animation: spin-slow 40s linear infinite; }
.js-anim .page-contact .page-head .split > .stack > * { animation: drop-in .9s var(--ease-out) both; }
.js-anim .page-contact .page-head .split > .stack > :nth-child(2) { animation-delay: .08s; }
.js-anim .page-contact .page-head .split > .stack > :nth-child(3) { animation-delay: .16s; }
.js-anim .page-contact .page-head .split > .stack > :nth-child(4) { animation-delay: .24s; }
.js-anim .page-contact .page-head .split > .stack > :nth-child(5) { animation-delay: .32s; }
.js-anim .page-blogs .page-head .stack > * { animation: blur-in 1.1s var(--ease-out) both; }
.js-anim .page-blogs .page-head .stack > :nth-child(4) { animation-delay: .4s; }
.js-anim .page-blogs .page-head .stack > :nth-child(5) { animation-delay: .55s; }

/* Home: Ken Burns restarts on whichever banner image is active */
.js-anim .page-home .hero__slide-img { animation: none; }
.js-anim .page-home .hero__slide-img.is-active { animation: kenburns 8s var(--ease-out) both; }
