/* ============================================================
   PQLABEL ENTERTAINMENT — ent.css (v4)
   입자 히어로(숨은 버튼·영↔한) + 시네마 스크롤 장면 +
   트랙리스트 공지. 헤더 없음 · 좌측 코너 인덱스.
============================================================ */

:root {
  --bg: #08080A;
  --bg-2: #0F0F13;
  --ink: #F4F2EC;
  --title: #FAF9F5;
  --muted: #97939E;
  --faint: #635D6C;
  --line: rgba(244, 242, 236, 0.10);
  --line-2: rgba(244, 242, 236, 0.16);
  --violet: #8B73FF;
  --violet-deep: #5B3DF5;
  --side: clamp(22px, 6vw, 116px);
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  --font-display: "Space Grotesk", "Pretendard Variable", Pretendard, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.8; letter-spacing: -0.011em; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: rgba(91, 61, 245, 0.55); color: #fff; }
a { color: var(--violet); text-decoration: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }

/* ── 좌상단 브랜드 마크 ── */
.mk { position: fixed; top: clamp(16px, 3vw, 28px); left: var(--side); z-index: 80; display: inline-flex; align-items: center; gap: 9px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.mk img:first-child { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); }
.mk .wm { height: 10px; width: auto; }

/* ── 코너 인덱스 (좌측 세로) ── */
.dex { position: fixed; left: var(--side); top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; gap: 14px; }
.dex a { display: flex; align-items: center; gap: 11px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--faint); }
.dex a .bar { width: 14px; height: 1px; background: currentColor; transition: width 0.3s, background 0.3s; }
.dex a .lb { opacity: 0; transform: translateX(-4px); transition: opacity 0.3s, transform 0.3s; }
.dex a:hover .lb, .dex a.on .lb { opacity: 1; transform: none; }
.dex a:hover { color: var(--muted); }
.dex a.on { color: var(--violet); }
.dex a.on .bar { width: 28px; background: var(--violet); }
/* ── 모바일 메뉴(≤1024px): 코너 인덱스(.dex) 대신 우상단 버튼 + 전체화면 내비 ── */
.mnav-btn { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: fixed; top: clamp(14px, 3vw, 24px); right: var(--side); z-index: 96; width: 42px; height: 42px; background: rgba(15, 15, 19, 0.55); border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; padding: 0; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); -webkit-tap-highlight-color: transparent; }
.mnav-btn .ln { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.2s; }
.mnav-btn.open .ln:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.mnav-btn.open .ln:nth-child(2) { opacity: 0; }
.mnav-btn.open .ln:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 95; background: rgba(8, 8, 10, 0.985); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--side); gap: 2px; opacity: 0; visibility: hidden; transition: opacity 0.26s; }
.mnav.open { opacity: 1; visibility: visible; }
.mnav a { display: flex; align-items: baseline; gap: 16px; padding: clamp(13px, 2.3vh, 19px) 0; border-bottom: 1px solid var(--line); text-decoration: none; transform: translateY(10px); opacity: 0; transition: transform 0.32s, opacity 0.32s; }
.mnav.open a { transform: none; opacity: 1; }
.mnav .no { font-family: var(--font-mono); font-size: 0.76rem; color: var(--faint); min-width: 24px; }
.mnav .en { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 0.9rem + 2.2vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.mnav .ko { font-size: 0.85rem; color: var(--muted); }
.mnav a.on .en, .mnav a.on .no { color: var(--violet); }
@media (max-width: 1024px) { .dex { display: none; } .mnav-btn { display: flex; } }

/* ── 장면(홈 히어로) ── */
.scene { min-height: 100svh; padding: clamp(96px, 16vh, 200px) var(--side) clamp(80px, 12vh, 150px) calc(var(--side) + clamp(0px, 4vw, 84px)); display: flex; flex-direction: column; justify-content: center; position: relative; }
@media (max-width: 820px) { .scene { padding-left: var(--side); } }

/* ── 인너 페이지(멀티페이지) — 콘텐츠 가운데 정렬 ── */
.page { display: flex; flex-direction: column; align-items: center; min-height: 100svh; padding: clamp(108px, 17vh, 200px) var(--side) 0; }
.page > * { width: 100%; max-width: 880px; }
.page .ft { margin-top: auto; }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet); margin: 0 0 clamp(20px, 3vh, 34px); }
.eyebrow .x { color: var(--faint); }

