/* 창조회 회원 작가 사이트 — 시안 v0 (2026-10-12)
   틀 = White Cube 실측(docs/WhiteCube_전환지도_2026-10-12.md) · 코드 · 색 이름 · 글꼴은 우리 것
   글자는 장년층 기준: 본문 16px 이상 · 캡션 15px 이상 · 누르는 곳 48px 이상 · 기본 굵기 400(?w=300 으로 레퍼 굵기와 견줌) */
:root {
  --ink: #161616;
  --ink-2: #4a4a48;
  --line: #dcdcda;
  --wall: #f6f6f5;          /* 작품 칸 바탕 — 레퍼 실측 rgb(246,246,245) */
  --paper: #ffffff;
  --side: 60px;             /* PC 좌우 여백 — 실측 60 */
  --w: 400;                 /* 기본 굵기 */
  --w-strong: 600;
  --head: 143px;            /* 머리줄 높이 — 실측 143(PC) */
}
html[data-weight="300"] { --w: 300; --w-strong: 500; }
@media (max-width: 767px) { :root { --side: 32px; --head: 120px; } }   /* 86 → 120: 로고 아래 글을 15px로 키운 뒤 제목과 17px 겹침(10-12 S모루 발견) */   /* 폰 여백 · 머리줄 — 실측 32 · 86 */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: var(--w); font-size: 17px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 시안 표시 — 고정 */
.sian-badge {
  position: fixed; left: 12px; bottom: 12px; z-index: 60; background: #fff7d6; color: #5b4a00;
  border: 1px solid #e3cf7a; font-size: 13px; padding: 4px 10px; border-radius: 4px;
}
.sian-badge a { margin-left: 8px; }
@media (max-width: 767px) { .sian-badge { bottom: auto; top: 8px; left: 8px; font-size: 12px; } }

