/* 2026-10-30 랜딩 첫 화면 등장 모션 — landing-hero-motion.js 가 재생하는 약 3초 동안만 붙는 클래스.
 * 스크립트가 없거나 실패하면 이 클래스들이 붙지 않으므로 원래 화면 그대로다. 원래 문구·서체·줄바꿈·자간은 건드리지 않는다.
 *   .hm-host  히어로 section: 복제 글자 층의 기준 위치(position 만 추가, 레이아웃 변화 없음)
 *   .hm-run   히어로 section: 재생 중. 원래 제목 블록(.hm-src)을 잠시 투명하게 하고 복제 층을 보인다
 *   .hm-layer / .hm-group / .hm-ch / .hm-drop / .hm-dot  aria-hidden 복제 층(클릭·선택 통과, 끝나면 DOM 에서 제거) */
.ld-hero.hm-host {
  position: relative;
}

.hm-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  visibility: hidden;
}

.ld-hero.hm-run .hm-layer {
  visibility: visible;
}

.hm-group,
.hm-drop {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}

.hm-ch {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  line-height: normal;
  white-space: pre;
}

.hm-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8a24a;
  opacity: 0;
}

.ld-hero.hm-run .hm-src {
  opacity: 0;
}

/* 재생 중 '동작 줄이기'로 바뀌거나 인쇄하면 스크립트와 별개로 원래 화면을 바로 보인다 */
@media (prefers-reduced-motion: reduce) {
  .hm-layer {
    display: none !important;
  }

  .ld-hero.hm-run .hm-src,
  .ld-hero.hm-run [data-hfade] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print {
  .hm-layer {
    display: none !important;
  }

  .ld-hero.hm-run .hm-src,
  .ld-hero.hm-run [data-hfade] {
    opacity: 1 !important;
    transform: none !important;
  }
}