/* ── 히어로(입자) ── */
.cover { position: relative; min-height: 100svh; padding: 0; overflow: hidden; }
#pqc { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: default; touch-action: none; z-index: 1; }
.cover .ov { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(86px, 13vh, 150px) var(--side) clamp(34px, 6vh, 64px); pointer-events: none; }
.cover .ov .eyebrow { margin: 0; }
.cover .cfoot { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-end; gap: 14px 30px; }
.cover .cmail { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--muted); pointer-events: auto; white-space: nowrap; }
.cover .cmail:hover { color: var(--violet); }
.cover .cue { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; color: var(--faint); white-space: nowrap; }
.cover .cue .dn { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* 숨은 버튼 (입자 속, 영↔한 롤) */
.pbtn { position: absolute; height: 54px; overflow: hidden; cursor: pointer; text-decoration: none; opacity: 0; transform: translate(-50%, -50%); z-index: 3; }
.pbtn .rl { display: block; transition: transform 0.34s cubic-bezier(.4,0,.2,1); }
.pbtn .rl b { display: block; height: 54px; line-height: 54px; font-family: var(--font-sans); font-weight: 600; font-size: clamp(26px, 3vw, 46px); letter-spacing: -.015em; white-space: nowrap; text-shadow: 0 2px 20px rgba(8,8,11,.98); }
.pbtn .rl .en { color: #F4F2EC; }
.pbtn .rl .ko { color: var(--violet); }
.pbtn:hover .rl { transform: translateY(-54px); }
.cover .hint { position: absolute; left: 0; right: 0; bottom: clamp(34px, 6vh, 64px); text-align: center; z-index: 2; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--faint); pointer-events: none; }
.cover .hint b { color: var(--violet); font-weight: 400; }

/* ── 타이포 ── */
.mega { margin: 0; font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; color: var(--title); }
.mega .v { color: var(--violet); }
.prose { max-width: 880px; margin-top: clamp(14px, 1.8vh, 20px); }
.prose > * { max-width: 56ch; }
.prose p { margin: 0 0 0.72em; font-size: clamp(1rem, 0.97rem + 0.2vw, 1.14rem); }
.prose p:last-child { margin: 0; }
.prose b { color: var(--ink); font-weight: 600; }
.pull { margin: 0 0 clamp(24px, 4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.32; color: var(--title); font-size: clamp(1.4rem, 1rem + 1.9vw, 2.5rem); max-width: 22ch; }
.pull .v { color: var(--violet); }
.kick { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--violet); margin: 0 0 14px; }

.fgrid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .fgrid { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); } }
.portrait { width: 100%; max-width: 180px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(22px,3vw,32px) 0 0; padding: 0; list-style: none; }
.chips li { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; }

/* 사업영역 */
.svc { margin-top: clamp(28px, 4vw, 48px); }
.svc-row { display: grid; grid-template-columns: clamp(46px,5vw,80px) minmax(0,1fr); gap: clamp(16px,3vw,42px); align-items: baseline; padding: clamp(22px,3vw,34px) 0; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .n { font-family: var(--font-mono); font-size: 0.85rem; color: var(--violet); }
.svc-row h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; color: var(--title); font-size: clamp(1.7rem, 1rem + 3.4vw, 3.6rem); }
.svc-row h3 .en { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: 0.34em; color: var(--muted); letter-spacing: 0; margin-left: 0.5em; vertical-align: middle; }
.svc-row p { margin: 12px 0 0; color: var(--muted); max-width: 54ch; font-size: 1rem; }

