/* 청담라플라스 메인(시안 2) 모션 CSS — 2026-11-16. 위 = 지금까지 /ko/ 에 쓰던 site.css 191–289행(모션 층) 그대로. 아래 = 시안 2 맞춤. */
/* 모션 층(motion.js) — 섹션 점(메이린), 호버 */
#cldots{position:fixed;left:34px;top:50%;translate:0 -50%;z-index:40;display:flex;flex-direction:column;gap:14px;
  mix-blend-mode:difference;opacity:0;transition:opacity .6s}
#cldots.show{opacity:1}
#cldots button{all:unset;cursor:pointer;display:flex;align-items:center;gap:12px;height:16px;color:#fff}
#cldots b{display:block;width:6px;height:6px;border-radius:50%;background:#fff;opacity:.45;transition:width .5s cubic-bezier(.19,1,.22,1),opacity .3s,border-radius .5s}
#cldots button.on b{width:26px;border-radius:3px;opacity:1}
#cldots span{font:500 11px/1 'Cormorant',serif;letter-spacing:.18em;opacity:0;translate:-6px 0;transition:opacity .35s,translate .35s;white-space:nowrap}
#cldots button:hover span,#cldots button:focus-visible span{opacity:.9;translate:0 0}   /* 이름은 가리킬 때만 — 1440 이하에서 본문에 닿는다 */
#cldots button:focus-visible b{outline:2px solid #fff;outline-offset:3px}
.cl-lift{transition:translate .5s cubic-bezier(.19,1,.22,1),filter .5s}
.cl-lift:hover{translate:0 -8px;filter:drop-shadow(0 14px 22px rgba(0,0,0,.25))}
.cl-zoom .cl-ph{transition:scale 1.2s cubic-bezier(.19,1,.22,1)}
.cl-zoom:hover .cl-ph{scale:1.06}
.cl-gnb::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:1px;background:currentColor;scale:0 1;transform-origin:0 50%;transition:scale .5s cubic-bezier(.19,1,.22,1)}
.cl-gnb:hover::after,.cl-gnb:focus-visible::after{scale:1 1}
.cl-space i{transition:translate .9s cubic-bezier(.65,0,.35,1),opacity .9s,transform .9s cubic-bezier(.65,0,.35,1),scale .9s cubic-bezier(.19,1,.22,1)}
.cl-space i:hover{scale:1.03}

/* 강화판(v2) — 입장 커튼 · 글자 단위 등장 · 사진 커튼 · 커서 · 카드 빛 */
/* ⓪ 인트로 — 로고·글자·선·숫자 → 가운데 선이 벌어지며 사진 창이 열림 → 걷힘 */
#clcurtain.cl-intro{position:fixed;inset:0;z-index:99;background:#191932;overflow:hidden;transition:opacity .95s ease}
#clcurtain.cl-intro.done{opacity:0;pointer-events:none}
.cl-iwin{position:absolute;inset:0;clip-path:var(--slit,inset(50% 22% 50% 22%));transition:clip-path 1.25s cubic-bezier(.76,0,.24,1)}
#clcurtain.open .cl-iwin{clip-path:var(--mid,inset(25% 22% 25% 22%))}
#clcurtain.full .cl-iwin{clip-path:var(--fin,inset(0 0 0 0));transition-duration:1.7s}
.cl-iwin i{position:absolute;inset:0;background-size:cover;background-position:center;scale:1.55;filter:brightness(.6) saturate(.85);
  transition:scale 3s cubic-bezier(.19,1,.22,1),filter 2.2s ease}
