/* STUDIO MUEIL 메인 사이트. 사용자의 Figma Make 시안(어두운 바탕, 유리 내비, 카테고리 로비)을 옮긴 것. */
:root {
  color-scheme: dark;
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, 0.66);
  --ink-3: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.1);
  --bg: #0a0a0a;
  --violet: #8b6cff;
  --f-en: 'Instrument Sans', 'Noto Sans KR', system-ui, sans-serif;
  --f-ko: 'Noto Sans KR', 'Instrument Sans', system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-h: 60px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  :root { --nav-h: 72px; --gutter: 48px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: #3a3645 transparent; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-en);
  font-stretch: 100%;
  line-height: 1.5;
  overflow-x: hidden;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(139, 108, 255, 0.45); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #b9a6ff; outline-offset: 3px; border-radius: 6px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 8px; background: #fff; color: #000; }
.skip:focus { top: 12px; }

/* 배경 빛 */
.orbs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; background: var(--bg); }
.orb { position: absolute; border-radius: 50%; }
.orb--1 { width: 700px; height: 700px; top: -15%; left: -10%; opacity: 0.3; filter: blur(120px); background: radial-gradient(circle, #6d28d9, #4c1d95 50%, transparent 70%); animation: orb-1 22s ease-in-out infinite; }
.orb--2 { width: 600px; height: 600px; top: -5%; right: -8%; opacity: 0.25; filter: blur(100px); background: radial-gradient(circle, #1d4ed8, #1e3a8a 50%, transparent 70%); animation: orb-2 28s ease-in-out infinite; }
.orb--3 { width: 800px; height: 800px; top: 30%; left: 30%; opacity: 0.2; filter: blur(140px); background: radial-gradient(circle, #0f766e, #134e4a 50%, transparent 70%); animation: orb-3 34s ease-in-out infinite; }
.orb--4 { width: 500px; height: 500px; bottom: -10%; right: 15%; opacity: 0.15; filter: blur(110px); background: radial-gradient(circle, #9f1239, #4c0519 50%, transparent 70%); animation: orb-4 25s ease-in-out infinite; }
.orb--5 { width: 550px; height: 550px; bottom: 0; left: 5%; opacity: 0.2; filter: blur(130px); background: radial-gradient(circle, #4338ca, #312e81 50%, transparent 70%); animation: orb-2 30s ease-in-out infinite reverse; }
.orbs__grid { position: absolute; inset: 0; opacity: 0.02; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 60px 60px; }
@keyframes orb-1 { 33% { transform: translate(80px, -60px) scale(1.1); } 66% { transform: translate(-50px, 80px) scale(0.95); } }
@keyframes orb-2 { 33% { transform: translate(-90px, 40px) scale(1.05); } 66% { transform: translate(60px, -70px) scale(1.15); } }
@keyframes orb-3 { 50% { transform: translate(50px, 90px) scale(0.9); } }
@keyframes orb-4 { 40% { transform: translate(-70px, -50px) scale(1.1); } 80% { transform: translate(30px, 60px) scale(0.95); } }

/* ── 내비 ─────────────────────────────────────────────────────────── */
.glass-nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: var(--safe-top);
  background: rgba(15, 15, 15, 0.75);
  -webkit-backdrop-filter: blur(60px) saturate(180%);
  backdrop-filter: blur(60px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
/* 재생 중 물듦: MUE:DESK 앰비언트 테마(청록→자두→적갈) 그라데이션이 천천히 흐르고, 소리 크기(--level)에 따라 진해진다 */
.nav__tint { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, #1d8fd6, #7c3aed 22%, #e0328f 44%, #ff7a3d 62%, #14b8a6 82%, #1d8fd6); background-size: 400% 100%; filter: saturate(1.6); transition: opacity 1.2s ease; }
.nav__tint::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 140% at 50% 120%, rgba(255, 255, 255, 0.28), transparent 60%); mix-blend-mode: overlay; }
body.is-listening .nav__tint { opacity: calc(0.5 + var(--level, 0) * 0.5); animation: tint-flow 14s linear infinite; }
@keyframes tint-flow { to { background-position: 400% 0; } }
.glass-nav { --level: 0; }
.nav__row { position: relative; z-index: 1; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; }
@media (min-width: 768px) { .nav__row { padding: 0 32px; } }
.player { display: flex; align-items: center; gap: 12px; min-width: 0; z-index: 1; }
.player__disc { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: box-shadow 0.3s; }
@media (min-width: 768px) { .player__disc { width: 52px; height: 52px; } }
.player__disc:hover { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3); }
.vinyl { width: 100%; height: 100%; display: block; }
.vinyl__pause { display: none; }
.player.is-playing .vinyl__play { display: none; }
.player.is-playing .vinyl__pause { display: block; }
.player.is-playing .vinyl circle:first-of-type { animation: spin 6s linear infinite; transform-origin: 24px 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.player__meta { display: none; flex-direction: column; gap: 6px; }
@media (min-width: 768px) { .player__meta { display: flex; } }
.player__title { font-size: 13px; line-height: 1; white-space: nowrap; }
.player__track { width: 160px; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.player__track i { display: block; height: 100%; width: 100%; border-radius: inherit; background: rgba(255, 255, 255, 0.72); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.25s linear; }
.nav__logo { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 500; font-size: 17px; letter-spacing: 2px; white-space: nowrap; transition: opacity 0.2s; }
@media (min-width: 768px) { .nav__logo { font-size: 22px; letter-spacing: 3px; } }
.nav__logo:hover { opacity: 0.8; }
.nav__links { display: none; align-items: center; gap: 24px; }
@media (min-width: 768px) { .nav__links { display: flex; } }
.nav__link { font-weight: 500; font-size: 16px; color: #8a8a8a; transition: color 0.2s; }
.nav__link:hover, .nav__link[aria-current] { color: #fff; }
.nav__cta { margin-left: 8px; height: 36px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 5px; background: #fff; color: #000; font-size: 14px; font-weight: 500; transition: background 0.2s; }
.nav__cta:hover { background: rgba(255, 255, 255, 0.88); }
.nav__menu { z-index: 1; width: 44px; height: 44px; display: grid; place-content: center; gap: 4px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 8px; background: rgba(255, 255, 255, 0.05); cursor: pointer; }
.nav__menu span { display: block; width: 20px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__menu[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav__menu[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
@media (min-width: 768px) { .nav__menu, .drawer { display: none !important; } }
.drawer { position: relative; z-index: 1; padding: 8px 24px 28px; background: rgba(12, 12, 14, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); animation: drawer 0.28s var(--ease) both; }
.drawer nav { display: flex; flex-direction: column; }
.drawer__link { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 19px; font-weight: 500; color: #9a9a9a; }
.drawer__link[aria-current], .drawer__link:hover { color: #fff; }
.drawer__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.drawer__cats a { padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; color: var(--ink-2); }
@keyframes drawer { from { opacity: 0; transform: translateY(-12px); } }

/* ── 홈 로비 ─────────────────────────────────────────────────────── */
.lobby { position: relative; z-index: 1; overflow: clip; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--nav-h) + var(--safe-top)); }
.lobby__bg { position: absolute; inset: calc(var(--nav-h) + var(--safe-top)) 0 0; overflow: hidden; background: #060707; }
.lobby__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease-in-out; animation: pan 18s ease-in-out infinite; }
.lobby__layer.is-on { opacity: 0.46; }
.lobby__layer.is-pixel { image-rendering: pixelated; }
.lobby__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.38) 50%, rgba(0,0,0,.18)), linear-gradient(to right, rgba(0,0,0,.72), rgba(0,0,0,.25) 50%, rgba(0,0,0,.15)); }
.lobby__glow { position: absolute; inset: 0; opacity: 0.3; mix-blend-mode: screen; background: radial-gradient(ellipse at 18% 68%, var(--glow, #7c3aed) 0%, transparent 48%); transition: background 0.9s; }
@keyframes pan { 0%, 100% { transform: scale(1.04); } 50% { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); } }

.lobby__content { position: relative; padding: 0 var(--gutter) 36px; }
/* 여기가 어떤 곳인지: 데스크톱 로비 오른쪽 아래 유리 카드 */
.lobby__studio { display: none; }
@media (min-width: 1024px) {
  .lobby__studio { position: absolute; right: var(--gutter); bottom: 40px; display: grid; gap: 10px; width: 340px; padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(20, 20, 24, 0.55); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 3px 3px 35px -2px rgba(255, 255, 255, 0.1); animation: fade-up 0.8s var(--ease) 0.5s both; }
  .lobby__studio strong { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; }
  .lobby__studio p { margin: 0; font-family: var(--f-ko); font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
  .lobby__studio a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ko); font-size: 14px; color: rgba(255, 255, 255, 0.7); transition: color 0.2s, gap 0.25s; }
  .lobby__studio a:hover { color: #fff; gap: 12px; }
  .lobby__studio a .ico { transform: rotate(90deg); }
}
.lobby__inner { max-width: 1360px; margin: 0 auto; }
.lobby__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
@media (min-width: 768px) { .lobby__head { flex-direction: row; align-items: baseline; gap: 14px; } }
.lobby__title { margin: 0; font-weight: 400; font-size: 50px; line-height: 0.94; letter-spacing: -0.045em; }
@media (min-width: 768px) { .lobby__title { font-size: clamp(56px, 5.6vw, 84px); } }
.lobby__title .w { display: inline-block; white-space: nowrap; }
.lobby__title .w span { display: inline-block; }
.lobby__title.is-swap .w span { animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes rise { from { opacity: 0; transform: translateY(0.55em) rotate(2deg); filter: blur(4px); } }
.lobby.is-swap .lobby__ko, .lobby.is-swap .lobby__desc, .lobby.is-swap .lobby__works { animation: fade-up 0.7s var(--ease) both; animation-delay: 0.12s; }
.lobby.is-swap .lobby__desc { animation-delay: 0.18s; }
.lobby.is-swap .lobby__works { animation-delay: 0.24s; }
.lobby__inner { will-change: transform; }
.lobby__bg { will-change: transform; }
.lobby__down { position: absolute; right: var(--gutter); bottom: calc(18px + var(--safe-bottom)); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.7); transition: color 0.2s, border-color 0.2s; }
.lobby__down .ico { transform: rotate(90deg); animation: nudge 1.8s ease-in-out infinite; }
.lobby__down:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
@keyframes nudge { 50% { transform: rotate(90deg) translateX(3px); } }
@media (max-width: 767px) { .lobby__down { display: none; } }
.lobby__link { position: relative; display: inline-flex; width: 176px; height: 30px; font-family: var(--f-ko); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.92); transition: color 0.2s, opacity 0.2s; }
@media (min-width: 768px) { .lobby__link { font-size: 17px; top: -6px; } }
.lobby__link svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 16px; transition: transform 0.25s var(--ease); }
.lobby__link:hover { color: #fff; }
.lobby__link:hover svg { transform: translateX(4px); }
.lobby__link.is-off { opacity: 0; pointer-events: none; }
.lobby__ko { margin: 0 0 8px; font-family: var(--f-ko); font-size: 16px; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.58); }
@media (min-width: 768px) { .lobby__ko { font-size: 18px; } }
.lobby__desc { max-width: 660px; min-height: 3.3em; margin: 0 0 24px; font-family: var(--f-ko); font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) { .lobby__desc { font-size: 17px; min-height: 0; } }
.lobby__works { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.lobby__works a, .lobby__works span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(0, 0, 0, 0.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14px; font-weight: 500; transition: background 0.2s, border-color 0.2s; }
.lobby__works a:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.34); }
.lobby__works small { font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, 0.55); }
.lobby__works span { color: rgba(255, 255, 255, 0.62); }
.lobby__works .ico { font-size: 14px; }
.lobby__works li { animation: chip 0.5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes chip { from { opacity: 0; transform: translateY(8px); } }
.lobby__cycle { position: relative; width: 112px; height: 2px; margin-bottom: 28px; overflow: hidden; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.28) 50%, rgba(255,255,255,.08)); }
.lobby__cycle i { position: absolute; inset: 0 auto 0 0; width: 42%; background: linear-gradient(90deg, transparent, rgba(103,71,229,.18) 15%, rgba(164,138,255,.75) 53%, #fff 72%, rgba(178,152,255,.42) 88%, transparent); filter: drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 8px rgba(149,116,255,.9)); animation: energy 5s linear forwards; }
.lobby.is-paused .lobby__cycle i { animation-play-state: paused; }
@keyframes energy { from { transform: translateX(-100%); } to { transform: translateX(240%); } }

.lobby__bar { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 var(--gutter); padding: 0 0 calc(40px + var(--safe-bottom)); max-width: 1360px; }
@media (min-width: 768px) { .lobby__bar { gap: 20px; padding-bottom: calc(56px + var(--safe-bottom)); } }
@media (min-width: 1460px) { .lobby__bar { margin: 0 auto; width: calc(100% - 2 * var(--gutter)); } }
.category-btn {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  height: 56px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(54, 54, 54, 0.5);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 3px 3px 35px -2px rgba(255, 255, 255, 0.15);
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
  animation: fade-up 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms);
}
.lobby__bar .category-btn:last-child:nth-child(odd) { flex-basis: 100%; }
@media (min-width: 640px) { .category-btn, .lobby__bar .category-btn:last-child:nth-child(odd) { flex: 1 1 150px; } }
.category-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); box-shadow: inset 3px 3px 35px -2px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.05); transform: translateY(-1px); }
.category-btn[aria-pressed='true'] { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.35); box-shadow: inset 3px 3px 35px -2px rgba(255, 255, 255, 0.35), 0 0 35px rgba(255, 255, 255, 0.1); }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }

/* ── 인트로 ─────────────────────────────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 100; background: #030303; transition: opacity 1.1s ease 0.35s; }
.intro.is-leaving { opacity: 0; pointer-events: none; }
.intro.is-leaving .intro__line, .intro.is-leaving .intro__sub { opacity: 0; transition: opacity 0.4s; }
.intro__name { transition: transform 0.9s var(--ease), opacity 0.3s ease 0.8s; transform-origin: center; will-change: transform; }
.intro.is-leaving .intro__name { opacity: 0; }
.intro.is-leaving .intro__veil { background: rgba(0, 0, 0, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
.intro.is-leaving .intro__foot, .intro.is-leaving .intro__skip { opacity: 0; }
@keyframes dissolve { to { opacity: 0; } }
.intro__scenes, .intro__veil { position: absolute; inset: 0; }
.intro__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease-in-out; }
.intro__scene.is-on { opacity: 1; animation: intro-pan 5s ease-out both; }
@keyframes intro-pan { from { transform: scale(1.04); } to { transform: scale(1.12) translate3d(-1%, -0.6%, 0); } }
.intro__veil { background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); transition: background 1.2s, backdrop-filter 1.2s, -webkit-backdrop-filter 1.2s; }
.intro__veil::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 50%, rgba(0,0,0,.55)); }
.intro.is-open .intro__veil { background: rgba(0, 0, 0, 0.42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.intro__center { position: relative; z-index: 1; height: 100%; display: grid; place-content: center; padding: 0 24px; text-align: center; transition: transform 1s var(--ease), opacity 0.8s ease; }
.intro__sub { margin: 22px 0 0; font-family: var(--f-ko); font-size: clamp(14px, 1.4vw, 18px); color: rgba(255, 255, 255, 0.62); opacity: 0; transform: translateY(8px); transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.intro__sub.is-in { opacity: 1; transform: none; }
.intro__name { margin: 44px 0 0; font-weight: 500; font-size: clamp(28px, 4.6vw, 64px); letter-spacing: 0.18em; line-height: 1; color: #fff; }
.intro__name span { display: inline-block; opacity: 0; transform: translateY(0.5em); }
.intro__name.is-in span { opacity: 1; transform: none; animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.intro.is-leaving .intro__name span { animation: none; }
.intro.is-sub .intro__caret { animation: none; opacity: 0; }
.intro__line { margin: 0; min-height: 1.2em; font-weight: 500; font-size: clamp(28px, 4vw, 58px); letter-spacing: -0.04em; }
.intro__caret { display: inline-block; width: 0.07em; height: 0.9em; margin-left: 0.08em; vertical-align: -0.06em; background: currentColor; animation: caret 0.9s steps(1, end) infinite; }
@keyframes caret { 46%, 100% { opacity: 0; } }
.intro__foot { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: calc(32px + var(--safe-bottom)); display: flex; align-items: center; justify-content: flex-end; transition: opacity 0.5s; }
@media (min-width: 768px) { .intro__foot { left: 56px; right: 56px; bottom: 48px; } }
.intro__foot p { margin: 0; font-size: 11px; letter-spacing: 0.34em; color: rgba(255, 255, 255, 0.58); }
.intro__ticks { display: flex; gap: 8px; }
.intro__ticks i { height: 1px; width: 16px; background: rgba(255, 255, 255, 0.3); transform-origin: left; transition: transform 0.7s var(--ease), background 0.7s; }
.intro__ticks i.is-on { transform: scaleX(3); background: rgba(255, 255, 255, 0.9); }
.intro__skip { position: absolute; z-index: 2; transition: opacity 0.5s, background 0.2s, color 0.2s; top: calc(20px + var(--safe-top)); right: 20px; height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.3); font-size: 13px; color: rgba(255, 255, 255, 0.8); cursor: pointer; transition: background 0.2s, color 0.2s; }
.intro__skip:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ── 카테고리 페이지 ─────────────────────────────────────────────── */
.category, .utility { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + var(--safe-top)); }
.banner { position: relative; height: clamp(300px, 46vh, 480px); overflow: hidden; }
.banner__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; }
.banner__slide.is-on { opacity: 1; }
.banner__slide.is-pixel { image-rendering: pixelated; }
.banner__shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.85), rgba(0,0,0,.4) 50%, rgba(0,0,0,.15)), linear-gradient(to top, rgba(0,0,0,.8), transparent 50%, rgba(0,0,0,.3)), radial-gradient(ellipse at 20% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.banner__copy { position: absolute; inset: auto var(--gutter) 32px; }
@media (min-width: 768px) { .banner__copy { left: 64px; right: 64px; } }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 14px; color: rgba(255, 255, 255, 0.6); transition: color 0.2s; }
.back:hover { color: #fff; }
.back .ico { transition: transform 0.2s var(--ease); }
.back:hover .ico { transform: translateX(-3px); }
.banner__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 8px; }
.banner__title h1 { margin: 0; font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.banner__title > span { font-family: var(--f-ko); font-size: clamp(16px, 2vw, 26px); line-height: 1; color: rgba(255, 255, 255, 0.46); }
.banner__copy p { max-width: 560px; margin: 0; font-family: var(--f-ko); font-size: clamp(14px, 1.3vw, 17px); color: rgba(255, 255, 255, 0.7); }
.banner__dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.banner__dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.banner__dots button::after { content: ''; width: 22px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.35); transform: scaleX(0.273); transition: transform 0.3s var(--ease), background 0.3s; }
.banner__dots button[aria-current='true']::after { transform: none; background: rgba(255, 255, 255, 0.9); }
.category__rule { display: block; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 60%, transparent), transparent 60%); }
.category__works { padding: 48px var(--gutter) 40px; }
@media (min-width: 768px) { .category__works { padding: 56px 64px 48px; } }
.category__next { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 var(--gutter) 72px; }
@media (min-width: 768px) { .category__next { padding: 0 64px 88px; } }
.category__next .category-btn { flex: 1 1 160px; height: 48px; font-size: 14px; animation: none; }

.works { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .works { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .works { grid-template-columns: repeat(3, 1fr); } }
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 3px 3px 35px -2px rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: background 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.work { position: relative; display: block; min-height: 250px; overflow: hidden; border-radius: 16px; isolation: isolate; }
a.work:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.18); box-shadow: inset 3px 3px 35px -2px rgba(255, 255, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5); transform: translateY(-2px); }
.work__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent 20%, rgba(0,0,0,.15) 42%, #000 78%); mask-image: linear-gradient(90deg, transparent 20%, rgba(0,0,0,.15) 42%, #000 78%); transition: transform 0.7s var(--ease), opacity 0.4s; }
.work__art.is-pixel { image-rendering: pixelated; }
a.work:hover .work__art { transform: scale(1.05); opacity: 0.62; }
.work__icon { position: absolute; right: -18px; bottom: -18px; width: 150px; height: 150px; border-radius: 34px; opacity: 0.55; z-index: -2; transform: rotate(-8deg); transition: transform 0.6s var(--ease), opacity 0.3s; }
.work__mono { position: absolute; right: 16px; bottom: -22px; z-index: -2; font-size: 140px; font-weight: 600; line-height: 1; letter-spacing: -0.06em; color: color-mix(in srgb, var(--accent) 34%, transparent); }
.work__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,18,29,.95), rgba(22,21,27,.72) 50%, rgba(16,17,20,.12)); }
.work__body { display: flex; flex-direction: column; height: 100%; padding: 24px; }
.work__bar { width: 40px; height: 3px; border-radius: 99px; background: var(--accent); margin-bottom: 20px; }
.work__meta { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.work__title { margin: 0 0 8px; font-weight: 500; font-size: 21px; line-height: 1.2; }
.work__desc { margin: 0; max-width: 34ch; font-family: var(--f-ko); font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.68); }
.work__more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.5); transition: color 0.2s, gap 0.2s; }
a.work:hover .work__more { color: rgba(255, 255, 255, 0.88); gap: 12px; }
.work.is-soon .work__more { font-family: var(--f-ko); }

