/* 든해 스크롤 모션 (2026-11-04) — 섹션에 class="dhm" 붙인 곳만. 사이트 기존 규칙·글자·높이는 안 건드림(transform·opacity·clip-path 만)
   dh_motion.js 와 한 쌍. 모션 줄이기면 완성 상태 그대로. */
.dhm .sec-label::before, .dhm .svc-copy .no::before { transform: scaleX(var(--dhm-l, 1)); transform-origin: 0 50%; }
/* 쪼갠 글자·단어는 inline 그대로(줄바꿈·너비 원본과 똑같음) — 움직임은 position:relative + top 으로만 */
.dhm-ch, .dhm-wd { position: relative; }
/* 선 위를 흐르는 빛(기존 회색 선 위에 겹침, 높이 0 영향) */
.dhm-ln { position: absolute; left: 0; right: 0; top: -1px; height: 2px; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); opacity: 0;
  background: linear-gradient(90deg, rgba(245, 158, 11, .15), #E08600 70%, #F59E0B); }
.dhm-hd { position: absolute; left: 0; top: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, rgba(245, 158, 11, .9) 30%, rgba(245, 158, 11, 0) 70%); }
.dhm-sw { position: absolute; left: 0; right: 0; top: -1px; height: 2px; pointer-events: none; opacity: 0; background-repeat: no-repeat; background-size: 160px 100%; background-position: -160px 0;
  background-image: linear-gradient(90deg, rgba(224, 134, 0, 0), rgba(224, 134, 0, .95) 70%, #FFD08A 92%, rgba(255, 208, 138, 0)); }
/* 소개 사진: 햇살 캔버스 */
.dhm-story .story-photo, .dhm-loc .loc-photo { position: relative; }
.dhm-sun { position: absolute; left: 0; top: 0; pointer-events: none; mix-blend-mode: screen; z-index: 1; }
.dhm-story .story-photo img, .dhm-loc .loc-photo img { transform-origin: 60% 40%; }
.dhm-story .story-promise, .dhm-why .why-item, .dhm-loc .li-row, .dhm-svc .svc-row { position: relative; }
/* 자격증: 테두리 빛 한 바퀴 + 종이 광택 */
.dhm-cred .cert-shot { position: relative; }
.dhm-run { position: absolute; inset: -1px; padding: 1.5px; pointer-events: none; opacity: 0; z-index: 2;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.dhm-gl { position: absolute; top: 0; bottom: 0; left: 0; width: 46%; pointer-events: none; opacity: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 28%, rgba(255, 236, 200, .28) 44%, rgba(255, 255, 255, .5) 50%, rgba(255, 236, 200, .28) 56%, rgba(255, 255, 255, 0) 72%); }
/* 15년 형광 밑줄(배경이라 높이 0 영향) */
.dhm-hl { background-image: linear-gradient(rgba(245, 158, 11, .28), rgba(245, 158, 11, .28)); background-repeat: no-repeat; background-position: 0 88%; background-size: 0% .42em; }
/* 거래 유형 칩 */
.dhm-svc .deal-chip { position: relative; display: inline-block; }
.dhm-svc .deal-chip .dhm-run { border-radius: 2px; }
.dhm-cred .cert-shot .dhm-run { inset: 0; padding: 2px; }
/* 숫자 굴리기: 원문은 숨김 글자로 보존, 굴러가는 숫자는 aria-hidden. 높이는 JS 가 줄 높이와 똑같이 맞춤 */
.dhm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dhm-roll { display: inline-flex; vertical-align: top; }
.dhm-dg { display: inline-block; overflow: hidden; vertical-align: top; }
.dhm-strip { display: block; will-change: transform; }
.dhm-strip span { display: block; text-align: center; }
/* JS 준비 전 깜빡임 방지(head 스크립트가 html.dhm-js 를 붙이고 3초 뒤 무조건 뗌) */
html.dhm-js .dhm :is(.sec-label, .sec-title, .sec-lead, .svc-desc, .story-photo, .story-body .def, .story-body p, .story-promise, .cert-item, .cred-note, .svc-row, .deal-row, .why-item, .loc-photo, .li-row, .loc-btns) { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html.dhm-js .dhm :is(.sec-label, .sec-title, .sec-lead, .svc-desc, .story-photo, .story-body .def, .story-body p, .story-promise, .cert-item, .cred-note, .svc-row, .deal-row, .why-item, .loc-photo, .li-row, .loc-btns) { opacity: 1; }
  .dhm-sun, .dhm-ln, .dhm-hd, .dhm-sw, .dhm-run, .dhm-gl { display: none; }
}