/* ── 공지(트랙리스트) ── */
.nb { margin-top: clamp(28px, 4vw, 44px); }
.nb-filt { display: flex; flex-wrap: wrap; gap: clamp(18px,3vw,30px); margin: 0 0 6px; }
.nb-filt button { font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em; color: var(--faint); background: none; border: none; cursor: pointer; padding: 0; transition: color 0.2s; }
.nb-filt button.on { color: var(--title); }
.nitem { border-top: 1px solid var(--line); }
.nitem:last-child { border-bottom: 1px solid var(--line); }
.nrow { display: grid; grid-template-columns: 26px 30px 1fr auto 18px; gap: clamp(12px,1.6vw,20px); align-items: center; padding: clamp(18px,2.2vw,26px) 0; cursor: pointer; transition: background 0.2s, padding 0.2s; }
.nitem.nobody .nrow { cursor: default; }
.nitem:hover .nrow, .nitem.op .nrow { background: rgba(139,115,255,.05); padding-left: 12px; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 20px; }
.eq i { width: 3px; border-radius: 1px; background: #4f4a55; align-self: flex-end; }
.eq i:nth-child(1){height:40%}.eq i:nth-child(2){height:85%}.eq i:nth-child(3){height:58%}.eq i:nth-child(4){height:95%}
.nitem:hover .eq i, .nitem.op .eq i { background: var(--violet); animation: eqb .55s ease-in-out infinite; }
.nitem:hover .eq i:nth-child(2), .nitem.op .eq i:nth-child(2){animation-delay:-.18s}
.nitem:hover .eq i:nth-child(3), .nitem.op .eq i:nth-child(3){animation-delay:-.36s}
.nitem:hover .eq i:nth-child(4), .nitem.op .eq i:nth-child(4){animation-delay:-.1s}
@keyframes eqb { 0%,100%{height:25%} 50%{height:95%} }
.nno { font-family: var(--font-mono); font-size: 0.78rem; color: var(--faint); }
.ntitle { margin: 0; font-weight: 600; font-size: clamp(1.1rem, 0.9rem + 1.4vw, 1.9rem); letter-spacing: -0.022em; line-height: 1.16; color: var(--ink); transition: color 0.2s; }
.nitem:hover .ntitle, .nitem.op .ntitle { color: #fff; }
.ndur { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.narr { color: #39353f; font-size: 1.1rem; text-align: right; transition: color 0.25s, transform 0.25s; }
.nitem:hover .narr { color: var(--violet); transform: translateX(5px); }
.nitem.op .narr { color: var(--violet); transform: rotate(90deg); }
.nitem.nobody .narr { display: none; }
.nbody { max-height: 0; overflow: hidden; transition: max-height 0.34s ease; }
.nbody p { margin: 0; padding: 2px 0 26px 56px; max-width: 62ch; color: #C9C5CE; font-size: 1rem; line-height: 1.75; white-space: pre-wrap; }
.nb-empty { padding: 40px 0; color: var(--faint); font-size: 0.95rem; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .nrow { grid-template-columns: 26px 1fr auto; } .nrow .eq, .nrow .narr { display: none; } .nbody p { padding-left: 0; } }

/* 큰 이메일 + 폼 */
.big-mail { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1rem + 3.4vw, 3.6rem); letter-spacing: -0.02em; color: var(--title); margin: 0 0 clamp(30px,5vw,56px); word-break: break-all; }
.inq { display: grid; gap: 18px; max-width: 660px; }
.inq-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .inq-row { grid-template-columns: 1fr 1fr; } }
.inq-field { display: grid; gap: 8px; }
.inq-field > span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }
.inq-field > span .opt { color: var(--faint); }
.inq input, .inq select, .inq textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); font-family: inherit; font-size: 1rem; padding: 13px 15px; line-height: 1.6; }
.inq textarea { resize: vertical; min-height: 140px; }
.inq input:focus, .inq select:focus, .inq textarea:focus { outline: none; border-color: var(--violet); }
.inq select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.inq-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.inq-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn { background: var(--violet-deep); color: #fff; border: none; border-radius: 12px; font-family: inherit; font-size: 1rem; font-weight: 600; padding: 14px 30px; cursor: pointer; }
.btn:hover { background: #6d50ff; }
.btn:disabled { opacity: 0.6; cursor: default; }
.inq-msg { margin: 0; font-size: 0.9rem; color: var(--muted); }
.inq-msg.ok { color: #7CE0B0; }
.inq-msg.err { color: #ff9a9a; }
.demo-cta { display: inline-flex; align-items: baseline; gap: 15px; margin-top: clamp(28px,4vw,40px); padding: 14px 22px; border: 1px solid rgba(245,158,11,.42); border-radius: 13px; }
.demo-cta:hover { border-color: #F59E0B; background: rgba(245,158,11,.08); }
.demo-cta .tag { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: #F59E0B; }
.demo-cta .url { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--title); }
.demo-cta .ar { color: #F59E0B; }

/* 푸터 */
.ft { margin-top: clamp(48px, 8vh, 96px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.ft-legal { margin: 0 0 10px; font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.8; color: var(--faint); }
.ft-row { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between; align-items: baseline; }
.ft-copy { margin: 0; font-size: 0.74rem; color: var(--faint); }
.ft-mail { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); }
.ft-mail:hover { color: var(--violet); }

/* 등장 */
.js .rise { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.rise.in { opacity: 1; transform: none; }
.js .rise.d1 { transition-delay: 0.08s; } .js .rise.d2 { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .js .rise { opacity: 1; transform: none; } }

/* 화면에는 안 보이고 검색봇·스크린리더에만 읽히는 텍스트 (히어로가 canvas라 필요) */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* About — 문단 끝 서명 줄 */
.pq-sign { margin-top: 0.85em; font-weight: 700; }
.pq-sign .v { color: var(--violet); }

/* 영문 슬로건 라인 — 인덱스 라벨과 한글 대제목 사이(About 최상단) */
.slogan { margin: 0 0 6px; font-family: var(--font-mono); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); letter-spacing: 0.11em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.slogan-ko { margin: 0 0 clamp(14px, 1.8vh, 20px); font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); color: var(--muted); }
.slogan-ko .v { color: var(--violet); }
.slogan .v { color: var(--violet); }

/* 새로움 단어 = 바이올렛 (사이트 공통 의미 규칙) */
.prose .v, .mega .v { color: var(--violet); }

/* 홈 행동 유도 큐 — 첫 터치/드래그/휠에 사라진다(ent.js) */
.cue2 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--muted); pointer-events: none; transition: opacity 0.5s; }
.cue2 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--violet); animation: cuePulse 1.6s ease-in-out infinite; }
.cue2.off { opacity: 0; }
@keyframes cuePulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.6); opacity: 1; } }


/* 대표 사진 옆 이야기 — 약력이 아니라 장면 */
.pq-story { margin: clamp(14px, 2vh, 22px) 0 0; max-width: 34ch; font-size: clamp(0.85rem, 0.82rem + 0.2vw, 0.95rem); line-height: 1.95; color: var(--muted); }
.pq-story b { color: var(--ink); font-weight: 600; }

/* 좁은 화면: 입자 속 메뉴 축소(2×2 배치와 세트) */
@media (max-width: 640px) { .pbtn { height: 40px; } .pbtn .rl b { height: 40px; line-height: 40px; font-size: 21px; } .pbtn:hover .rl { transform: translateY(-40px); } }

/* 역할 칩은 이야기 아래 메타데이터 자리 */
.pq-story + .chips { margin-top: clamp(20px, 3vh, 32px); }

/* 한글 자막 없이 슬로건만 있을 때의 하단 여백 */
.slogan--solo { margin-bottom: clamp(20px, 3vh, 34px); }