.empty { max-width: 760px; padding: 36px; border-radius: 16px; }
.empty__title { margin: 0 0 8px; font-family: var(--f-ko); font-size: 22px; font-weight: 500; }
.empty__text { margin: 0 0 24px; font-family: var(--f-ko); color: var(--ink-2); }
.empty__links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 99px; background: #fff; color: #000; font-weight: 500; font-size: 14px; font-family: var(--f-ko); transition: background 0.2s, gap 0.2s; }
.pill:hover { background: rgba(255, 255, 255, 0.86); gap: 14px; }
.pill--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.pill--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ── 전체 작품·연락처 ────────────────────────────────────────────── */
.utility { padding-left: var(--gutter); padding-right: var(--gutter); padding-bottom: 64px; }
@media (min-width: 768px) { .utility { padding-left: 56px; padding-right: 56px; } }
.utility::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 78% 20%, rgba(89,51,140,.22), transparent 38%), radial-gradient(ellipse at 18% 60%, rgba(11,89,84,.14), transparent 34%); }
.utility--404 { min-height: calc(100vh - 180px); display: flex; align-items: center; }
.utility__head { max-width: 1360px; margin: 0 auto; padding: 56px 0 48px; }
@media (min-width: 768px) { .utility__head { padding: 88px 0 64px; } }
@media (max-width: 1023px) { .utility__head--split h1 { margin-bottom: 20px; } }
.utility__head--split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .utility__head--split { grid-template-columns: 1.15fr 0.85fr; align-items: end; } }
.utility h1 { margin: 0 0 28px; font-weight: 400; font-size: clamp(48px, 6.4vw, 92px); line-height: 0.92; letter-spacing: -0.045em; }
.utility__head--split h1 { margin: 0; }
.utility__lead { max-width: 30em; margin: 0; font-family: var(--f-ko); font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.66); }
@media (min-width: 768px) { .utility__lead { font-size: 18px; } }
.group { max-width: 1360px; margin: 0 auto 56px; }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.group__head h2 { margin: 0; font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.03em; }
.group__head h2 span { margin-left: 8px; font-family: var(--f-ko); font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, 0.46); }
.group__head a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ko); font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.group__head a:hover { color: #fff; }
.group__empty { margin: 0; font-family: var(--f-ko); color: rgba(255, 255, 255, 0.6); }

.about-note { max-width: 1360px; margin: 0 auto 20px; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(139, 108, 255, 0.4); background: rgba(139, 108, 255, 0.12); font-family: var(--f-ko); font-size: 14px; }
/* 연락처 제목: 프로필 사진 + MUEIL → IL 이 소문자로, lust 가 펼쳐진다. 누르면 인스타그램 */
.who { display: inline-flex; align-items: center; gap: 20px; margin: 0 0 12px; color: #fff; }
.who > span { display: grid; }
.who__pic { width: clamp(64px, 7vw, 104px); height: clamp(64px, 7vw, 104px); border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.2); transition: transform 0.4s var(--ease); }
.who:hover .who__pic { transform: scale(1.04); }
.who__ig { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--f-ko); font-size: 14px; color: rgba(255, 255, 255, 0.62); transition: color 0.2s; }
.who:hover .who__ig { color: #fff; }
.handle { display: inline-flex; align-items: baseline; }
.handle__il { position: relative; display: inline-block; }
.handle__cap, .handle__low { display: inline-block; transition: opacity 0.5s ease, transform 0.7s var(--ease); }
.handle__cap { position: absolute; left: 0; top: 0; white-space: nowrap; }
.handle__low { opacity: 0; transform: translateY(0.25em); }
.handle__rest { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path 0.9s var(--ease); }
.handle__rest > span { display: inline-block; opacity: 0; transform: translateX(-0.3em); transition: opacity 0.6s ease 0.2s, transform 0.8s var(--ease) 0.2s; }
.handle.is-open .handle__cap { opacity: 0; transform: translateY(-0.25em); }
.handle.is-open .handle__low { opacity: 1; transform: none; }
.handle.is-open .handle__rest { clip-path: inset(0 -0.1em 0 0); }
.handle.is-open .handle__rest > span { opacity: 1; transform: none; }
.profiles__group { max-width: 1360px; margin: 0 auto 28px; }
.profiles__title { margin: 0 0 12px; font-family: var(--f-ko); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.55); }
/* 프로필 버튼: 계정으로 나가는 큰 줄 */
.profiles { max-width: 1360px; margin: 0 auto; display: grid; gap: 12px; }
@media (min-width: 640px) { .profiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .profiles { grid-template-columns: repeat(3, 1fr); } }
.profile { display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 24px 26px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.profile .ico { font-size: 26px; color: rgba(255, 255, 255, 0.8); }
.profile .ico:last-child { margin-left: auto; font-size: 18px; color: rgba(255, 255, 255, 0.5); transition: transform 0.25s var(--ease), color 0.25s; }
a.profile:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
a.profile:hover .ico:last-child { transform: translate(2px, -2px); color: #fff; }
.profile.is-off { color: rgba(255, 255, 255, 0.5); border-style: dashed; }
.profile.is-off small { margin-left: auto; font-family: var(--f-ko); font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.45); }
.contact-mail { max-width: 1360px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-ko); font-size: 16px; color: rgba(255, 255, 255, 0.72); }
.contact-mail a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.site-footer { position: relative; z-index: 1; padding: 32px var(--gutter) calc(32px + var(--safe-bottom)); border-top: 1px solid var(--line); background: rgba(8, 8, 9, 0.7); }
@media (min-width: 768px) { .site-footer { padding-left: 56px; padding-right: 56px; } }
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.site-footer__brand { margin: 0; font-weight: 500; font-size: 17px; letter-spacing: 0.18em; }
.site-footer--big { padding-bottom: 0; overflow: hidden; }
.site-footer__word { margin: 40px 0 0; font-weight: 500; font-size: min(280px, calc(156vw / var(--len, 12))); line-height: 0.9; margin-bottom: 0; padding-bottom: 0.02em; letter-spacing: -0.04em; white-space: nowrap; text-align: center; color: rgba(255, 255, 255, 0.92); user-select: none; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.site-footer nav a:hover { color: #fff; }
.site-footer__legal { margin: 0; font-family: var(--f-ko); font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.site-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .lobby__layer, .intro__scene.is-on { animation: none; }
}

[hidden] { display: none !important; }

/* ── 로비 아래 구역 ─────────────────────────────────────────────── */
.brand { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding: clamp(96px, 14vh, 180px) var(--gutter) clamp(48px, 8vh, 96px); }
.brand__line { margin: 0; max-width: 11em; font-weight: 500; font-size: clamp(38px, 6.4vw, 96px); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
/* 형광펜: 단어가 올라온 뒤 밑에서 색이 왼쪽부터 칠해진다 */
.hl { position: relative; z-index: 0; color: inherit; background: none; padding: 0 0.08em; margin: 0 -0.08em; }
.hl::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0.02em; height: 0.5em; background: var(--violet); opacity: 0.9; transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease) 1.3s; }
.brand__you.is-in .hl::before { transform: scaleX(1); }
.brand__you { margin: 0.2em 0 0; font-weight: 500; font-size: clamp(38px, 6.4vw, 96px); line-height: 1.04; letter-spacing: -0.045em; }
.brand__ko { margin: 28px 0 0; font-family: var(--f-ko); font-size: clamp(15px, 1.5vw, 19px); color: rgba(255, 255, 255, 0.6); }
.brand__about { margin-top: clamp(72px, 12vh, 140px); padding-top: 32px; border-top: 1px solid var(--line); }
.brand__intro { margin: 0 0 40px; max-width: 30em; font-family: var(--f-ko); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.45; letter-spacing: -0.01em; text-wrap: pretty; }
.brand__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 28px 20px; }
@media (min-width: 768px) { .brand__points { grid-template-columns: repeat(3, 1fr); } }
.brand__points li { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.brand__points strong { display: block; margin: 0 0 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.brand__points p { margin: 0; max-width: 22em; font-family: var(--f-ko); font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.7); }
/* 공식 수치 (site.config.mjs studio.stats) */
.brand__proof { margin-top: clamp(56px, 8vh, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.brand__proof-title { margin: 0 0 24px; font-family: var(--f-ko); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; }
.brand__stats { margin: 0; display: grid; gap: 20px 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .brand__stats { grid-template-columns: repeat(4, 1fr); } }
.brand__stats div { display: grid; gap: 6px; }
.brand__stats dt { order: 2; font-family: var(--f-ko); font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.brand__stats dd { order: 1; margin: 0; font-size: clamp(40px, 5vw, 72px); font-weight: 500; line-height: 0.95; letter-spacing: -0.04em; }
.brand__stats small { font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.brand__asof { margin: 20px 0 0; font-family: var(--f-ko); font-size: 12px; color: rgba(255, 255, 255, 0.4); }

/* 로비 아래 구역: 큰 제목이 단어 단위로 올라오고, 카드가 스크롤에 맞춰 나타난다 */
.sec { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding: clamp(72px, 10vh, 128px) var(--gutter) clamp(40px, 6vh, 72px); }
.sec__head { display: grid; gap: 12px 32px; align-items: end; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .sec__head { grid-template-columns: auto 1fr auto; margin-bottom: 40px; } }
.sec__head h2 { margin: 0; font-weight: 500; font-size: clamp(56px, 8vw, 128px); line-height: 0.9; letter-spacing: -0.05em; }
.sec__lead { margin: 0; max-width: 34em; font-family: var(--f-ko); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, 0.62); }
@media (min-width: 768px) { .sec__lead { padding-bottom: 6px; } }
.sec__all { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ko); font-size: 14px; color: rgba(255, 255, 255, 0.7); transition: color 0.2s, gap 0.25s; }
.sec__all:hover { color: #fff; gap: 12px; }
@media (min-width: 768px) { .sec__all { padding-bottom: 8px; } }
.updates { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; }
.updates--page { padding: 0 var(--gutter) clamp(72px, 10vh, 120px); }
.updates__list { margin: 0; padding: 0; list-style: none; }
.update { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .update { grid-template-columns: 1fr; gap: 4px; } }
.update__date { font-size: 14px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.55); }
.update__program { display: inline-block; margin-bottom: 4px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.update__title { margin: 0; font-family: var(--f-ko); font-size: 18px; font-weight: 500; }
.update__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.update__text { margin: 6px 0 0; font-family: var(--f-ko); font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.66); }
.updates__empty { padding: 36px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.18); }
.updates__empty-title { margin: 0 0 8px; font-family: var(--f-ko); font-size: 20px; font-weight: 500; }
.updates__empty-text { margin: 0 0 20px; max-width: 34em; font-family: var(--f-ko); color: rgba(255, 255, 255, 0.62); }
.updates__filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 1360px; margin: 0 auto 24px; }
.updates__filters button { height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; font-family: var(--f-ko); font-size: 14px; cursor: pointer; }
.updates__filters button[aria-pressed='true'] { background: #fff; color: #000; border-color: #fff; }
