/* ───────── 디자인 기준값 (색 · 글꼴 · 간격 · 움직임) ───────── */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --dark-bg: #0f0f0f;
  --dark-fg: #f2f2f2;

  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  --fs-s: 12px;
  --fs: 13px;
  --fs-l: 15px;
  --lh: 1.55;

  --pad: 20px;          /* 화면 가장자리 여백 */
  --gap: 10px;          /* 사진 사이 간격 */
  --side: 240px;        /* Production 왼쪽 목록 폭 */
  --header-h: 120px;   /* 로고(84px) + 위아래 여백 */

  --ease: cubic-bezier(.2, .7, .2, 1);
  --fade: 900ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip;
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: var(--fs); line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

/* ───────── 상단 ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--bg);
}
.logo { display: flex; align-items: center; gap: 10px; height: 100%; }
.logo img { height: 84px; width: auto; }   /* 모든 페이지 같은 크기 */
.logo-text { font-size: var(--fs); letter-spacing: .08em; font-weight: 500; }

.nav { display: flex; gap: 22px; }
.nav a { position: relative; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
}
.menu-btn { display: none; font-size: 22px; line-height: 1; width: 32px; height: 32px; }
.header-right { display: flex; align-items: center; gap: 28px; }
.lang { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: var(--fs); }
.lang span { opacity: .5; }
.lang button { color: var(--muted); transition: color .2s; }
.lang button:hover, .lang button[aria-pressed="true"] { color: var(--fg); }
.lang button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 3px; }
.is-landing .lang, .is-landing .lang button { color: rgba(255,255,255,.6); }
.is-landing .lang button:hover, .is-landing .lang button[aria-pressed="true"] { color: #fff; }

/* 원형 커서 */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  opacity: 0; transition: opacity .2s;
}
.cursor::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.cursor { background: transparent; }
.cursor::before { background: #fff; }
.cursor.on { opacity: 1; }
.cursor.big::before { transform: scale(2.4); }
.cursor.press::before { transform: scale(.7); }
.cursor.big.press::before { transform: scale(2); }

/* 어두운 페이지용 (현재 미사용) */
.is-dark { --bg: var(--dark-bg); --fg: var(--dark-fg); --muted: #8c8c8c; --line: #2a2a2a; }
.is-dark .logo img { filter: invert(1); }

/* ───────── 하단 ───────── */

/* ───────── 등장 효과 ───────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── Production 목록 ───────── */
.prod { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 0 var(--pad); padding: 0 var(--pad); }
.index-list { position: sticky; top: var(--header-h); align-self: start; padding-top: 4px; }
.index-list ol { list-style: none; margin: 0; padding: 0; }
.index-list li a { display: flex; justify-content: space-between; gap: 12px; padding: 1px 0; color: var(--fg); transition: opacity .2s; }
.index-list li a span:last-child { color: var(--muted); }
.index-list li a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.index-list.dim li a { opacity: .3; }
.index-list.dim li a.hot { opacity: 1; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding-bottom: 40px; }
.tile { display: block; }
.tile .ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #f1f1f1; cursor: pointer; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s, filter .4s; }
.tile:hover img { transform: scale(1.03); filter: brightness(.6); }
.grid.dim .tile:not(.hot) img, .grid.dim .tile:not(.hot) .empty { opacity: .25; }
/* 호버 시 커서를 따라다니는 작품 제목 */
.hover-title {
  position: absolute; z-index: 2; pointer-events: none;
  color: #fff; font-size: var(--fs-l); white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
  opacity: 0; transition: opacity .25s;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.tile:hover .hover-title { opacity: 1; }
/* 아래 캡션은 마우스가 없는 기기(휴대폰·태블릿)에서만 표시 */
.tile .cap { display: none; justify-content: space-between; gap: 12px; padding: 7px 0 18px; }
.tile .cap small { color: var(--muted); font-size: var(--fs); }
@media (hover: none) {
  .tile .cap { display: flex; }
  .hover-title { display: none; }
  .tile:hover img { transform: none; filter: none; }
}
.empty { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #161616; color: #bbb;
  font-size: var(--fs-l); letter-spacing: .12em; transition: opacity .4s; text-align: center; padding: 12px; }
.empty small { display: block; font-size: var(--fs-s); letter-spacing: 0; color: #777; margin-top: 6px; }

/* ───────── 작품 상세 ───────── */
.work { --w: 1040px; padding: 0 var(--pad); }
.work-tabs {
  display: flex; justify-content: center; gap: 4px 22px; flex-wrap: wrap;
  padding: 26px 0 46px; font-size: var(--fs);
}
.work-tabs a { position: relative; color: var(--muted); white-space: nowrap; transition: color .2s; }
.work-tabs a:hover, .work-tabs a[aria-current="page"] { color: var(--fg); }
.work-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; }
.work-wrap { max-width: var(--w); margin: 0 auto; }
.hero { display: block; width: 100%; cursor: zoom-in; }
.hero img { width: 100%; height: auto; }
.hero.fixed { overflow: hidden; }
.hero.fixed img { height: 100%; object-fit: cover; }   /* 빌더에서 비율을 정한 경우 */
.hero .empty { aspect-ratio: 16 / 9; }

.work-info { padding: 34px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.work-info h1 { font-size: var(--fs-l); font-weight: 600; margin: 0 0 12px; }
.work-info h1 span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.work-info .meta { margin: 0 0 26px; padding-left: 1.1em; color: #444; }
.work-info .body { max-width: 760px; word-break: keep-all; }
.work-info .body p { margin: 0 0 1.1em; }
.work-info .body p.en { color: #555; }
html[lang="en"] .work-info .body p.en { color: inherit; }
.work-info .body p:not(.en) + p.en { margin-top: 2.2em; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding-bottom: 60px; }
.gallery button { display: block; aspect-ratio: 3 / 2; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }

.pager { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 14px 0 0; }
.pager a:nth-child(2) { color: var(--fg); }
.pager a { color: var(--muted); }
.pager a:hover { color: var(--fg); }

/* 사진 크게 보기 */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(255,255,255,.97); display: none; place-items: center; padding: 56px 16px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); object-fit: contain; cursor: default; }
.lightbox button { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; font-size: 30px; line-height: 1; color: var(--fg); border-radius: 50%; transition: background .2s; }
.lightbox button:hover { background: rgba(0,0,0,.06); }
.lb-close { top: max(8px, env(safe-area-inset-top)); right: 8px; }
.lb-prev { left: 8px; top: 50%; margin-top: -24px; }
.lb-next { right: 8px; top: 50%; margin-top: -24px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); margin: 0; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ───────── About ───────── */
.about { padding: 24px var(--pad) 40px; }
.about-sec { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 0 var(--pad); padding: 36px 0 80px; }
.about-sec + .about-sec { border-top: 1px solid var(--line); padding-top: 44px; }
.about-sec .label { font-size: var(--fs); font-weight: 400; color: var(--muted); margin: 0; }
.about-body { max-width: 1040px; }
.about-logo { height: 120px; width: auto; margin-bottom: 28px; }
.about-title { font-size: var(--fs-l); font-weight: 600; margin: 0 0 26px; }
.about .lead {
  font-size: clamp(24px, 3.1vw, 44px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500;
  margin: 0 0 40px; max-width: 900px; word-break: keep-all;
}
.about .text { max-width: 680px; word-break: keep-all; font-size: 14px; line-height: 1.8; }
.about .text p { margin: 0 0 1.2em; }

.person-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; max-width: 1180px; }
.portrait, .portrait.paper { margin: 0; aspect-ratio: 2 / 3; position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.person .name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.01em; margin: 0 0 4px; }
.person .role { color: var(--muted); margin: 0 0 36px; }
.person .quote {
  margin: 0 0 36px; padding: 0; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.4; font-weight: 500;
  letter-spacing: -.01em; word-break: keep-all;
}

/* ───────── Contact ───────── */
.contact { padding: 60px var(--pad) 80px; }
.contact-title { font-size: var(--fs); font-weight: 400; color: var(--muted); margin: 0 0 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.contact-list .row {
  display: grid; grid-template-columns: var(--side) minmax(0, 1fr) auto; gap: 0 var(--pad); align-items: center;
  border-bottom: 1px solid var(--line); padding: 22px 0;
}
.contact-list .k { color: var(--muted); }
.contact-list .v {
  display: inline-flex; align-items: center; gap: .25em; justify-self: start;
  font-size: clamp(26px, 4.4vw, 64px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500;
  word-break: break-all; transition: opacity .2s;
}
.contact-list .v:hover { opacity: .55; }
.contact-list .arr { width: .62em; height: .62em; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease); }
.contact-list .v:hover .arr { transform: translate(3px, -3px); }
.contact-list .copy {
  font-size: var(--fs-s); color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px;
  transition: color .2s, border-color .2s;
}
.contact-list .copy:hover, .contact-list .copy.done { color: var(--fg); border-color: var(--fg); }

/* ───────── Calendar ───────── */
.calendar { padding: 60px var(--pad) 80px; }
.cal-title { font-size: var(--fs); font-weight: 400; color: var(--muted); margin: 0 0 28px; }
.cal-sec { margin-bottom: 64px; }
.cal-sec .label { font-size: var(--fs); font-weight: 500; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--fg); }
.events { list-style: none; margin: 0; padding: 0; }
.ev {
  display: grid; grid-template-columns: minmax(260px, 24%) minmax(0, 1fr) auto; gap: 0 var(--pad); align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.ev .big { display: block; white-space: nowrap; font-size: clamp(28px, 2.9vw, 44px); line-height: 1; letter-spacing: -.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.ev .dash { margin: 0 .12em; }
.ev .times { list-style: none; margin: 10px 0 0; padding: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.ev .title { display: inline-block; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; letter-spacing: -.01em; font-weight: 500; transition: opacity .2s; }
.ev a.title:hover { opacity: .55; }
.ev .ti-en { color: var(--muted); font-weight: 400; }
.ev .venue { margin: 8px 0 0; color: var(--muted); }
.ev .act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 4px; }
.ev:not(.up) .big, .ev:not(.up) .title { color: #6b6b6b; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  border: 1px solid var(--fg); border-radius: 99px; padding: 9px 18px; font-size: var(--fs);
  transition: background .2s, color .2s;
}
.btn .arr { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn:hover, .btn.solid { background: var(--fg); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--fg); }
.tag { font-size: var(--fs-s); color: var(--muted); white-space: nowrap; }
.none { padding: 40px 0 10px; }
.none-msg { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.01em; font-weight: 500; margin: 0 0 10px; }
.none-sub { color: var(--muted); margin: 0; }
.none-sub a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 2px; }
.none-sub .arr { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ───────── Dance Film ───────── */
.films { padding: 60px var(--pad) 80px; }
.films-title { font-size: var(--fs); font-weight: 400; color: var(--muted); margin: 0 0 28px; }
.films .none-msg { font-size: clamp(20px, 2vw, 28px); font-weight: 500; margin: 0; padding: 40px 0; border-top: 1px solid var(--fg); }
.film-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); }
.film-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.film-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .3s; }
.film-play:hover img { transform: scale(1.03); filter: brightness(.7); }
.film-play .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 1px solid #fff; }
.film-play .play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.film-play iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-info { padding-top: 12px; }
.film-info h2 { display: inline; font-size: var(--fs-l); font-weight: 600; margin: 0; }
.film-info .year { color: var(--muted); margin-left: 8px; }
.film-info p { margin: 8px 0 0; color: #444; max-width: 560px; word-break: keep-all; }
.film-link { display: inline-block; margin-top: 8px; color: var(--muted); }
.film-link:hover { color: var(--fg); }

/* ───────── 준비 중 페이지 ───────── */
.placeholder { padding: 18vh var(--pad); color: var(--muted); }
.placeholder h1 { font-size: var(--fs-l); font-weight: 500; color: var(--fg); margin: 0 0 6px; }

/* ───────── 랜딩 ───────── */
.is-landing { --bg: #0d0d0d; --fg: #f4f2ee; --muted: #9a958e; --line: #2a2a2a; }
.is-landing .site-header { background: transparent; position: fixed; left: 0; right: 0; z-index: 60; }
.is-landing .logo img { filter: invert(1); }
.is-landing .nav a { color: rgba(255,255,255,.72); }
.is-landing .nav a:hover { color: #fff; }
.landing { flex: none; position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #0d0d0d; color: #fff; }

/* 슬라이드 */
.slides { position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--word-h, 22vw) + 6px); overflow: hidden; }   /* 사진은 하단 글자 위쪽까지만 */
.slide {
  position: absolute; inset: 0; display: block;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s 1.1s;
}
.slide.on { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.on img { transform: scale(1); }
.slides::after {                                    /* 글자가 잘 보이도록 위·아래 어둡게 */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 22%, transparent 62%, rgba(0,0,0,.5));
}

.slide-info {
  position: absolute; left: var(--pad); z-index: 5;
  bottom: calc(var(--word-h, 22vw) + 26px);
  max-width: 420px; font-size: var(--fs); line-height: 1.5;
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s;
}
.slide-info.in { opacity: 1; transform: none; }
.slide-info strong { font-weight: 600; font-size: var(--fs-l); }
.slide-info span { color: rgba(255,255,255,.7); margin-left: 4px; }
.slide-info small { display: block; color: rgba(255,255,255,.7); font-size: var(--fs); }
.slide-info .more { display: inline-block; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }

.slide-prev, .slide-next {
  position: absolute; top: 50%; z-index: 5; width: 54px; height: 54px; margin-top: -27px;
  display: grid; place-items: center; color: #fff; opacity: .8; transition: opacity .2s, transform .2s;
}
.slide-prev { left: calc(var(--pad) - 14px); }
.slide-next { right: calc(var(--pad) - 14px); }
.slide-prev:hover, .slide-next:hover { opacity: 1; }
.slide-prev:hover { transform: translateX(-3px); }
.slide-next:hover { transform: translateX(3px); }
.slide-prev svg, .slide-next svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.slide-count {
  position: absolute; right: var(--pad); z-index: 5; margin: 0;
  bottom: calc(var(--word-h, 22vw) + 26px);
  font-size: var(--fs); color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums;
}

/* 하단 큰 글자: 한 글자씩 */
.big-word {
  position: absolute; left: var(--pad); bottom: 0; z-index: 4; margin: 0;
  display: flex; white-space: nowrap; pointer-events: none;
  font-family: "Helvetica Neue", "Arial Black", Arial, sans-serif; font-weight: 700;
  font-size: 22vw; line-height: .78; letter-spacing: -.045em; color: #fff;
  padding-bottom: .02em;
}
.big-word .ch { display: block; overflow: hidden; padding-top: .06em; }
.big-word .ch > span {
  display: block; opacity: 0; transform: translateY(100%);
  transition: transform .9s cubic-bezier(.2, .8, .1, 1), opacity .5s ease;
}
.big-word.in .ch > span { transform: none; opacity: 1; }
.big-word.static .ch > span { transition: none; }

/* 랜딩 아래 섹션 (About · Production · Calendar · Contact) */
.is-landing .site-header { transition: background .35s, padding .35s; }
.is-landing .site-header.scrolled { background: rgba(13,13,13,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.home-sections { color: var(--fg); }
.home-sec { padding: 110px var(--pad) 20px; }
.home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.home-head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.home-more { color: var(--muted); white-space: nowrap; transition: color .2s; }
.home-more:hover { color: var(--fg); }
.home-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; border-top: 1px solid var(--line); padding-top: 32px; }
.home-about .lead { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.32; letter-spacing: -.02em; font-weight: 500; margin: 0; word-break: keep-all; }
.home-about .text { color: rgba(255,255,255,.72); line-height: 1.8; font-size: 14px; word-break: keep-all; }
.home-about .text p { margin: 0; }
.home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 0; }
.home-grid .tile .ph { background: #1a1a1a; }
.home-sections .calendar-like, .home-cal .cal-sec:last-child { margin-bottom: 0; }
.home-sections .ev:not(.up) .big, .home-sections .ev:not(.up) .title { color: rgba(255,255,255,.6); }
.home-sec:last-child { padding-bottom: 40px; }

/* ───────── 종이 질감 필터 (랜딩 사진) ───────── */
.paper { overflow: hidden; }
.paper:not(.slide) { position: relative; }
.paper img { filter: contrast(.84) brightness(1.1) saturate(.72) sepia(.14); }
.paper::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 58%, rgba(120, 100, 80, .16) 100%),
    url("../img/texture/paper.svg") center / 360px 360px;
  mix-blend-mode: soft-light; opacity: .75;
}
.paper::before {                                     /* 종이 결이 어두운 부분에도 살짝 보이도록 */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: url("../img/texture/paper.svg") center / 360px 360px;
  mix-blend-mode: screen; opacity: .1;
}

/* ───────── 태블릿 · 모바일 ───────── */
@media (max-width: 1024px) {
  :root { --side: 180px; }
}
@media (max-width: 860px) {
  :root { --pad: 16px; --header-h: 86px; }
  .logo img { height: 60px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--pad) 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 9px 0; font-size: var(--fs-l); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"]::before { content: "— "; }

  .prod { grid-template-columns: minmax(0, 1fr); }
  .index-list { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .work-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 14px 0 22px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); }
  .work-tabs::-webkit-scrollbar { display: none; }
  .gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pager a:nth-child(2) { display: none; }
  .about-sec { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-bottom: 56px; }
  .about-logo { height: 84px; }
  .person-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .portrait, .portrait.paper { position: relative; top: 0; max-width: 420px; }
  .contact { padding-top: 36px; }
  .contact-list .row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 18px 0; }
  .contact-list .k { grid-column: 1 / -1; }
  .contact-list .email .v { font-size: clamp(18px, 6.2vw, 30px); word-break: normal; }
  .calendar { padding-top: 36px; }
  .ev { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .ev .act { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
  .header-right { gap: 16px; }
  .film-list { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .films { padding-top: 36px; }
  .home-sec { padding-top: 72px; }
  .home-head { margin-bottom: 22px; }
  .home-about { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-grid .tile .cap { display: flex; }
}
/* ───────── About 탭 ───────── */
.about-head { font-size: var(--fs); font-weight: 400; color: var(--muted); margin: 0 0 18px; }
.about-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.about-tabs button { position: relative; padding: 10px 0 14px; font-size: clamp(18px, 2vw, 26px); font-weight: 600; letter-spacing: -.01em; color: #b5b5b5; transition: color .2s; }
.about-tabs button:hover, .about-tabs button[aria-selected="true"] { color: var(--fg); }
.about-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--fg); }
.about-panel { padding-bottom: 80px; }
.about-panel .about-body { max-width: 1040px; }
.about-panel .about-title { font-size: var(--fs-l); font-weight: 600; margin: 0 0 26px; }
.about-panel .portrait { margin: 0; aspect-ratio: 2 / 3; position: relative; overflow: hidden; }
.about-panel .portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ───────── Works 목록 ───────── */
.works { padding: 24px var(--pad) 60px; }
.works-title { font-size: var(--fs); font-weight: 400; color: var(--muted); margin: 0 0 18px; }
.wfilters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.wf { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.wf button { position: relative; padding: 6px 0; color: var(--muted); font-size: var(--fs-l); transition: color .2s; }
.wf button:hover, .wf button[aria-pressed="true"] { color: var(--fg); }
.wf button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; }
.wf-label { color: var(--muted); font-size: var(--fs-s); margin-right: -6px; }
.wyear { padding-top: 34px; }
.wyear-num { margin: 0 0 18px; font-size: clamp(56px, 8vw, 120px); line-height: .9; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.wcard { display: block; }
.wcard .ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #f1f1f1; }
.wcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; }
.wcard:hover .ph img { transform: scale(1.03); filter: brightness(.6); }
.wcard-cap { padding-top: 10px; }
.wcard-cap strong { font-size: var(--fs-l); font-weight: 600; }
.wcard-cap em { font-style: normal; color: var(--muted); margin-left: 6px; }
.wtags { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wtags span { font-size: var(--fs-s); color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 9px; }
.wempty { padding: 60px 0; color: var(--muted); font-size: var(--fs-l); }
@media (hover: none) { .wcard .hover-title { display: none; } .wcard:hover .ph img { transform: none; filter: none; } }

/* ───────── 작품 상세 ───────── */
.work-page { padding: 18px var(--pad) 60px; }
.work-page .work { max-width: 1200px; margin: 0 auto; padding: 0; }
.wd-head { margin-bottom: 24px; }
.wd-kicker { margin: 0 0 14px; color: var(--muted); }
.wd-kicker a:hover { color: var(--fg); }
.wd-head h1 { margin: 0; font-size: clamp(30px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; word-break: keep-all; }
.wd-en { margin: 8px 0 0; font-size: clamp(17px, 1.6vw, 22px); color: var(--muted); }
.wd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.wd-tags span { font-size: var(--fs-s); border: 1px solid var(--fg); padding: 3px 10px; }
.wd-tags .tag-touring { background: var(--fg); color: var(--bg); }

/* 사진은 원본 비율 그대로 (자르거나 배경을 채우지 않음) */
.wd-slider { position: relative; width: 100%; }
.wd-track { position: relative; }
.wd-slide { position: absolute; left: 0; right: 0; top: 0; margin: 0; opacity: 0; transition: opacity .6s ease; display: flex; justify-content: center; }
.wd-slide.on { position: relative; opacity: 1; z-index: 1; }
.wd-slide img { display: block; max-width: 100%; width: auto; height: auto; max-height: 86vh; }
.wd-dots { display: flex; flex-wrap: wrap; gap: 2px; }
.wd-dots button { width: 22px; height: 22px; display: grid; place-items: center; }
.wd-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #cfcfcf; transition: background .2s, transform .2s; }
.wd-dots button[aria-current="true"]::before { background: var(--fg); transform: scale(1.25); }
.wd-count { margin-left: 12px; font-variant-numeric: tabular-nums; }

.wd-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; padding: 44px 0 20px; }
.wd-side { background: #f3f3f2; padding: 22px 24px 26px; }
.wd-side h2, .wd-sec h2, .wd-structure h2, .wd-video h2 { font-size: var(--fs); font-weight: 600; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--fg); }
.wd-side h2 + dl { margin-bottom: 28px; }
.wd-side dl { margin: 0; }
.wd-side dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 14px; }
.wd-side dl div { display: contents; }
.wd-side dl dt, .wd-side dl dd { padding: 4px 0; }
.wd-side dt { font-weight: 600; white-space: nowrap; }
.wd-side dd { margin: 0; word-break: keep-all; }
.wd-facts dt, .wd-facts dd { border-bottom: 1px solid #e1e0dd; padding: 7px 0; }
.wd-tagline { margin: 0 0 24px; font-size: clamp(20px, 2vw, 28px); line-height: 1.4; font-weight: 600; letter-spacing: -.015em; word-break: keep-all; }
.wd-body { font-size: 15px; line-height: 1.85; word-break: keep-all; }
.wd-body p { margin: 0 0 1.1em; }
.wd-structure { margin-top: 26px; }
.wd-structure p { margin: 0; line-height: 1.8; word-break: keep-all; }
.wd-video { margin-top: 30px; }
.wd-video-play, .wd-video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.wd-video-play img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.wd-video-play:hover img { filter: brightness(.7); }
.wd-video-play .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; border: 1px solid #fff; background: rgba(0,0,0,.25); }
.wd-video-play .play::after { content: ""; position: absolute; left: 27px; top: 22px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.wd-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.wd-sec { padding-top: 40px; }
.wd-history, .wd-techlist { margin: 0; }
.wd-history div, .wd-techlist div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.wd-history dt { font-weight: 600; font-variant-numeric: tabular-nums; }
.wd-techlist dt { color: var(--muted); }
.wd-history dd, .wd-techlist dd { margin: 0; word-break: keep-all; }
.wd-quotes blockquote { margin: 0 0 18px; }
.wd-quotes p { margin: 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; line-height: 1.5; word-break: keep-all; }
.wd-quotes cite { display: block; margin-top: 4px; font-style: normal; color: var(--muted); }
.wd-tech-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wd-tech-head h2 { flex: 1; }
.wd-tech-btn { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wd-tech-note { color: var(--muted); font-size: var(--fs-s); }
.wd-pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--fg); }
.wd-pager a { color: var(--muted); transition: color .2s; }
.wd-pager a:hover { color: var(--fg); }
.wd-pager a:nth-child(2) { color: var(--fg); }

@media (max-width: 1024px) {
  .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .about-tabs { gap: 22px; margin-bottom: 30px; }
  .wfilters { flex-direction: column; }
  .wf button { padding: 11px 0; }
  .wyear { padding-top: 26px; }
  .wd-slider { aspect-ratio: 4 / 3; }
  .wd-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 30px; }
  .wd-history div, .wd-techlist div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wd-pager { flex-wrap: wrap; }
  .wd-pager a { padding: 12px 0; }
}
@media (max-width: 600px) {
  .wgrid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ───────── 모바일 최적화 ───────── */
.site-header { transition: transform .3s var(--ease), background .35s; }
@media (max-width: 860px) {
  /* 글자: 본문 15px, 보조 13px 이상 */
  :root { --fs: 15px; --fs-s: 13px; --fs-l: 17px; }
  .about .text, .home-about .text { font-size: 15px; }

  /* 아래로 스크롤하면 상단 숨김 (site.js) */
  .site-header.hdr-hide { transform: translateY(-100%); }

  /* 터치 영역 44px 이상 (보이는 크기는 그대로) */
  .header-right { gap: 2px; }
  .lang { gap: 0; }
  .lang button { min-width: 38px; min-height: 44px; }
  .menu-btn { width: 44px; height: 44px; margin-right: -10px; font-size: 24px; }
  .nav a { padding: 12px 0; }
  .home-more { padding: 12px 0; margin: -12px 0; }
  .pager a { padding: 12px 0; }
  .btn { min-height: 44px; }
  .slide-info a { display: inline-block; padding: 6px 0; }
  .lang button { min-width: 44px; }
  .ev .title { padding: 10px 0; margin: -10px 0; }
  .contact-list .v { padding: 8px 0; }
  .contact-list .copy { min-height: 44px; padding: 0 16px; }

  /* 작품 상세: 상단 작품 탭 — 누르기 쉽게, 오른쪽 흐림으로 더 있다는 표시 */
  .work-tabs { padding-top: 4px; padding-bottom: 14px;
    -webkit-mask-image: linear-gradient(to right, #000 78%, transparent); mask-image: linear-gradient(to right, #000 78%, transparent); }
  .work-tabs a { padding: 12px 0; }
  .work-tabs a[aria-current="page"]::after { bottom: 6px; }

  /* Calendar: 날짜와 제목을 한 줄에 */
  .ev { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "date what" "times times" "act act"; gap: 6px 16px; align-items: baseline; padding: 20px 0; }
  .ev .when { display: contents; }
  .ev .big { grid-area: date; font-size: 26px; }
  .ev .times { grid-area: times; margin: 0; font-size: 14px; }
  .ev .what { grid-area: what; }
  .ev .title { font-size: 19px; }
  .ev .venue { margin-top: 2px; font-size: 14px; }
  .ev .act { grid-area: act; margin-top: 8px; }

  /* 랜딩 섹션 간격 */
  .home-sec { padding-top: 56px; }

  /* 아이폰 하단 홈바 영역 */
}
/* 태블릿 세로: Production 목록 2열 */
@media (min-width: 600px) and (max-width: 860px) {
  .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px var(--gap); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* About: 글 왼쪽 · 사진 오른쪽, 안무가 사진은 선명한 톤으로 */
.about-panel .person-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.about-panel .portrait img { filter: contrast(1.08) saturate(1.1) brightness(1.03); }
@media (max-width: 860px) {
  .about-panel .person-grid { grid-template-columns: minmax(0, 1fr); }
  .about-panel .portrait { order: -1; }
}

/* ───────── 하단 (모든 페이지) ───────── */
.site-footer { background: #0d0d0d; color: #e9e7e3; padding: 56px var(--pad) calc(24px + env(safe-area-inset-bottom)); font-size: var(--fs); }
.site-footer a { color: inherit; }
.ft-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--pad); padding-bottom: 40px; }
.ft-col h2 { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid #3a3a3a; font-size: var(--fs); font-weight: 600; color: #fff; }
.ft-col p { margin: 0 0 8px; color: #a9a6a1; line-height: 1.6; }
.ft-col p span { display: block; font-size: var(--fs-s); color: #77746f; }
.ft-col p a { color: #e9e7e3; }
.ft-col nav, nav.ft-col { display: flex; flex-direction: column; }
nav.ft-col a { padding: 3px 0; color: #a9a6a1; transition: color .2s; }
nav.ft-col a:hover, .ft-col p a:hover { color: #fff; }
.ft-btn { display: inline-block; margin-top: 4px; color: #fff !important; border-bottom: 1px solid #fff; padding-bottom: 1px; }
.ft-sns { display: flex; gap: 6px; margin-top: 10px !important; }
.ft-sns a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #3a3a3a; border-radius: 50%; transition: border-color .2s; }
.ft-sns a:hover { border-color: #fff; }
.ft-sns svg, .sns-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ft-sns svg .fill, .sns-icon svg .fill { fill: currentColor; stroke: none; }
.ft-biz { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 16px; border-top: 1px solid #2a2a2a; font-size: 11px; color: #77746f; }
@media (max-width: 860px) {
  .ft-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  nav.ft-col a { padding: 8px 0; }
  .ft-sns a { width: 44px; height: 44px; }
}
@media (max-width: 520px) { .ft-top { grid-template-columns: minmax(0, 1fr); } }

/* ───────── 작품 카드 (Works · 메인 공용) ───────── */
.wcard-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; }
.wcard-title strong { font-size: var(--fs-l); font-weight: 600; word-break: keep-all; }
.wcard-year { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.wcard-sub { margin: 2px 0 0; color: var(--muted); }
.wtags .t-touring { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.home-sections .wtags .t-touring { background: #f4f2ee; color: #111; border-color: #f4f2ee; }
.home-sections .wcard .ph { background: #1a1a1a; }
.home-grid { padding-bottom: 0; border-bottom: 0; }

/* ───────── 작품 상세 슬라이드 (화살표 아래 양 끝, 점 가운데, 작가는 사진 오른쪽 아래) ───────── */
.wd-slider-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding-top: 12px; }
.wd-prev, .wd-next { width: 56px; height: 44px; display: grid; place-items: center; color: var(--fg); transition: transform .2s; }
.wd-prev:hover { transform: translateX(-4px); } .wd-next:hover { transform: translateX(4px); }
.wd-prev svg, .wd-next svg { width: 40px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.wd-dots { justify-content: center; align-items: center; }
.wd-count { margin-left: 10px; color: var(--muted); font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.wd-poster { display: block; width: 100%; margin: 0 0 24px; cursor: zoom-in; }
.wd-poster img { width: 100%; height: auto; }

/* ───────── 메인: 쇼릴 영상 · 다가오는 공연 ───────── */
.reel { position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--word-h, 22vw) + 6px); width: 100%; height: calc(100% - var(--word-h, 22vw) - 6px); object-fit: cover; z-index: 0; }
.reel ~ .slides { display: none; }
.cal-month h3 { margin: 0; padding: 18px 0 8px; font-size: var(--fs-l); font-weight: 500; border-bottom: 1px solid currentColor; }
.cal-month ul { list-style: none; margin: 0; padding: 0; }
.cal-month li { display: grid; grid-template-columns: 9em minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cm-date { color: var(--muted); font-variant-numeric: tabular-nums; }
.cm-title { font-weight: 600; }
.cm-venue { color: var(--muted); }
.cm-book { text-decoration: underline; text-underline-offset: 3px; }
.home-cal .none-msg { font-size: clamp(20px, 2vw, 28px); font-weight: 500; margin: 0; padding: 10px 0; }
@media (max-width: 860px) { .cal-month li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ───────── Pro area ───────── */
.pro { padding: 24px var(--pad) 80px; max-width: 1100px; }
.pro-head h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 56px); letter-spacing: -.03em; font-weight: 600; }
.pro-lead { margin: 0 0 14px; font-size: var(--fs-l); color: #444; max-width: 640px; word-break: keep-all; }
.pro-links { display: flex; gap: 20px; margin: 0 0 36px; }
.pro-links a { text-decoration: underline; text-underline-offset: 3px; }
.pro-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.pro-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pro-title a { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; }
.pro-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pro-title span { display: block; color: var(--muted); margin-top: 2px; }
.pro-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--fg); font-size: var(--fs); white-space: nowrap; transition: background .2s, color .2s; }
a.pro-btn:hover { background: var(--fg); color: var(--bg); }
.pro-btn.off { border-color: var(--line); color: #b5b5b5; cursor: default; }
.pro-btn em { font-style: normal; font-size: var(--fs-s); }
@media (max-width: 860px) { .pro-item { grid-template-columns: minmax(0, 1fr); } .pro-btn { min-height: 44px; } }

/* ───────── Projects ───────── */
.projects { padding: 24px var(--pad) 80px; }
.pj-title { font-size: var(--fs); font-weight: 400; color: var(--muted); margin: 0 0 14px; }
.pj-nav { display: flex; gap: 24px; margin-bottom: 30px; }
.pj-nav a { font-size: var(--fs-l); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.pj-sec { border-top: 1px solid var(--fg); padding: 28px 0 56px; }
.pj-head h2 { margin: 0 0 8px; font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.03em; font-weight: 600; word-break: keep-all; }
.pj-head p { margin: 0; color: #444; font-size: var(--fs-l); max-width: 680px; word-break: keep-all; }
.pj-stats { margin: 22px 0 10px; background: #f3f3f2; padding: 16px 20px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; }
.pj-year { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pj-year h3 { margin: 0; font-size: clamp(28px, 3vw, 44px); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.pj-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.pj-card { border: 1px solid var(--line); padding: 14px 16px; min-height: 70px; }
.pj-card strong { display: block; font-size: var(--fs-l); }
.pj-card span { color: var(--muted); font-size: var(--fs-s); }
.pj-empty, .pj-muted { color: var(--muted); }
.pj-link, .pj-works a { display: inline-block; margin-top: 18px; margin-right: 16px; text-decoration: underline; text-underline-offset: 3px; }
.pj-works h3 { margin: 22px 0 0; font-size: var(--fs); }
.pj-text { margin: 20px 0; max-width: 680px; line-height: 1.8; word-break: keep-all; }
.pj-info { margin: 0; border-top: 1px solid var(--line); }
.pj-info div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pj-info dt { font-weight: 600; }
.pj-info dd { margin: 0; }
.pj-info a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .pj-year { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* ───────── Journal · 모든 레터 ───────── */
.journal { padding: 24px var(--pad) 80px; }
.jn-title { margin: 0 0 26px; font-size: clamp(30px, 4vw, 56px); letter-spacing: -.03em; font-weight: 600; }
.jn-title span { font-size: .45em; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 10px; }
.jn-cols { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 48px; border-top: 1px solid var(--fg); padding-top: 26px; }
.jn-date { margin: 0 0 8px; color: var(--muted); font-variant-numeric: tabular-nums; }
.jn-article h2 { margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -.02em; font-weight: 600; word-break: keep-all; }
.jn-article p { max-width: 720px; line-height: 1.85; word-break: keep-all; }
.jn-article img { width: 100%; max-width: 900px; height: auto; margin: 10px 0 20px; }
.jn-archive h2 { margin: 0 0 10px; font-size: var(--fs); font-weight: 600; }
.jn-archive ol { list-style: none; margin: 0; padding: 0; }
.jn-archive a { display: block; padding: 5px 0; color: var(--muted); }
.jn-archive a[aria-current="page"], .jn-archive a:hover { color: var(--fg); }
.jn-muted { color: var(--muted); margin: 0; }
.jn-sub { margin-top: 60px; background: #f3f3f2; padding: 30px 28px; max-width: 760px; }
.jn-sub h2 { margin: 0 0 6px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.jn-sub > p { margin: 0 0 20px; color: #444; }
.jn-form { display: grid; gap: 14px; }
.jn-field span { display: block; font-size: var(--fs-s); color: var(--muted); margin-bottom: 4px; }
.jn-field input { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cfcfcf; background: #fff; }
.jn-field input:focus { outline: none; border-color: var(--fg); }
.jn-consent { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-s); color: #555; line-height: 1.6; }
.jn-consent input { margin-top: 3px; accent-color: var(--fg); width: 16px; height: 16px; flex: none; }
.jn-form .btn { justify-self: start; }
.jn-msg { margin: 0; min-height: 1.4em; color: #c0392b; font-size: var(--fs-s); }
@media (max-width: 860px) { .jn-cols { grid-template-columns: minmax(0, 1fr); gap: 30px; } .jn-sub { padding: 24px 18px; } }
.wd-video-link { display: inline-block; margin-top: 8px; color: var(--muted); font-size: var(--fs-s); }
.wd-video-link:hover { color: var(--fg); }
/* 휴대폰: 크레딧은 역할(한 줄) 아래에 이름 */
@media (max-width: 600px) {
  .wd-side dl { grid-template-columns: minmax(0, 1fr); }
  .wd-side dl dt { padding: 8px 0 0; }
  .wd-side dl dd { padding: 0 0 6px; }
  .wd-facts dt { border-bottom: 0; }
}
.jn-note { margin: 14px 0 0; color: var(--muted); font-size: var(--fs-s); }
/* Works › Series: 시리즈 이름 */
.wseries-name { margin: 0 0 16px; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.03em; word-break: keep-all; }
.wseries-name span { display: inline; margin: 0 0 0 8px; font-size: .6em; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* ───────── 모바일 보강 (리뉴얼 페이지) ───────── */
@media (max-width: 860px) {
  nav.ft-col a { padding: 11px 0; }
  .ft-btn, .ft-col p a { display: inline-block; padding: 10px 0; }
  .ft-biz { font-size: 12px; gap: 6px 16px; }
  .pro-links a, .pj-nav a, .pj-link, .pj-works a, .pj-info a, .cm-book, .wd-kicker a, .wd-video-link, .jn-archive a { display: inline-block; padding: 11px 0; }
  .pro-title a { display: inline-block; padding: 8px 0; }
  .pro-btn { flex: 1 1 auto; justify-content: center; }
  .wf button { padding: 12px 6px; }
  .wf { gap: 4px 14px; }
  .wd-dots button { width: 26px; height: 32px; }
  .wd-slide img { max-height: 70vh; }
  .wd-tagline { font-size: 20px; }
  .wseries-name span { display: block; margin: 4px 0 0; }
  .pj-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .jn-sub .btn { width: 100%; justify-content: center; }
  .cal-month li { padding: 12px 0; }
  .about-panel .portrait { max-width: none; }
}
@media (max-width: 400px) { .pj-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .wd-dots { flex-wrap: nowrap; }
  .wd-dots button { width: 18px; height: 36px; flex: none; }
  .wd-count { margin-left: 6px; white-space: nowrap; }
  .wd-prev, .wd-next { width: 44px; }
  .pro-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .pro-btn { padding: 0 6px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.25; }
  .pro-btn em { display: none; }
}
/* 휴대폰: 작품 상세는 작품 설명 → 작품 정보·크레딧 순서 */
@media (max-width: 860px) { .wd-cols .wd-main { order: -1; } }
/* Journal: 편지 아이콘 */
.jn-empty h2 { display: flex; align-items: center; gap: 12px; }
.jn-icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
/* Projects 탭 */
.pj-nav button { position: relative; padding: 8px 0; font-size: var(--fs-l); color: var(--muted); transition: color .2s; }
.pj-nav button:hover, .pj-nav button[aria-selected="true"] { color: var(--fg); }
.pj-nav button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; }
/* 휴대폰: 안무가 사진 크기 */
@media (max-width: 860px) {
  .about-panel .portrait, .about-panel .portrait.paper { max-width: 240px; aspect-ratio: 3 / 4; }
  .pj-nav button { padding: 11px 0; }
}

/* Works 메뉴: Pro area 링크 (버튼과 같은 모양) */
.wf .wf-link { padding: 6px 0; color: var(--muted); font-size: var(--fs-l); transition: color .2s; }
.wf .wf-link:hover { color: var(--fg); }
@media (max-width: 860px) {
  .wf .wf-link { padding: 12px 6px; }
  /* 모바일 홈: Contact 섹션 빼고, 작품 카드 다음 Modeun Letter → Contact 만 */
  .is-landing .home-sec-contact { display: none; }
  .is-landing .ft-top > nav.ft-col, .is-landing .ft-top > .ft-col:last-child { display: none; }
}

/* 모바일 작품 상세 순서: 설명·영상 → 이력 → 평론 → 관객평 → 작품 정보·크레딧 → 테크라이더 */
@media (max-width: 860px) {
  .wd-flow { display: flex; flex-direction: column; }
  .wd-flow > .wd-cols { display: contents; }
  .wd-flow .wd-main { order: 1; }
  .wd-flow .wd-hist { order: 2; }
  .wd-flow .wd-rev { order: 3; }
  .wd-flow .wd-aud { order: 4; }
  .wd-flow .wd-side { order: 5; margin-top: 48px; }
  .wd-flow .wd-tech { order: 6; }
}
/* 모바일 안무가 사진: 얼굴 중심으로 가로형 크롭 → 이름·역할이 첫 화면에 함께 보이게 */
@media (max-width: 860px) {
  .about-panel .portrait, .about-panel .portrait.paper { width: 100%; max-width: 360px; aspect-ratio: 4 / 3; }
  .about-panel .portrait img { object-position: 50% 22%; }
  .about-panel .person-grid { gap: 20px; }
}
/* 모든 컴퍼니 로고 더 크게 */
.about-logo { height: 170px; }
@media (max-width: 860px) { .about-logo { height: 120px; } }
.wd-video-fail { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-decoration: underline; font-size: var(--fs); }

/* 하단 인스타·유튜브: 왼쪽 정렬, 동그라미 안 아이콘 정가운데 (모바일 링크 여백 규칙 덮어쓰기) */
.ft-col .ft-sns { justify-content: flex-start; gap: 10px; }
.ft-col .ft-sns a { display: grid; place-items: center; padding: 0; line-height: 0; }

/* ───────── 모바일 메인(세로 화면): 사진은 화면 가득, MODEUN 은 가운데 ─────────
   되돌리기: 이 블록을 지우면 예전(하단 글자) 모습. 백업 tools/backup-2026-12-02/ */
@media (max-width: 860px) and (orientation: portrait) {
  .landing .slides { bottom: 0; }
  .landing .slides::after {   /* 가운데 글자·하단 작품 정보가 잘 보이도록 */
    background:
      radial-gradient(120% 45% at 50% 50%, rgba(0,0,0,.38), transparent 70%),
      linear-gradient(to bottom, rgba(0,0,0,.45), transparent 20%, transparent 62%, rgba(0,0,0,.65));
  }
  .landing .big-word {
    top: 50%; bottom: auto; width: max-content;
    transform: translateY(-50%);
    text-shadow: 0 2px 30px rgba(0,0,0,.25);
  }
  /* 작품 정보: 왼쪽 아래 / 넘기기: 오른쪽 아래에 한 줄로 */
  .landing .slide-info { bottom: calc(28px + env(safe-area-inset-bottom)); right: 110px; }
  .landing .slide-count { bottom: calc(43px + env(safe-area-inset-bottom)); right: calc(var(--pad) + 40px); }
  .landing .slide-prev, .landing .slide-next { top: auto; margin-top: 0; width: 44px; height: 44px;
    bottom: calc(30px + env(safe-area-inset-bottom)); }
  .landing .slide-prev { left: auto; right: calc(var(--pad) + 34px); }
  .landing .slide-next { right: calc(var(--pad) - 10px); }
  .landing .slide-prev svg, .landing .slide-next svg { width: 22px; height: 22px; }
}