#clcurtain.open .cl-iwin i{scale:1.3;filter:brightness(.78) saturate(.95)}
#clcurtain.full .cl-iwin i{scale:var(--s1,1.08);filter:var(--b1,brightness(.92)) saturate(1)}
/* 선 그리기(SVG) — 가운데 선 → 액자 테두리. pathLength=1 이라 길이와 상관없이 0→1 로 그린다 */
.cl-ilines{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;transition:opacity .9s ease}
.cl-ipath{stroke:#fff;stroke-width:1;stroke-dasharray:1;stroke-dashoffset:1;animation:clDraw var(--du) cubic-bezier(.65,0,.35,1) var(--dl) forwards}
.cl-ipath.frm{stroke:rgba(255,255,255,.75)}
@keyframes clDraw{to{stroke-dashoffset:0}}
#clcurtain.open .cl-ipath.mid{opacity:0;transition:opacity .6s ease}
#clcurtain.full .cl-ilines{opacity:0}
.cl-ibrand{position:absolute;left:50%;bottom:calc(100% - var(--ibrand,50%));translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:28px;
  transition:opacity .8s ease,translate 1.2s cubic-bezier(.19,1,.22,1)}
#clcurtain.open .cl-ibrand{opacity:0;translate:-50% -50px}
.cl-ilogo{display:block;width:178px;height:58px;background-position:center;background-size:contain;background-repeat:no-repeat;
  animation:clLogo 1.6s cubic-bezier(.19,1,.22,1) .1s both}
.cl-iname{margin:0;font:500 13px/1 'Cormorant',serif;letter-spacing:.55em;padding-left:.55em;color:#fff;white-space:pre}
.cl-iname span{display:inline-block;animation:clChar 1.4s cubic-bezier(.19,1,.22,1) both}
.cl-iname .sp{width:.35em;animation:none}
.cl-icount{position:absolute;right:42px;bottom:34px;font:400 14px/1 'Cormorant',serif;letter-spacing:.3em;color:rgba(255,255,255,.72);transition:opacity .4s}
#clcurtain.open .cl-icount{opacity:0;transition:opacity .6s}
#clcurtain.quick .cl-ibrand,#clcurtain.quick .cl-icount{display:none}
@keyframes clChar{from{opacity:0;translate:0 .9em;filter:blur(6px)}to{opacity:.88;translate:0 0;filter:blur(0)}}
/* 페이지 이동 커튼 */
#clcurtain.cl-leave{position:fixed;inset:0;z-index:99;background:#20203c;display:flex;align-items:center;justify-content:center;transition:translate .8s cubic-bezier(.76,0,.24,1)}
#clcurtain.cl-leave i{display:block;width:178px;height:58px;background-position:center;background-size:contain;background-repeat:no-repeat;animation:clLogo .7s cubic-bezier(.19,1,.22,1) .1s both}
#clcurtain.below{translate:0 100%;transition:none}
/* ⓐ' 첫 화면 숨결 · 빛 · 제목 광택 · 스크롤 안내 */
.cl-breath{animation:clBreath 18s ease-in-out infinite alternate}
@keyframes clBreath{from{transform:scale(1) translate(0,0)}to{transform:scale(1.07) translate(-1.2%,-1%)}}
.cl-glow{position:absolute;inset:-20%;pointer-events:none;mix-blend-mode:screen;opacity:0;overflow:hidden;
  background:radial-gradient(38% 34% at 30% 42%,rgba(255,214,180,.32),transparent 70%),radial-gradient(34% 30% at 74% 64%,rgba(186,198,255,.26),transparent 70%);
  animation:clFade 2.4s ease forwards,clGlow 16s ease-in-out infinite alternate}
/* 빛줄기는 background-position 대신 translate 로 민다(2026-11-02 「열 때 smooth 하지 않다」) — background-position 은 매 프레임
   2700×1500 판을 다시 그려 초당 그리기 2.8초 분량이었다. 같은 260% 그라데이션 판을 옮기므로 모양은 같다(픽셀 차 ≤2) */
.cl-glow::after{content:"";position:absolute;left:0;top:0;bottom:0;width:260%;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.11) 50%,transparent 58%);
  animation:clSweep 7.5s cubic-bezier(.65,0,.35,1) 1.5s infinite}