/* 머리줄 — PC: 왼쪽 메뉴 · 가운데 이름 · 오른쪽 메뉴 */
.top {
  height: var(--head); padding: 0 var(--side); display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
}
.top nav { display: flex; gap: 28px; padding-top: 52px; }
.top nav.r { justify-content: flex-end; }
.top nav { gap: 12px; }
.top nav a { text-decoration: none; font-size: 16px; padding: 12px 8px; min-width: 48px; text-align: center; }
.top nav:not(.r) { margin-left: -8px; } .top nav.r { margin-right: -8px; }
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.logo { justify-self: center; padding-top: 54px; text-align: center; text-decoration: none; letter-spacing: .32em; font-size: 17px; font-weight: var(--w-strong); }
.logo small { display: block; letter-spacing: .08em; font-size: 15px; font-weight: var(--w); color: var(--ink-2); margin-top: 4px; }   /* 12 → 15px(장년층 캡션 기준 · 10-12 S모루 지적) */
@media (max-width: 767px) {
  .top { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .logo { padding-top: 48px; }   /* 시안 표시와 14px 띄움(10-12 6px이라 한 번 겹침으로 잡힘) */
}

/* 폰 메뉴 — 아래 가운데 동그란 단추(실측) · 56px */
.menu-btn {
  display: none; position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
@media (max-width: 767px) { .menu-btn { display: block; } }
.menu-sheet {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: #fff; padding: 96px 32px 120px;
  display: flex; flex-direction: column; gap: 4px;
}
.menu-sheet[hidden] { display: none; }
.menu-sheet a { font-size: 28px; text-decoration: none; padding: 10px 0; }
.menu-sheet .close { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid #fff; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }

/* ── 작가 목록 ── */
.list-head { padding: 0 var(--side); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-title { margin: 0; font-weight: var(--w); font-size: clamp(33px, 3.5vw, 50px); line-height: 1.1; letter-spacing: -0.02em; }
.search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); min-height: 48px; }
.search input { border: 0; outline: 0; font: inherit; font-size: 17px; padding: 10px 0; width: 14em; background: transparent; }
.search svg { flex: none; }
.genres { padding: 20px var(--side) 0; display: flex; flex-wrap: wrap; gap: 8px; }
.genres button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-size: 16px; cursor: pointer; }
.genres button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 이름 목록 6단(PC만 — 실측: 단 폭 204 · 단 사이 16 · 위→아래로 채움) */
.names { margin: 48px var(--side) 0; padding: 0 0 72px; column-count: 6; column-gap: 16px; list-style: none; border-bottom: 1px solid var(--line); }
.names li { break-inside: avoid; }
.names a { display: block; padding: 12px 0; text-decoration: none; font-size: 18px; line-height: 1.33; }
.names a:hover, .names a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.names .soon { color: #9a9a96; }
@media (max-width: 1023px) { .names { column-count: 4; } }
@media (max-width: 767px) { .names { display: none; } }

/* 작품 격자(실측: 회색 바탕 · PC 5열 203px 정사각 · 칸 사이 73/81 · 폰 2열 147 · 32/40) */
.wall { background: var(--wall); padding: 80px var(--side) 120px; margin-top: 0; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 73px; row-gap: 56px; }
.card a { display: block; text-decoration: none; }
.card .ph { aspect-ratio: 1 / 1; background: #e7e7e4; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .nm { margin-top: 14px; font-size: 18px; line-height: 1.35; }
.card .gn { font-size: 15px; color: var(--ink-2); }
.card.soon .ph { display: grid; place-items: center; color: #8a8a86; font-size: 15px; }
.card.soon .nm { color: #8a8a86; }
.card a:hover .nm, .card a:focus-visible .nm { text-decoration: underline; text-underline-offset: 5px; }
.empty { padding: 40px 0; font-size: 18px; }
@media (max-width: 1279px) { .cards { grid-template-columns: repeat(4, 1fr); column-gap: 48px; } }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(3, 1fr); column-gap: 40px; } }
@media (max-width: 767px) { .wall { padding: 40px var(--side) 120px; } .cards { grid-template-columns: repeat(2, 1fr); column-gap: 32px; row-gap: 40px; } .card .nm { font-size: 17px; } }

/* ── 작가 한 명 ── */
.hero { background: var(--wall); padding: 96px var(--side); display: grid; grid-template-columns: 1fr minmax(0, 643px); gap: 48px; align-items: center; min-height: 638px; }
.hero .who h1 { margin: 0; font-weight: var(--w); font-size: clamp(32px, 3vw, 44px); line-height: 1.15; letter-spacing: -0.01em; }
.hero .who .en { margin-top: 8px; letter-spacing: .14em; font-size: 15px; color: var(--ink-2); }
.hero .who .meta { margin-top: 18px; font-size: 16px; }
.hero figure { margin: 0; position: relative; }
.hero figure > button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.hero figcaption { position: absolute; right: -34px; bottom: 0; writing-mode: vertical-rl; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1023px) { .hero figcaption { position: static; writing-mode: horizontal-tb; margin-top: 10px; } }
@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; padding: 36px var(--side) 40px; min-height: 0; gap: 24px; }
  .hero figure { order: -1; }
}

.intro { padding: 72px var(--side); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 276px minmax(0, 760px); }
.intro p { margin: 0; font-size: 20px; line-height: 1.7; }
.intro .from { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.links a, .links button { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: var(--w-strong); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
@media (max-width: 767px) { .intro { grid-template-columns: 1fr; padding: 40px var(--side); } .intro p { font-size: 19px; } }

/* 왼쪽 이름 칸 + 오른쪽 내용 — 레퍼의 되풀이 틀(왼쪽 60~336 · 내용 336~) */
.sec { padding: 72px var(--side); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 276px 1fr; }
.sec > header h2 { margin: 0; font-weight: var(--w); font-size: 26px; line-height: 1.4; }
.sec > header .more { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-size: 16px; font-weight: var(--w-strong); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
@media (max-width: 767px) {
  .sec { grid-template-columns: 1fr; padding: 40px var(--side); }
  .sec > header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
  .sec > header .more { margin-top: 0; }
}

/* 작품 2열(폰 1열) · 원본 비율 · 처음 4점 */
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 127px; row-gap: 72px; max-width: 1029px; }
.works li[hidden] { display: none; }
.works button { display: block; width: 100%; padding: 7%; background: var(--wall); border: 0; cursor: zoom-in; }
.works .cap { margin-top: 14px; text-align: center; font-size: 16px; }
.works .cap a, .works .cap button.t { text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; padding: 0 8px; cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; min-height: 48px; width: auto; }
.works .cap .m { font-size: 15px; color: var(--ink-2); }
@media (max-width: 767px) { .works { grid-template-columns: 1fr; row-gap: 40px; } }

/* 연락처 띠(레퍼의 문의 띠 자리) */
.contact { display: grid; grid-template-columns: 1fr 809px; min-height: 360px; border-bottom: 1px solid var(--line); }
.contact .txt { background: var(--wall); padding: 56px var(--side); }
.contact h2 { margin: 0 0 18px; font-weight: var(--w); font-size: 26px; }
.contact dl { margin: 0; display: grid; grid-template-columns: 4.5em 1fr; gap: 8px 12px; font-size: 17px; }
.contact dt { color: var(--ink-2); }
.contact dd { margin: 0; }
.contact dd a { display: inline-flex; align-items: center; min-height: 48px; margin: -14px 0; }
.contact .pic { overflow: hidden; }
.contact .pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1279px) { .contact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .contact { grid-template-columns: 1fr; } .contact .pic { order: -1; aspect-ratio: 4 / 3; } .contact .txt { padding: 36px var(--side); } }

/* 첫 화면 왼쪽: 프로필 사진(원본 비율 · 자르지 않음) 옆에 이름 — 배우님 10-12 「하현주 텍스트 옆에 · 원래의 크기로 최대한」
   PC 사진 높이 = 오른쪽 대표작 높이 근처(최대 520px) · 이름은 사진 오른쪽 아래 */
.hero .who { display: flex; align-items: flex-end; gap: 32px; }
.hero .who .prof { margin: 0; flex: none; background: #ecece9; }
.hero .who .prof img { height: clamp(260px, 36vw, 520px); width: auto; max-width: none; }
.hero .who .nm { padding-bottom: 4px; min-width: 0; }
.hero .who .site { display: inline-flex; align-items: center; min-height: 48px; margin-top: 10px; font-size: 16px; font-weight: var(--w-strong); text-decoration: underline; text-underline-offset: 5px; }
.hero .who h1 { white-space: nowrap; }
.hero .prof.empty { width: 220px; aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; border: 1px dashed #c9c9c5; color: #6b6b68; font-size: 15px; line-height: 1.5; }
.hero .prof.empty small { font-size: 15px; }
@media (max-width: 1279px) { .hero { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1023px) { .hero .who { gap: 20px; } .hero .who .prof img { height: clamp(240px, 34vw, 340px); } }
@media (max-width: 767px) { .hero { grid-template-columns: 1fr; } .hero .who { align-items: flex-end; gap: 20px; } .hero .who .prof img { height: 260px; } .hero .prof.empty { width: 120px; font-size: 13px; } .hero .prof.empty small { display: none; } }
.cv h3 { margin: 0 0 8px; font-size: 15px; font-weight: var(--w-strong); letter-spacing: .04em; color: var(--ink-2); }
.cv .grp + .grp { margin-top: 32px; }
.cv ul { list-style: none; margin: 0; padding: 0; }
.cv li { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 17px; }
.cv li .y { color: var(--ink-2); }
.cv .grp.fold li:nth-child(n+7) { display: none; }
.cv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; max-width: 1029px; }
@media (max-width: 1023px) { .cv-cols { grid-template-columns: 1fr; } }

/* 회원 전체 보기 띠 */
.to-all { display: block; padding: 72px var(--side); background: var(--ink); color: #fff; text-decoration: none; }
.to-all strong { display: block; font-weight: var(--w); font-size: clamp(26px, 2.6vw, 39px); }
.to-all span { display: inline-flex; margin-top: 12px; gap: 8px; font-size: 17px; }

/* 바닥글 */
.foot { padding: 56px var(--side) 120px; font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* 작품 창(라이트박스) — PC: 왼쪽 큰 그림 · 오른쪽 좁은 칸 / 폰: 세로로 쌓기 */
.lb { position: fixed; inset: 0; z-index: 70; background: var(--paper); display: grid; grid-template-columns: 1fr 500px; }
.lb[hidden] { display: none; }
.lb .stage { position: relative; display: grid; place-items: center; padding: 56px; min-height: 0; }
.lb .stage img { max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; object-fit: contain; }
.lb .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; font-size: 22px; }
.lb .nav.prev { left: 16px; } .lb .nav.next { right: 16px; }
.lb .side { background: var(--wall); padding: 72px 56px; overflow: auto; }
.lb .side .a { font-size: 26px; line-height: 1.3; }
.lb .side .t { margin-top: 6px; font-size: 22px; font-weight: var(--w-strong); line-height: 1.4; }
.lb .side .m { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; }
.lb .side .count { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.lb .thumbs { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lb .thumbs button { padding: 0; border: 2px solid transparent; background: #e7e7e4; aspect-ratio: 1; cursor: pointer; overflow: hidden; min-height: 48px; }
.lb .thumbs button[aria-current="true"] { border-color: var(--ink); }
.lb .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb .x { position: absolute; top: 16px; right: 16px; width: 56px; height: 56px; border: 0; background: transparent; font-size: 32px; cursor: pointer; z-index: 2; }
@media (max-width: 767px) {
  .lb { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; overflow: auto; }
  .lb .stage { padding: 0 var(--side); place-items: start; order: 2; }
  .lb .stage img { max-height: 60vh; }
  .lb .nav { display: none; }
  .lb .side { background: var(--paper); padding: 72px var(--side) 12px; order: 1; }
  .lb .side .m, .lb .side .count, .lb .thumbs { display: none; }
  .lb .after { order: 3; padding: 20px var(--side) 40px; font-size: 16px; }
}
@media (min-width: 768px) { .lb .after { display: none; } }

/* 소개 쪽 */
.about-lead { margin: 16px var(--side) 0; font-size: 18px; color: var(--ink-2); }
.greet { max-width: 760px; }
.greet p { margin: 0 0 1.1em; font-size: 18px; line-height: 1.8; }
.greet .sign { margin-top: 2em; text-align: right; color: var(--ink-2); }
.hist { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.hist li { display: grid; grid-template-columns: 6.5em 8.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 17px; }
.hist .n, .hist .d { color: var(--ink-2); }
@media (max-width: 767px) { .hist li { grid-template-columns: 5.5em 1fr; } .hist .p { grid-column: 2; } .greet p { font-size: 17px; } }

/* 작품 사진이 아직 없는 회원(도록 명단에서 옮긴 회원) */
.hero.solo { grid-template-columns: 1fr; min-height: 0; }
.none { margin: 0; font-size: 17px; color: var(--ink-2); }
.card.nowork .ph { display: grid; place-items: center; color: #8a8a86; font-size: 15px; }
.card.nowork .ph.face { position: relative; display: block; }
.card.nowork .ph.face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.card.nowork .ph .tag { position: absolute; left: 0; bottom: 0; padding: 4px 8px; background: rgba(255,255,255,.88); color: #4a4a48; font-size: 13px; }
.cv li .y:empty { display: none; }
.cv li:has(.y:empty) { grid-template-columns: 1fr; }

/* 그림이 들어올 때 0.4초 페이드(끄는 스위치: html[data-fade="0"]) */
.fade { opacity: 0; transition: opacity .4s ease; }
.fade.in, html[data-fade="0"] .fade { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transition: none; } }
