/* 여는 화면(2026-11-22 사용자: 처음 들어오면 검은 화면에 로고와 영문 하이퍼링커가 짧게 움직이고, 그동안 지도를 불러온다).
   물결 로고가 한 획으로 그려지고 HYPERLINKER가 넓은 자간에서 모이며 나타난다. 지도가 준비되면 살짝 커지며 걷힌다(atlas-intro.js). */
#atlas-intro { position:fixed; inset:0; z-index:9000; display:grid; place-items:center;
    background:radial-gradient(120% 80% at 50% 46%, #0e1715 0%, #060908 68%); transition:opacity .5s ease, visibility 0s linear .5s; }
#atlas-intro[hidden] { display:none; }
#atlas-intro.is-leaving { opacity:0; visibility:hidden; }
.atlas-intro-mark { display:grid; justify-items:center; gap:20px; transition:transform .5s ease; }
/* 큰 화면 배율(ui-scale.js, 2026-11-24 사용자: 4K에서 여는 화면이 작고 둘레가 비어 보인다). 로고·글자·글자 모이는 거리를 함께 키운다.
   ui-scale.js는 머리에서 바로 돌아(defer 아님) 첫 화면부터 이 크기다. */
.atlas-intro-mark { zoom:var(--ui-scale,1); }
#atlas-intro.is-leaving .atlas-intro-mark { transform:scale(1.06); }
.atlas-intro-mark svg { display:block; width:min(136px,36vw); height:auto; overflow:visible; }
.atlas-intro-mark path { fill:none; stroke:#efc86b; stroke-width:9; stroke-linecap:round; stroke-linejoin:round;
    stroke-dasharray:1; stroke-dashoffset:1; filter:drop-shadow(0 0 7px #efc86b4d);
    animation:atlas-intro-draw 1.05s cubic-bezier(.62,.04,.24,1) .15s forwards; }
/* 모인 뒤 자간 .42em → .5em(2026-11-23 사용자: 글꼴을 Montserrat로 바꿔 보니 원래 글꼴이 나았고, 자간이 문제였다). */
.atlas-intro-mark p { margin:0; padding-left:.9em; color:#f3eee0; font:600 13px/1 var(--ui-font);
    letter-spacing:.9em; opacity:0; animation:atlas-intro-word .95s ease-out .75s forwards; }
/* 지도가 늦으면 다 그려진 물결이 숨 쉬듯 밝아졌다 어두워진다. */
#atlas-intro.is-waiting .atlas-intro-mark path { stroke-dashoffset:0; animation:atlas-intro-breathe 1.2s ease-in-out infinite alternate; }
@keyframes atlas-intro-draw { to { stroke-dashoffset:0; } }
@keyframes atlas-intro-word { to { opacity:1; letter-spacing:.5em; padding-left:.5em; } }
@keyframes atlas-intro-breathe { from { opacity:1; } to { opacity:.45; } }
/* 글자마다 모이기(2026-11-23 문제 43): atlas-intro.js가 글자를 쪼개 출발점(--dx·--dy, 늘 글자 줄보다 아래라 로고를 지나지 않음)과
   늦음(--d)·걸리는 시간(--t)을 글자마다 무작위로 준다. 쪼개지 못하면 위의 자간 모으기 그대로. */
.atlas-intro-mark p.is-split { opacity:1; letter-spacing:.5em; padding-left:.5em; animation:none; }
.atlas-intro-mark p.is-split span { display:inline-block; opacity:0; filter:blur(2px); transform:translate(var(--dx),var(--dy)) scale(.86);
    animation:atlas-intro-letter var(--t) cubic-bezier(.2,.75,.2,1) var(--d) forwards; }
@keyframes atlas-intro-letter { 60% { opacity:1; filter:none; } to { opacity:1; filter:none; transform:none; } }
@media (prefers-reduced-motion: reduce) {
    .atlas-intro-mark path, #atlas-intro.is-waiting .atlas-intro-mark path { stroke-dashoffset:0; animation:none; }
    .atlas-intro-mark p, .atlas-intro-mark p.is-split span { opacity:1; letter-spacing:.5em; padding-left:.5em; filter:none; transform:none; animation:none; }
    .atlas-intro-mark p.is-split span { letter-spacing:inherit; padding-left:0; }
    #atlas-intro, .atlas-intro-mark { transition:none; }
}