@keyframes clFade{to{opacity:1}}
@keyframes clGlow{from{translate:-5% 3%}to{translate:6% -4%}}
@keyframes clSweep{0%{translate:-80% 0}55%,100%{translate:18.4615% 0}}   /* = background-position 130% → -30% (판 폭 260% 기준 환산) */
.cl-shine{background-image:linear-gradient(110deg,#fff 0%,#fff 40%,#c9d0ea 46%,#fff 50%,#aeb7da 54%,#fff 60%,#fff 100%);background-size:300% 100%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:clShine 6.5s ease-in-out .8s infinite}
@keyframes clShine{0%{background-position:120% 0}60%,100%{background-position:-20% 0}}
.cl-cue{animation:clCue 2.4s cubic-bezier(.65,0,.35,1) infinite}
@keyframes clCue{0%{translate:0 -50px}100%{translate:0 110px}}
@keyframes clLogo{from{opacity:0;translate:0 18px;filter:blur(6px)}to{opacity:1;translate:0 0;filter:blur(0)}}
@keyframes clLine{from{scale:0 1}to{scale:1 1}}
.cl-chpre .cl-ch{display:inline-block;opacity:0;translate:0 .72em;filter:blur(12px);scale:.92;
  transition:opacity 1.2s ease,translate 1.7s cubic-bezier(.19,1,.22,1),filter 1.4s ease,scale 1.7s cubic-bezier(.19,1,.22,1)}
.cl-chpre.cl-chin .cl-ch{opacity:1;translate:0 0;filter:blur(0);scale:1}
/* ⓛ 왼쪽에서 날아오는 영문 큰 제목 — 글자가 왼쪽에서 하나씩 */
.cl-fromleft.cl-chpre .cl-ch{translate:-1.6em 0;filter:blur(14px);scale:1}
.cl-fromleft.cl-chpre.cl-chin .cl-ch{translate:0 0;filter:blur(0)}
.cl-curtain{position:absolute;inset:0;z-index:6;background:#334283;transform-origin:100% 50%;transition:scale .85s cubic-bezier(.77,0,.18,1);pointer-events:none}
.cl-curtain.go{scale:0 1}
.cl-glare{position:absolute;inset:0;z-index:7;pointer-events:none;opacity:0;transition:opacity .5s}
#clring{position:fixed;left:0;top:0;width:40px;height:40px;margin:-20px 0 0 -20px;border:1px solid #fff;border-radius:50%;pointer-events:none;z-index:95;
  mix-blend-mode:difference;display:flex;align-items:center;justify-content:center;opacity:0;
  transition:width .45s cubic-bezier(.19,1,.22,1),height .45s cubic-bezier(.19,1,.22,1),margin .45s cubic-bezier(.19,1,.22,1),background-color .3s,opacity .3s,scale .25s}
#cldot{position:fixed;left:0;top:0;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:#fff;pointer-events:none;z-index:96;mix-blend-mode:difference;opacity:0;transition:opacity .3s}
html.cl-cur-on #clring,html.cl-cur-on #cldot{opacity:1}
html.cl-cursor.cl-cur-on,html.cl-cursor.cl-cur-on *{cursor:none !important}
#clring.big{width:66px;height:66px;margin:-33px 0 0 -33px;background:rgba(255,255,255,.14)}
#clring.lab{width:94px;height:94px;margin:-47px 0 0 -47px;background:#fff}
#clring span{font:600 12px/1 'Cormorant',serif;letter-spacing:.22em;color:#000;opacity:0;transition:opacity .3s}
#clring.lab span{opacity:1}
#clring.down{scale:.82}

@media (prefers-reduced-motion:reduce){
  #clcurtain,#clring,#cldot,.cl-curtain,.cl-chpre .cl-ch,.cl-ipath,.cl-breath,.cl-glow,.cl-shine,.cl-cue,
  #cldots,#cldots b,#cldots span,.cl-lift,.cl-zoom .cl-ph,.cl-gnb::after,
  #hdrwrap,#clmenu,#clmenu .g,#clmenu a,#cldrop,#cldrop ul,#cldrop a,#clquick .q,#clquick .qlist,#clquick .qtog i,.cl-veil,.cl-act,.cl-rest,.cl-swap,.cl-space i,.cl-faq-move,.cl-faq-a,.cl-faq-plus{transition:none !important}
}

/* ── 시안 2 맞춤 (motion.js) ── */
html.cl-m{scroll-behavior:auto}   /* 부드러운 휠·이동은 스크립트가 한다(브라우저 smooth 와 겹치면 덜컥인다) */
/* 모션 스크립트를 받기 전 첫 화면이 비치지 않게 인트로 바탕색으로 덮는다. 스크립트가 못 오면 6초 뒤 스스로 걷힌다 */
html.cl-boot::after{content:"";position:fixed;inset:0;z-index:98;background:#191932;animation:clBootOut .01s linear 6s forwards}
@keyframes clBootOut{to{opacity:0;visibility:hidden}}
html.cl-m .hero-bg,html.cl-m .hero-en,html.cl-m .hero-ko{animation:none}   /* 첫 화면 등장은 인트로 뒤에 스크립트가 */
html.cl-m .scroll-cue{opacity:0;transition:opacity 1.2s ease}
html.cl-m .scroll-cue.cl-on{opacity:1}
/* ⓔ 스크롤 등장 값 = /ko/ 와 같게(PC 90px · 1.6s, 모바일 48px · 1.25s) */
html.cl-m [data-rv]:not([data-curtain]){translate:0 90px;transition:opacity 1.6s ease,translate 1.6s cubic-bezier(.19,1,.22,1),filter 1.28s ease,top .5s cubic-bezier(.19,1,.22,1),box-shadow .5s}
html.cl-m [data-rv].in:not([data-curtain]){translate:0 0}
/* ⓕ 패럴랙스 사진은 다 열린 뒤에도 조금 크게(위아래로 흐를 여유) */
html.cl-m [data-curtain].cl-par.in img{scale:1.12}
/* ⓗ 학술 카드: 떠오르기(top·그림자) + 3D 기울기의 빛 */
.aca li{position:relative}
@media (hover:hover) and (pointer:fine){html.cl-m .aca li.cl-up:hover{top:-8px;box-shadow:0 14px 22px rgba(0,0,0,.25)}}
/* ⓛ 왼쪽에서 날아오는 사진 자리는 줄 바탕색(흰 빈칸이 보이지 않게) */
html.cl-m .rows .row{background:var(--gray)}
@media (min-width:1025px){
  html.cl-m .row{min-height:clamp(664px,100vh,1660px)}   /* ⓚ 한 줄 = 한 화면(/ko/ 와 같이 0.8–2배) */
  html.cl-m .row-pic{z-index:1}                            /* 날아오는 사진이 글 칸 위로 지나간다 */
}
@media (max-width:1024px){
  #cldots{display:none}
  html.cl-m [data-rv]:not([data-curtain]){translate:0 48px;transition-duration:1.25s,1.25s,1s,.5s,.5s}
}
