/* =====================================================================
   led-target.css — VSX LED TARGET 스크롤 장면
   .lt-design 안쪽은 피그마 좌표(px, 1920×1020)를 그대로 씁니다.
   화면 크기 대응은 JS가 .lt-design 전체를 scale 해서 처리합니다.
   ===================================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #000; color: #fff; overflow-x: clip;
  font-family: "Pretendard Variable", Pretendard, ui-sans-serif, system-ui, sans-serif;
}
h2, p { margin: 0; }
:lang(ko) h2, :lang(ko) p { word-break: keep-all; }

.spacer { height: 60vh; display: grid; place-items: center; color: #555; font-size: 13px; letter-spacing: .2em; }

/* ---------- 화면 고정 ---------- */
.lt { position: relative; height: 400vh; display:block; min-height:600px; overflow:visible; }          /* 길수록 천천히 진행 */
.lt img { max-width:120%; }
.lt-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #000; }

/* 피그마 프레임 크기 그대로, transform-origin 0 0 으로 scale */
.lt-design { position: absolute; left: 0; top: 0; width: 1920px; height: 1020px; transform-origin: 0 0; overflow: hidden; }

/* 레이어: 기준 크기를 정해 두고 JS가 translate + scale 로 위치·크기 지정 */
.lt-layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; pointer-events: none; }
/* 사이트 공통 CSS(Tailwind 등)의 img { max-width: 100% } 를 무시해야 원본 크기(2000px)로 그려짐 */
.lt-design img { max-width: none; max-height: none; }
.lt-photo { width: 2000px; height: auto; }          /* 원본 2000×1464 */
.lt-closeup { width: 2000px; height: auto; opacity: 0; }  /* 원본 2000×1031 */
/* 장면보다 4px씩 크게 잡아, 확대 비율에 따라 가장자리에 사진이 1px 비치는 현상 방지 */
.lt-dim { left: -4px; top: -4px; width: 1928px; height: 1028px; opacity: 0; }
/* 프레임별 그림자: 피그마 Ellipse(#010E22 + 큰 블러)를 같은 크기의 CSS 그라데이션으로 대체
   (큰 블러 SVG를 확대하면 일부 GPU에서 줄무늬가 생겨서 교체) */
.lt-shadow { opacity: 0; }
.s-e1 { width: 2058px; height: 2058px; background: radial-gradient(closest-side, #010e22 45%, rgba(1, 14, 34, .5) 69%, rgba(1, 14, 34, 0) 94%); }
/* ---------- 카피 (피그마 위치 그대로) ---------- */
.lt-copy, .lt-logo { position: absolute; opacity: 0; will-change: transform, opacity; }
.lt-copy h2 { font-size: 42px; font-weight: 700; line-height: 1.2; }
.lt-copy .lead { margin-top: 18px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.lt-copy .body { margin-top: 24px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.lt-copy.c1 { left: 353px; top: 514px; width: 760px; }
/* ② 카피: 다국어 길이에 맞춰 넉넉한 폭, 가운데 정렬 */
.lt-copy.c2 { left: 360px; top: 180px; width: 1200px; text-align: center; }
.lt-copy.c2 .lead { line-height: 1.25; }

.lt-logo { left: 347px; top: 405px; width: 425px; height: 56px; }
.lt-logo img { position: absolute; display: block; }
.lt-logo-dots { left: 0; top: 0; width: 56.84px; height: 56px; }
.lt-logo-led { left: 72.55px; top: 7.96px; width: 120.33px; height: 40.05px; }
.lt-logo-target { left: 204.88px; top: 6.58px; width: 220.12px; height: 42.81px; }

/* ---------- 모바일 ---------- */
.lt-copy-mobile { display: none; }
@media (max-width: 760px) {
  .lt-design .lt-copy, .lt-design .lt-logo { display: none; }
  .lt-copy-mobile {
    display: block; position: absolute; left: 20px; right: 20px; top: 60%;  /* top은 JS가 장면 바로 아래로 지정 */
    transition: opacity .3s, transform .3s;
  }
  .lt-copy-mobile.is-out { opacity: 0; transform: translateY(8px); }
  .lt-copy-mobile h2 { font-size: 28px; font-weight: 700; line-height: 1.2; }
  .lt-copy-mobile .lead { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.35; }
  .lt-copy-mobile .body { margin-top: 12px; font-size: 13px; line-height: 1.6; color: #c9cbd8; }
}

/* ---------- 언어 선택 (데모용) ---------- */
.lt-lang { position: fixed; top: 18px; right: 24px; z-index: 100; font: 700 14px/1 "Pretendard Variable", Pretendard, sans-serif; }
.lt-lang-cur { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 0; background: none; color: #9a9a9a; font: inherit; font-weight: 500; letter-spacing: .02em; cursor: pointer; }
.lt-lang-cur i { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; transition: transform .2s; }
.lt-lang.is-open .lt-lang-cur i { transform: rotate(180deg); margin-top: -4px; }
.lt-lang-list { margin: 0; padding: 4px 0 8px; list-style: none; background: #000; }
.lt-lang-list button { display: block; width: 100%; padding: 9px 10px; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.lt-lang-list button:hover, .lt-lang-list button:focus-visible { color: #9a9a9a; }

/* ---------- 디버그 ---------- */
.debug-hud {
  position: fixed; left: 12px; bottom: 12px; z-index: 99; padding: 6px 12px; border-radius: 8px;
  background: #000c; border: 1px solid #ffffff22; color: #c9cbe0; font: 12px/1.4 ui-monospace, Consolas, monospace;
}
