/* Animated hero logo (home page) */
.homefix_top{ background-image:url(../images/bg2.jpg) !important; background-size:cover !important; background-attachment:scroll !important; overflow:hidden; }

.heroLogo{ position:absolute; left:50%; top:50%; width:697px; max-width:86vw; aspect-ratio:697/350; transform:translate(-50%,-50%); }
.heroLogo__float{ position:absolute; inset:0; animation:hlFloat 6s ease-in-out 3.4s infinite; }
.heroLogo__part{ position:absolute; inset:0; background:url(../images/technopera_logo.png) no-repeat 0 0/100% 100%; }

/* pear + bubbles */
.hlIcon{ clip-path:polygon(0 0,33.7% 0,33.7% 57.1%,24.7% 57.1%,24.7% 80%,0 80%); transform-origin:12% 75%; opacity:0;
  animation:hlDrop 1.1s cubic-bezier(.34,1.56,.64,1) .2s forwards, hlWobble 5s ease-in-out 4s infinite; }
/* "TechnoPear" wordmark */
.hlWord{ clip-path:inset(56% 100% 20.3% 24.7%); animation:hlWipe 1s cubic-bezier(.77,0,.18,1) 1s forwards; }
/* orange line */
.hlLine{ clip-path:inset(80% 0 15% 0); transform-origin:0 50%; transform:scaleX(0); animation:hlLineDraw .9s ease-out 1.8s forwards; }
/* "By The Layout" */
.hlTag{ clip-path:inset(85% 0 0 0); opacity:0; transform:translateY(12px); animation:hlFadeUp .8s ease-out 2.5s forwards; }

/* periodic shine sweep, masked to the logo shape */
.hlShine{ position:absolute; inset:0; pointer-events:none;
  -webkit-mask:url(../images/technopera_logo.png) no-repeat 0 0/100% 100%; mask:url(../images/technopera_logo.png) no-repeat 0 0/100% 100%;
  background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.75) 50%,transparent 60%) no-repeat;
  background-size:250% 100%; background-position:150% 0; animation:hlShine 5s ease-in-out 3.2s infinite; }

@keyframes hlDrop{ 0%{opacity:0; transform:translateY(-60px) scale(.6) rotate(-12deg);} 60%{opacity:1;} 100%{opacity:1; transform:none;} }
@keyframes hlWobble{ 0%,80%,100%{transform:rotate(0);} 85%{transform:rotate(-4deg);} 90%{transform:rotate(3deg);} 95%{transform:rotate(-1.5deg);} }
@keyframes hlWipe{ to{ clip-path:inset(56% 0 20.3% 24.7%); } }
@keyframes hlLineDraw{ to{ transform:scaleX(1); } }
@keyframes hlFadeUp{ to{ opacity:1; transform:none; } }
@keyframes hlFloat{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
@keyframes hlShine{ 0%{background-position:150% 0;} 40%,100%{background-position:-50% 0;} }

@media (prefers-reduced-motion:reduce){
  .heroLogo *{ animation:none !important; opacity:1 !important; transform:none !important; }
  .hlWord{ clip-path:inset(56% 0 20.3% 24.7%); }
  .hlShine{ display:none; }
}
