/* Assemble the nine letters of the ORIGINAL logo once on page load. All slices
   share the already used PNG and static clip-paths. Animate transform/opacity
   only: no layout properties, blur, canvas, JS timers or perpetual layers.
   Backwards fill hides waiting slices, then releases animation styles after
   completion. The underlying default is the fully visible, assembled artwork. */
.hero .assembling-brand {
    position:relative;
    width:min(100%,460px);
    aspect-ratio:1205 / 263;
    margin:0 0 24px;
    isolation:isolate;
    contain:layout paint;
}
.assembling-brand>span {
    position:absolute;
    inset:0;
    background:url('/nanofiberlogo.png') center / 100% 100% no-repeat;
    clip-path:inset(0 var(--right) 0 var(--left));
    opacity:1;
    transform:none;
    transform-origin:var(--origin) 55%;
    /* Exactly twice the previous 1.21s total: 1.70s + 8*90ms = 2.42s.
       Nine finite transform/opacity animations reuse the same cached artwork.
       A small overshoot gives a deliberate lock-in without continuous motion. */
    animation:assemble-nanofiber 1.7s cubic-bezier(.22,.75,.2,1) calc(var(--i)*90ms) 1 backwards;
    pointer-events:none;
}
@keyframes assemble-nanofiber {
    from {opacity:0;transform:perspective(500px) translate3d(var(--x),var(--y),0) rotateY(var(--tilt)) rotateZ(var(--turn)) scale(.64);}
    35% {opacity:.75;}
    62% {opacity:1;transform:perspective(500px) translate3d(calc(var(--x)*-.055),calc(var(--y)*-.055),0) rotateY(0deg) rotateZ(calc(var(--turn)*-.12)) scale(1.04);}
    82% {opacity:1;transform:perspective(500px) translate3d(calc(var(--x)*.015),0,0) rotateY(0deg) rotateZ(0deg) scale(.99);}
    to {opacity:1;transform:none;}
}
/* The product headline and country badge stay readable immediately instead
   of waiting for the old one/two-second Animate.css delays behind the logo. */
.hero .title-container h1,.hero .country-badge {animation:none;}
@media(max-width:767px) {
    .hero .assembling-brand {width:min(100%,340px);margin-bottom:20px;}
}
/* Keep exactly the same layout and complete brand for reduced-motion users;
   nothing needs JavaScript detection or a late class that could cause flash. */
@media(prefers-reduced-motion:reduce) {
    .assembling-brand>span {animation:none;opacity:1;transform:none;}
}
