/* 히어로 등장 모션(사용자 10/21 "히어로에서 이거 나올 때 그럴싸한 모션") — 오프닝 영상이 끝나 히어로가 실제로 보이는 순간 재생(heromotion.js 가 .hm-play)
   전엔 style.css 의 .ready 모션이 페이지를 열 때 돌아서, 신호 · 오프닝 뒤에 가려진 채 끝나 있었음
   ① 그림: 1.12배에서 밀려 들어오며 밝아짐 ② RACING INTELLIGENCE: 넓은 자간이 좁혀지며 ③ ECHO: 로고 기울기(36°) 그대로 사선으로 드러나고, 뒤에서 잔상 둘이 따라와 겹침(= 메아리) + 빛 한 줄이 로고를 훑음 ④ 한 줄씩 올라옴 */
#top.hm .hero-plate img { transition: none; transform: scale(1.12); filter: brightness(.35); }
#top.hm .hero-copy h1 { clip-path: none; transition: none; }
#top.hm .hero-copy .eb, #top.hm .hero-copy .tag { transition: none; opacity: 1; transform: none; }
#top.hm .hero-copy .eb { opacity: 0; letter-spacing: .6em; }
#top.hm .hm-logo { position: relative; display: block; width: clamp(240px, 30vw, 520px); margin: 10px 0 14px auto; }
#top.hm .hm-logo img { width: 100% !important; margin: 0 !important; display: block; }
#top.hm .hm-main { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); }
#top.hm .hm-ghost { position: absolute; inset: 0; opacity: 0; }
#top.hm .hm-sweep { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  -webkit-mask: var(--logo) center / 100% 100% no-repeat; mask: var(--logo) center / 100% 100% no-repeat;
  background: linear-gradient(64deg, transparent 38%, rgba(255,255,255,.95) 48%, rgba(255,255,255,.2) 54%, transparent 60%) 0 0 / 300% 100% no-repeat; background-position: 100% 0; }
#top.hm .tag .hm-ln { display: block; overflow: hidden; padding-bottom: .06em; }
#top.hm .tag .hm-ln > span { display: block; transform: translateY(105%); }
#top.hm .hint { opacity: 0; }

#top.hm.hm-play .hero-plate img { transform: scale(1); filter: brightness(1); transition: transform 2.8s cubic-bezier(.16,1,.3,1), filter 1.6s ease-out; }
#top.hm.hm-play .hero-copy .eb { opacity: 1; letter-spacing: .02em; transition: opacity .9s ease-out .25s, letter-spacing 1.4s cubic-bezier(.16,1,.3,1) .25s; }
#top.hm.hm-play .hm-main { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); transition: clip-path 1s cubic-bezier(.7,0,.2,1) .55s; }
#top.hm.hm-play .hm-ghost { animation: hmEcho 1.25s cubic-bezier(.16,1,.3,1) .7s both; }
#top.hm.hm-play .hm-ghost.g2 { animation-delay: .82s; }
@keyframes hmEcho { 0% { opacity: var(--o); transform: translateX(var(--x)); } 70% { opacity: calc(var(--o) * .6); } 100% { opacity: 0; transform: none; } }
#top.hm.hm-play .hm-sweep { animation: hmSweep 1.1s cubic-bezier(.45,0,.2,1) 1.55s both; }
@keyframes hmSweep { 0% { opacity: 1; background-position: 100% 0; } 100% { opacity: 1; background-position: 0 0; } }
#top.hm.hm-play .tag .hm-ln > span { transform: none; transition: transform .9s cubic-bezier(.16,1,.3,1) 1.25s; }
#top.hm.hm-play .tag .hm-ln:nth-child(2) > span { transition-delay: 1.4s; }
#top.hm.hm-play .hint { opacity: 1; transition: opacity .8s ease 2.4s; }
@media (prefers-reduced-motion: reduce) {
  #top.hm .hero-plate img, #top.hm .hm-main, #top.hm .tag .hm-ln > span { transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
  #top.hm .hero-copy .eb, #top.hm .hint { opacity: 1 !important; letter-spacing: .02em !important; } #top.hm .hm-ghost, #top.hm .hm-sweep { display: none; }
}
