@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
* { box-sizing: border-box; }
body { margin: 0; color: #232323; background: #fff; font-family: Roboto, Arial, "Malgun Gothic", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #676767; outline-offset: 5px; }
.header { height: 64px; position: relative; z-index: 2; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid #eee; background: #fff; }
.home { position: relative; isolation: isolate; min-height: max(calc(100svh + 220px), 70.3vw); display: flex; flex-direction: column; }
.home::before { position: absolute; z-index: -1; inset: 0; content: ""; background: url("/assets/home.png") center top / cover no-repeat; opacity: .35; }
.home .header { position: fixed; inset: 0 0 auto; color: #464646; background: none; border: 0; }
.home .header::before { content: ""; position: absolute; inset: 0 0 -25%; z-index: -1; pointer-events: none; background: linear-gradient(rgb(255 255 255 / 92%) 45%, rgb(255 255 255 / 0%)); }
/* 2026-11-29: 왼쪽 위 이름을 홈 로고와 같은 영문 표기로, 메뉴와 같은 DM Sans 300 (이전 '이승연 작가' 22px 700) */
.brand { font-family: "DM Sans", Arial, sans-serif; font-size: 22px; font-weight: 300; white-space: nowrap; letter-spacing: 0; color: #464646; }
nav { position: absolute; left: 51%; transform: translateX(-50%); display: flex; align-items: center; gap: 32px; white-space: nowrap; font-size: 17px; font-weight: 600; }
.home nav { font-family: "DM Sans", Arial, sans-serif; font-weight: 300; font-size: 19px; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-button { display: none; }
.home main { flex: 1; }
/* 홈: 버튼 없이 로고만, 첫 화면 가운데(헤더 높이만큼 아래).
   로고 폭을 46vw(최대 860px)로 해서 오른쪽 금붕인(보라 코트) 얼굴을 정면으로 가리지 않게 함(살짝 닿는 정도). */
.hero { position: relative; display: grid; place-items: center; min-height: 100svh; padding-top: 64px; text-align: center; }
.hero h1 { width: min(46vw, 860px); margin: 0 auto; }
.hero h1 img { width: 100%; height: auto; }
footer { text-align: center; color: #666; padding: 32px 16px; font-size: 13px; }
.home footer { padding-bottom: 120px; font-weight: 600; }
.page { width: min(1150px, calc(100% - 64px)); margin: 0 auto; padding: 70px 0 60px; min-height: calc(100svh - 144px); }
.page h1 { text-align: center; margin: 0 0 60px; font-size: clamp(34px, 5vw, 56px); font-weight: 500; }
.page h1 small { display: block; font-size: 18px; font-weight: 400; margin-top: 14px; }
.subtle-link { text-decoration: underline; text-underline-offset: 4px; }
.portfolio .header { position: sticky; top: 0; height: 58px; }
.portfolio nav { left: calc(50% + 12px); font-weight: 400; }
.page.portfolio-page { width: auto; padding: 48px 20px 64px; }
.portfolio-page > h1 { margin: 0 0 50px; text-align: left; font-family: "DM Sans", Arial, sans-serif; font-size: clamp(30px, 3vw, 40px); font-weight: 300; }
.portfolio-years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.portfolio-year-tile { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; aspect-ratio: 3 / 2; }
.portfolio-year-tile img, .collection-cover img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portfolio-year-tile .portfolio-cover-fallback { opacity: .35; }
.portfolio-year { font-family: "DM Sans", Arial, sans-serif; font-weight: 300; letter-spacing: .06em; color: #000; }
.portfolio-year-tile .portfolio-year { font-size: clamp(56px, 8vw, 144px); }
.page.collection-page { padding: 22px 0 52px; }
.go-back { display: inline-flex; align-items: center; min-height: 44px; margin: 0 44px 14px; font-size: 15px; }
.go-back:hover { text-decoration: underline; }
.collection-strip { display: flex; gap: clamp(28px, 5vw, 94px); overflow-x: auto; padding: 0 44px 22px; scrollbar-color: #ccc #f7f7f7; }
.collection-cover, .artwork { flex: 0 0 clamp(280px, 27vw, 530px); min-width: 0; }
.collection-cover { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; gap: 14px; height: clamp(310px, 67vh, 610px); padding: 30px; overflow: hidden; }
.collection-cover img { opacity: .37; }
.collection-cover h1 { text-align: left; margin: 0; font-size: clamp(46px, 6vw, 86px); font-weight: 300; }
.collection-cover p { margin: 0; text-align: right; font-size: 14px; color: #555; }
.artwork { display: block; margin: 0; }
.artwork-preview { position: relative; display: grid; place-items: center; height: clamp(300px, 65vh, 590px); padding: 20px 16px 35px; }
.artwork img { width: 100%; height: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
.artwork-photo-count { position: absolute; bottom: 8px; right: 10px; padding: 6px 10px; background: #f3f3f3; color: #555; border-radius: 20px; font-size: 12px; }
.artwork-caption { padding: 16px 0; border-top: 1px solid #e6e6e6; }
.artwork-caption h2 { margin: 0 0 5px; font-size: 16px; font-weight: 500; }
.artwork-caption p { margin: 0; color: #646464; line-height: 1.55; font-size: 13px; }
.artwork-view .header, .artwork-view > footer { display: none; }
.page.artwork-page { margin: 0; padding: 0; max-width: none; width: 100%; }
.art-detail { position: fixed; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #fff; }
.art-detail-top { display: flex; align-items: center; gap: 10px; padding: 4px 16px; border-bottom: 1px solid #e6e6e6; }
.art-detail-top h1 { margin: 0; text-align: left; font-size: 16px; font-weight: 600; }
.art-detail-close { display: grid; place-items: center; width: 44px; height: 44px; font-size: 27px; line-height: 1; font-weight: 300; }
.art-detail-strip { --frame-width: min(49vw, 720px); display: flex; gap: clamp(18px, 3vw, 52px); overflow-x: auto; overflow-y: hidden; padding: 20px calc((100% - var(--frame-width)) / 2); scroll-snap-type: x proximity; scrollbar-color: #ccc #f7f7f7; }
@media (any-pointer: fine) {
  .art-detail-strip.can-drag { cursor: grab; scroll-snap-type: none; user-select: none; }
  .art-detail-strip.is-dragging { cursor: grabbing; }
}
.art-detail-frame { display: grid; place-items: center; flex: 0 0 var(--frame-width); min-width: 0; margin: 0; scroll-snap-align: center; }
.art-detail-frame img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.art-detail-info { position: relative; padding: 16px 126px calc(16px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid #e6e6e6; background: #fff; }
.art-detail-info strong { font-size: 16px; font-weight: 600; }
.art-detail-info p { margin: 5px 0 0; color: #595959; font-size: 14px; line-height: 1.4; }
/* 오른쪽 아래는 Netlify 배지(약 197×64px)가 덮으므로 이전·다음 버튼은 왼쪽에 둔다 */
.art-detail-controls { position: absolute; top: 50%; left: 18px; transform: translateY(-50%); display: flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.art-detail-controls button { width: 38px; height: 40px; border: 0; border-radius: 50%; background: #f3f3f3; font-size: 23px; cursor: pointer; }
.art-detail-controls button:disabled { opacity: .35; cursor: default; }
.art-detail-count { min-width: 40px; font-size: 12px; white-space: nowrap; }
.artist-statement .header { position: sticky; top: 0; border: 0; }
.artist-statement nav { left: calc(50% + 14px); font-weight: 400; }
/* 작가노트 (2026-11-29 개편): 다른 페이지처럼 제목 한 줄(가는 DM Sans) 뒤 바로 본문.
   섹션은 이력 페이지와 같은 '제목 칸 280px | 본문' 배치, 본문 줄 길이는 읽기 좋게 720px까지. */
.page.statement-page { width: 100%; padding: 48px 32px 80px; color: #050505; }
.statement-intro { max-width: 1180px; margin: 0 auto 50px; }
.statement-intro h1 { margin: 0; text-align: left; font-family: "DM Sans", Arial, sans-serif; font-size: clamp(30px, 3vw, 40px); line-height: 1.2; font-weight: 300; }
.statement-reading { max-width: 1180px; margin: 0 auto; }
.statement-section { display: grid; grid-template-columns: 280px minmax(0, 720px); column-gap: 40px; padding: 40px 0 72px; border-top: 2px solid #999; align-items: start; }
.statement-section h2 { margin: 0; font-family: "DM Sans", Arial, sans-serif; font-size: clamp(28px, 2.6vw, 34px); font-weight: 300; line-height: 1.2; }
.statement-copy { padding-top: 6px; font-size: 16px; line-height: 1.5; }
.statement-copy:lang(ko) { letter-spacing: -.035em; }
.statement-copy p { margin: 0; }
.statement-copy p + p { margin-top: 16px; }
.statement-critic h3 { margin: 0 0 28px; font-size: 18px; font-weight: 400; }
.statement-copy .critic-byline { margin-top: 28px; text-align: right; }
.cv-rows { display: grid; grid-template-columns: minmax(64px, max-content) 1fr; gap: 10px 16px; margin: 15px 0 30px; }
.cv-rows dt { font-weight: 600; }
.cv-rows dd { margin: 0; }
.cv-rows dd div + div { margin-top: 4px; }
.resume { color: #050505; }
.resume .header { position: sticky; top: 0; height: 58px; border: 0; }
.resume nav { left: calc(50% + 15px); font-weight: 400; }
.page.resume-page { width: 100%; padding: 0; }
/* 이력 페이지 (2026-11-29 개편): 사진만(높이 2/3), 모든 구간 흰 바탕, 가는 제목,
   제목 칸을 좁혀 내용이 화면 왼쪽부터 넓게 오도록, 모든 목록이 '연도 | 내용' 한 형식 */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.resume-intro { position: relative; height: clamp(306px, 49svh, 546px); overflow: hidden; isolation: isolate; background: #252525; }
.resume-portrait { position: absolute; z-index: -1; inset: 0; width: 100%; height: 112%; max-width: none; object-fit: cover; object-position: center 48%; }
.resume-band { padding: 64px 32px 0; background: #fff; }
.resume-band:last-child { padding-bottom: 96px; }
.resume-band-inner { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; column-gap: 40px; align-items: start; border-top: 2px solid #999; padding-top: 40px; }
.resume-band h2 { margin: 0; font-family: "DM Sans", Arial, sans-serif; font-size: clamp(28px, 2.6vw, 34px); font-weight: 300; line-height: 1.2; }
.resume-band-copy { margin-top: 6px; }
.resume-band h3 { margin: 0; color: #666; font-family: "DM Sans", Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 24px; }
.resume-band .cv-rows { margin: 0; grid-template-columns: 96px 1fr; gap: 34px 16px; font-size: 16px; line-height: 24px; }
.resume-band h3 + .cv-rows { margin-top: 24px; }
.resume-band .cv-rows + h3 { margin-top: 72px; }
.resume-band .cv-rows dd div + div { margin: 8px 0 0; }
.resume-band .cv-rows dt { font-weight: 700; }
.schedule .header { height: 58px; padding-inline: 20px; border: 0; }
.schedule nav { left: calc(50% + 14px); font-weight: 400; }
/* 일정 페이지 (2026-11-29 개편): 흰 바탕, 포트폴리오와 같은 가는 제목, 전시 한 건 = 2px 선 아래 한 줄.
   전시명은 행사 페이지, 장소는 지도 링크. 링크 밑줄만 홈의 분홍(title-pink). */
.page.schedule-page { width: min(1180px, calc(100% - 40px)); min-height: calc(100svh - 58px); padding: 48px 0 96px; color: #232323; }
.schedule-page > h1 { margin: 0 0 50px; text-align: left; font-family: "DM Sans", Arial, sans-serif; font-size: clamp(30px, 3vw, 40px); font-weight: 300; }
.schedule-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name date" "name place"; align-items: baseline; gap: 6px 40px; padding: 28px 0 32px; border-top: 2px solid #999; }
.schedule-item:last-child { border-bottom: 2px solid #999; }
.schedule-upcoming { margin: 0; padding: 28px 0 32px; border-top: 2px solid #999; font-size: 16px; line-height: 1.5; color: #666; }
.schedule-section { margin: 56px 0 16px; color: #666; font-family: "DM Sans", Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 24px; }
.schedule-item h3 { grid-area: name; margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; line-height: 1.3; letter-spacing: -.035em; }
.schedule-date { grid-area: date; margin: 0; font-size: 16px; line-height: 1.5; text-align: right; }
.schedule-place { grid-area: place; margin: 0; font-size: 16px; line-height: 1.5; text-align: right; }
.schedule-item a { text-decoration: underline; text-decoration-color: #ffafaf; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.schedule-item a:hover { text-decoration-color: currentColor; }
.contact .header { position: sticky; top: 0; border: 0; padding-inline: 20px; }
.contact nav { left: calc(50% + 12px); font-weight: 400; }
.page.contact-page { width: 100%; padding: 0 24px 126px; color: #050505; text-align: center; }
.contact-intro { display: grid; place-items: center; padding: clamp(64px, 11svh, 104px) 0 64px; }
/* 2026-11-29: 제목·연락처를 포트폴리오 제목과 같은 DM Sans 300으로(이전 Arial Black 900) */
.contact-intro h1, .contact-info { font-family: "DM Sans", Arial, sans-serif; font-weight: 300; }
.contact-intro h1 { margin: 0; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.contact-content { width: min(684px, 100%); margin-inline: auto; border-top: 2px solid #555; }
.contact-info { display: grid; justify-items: center; gap: 22px; padding-top: 60px; font-size: clamp(16px, 1.9vw, 21px); line-height: 1.4; }
.contact-info span { max-width: 100%; overflow-wrap: anywhere; }
.contact-social, .contact-shops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; align-items: center; width: min(492px, 100%); margin-inline: auto; }
.contact-social { height: 64px; margin-top: 56px; color: #464646; }
.contact-instagram { width: 88px; height: 88px; position: relative; display: block; border: 8px solid currentColor; border-radius: 27px; }
.contact-instagram::before { content: ""; position: absolute; inset: 14px; border: 7px solid currentColor; border-radius: 50%; }
.contact-instagram::after { content: ""; position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
/* 2026-11-29: 유튜브도 선만 있는 아이콘(인스타그램과 같은 8px 선), 색은 charcoal */
.contact-youtube { width: 102px; height: 72px; position: relative; display: block; border: 8px solid currentColor; border-radius: 23px; }
.contact-youtube::after { content: ""; position: absolute; inset: 0; margin: auto; width: 24px; height: 26px; transform: translateX(3px); background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.contact-shops { width: 100%; grid-template-columns: repeat(2, minmax(0, 246px)); justify-content: center; margin-top: 50px; padding-top: 53px; border-top: 2px solid #555; align-items: stretch; }
.contact-shop { display: grid; grid-template-rows: 127px auto; justify-items: center; align-items: center; gap: 13px; width: 100%; color: #282828; font-size: 20px; font-weight: 700; }
.contact-shop-logo { width: min(236px, 100%); }
/* 판매처 로고: 여백을 잘라낸 파일로 눈에 보이는 크기를 맞춤(넓은 글자형은 낮게, 덩어리형은 높게) */
.contact-restart-logo { width: auto; max-width: 100%; height: 40px; }
.contact-marpple { width: auto; max-width: 100%; height: 52px; }
.contact-instagram, .contact-youtube { scale: .47; }
.contact-shop:hover span { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 1100px) {
}
@media (max-width: 850px) {
  .header { padding: 0 18px; }
  .menu-button { margin-left: auto; padding: 9px; display: grid; gap: 4px; border: 0; background: transparent; cursor: pointer; }
  .menu-button span { display: block; width: 23px; height: 2px; background: currentColor; }
  nav { display: none; left: 0; right: 0; top: 64px; transform: none; flex-direction: column; gap: 0; align-items: stretch; background: #fff; color: #232323; box-shadow: 0 4px 9px #0002; }
  nav.open { display: flex; }
  nav a { padding: 13px 24px; }
  .portfolio nav { left: 0; top: 58px; }
  .portfolio-years { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resume nav { left: 0; top: 58px; }
  .resume-band-inner { grid-template-columns: 1fr; padding-top: 30px; }
  .resume-band-copy { margin-top: 28px; }
  .schedule nav { left: 0; top: 58px; }
  .artist-statement nav { left: 0; }
  .statement-section { grid-template-columns: 1fr; }
  .contact nav { left: 0; }
  .hero { min-height: 100svh; padding-top: 64px; }
  .hero h1 { width: min(77vw, 540px); }
}
@media (max-width: 570px) {
  /* 폰 세로 화면: 홈을 한 화면에 맞춘다(스크롤 없음). 배경 그림도 화면 높이에 맞춰 덜 확대됨 */
  .home { min-height: 100svh; }
  .home::before { background-position: center; }
  .home main { display: flex; }
  .hero { flex: 1; min-height: 0; padding-top: 0; }
  .hero h1 { width: 86%; }
  /* 휴대폰에서는 푸터 글씨를 Netlify 배지(아래 64px) 위로 올린다 */
  footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .home footer { padding: 0 16px calc(78px + env(safe-area-inset-bottom)); }
  .page { width: calc(100% - 36px); padding-top: 45px; }
  .page h1 { margin-bottom: 36px; }
  .page.portfolio-page { padding: 28px 12px 42px; }
  .portfolio-page > h1 { margin-bottom: 25px; }
  .portfolio-year-tile .portfolio-year { font-size: clamp(43px, 12vw, 74px); }
  .page.collection-page { padding-inline: 0; }
  .go-back { margin-inline: 18px; }
  .collection-strip { padding-inline: 18px; gap: 22px; }
  .artwork { flex-basis: 78vw; }
  .collection-cover { flex-basis: auto; padding: 0 0 30px; }
  .collection-cover p { text-align: left; }
  .page.artwork-page { padding: 0; }
  .art-detail-strip { --frame-width: 79vw; gap: 14px; padding-block: 10px; }
  .art-detail-info { padding: 12px 16px calc(7px + env(safe-area-inset-bottom)); }
  .art-detail-info p { font-size: 13px; }
  .art-detail-controls { position: static; transform: none; justify-content: flex-start; margin-top: 18px; }
  .resume-intro { height: 45svh; min-height: 240px; }
  .resume-portrait { object-position: center 47%; }
  .resume-band { padding: 44px 22px 0; }
  .resume-band:last-child { padding-bottom: 64px; }
  .resume-band h2 { font-size: 28px; }
  .resume-band-copy { margin-top: 24px; }
  .resume-band .cv-rows { grid-template-columns: 84px 1fr; row-gap: 28px; column-gap: 10px; line-height: 22px; }
  .resume-band .cv-rows dd div + div { margin-top: 9px; }
  .resume-band .cv-rows + h3 { margin-top: 52px; }
  .page.schedule-page { width: calc(100% - 24px); padding: 28px 0 64px; }
  .schedule-page > h1 { margin-bottom: 25px; }
  .schedule-item { grid-template-columns: 1fr; grid-template-areas: "name" "date" "place"; gap: 4px; padding: 22px 0 24px; }
  .schedule-item h3 { font-size: 22px; margin-bottom: 6px; }
  .schedule-upcoming { padding: 22px 0 24px; }
  .schedule-section { margin-top: 40px; }
  .schedule-date, .schedule-place { text-align: left; }
  .page.statement-page { padding: 28px 12px 64px; }
  .statement-intro { margin-bottom: 25px; }
  .statement-intro h1 { font-size: 30px; }
  .statement-section { padding: 30px 0 52px; }
  .statement-section h2 { font-size: 28px; }
  .statement-copy { padding-top: 24px; }
  .statement-critic h3 { margin-bottom: 20px; }
  .page.contact-page { padding: 0 22px 70px; }
  .contact-intro { padding: 48px 0 38px; }
  .contact-intro h1 { font-size: 30px; }
  .contact-info { padding-top: 36px; gap: 14px; font-size: 16px; line-height: 1.4; }
  .contact-social { height: 48px; margin-top: 36px; }
  .contact-instagram, .contact-youtube { scale: .4; }
  .contact-shops { margin-top: 35px; padding-top: 25px; }
  .contact-shop { grid-template-rows: 94px auto; font-size: 16px; }
  .contact-restart-logo { height: 32px; }
  .contact-marpple { height: 42px; }
}

/* 복사 방지: 글자 선택·사진 끌기·길게 눌러 저장 막기. 연락처(.allow-copy)는 예외 */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-user-drag: none; }
.allow-copy, .allow-copy * { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
