:root {
  color-scheme: light;
  --ink: #171612;
  --muted: #68655e;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: #e6e6e6;
  --clay: #8faebd;
  --moss: #6f8794;
  --night: #223047;
  --gold: #bd8b45;
  --shadow: 0 18px 45px rgba(34, 48, 71, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

.icon-mark,
.text-link::after,
.section-link::after,
.past-card::after,
.artist-list-link::after,
.current-exhibition-copy::after,
.detail-navigation a::before,
.detail-navigation span::after,
.artist-slider-next span,
.footer-info > :first-child::before,
.footer-info a[href^="mailto:"]::before,
.footer-instagram::before,
.footer-info a[href$="about.html"]::before,
.visit-address::before,
.visit-hours::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: currentColor;
  content: "";
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 42px rgba(34, 48, 71, 0.14);
  backdrop-filter: blur(26px) saturate(1.35);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
}


.brand {
  display: inline-flex;
  align-items: center;
  width: 106px;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 28px);
  color: var(--ink);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.lang-switch {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.lang-switch a[aria-current="page"] {
  color: var(--ink);
}

.mobile-menu-toggle {
  display: none;
}

.home-lead {
  position: relative;
  width: 100%;
  /* 인덱스 히어로: 화면 전체 높이(100vh). dvh 지원 브라우저는 주소창 변화까지 반영 */
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 116px clamp(20px, 6vw, 80px) clamp(64px, 8vw, 96px);
  background: var(--surface);
  overflow: hidden;
}

.home-slider,
.home-image {
  position: absolute;
  inset: 0;
}

.home-slider {
  overflow: hidden;
}

.home-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: homeSlide 15s infinite;
}

.slide-two {
  animation-delay: 5s;
}

.slide-three {
  animation-delay: 10s;
}

@keyframes homeSlide {
  0% {
    opacity: 0;
  }

  8%,
  33% {
    opacity: 1;
  }

  41%,
  100% {
    opacity: 0;
  }
}

.home-text {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #000000;
}

.home-text h1 {
  max-width: 11ch;
  color: #000000;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(32px, 5vw, 70px);
  font-weight: 400;
}

.home-text .subtitle,
.home-text .date,
.home-text .lead-meta,
.home-text .text-link {
  color: #000000;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.home-text .text-link {
  margin-top: 6px;
  border-bottom-color: #000000;
}

.home-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.4) 44%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.date,
.artist-meta {
  margin: 0 0 14px;
  color: var(--clay);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.subtitle {
  margin: 18px 0 0;
  color: var(--moss);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  /*max-width: 11ch;*/
  font-size: clamp(64px, 10vw, 140px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin: 22px 0 0;
  color: #35332d;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.lead-meta {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
}

.button.primary {
  background: var(--ink);
  color: var(--surface);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.34);
}

.section {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 80px);
}

.page-main {
  padding-top: 64px;
}

.page-heading {
  padding: clamp(88px, 12vw, 150px) clamp(20px, 6vw, 80px) clamp(36px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  margin: 0;
  max-width: 980px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  line-height: 1;
}

.page-heading p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.about-heading h1 {
  max-width: none;
}

.visit,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.visit h2,
.contact h2,
.section-heading h2 {
  margin: 0;
  max-width: 760px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.12;
}

.feature-copy p,
.artist-card p:last-child,
.visit-info p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.past-exhibitions .section-heading h2,
.upcoming-exhibition .section-heading h2 {
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.past-exhibitions .section-heading {
  /* 제목 + View All 은 왼쪽에 붙이고, view-toggle(margin-left:auto)은 맨 오른쪽 */
  justify-content: flex-start;
  text-align: left;
}

.current-exhibition {
  border-bottom: 1px solid var(--line);
}

.current-exhibition .section-heading h2 {
  font-size: 18px;
  font-weight: 600;
}

/* 현재 전시가 2개 이상일 때 나머지 현재 전시 카드 그리드 */
.current-extra-grid {
  margin-top: clamp(28px, 4vw, 52px);
}

.current-exhibition-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  min-height: 560px;
  background: #f5f5f3;
}

.current-exhibition-feature:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.current-exhibition-feature > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.current-exhibition-feature:hover > img {
  opacity: 0.86;
}


.current-exhibition-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  
  padding: clamp(36px, 5vw, 72px);
}

.current-exhibition-copy::after {
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  right: clamp(28px, 4vw, 48px);
  width: 22px;
  height: 22px;
  mask-image: url("./assets/icon-arrow-up-right.svg");
  -webkit-mask-image: url("./assets/icon-arrow-up-right.svg");
  transition: transform 180ms ease;
}

.current-exhibition-feature:hover .current-exhibition-copy::after {
  transform: translate(3px, -3px);
}

.current-exhibition-copy .date,
.current-exhibition-subtitle,
.current-exhibition-location {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.current-exhibition-copy .date {
  margin-bottom: 24px;
  color: var(--muted);
}

.current-exhibition-copy h2 {
  margin: 0 0 14px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.15;
}

.current-exhibition-subtitle {
  margin-bottom: 5px;
}

.current-exhibition-description {
  max-width: 420px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  word-break: keep-all;
}

.upcoming-exhibition {
  padding-top: 0;
}

.upcoming-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  height: 300px;
  min-height: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  align-items: center;
}

/* Upcoming 카드 우상단 화살표 제거 */
.upcoming-card::after {
  content: none;
}

.upcoming-card > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 58%;
}

.upcoming-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 60px);
  background: var(--paper);
}

.upcoming-copy .date {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.upcoming-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(25px, 4vw, 35px);
  font-weight: 500;
  line-height: 1.05;
}

.upcoming-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.green-layer-hero .detail-heading h1 {
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
}

.green-layer-image {
  padding: 0 clamp(20px, 8vw, 120px) clamp(80px, 11vw, 150px);
}

.green-layer-image img {
  display: block;
  width: 100%;
  height: auto;
}

.generic-exhibition-image {
  padding: 0 clamp(20px, 8vw, 120px) clamp(80px, 11vw, 150px);
}

.generic-exhibition-image img {
  display: block;
  width: min(780px, 100%);
  height: auto;
  margin: 0 auto;
}

.detail-work-gallery {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr; /* .detail-content 와 라인 통일 */
  gap: clamp(40px, 9vw, 140px);
  padding: 0 clamp(20px, 6vw, 80px) clamp(82px, 11vw, 150px);
}

/* 6열 기준 그리드: 1단=6칸(1개/줄), 2단=3칸(2개/줄), 3단=2칸(3개/줄) */
.detail-work-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.detail-work-grid figure {
  margin: 0;
  grid-column: span 3; /* 기본: 2단(한 줄에 2개) */
}

.detail-work-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 유튜브 영상 작품: 반응형 16:9 */
.detail-work-grid .iseo-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.detail-work-grid .iseo-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 관리자 지정 단수 (작품 첨부에서 선택) */
.detail-work-grid figure.is-col1 { grid-column: span 6; } /* 1단: 한 줄에 1개 */
.detail-work-grid figure.is-col2 { grid-column: span 3; } /* 2단: 한 줄에 2개 */
.detail-work-grid figure.is-col3 { grid-column: span 2; } /* 3단: 한 줄에 3개 */

/* 미지정 시 가로세로 자동: 가로로 긴 이미지는 한 줄에 1개(전체 폭) */
.detail-work-grid figure.is-wide,
.detail-work-grid figure.is-panoramic {
  grid-column: span 6;
}

/* 1단·가로 이미지는 원본 비율 그대로(크롭 없음) */
.detail-work-grid figure.is-col1 img,
.detail-work-grid figure.is-wide img,
.detail-work-grid figure.is-panoramic img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}
/* 세로로 긴 이미지는 세로 비율 유지 */
.detail-work-grid figure.is-portrait img {
  aspect-ratio: 4 / 5;
}

.detail-work-grid figcaption {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.detail-work-grid strong {
  font-size: 14px;
  font-weight: 500;
}

.detail-work-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

/* 작품 캡션: 설명(좌) · 제목(우, 굵게) · 작품디테일(우, 회색) */
.detail-work-grid figcaption.work-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-top: 5px;
}
.detail-work-grid .work-desc {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.detail-work-grid .work-caption-main {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  width:100%; 
}
.detail-work-grid .work-caption:not(:has(> .work-desc)) .work-caption-main {
  justify-content: space-between;
  flex-direction: row;
}
.detail-work-grid .work-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.detail-work-grid .work-detail {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 0;
}

.section-link::after {
  width: 16px;
  height: 16px;
  mask-image: url("./assets/icon-arrow-right.svg");
  -webkit-mask-image: url("./assets/icon-arrow-right.svg");
}

.art-panel {
  min-height: 360px;
  background-color: #f5f5f5;
}

.panel-one {
  background:
    radial-gradient(circle at 24% 38%, rgba(189, 139, 69, 0.8) 0 9%, transparent 10%),
    linear-gradient(118deg, transparent 0 42%, rgba(85, 107, 79, 0.88) 43% 58%, transparent 59%),
    linear-gradient(26deg, rgba(34, 48, 71, 0.96) 0 24%, transparent 25%),
    linear-gradient(150deg, #ffffff 0%, #d9dde0 100%);
}

.exhibition-list {
  border-top: 1px solid var(--line);
}

.exhibition-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.exhibition-row:hover h3 {
  color: var(--clay);
}

.exhibition-row .art-panel {
  min-height: auto;
  aspect-ratio: 4 / 3;
}

.exhibition-row h3,
.artist-card h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
}

.exhibition-row p:last-child {
  margin: 0;
  color: var(--muted);
}

.fair-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fair-list article {
  min-height: 250px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
}

/* 아트페어 카드: 상단 정보 + 하단 상세버튼 (exhibition 카드처럼 모션 진입) */
.fair-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
}

.fair-card-copy {
  min-height: 0;
}

.fair-detail-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  background: rgba(143, 174, 189, 0.16);
  color: var(--moss);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.fair-detail-button::after {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  content: "";
  mask: url("./assets/icon-arrow-right.svg") center / contain no-repeat;
  -webkit-mask: url("./assets/icon-arrow-right.svg") center / contain no-repeat;
}

.fair-detail-button:not(.is-disabled):hover,
.fair-detail-button:not(.is-disabled):focus-visible {
  background: rgba(143, 174, 189, 0.26);
  color: var(--ink);
  transform: translateX(4px);
}

.fair-detail-button:focus-visible {
  outline: 2px solid #b9d4e2;
  outline-offset: 4px;
}

/* 일반 사용자용 Coming Soon (클릭 불가) */
.fair-detail-button.is-disabled {
  padding-inline: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  opacity: 0.5;
  cursor: default;
}

.fair-detail-button.is-disabled::after {
  display: none;
}

/* 관리자용 Coming Soon (뷰페이지 진입 가능) */
.fair-detail-button.is-admin-view {
  padding-inline: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  opacity: 0.75;
}

.fair-detail-button.is-admin-view::after {
  display: none;
}

.fair-detail-button.is-admin-view:hover,
.fair-detail-button.is-admin-view:focus-visible {
  background: transparent;
  color: var(--ink);
  opacity: 1;
  text-decoration: underline;
  transform: none;
}

.fair-detail-button .admin-tag {
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0.85;
}

.fair-list .date {
  color: #000000;
}

.fair-list h3 {
  margin: 0 0 14px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.12;
}

.fair-list p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================================
   아트페어 상세(뷰) 페이지 — gallery-homepage/artfair-diaf-2025 참고
   ========================================================= */
.artfair-detail-hero {
  display: grid;
  align-content: end;
  min-height: min(72svh, 680px);
  padding: clamp(120px, 14vw, 220px) clamp(24px, 8vw, 120px) clamp(54px, 8vw, 96px);
  background: #f7fafc;
  color: var(--ink);
}

.artfair-detail-kicker,
.artfair-detail-hero .detail-date,
.artfair-detail-venue {
  margin: 0;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.artfair-detail-hero .detail-date {
  margin-top: 34px;
  color: var(--ink);
}

.artfair-detail-hero h1 {
  max-width: 920px;
  margin: 16px 0 24px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 600;
  line-height: 0.98;
}

.artfair-media-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  padding: 0 clamp(20px, 8vw, 120px) clamp(80px, 11vw, 150px);
}

.artfair-media-section figure {
  margin: 0;
  background: #f7fafc;
}

.artfair-media-section img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.artfair-media-primary {
  align-self: start;
}

.artfair-info-list {
  border-top: 1px solid var(--line);
}

.artfair-info-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.artfair-info-list span {
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.artfair-info-list strong {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.35;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 24px;
  border-bottom: 0;
  color: var(--clay);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
}

.text-link::after {
  width: 16px;
  height: 16px;
  mask-image: url("./assets/icon-arrow-right.svg");
  -webkit-mask-image: url("./assets/icon-arrow-right.svg");
  transition: transform 180ms ease;
}

.text-link:hover::after,
.section-link:hover::after {
  transform: translateX(3px);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.artist-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.artist-list-link {
  position: relative;
  display: block;
}

.artist-list article {
  display: grid;
  grid-template-columns: 200px minmax(220px, 0.7fr) minmax(240px, 1fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.artist-list span,
.artist-list p {
  margin: 0;
  color: var(--muted);
}

.artist-list h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
}

.artist-list-link article {
  transition: padding 180ms ease, color 180ms ease;
}

.artist-list-link:hover article {
  padding-inline: 12px;
}

.artist-list-link:hover h2 {
  color: var(--moss);
}

.artist-list-link::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  mask-image: url("./assets/icon-arrow-right.svg");
  -webkit-mask-image: url("./assets/icon-arrow-right.svg");
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.artist-list-link:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.artist-list-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.about-grid h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.12;
}

.about-grid p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.about-gallery-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.about-gallery-photos figure {
  margin: 0;
  overflow: hidden;
  background: #f7f7f7;
  aspect-ratio: 16 / 10;
}

.about-gallery-photos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.past-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.past-grid article {
  padding-bottom: 24px;
  text-align: left;
}

.past-card {
  position: relative;
  display: block;
}

.past-card::after {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #ffffff;
  mask-image: none;
  -webkit-mask-image: none;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.past-card::before {
  position: absolute;
  z-index: 1;
  /* 원(::after)과 동일한 위치·크기로 겹쳐, 아이콘을 원 정중앙에 배치 */
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: var(--ink);
  content: "";
  mask: url("./assets/icon-arrow-up-right.svg") center center / 16px 16px no-repeat;
  -webkit-mask: url("./assets/icon-arrow-up-right.svg") center center / 16px 16px no-repeat;
  opacity: 0;
  transition: opacity 180ms ease;
}

.past-card:hover::after,
.past-card:hover::before {
  opacity: 1;
}

/* 호버 시 화살표 위치 이동 제거 — 원 중앙 고정 유지 */

.past-card .past-image {
  transition: opacity 180ms ease;
}

.past-card:hover .past-image {
  opacity: 0.82;
}

.past-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.past-grid .art-panel {
  min-height: 250px;
  margin-bottom: 20px;
}

.past-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 22px;
}

.exhibition-list .past-image {
  aspect-ratio: 1 / 1.12;
  margin-bottom: 24px;
}

.past-grid .date {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.past-grid h3 {
  margin: 0 0 4px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.12;
}

.past-grid p:not(.date) {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.past-grid p:not(.date) + p:not(.date) {
  margin-top: 2px;
}

.exhibition-detail {
  overflow: hidden;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  min-height: 0;
  height: clamp(500px, calc(100svh - 128px), 660px);
  overflow: hidden;
}

.detail-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.detail-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  height: 100%;
  padding: clamp(30px, 4.5vw, 64px) clamp(24px, 4.5vw, 64px);
}

.detail-date,
.detail-subtitle,
.detail-artist {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.detail-date {
  margin-bottom: 18px;
  color: var(--muted);
}

.detail-heading h1 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.1vw, 62px);
  font-weight: 500;
  line-height: 1.1;
  /* 전시명(큰 타이틀)은 줄바꿈 없이 한 줄로, 길면 영역을 넘어서 표시 */
}

.detail-subtitle {
  margin-bottom: 5px;
}

.detail-content {
  display: grid;
      grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: clamp(40px, 9vw, 140px);
  /* 위/아래 패딩 동일 (다른 상세 섹션과 통일) */
      padding: clamp(72px, 10vw, 120px) clamp(24px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

.detail-label p,
.detail-label span {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.detail-label span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 400;
}

.detail-copy {
  max-width: 760px;
}

.detail-copy h2 {
  margin: 0 0 36px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.35;
}

.detail-copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  word-break: keep-all;
}

.detail-copy p + p {
  margin-top: 24px;
}

.detail-artwork {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr; /* .detail-copy 라인에 이미지 정렬 */
  gap: clamp(40px, 9vw, 140px);
  padding: 0 clamp(20px, 6vw, 80px) clamp(80px, 11vw, 150px);
}

.detail-artwork img {
  display: block;
  grid-column: 2; /* 라벨 칸을 비우고 본문(.detail-copy) 라인부터 시작 */
  width: 100%;
  height: auto;
  margin: 0;
}

.exhibition-text-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr; /* 라인 통일 */
  gap: clamp(40px, 9vw, 140px);
  padding: clamp(80px, 11vw, 150px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.exhibition-text-body {
  max-width: 900px;
}

.exhibition-text-body h2 {
  margin: 0 0 clamp(42px, 6vw, 72px);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.4;
  word-break: keep-all;
}

.exhibition-text-columns {
  columns: 2;
  column-gap: clamp(32px, 5vw, 70px);
}

.exhibition-text-columns p {
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  word-break: keep-all;
  break-inside: avoid;
}

.exhibition-text-author {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.installation-views {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: #f5f5f3;
}

.installation-views-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.gallery-icon-label {
  position: relative;
  padding-left: 34px;
}

.gallery-icon-label::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background: currentColor;
  content: "";
  mask: url("./assets/icon-gallery.svg") center / contain no-repeat;
  -webkit-mask: url("./assets/icon-gallery.svg") center / contain no-repeat;
}

.installation-views-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  text-align: right;
}

.installation-view {
  position: relative;
  margin: 0;
}

.installation-view img {
  display: block;
  width: 100%;
  height: auto;
}

.installation-view-wide {
  width: min(580px, 100%);
  margin-inline: auto;
}

.installation-view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  width: min(920px, 100%);
  margin-top: clamp(42px, 6vw, 76px);
  margin-inline: auto;
}

.installation-view figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.has-artwork-controls figcaption {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 180ms ease, margin 180ms ease, opacity 180ms ease;
}

.has-artwork-controls.is-info-visible figcaption {
  max-height: 60px;
  margin-top: 10px;
  opacity: 1;
}

.artwork-controls {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 7px;
}

.artist-section-summary {padding-bottom:50px}
.icon-button,
.back-to-top {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(23, 22, 18, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.artwork-controls .icon-button {
  border-color: transparent;
}

.icon-button::before,
.back-to-top::before {
  width: 19px;
  height: 19px;
  background: currentColor;
  content: "";
  mask: var(--control-icon) center / contain no-repeat;
  -webkit-mask: var(--control-icon) center / contain no-repeat;
}

.icon-button:hover,
.icon-button.is-active,
.back-to-top:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.view-toggle {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.view-toggle .icon-button {
  border-color: transparent;
}

.past-grid.is-list-view {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.past-grid.is-list-view > article,
.past-grid.is-list-view > .past-card article {
  display: grid;
  grid-template-columns: 240px minmax(170px, 0.35fr) minmax(220px, 1fr);
  gap: 8px 32px;
  align-items: start;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}

.past-grid.is-list-view .past-image {
  grid-row: 1 / 6;
  width: 240px;
  aspect-ratio: 1 / 1;
  margin: 0;
}

.past-grid.is-list-view .date {
  grid-column: 2;
  margin: 8px 0 0;
}

.past-grid.is-list-view h3,
.past-grid.is-list-view p:not(.date) {
  grid-column: 3;
}

.past-grid.is-list-view h3 {
  margin-top: 8px;
  font-size: clamp(17px, 2vw, 27px);
}

.artwork-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 16px;
  padding: 48px;
  background: rgba(15, 15, 14, 0.94);
}

.artwork-lightbox img {
  display: block;
  max-width: min(1100px, 92vw);
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

.artwork-lightbox p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 400;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.lightbox-open {
  overflow: hidden;
}

.back-to-top {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  --control-icon: url("./assets/icon-arrow-up.svg");
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.detail-artist-section {
  background: #f5f5f3;
}

.detail-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 8vw, 120px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}

.detail-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid currentColor;
}

.detail-navigation a::before {
  width: 16px;
  height: 16px;
  mask-image: url("./assets/icon-arrow-left.svg");
  -webkit-mask-image: url("./assets/icon-arrow-left.svg");
}

.detail-navigation span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #aaa9a5;
}

.detail-navigation span::after {
  width: 16px;
  height: 16px;
  mask-image: url("./assets/icon-arrow-right.svg");
  -webkit-mask-image: url("./assets/icon-arrow-right.svg");
}

.detail-navigation .detail-next {
  color: var(--ink);
}

.detail-navigation .detail-next::before {
  display: none;
}

.detail-navigation .detail-next::after {
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  content: "";
  mask-image: url("./assets/icon-arrow-right.svg");
  -webkit-mask-image: url("./assets/icon-arrow-right.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.artist-detail {
  overflow: hidden;
}

.artist-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 78px);
  background: #ffffff;
}

.artist-detail-heading {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  padding: clamp(42px, 5vw, 72px) clamp(34px, 6vw, 90px) clamp(46px, 6vw, 84px);
  text-align: center;
}


.artist-detail-heading  p {"Noto Serif  KR",}

.artist-detail-credit p {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.artist-detail-title {
  align-self: center;
}

.artist-detail-title h1 {
  margin: 0;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 400;
  line-height: 1.08;
}

.artist-detail-title span {
  display: block;
  margin-top: 12px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
}

.artist-detail-intro {
  max-width: 540px;
  margin: 0 auto;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  word-break: keep-all;
}

.artist-detail-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.artist-detail-hero > img.artist-hero-placeholder {
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.artist-profile-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr; /* 라인 통일 */
  gap: clamp(40px, 9vw, 140px);
  padding: clamp(54px, 7vw, 88px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.artist-profile-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}

.artist-profile-list p {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  margin: 0;
}

.artist-note-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr; /* 라인 통일 */
  gap: clamp(40px, 9vw, 140px);
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.artist-note-body {
  max-width: 860px;
  margin: 0;
}

.artist-note-body h2 {
  margin: 0 0 34px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.18;
  word-break: keep-all;
}

.artist-note-body p {
  margin: 0;
  color: #24231f;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.05;
  word-break: keep-all;
}

.artist-note-body p + p {
  margin-top: 18px;
}

/* 섹션 본문 안 소제목(# 소제목 → h3): 시리즈 제목 등. 앞 문단과 확실히 분리 */
.artist-note-body h3 {
  margin: 52px 0 16px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  word-break: keep-all;
}

/* 제목(h2) 바로 다음 첫 소제목은 간격을 조금 좁힘 */
.artist-note-body h2 + h3 {
  margin-top: 28px;
}

/* 소제목 바로 뒤 문단은 붙여서 소제목과 한 덩어리로 보이게 */
.artist-note-body h3 + p {
  margin-top: 0;
}

/* 소제목(h3)이 있는 섹션의 문단 전용 클래스 — 필요에 따라 개별 스타일 지정 */
.artist-note-body .artist-subsection-text {
  margin-top: 12px;
}
.artist-note-body h3 + .artist-subsection-text {
  margin-top: 0;
 margin-bottom:50px;
}

.artist-work-slider {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.85fr);
  gap: clamp(32px, 5vw, 76px);
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 80px);
  background: #f0f0ee;
}

.artist-slider-intro {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.artist-slider-intro > p {
  margin: 0 0 26px;
  font-size: 13px;
  font-weight: 500;
}

.artist-slider-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  word-break: keep-all;
}

.artist-slider-index {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 40px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.artist-slider-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.artist-single-work-stage {
  grid-template-columns: minmax(0, 0.72fr);
}

.artist-static-work .artist-work-image {
  aspect-ratio: 1 / 1;
}

.artist-work-panel {
  min-width: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.artist-work-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #d8d8d5;
}

.artist-work-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: object-position 320ms ease;
}

.artist-work-image > span {
  display: none;
}

.artist-work-caption {
  padding-top: 16px;
}

.artist-work-caption strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.artist-work-caption p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.artist-slider-next {
  position: absolute;
  z-index: 2;
  top: calc(50% - 24px);
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  place-items: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.artist-slider-next span {
  width: 20px;
  height: 20px;
  mask-image: url("./assets/icon-arrow-right.svg");
  -webkit-mask-image: url("./assets/icon-arrow-right.svg");
}

.artist-slider-next:hover {
  background: var(--ink);
  color: #ffffff;
}

.artist-slider-next:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.artist-work-slider.is-changing .artist-work-panel {
  opacity: 0.25;
  transform: translateX(6px);
}

.artist-exhibition-record {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(40px, 9vw, 140px);
    padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.artist-exhibition-record > a {
  display: grid;
  grid-template-columns: 80px minmax(220px, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.artist-exhibition-record span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.artist-exhibition-record strong {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 500;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.artwork-grid article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.artwork-grid .art-panel {
  min-height: 280px;
  margin-bottom: 20px;
}

.artwork-grid h3 {
  margin: 0 0 8px;
  font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.18;
}

.artwork-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.artist-card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.artist-card .art-panel {
  min-height: 260px;
}

.artist-card h3,
.artist-card p {
  padding-inline: 22px;
}

.artist-card p:last-child {
  padding-bottom: 26px;
}

.panel-two {
  background:
    linear-gradient(90deg, rgba(166, 78, 58, 0.92) 0 19%, transparent 20%),
    linear-gradient(0deg, transparent 0 64%, rgba(189, 139, 69, 0.9) 65% 79%, transparent 80%),
    linear-gradient(145deg, #ffffff 0%, #7c8a71 100%);
}

.panel-three {
  background:
    radial-gradient(circle at 70% 34%, #f0d18a 0 13%, transparent 14%),
    linear-gradient(132deg, transparent 0 34%, #223047 35% 53%, transparent 54%),
    linear-gradient(24deg, #ffffff 0%, #b9beb2 100%);
}

.panel-four {
  background:
    linear-gradient(110deg, transparent 0 25%, rgba(166, 78, 58, 0.86) 26% 37%, transparent 38%),
    radial-gradient(circle at 34% 72%, rgba(85, 107, 79, 0.86) 0 16%, transparent 17%),
    linear-gradient(180deg, #ffffff 0%, #d6b27b 100%);
}

.visit {
  background: #f7f7f7;
}

.visit-info .visit-address,
.visit-info .visit-hours {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 24px;
}

.visit-info .visit-address {
  margin-bottom: 0;
}

.visit-address::before {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  mask-image: url("./assets/icon-map-pin.svg");
  -webkit-mask-image: url("./assets/icon-map-pin.svg");
}

.visit-hours::before {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  mask-image: url("./assets/icon-clock.svg");
  -webkit-mask-image: url("./assets/icon-clock.svg");
}

.visit-list {
  display: grid;
  gap: 1px;
  background: transparent;
  border: 0;
}

.visit-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.visit-list div:first-child {
  border-top: 1px solid var(--line);
}

.visit-list span {
  color: var(--muted);
}

.visit-viewing span,
.visit-reservation span,
.visit-parking span,
.visit-inquiry span,
.visit-phone span,
.visit-fax span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.visit-viewing span::before,
.visit-reservation span::before,
.visit-parking span::before,
.visit-inquiry span::before,
.visit-phone span::before,
.visit-fax span::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  background: currentColor;
  content: "";
  mask: url("./assets/icon-parking.svg") center / contain no-repeat;
  -webkit-mask: url("./assets/icon-parking.svg") center / contain no-repeat;
}

.visit-viewing span::before {
  mask-image: url("./assets/icon-viewing.svg");
  -webkit-mask-image: url("./assets/icon-viewing.svg");
}

.visit-reservation span::before {
  mask-image: url("./assets/icon-calendar.svg");
  -webkit-mask-image: url("./assets/icon-calendar.svg");
}

.visit-inquiry span::before {
  mask-image: url("./assets/icon-message.svg");
  -webkit-mask-image: url("./assets/icon-message.svg");
}

.visit-phone span::before {
  mask-image: url("./assets/icon-phone.svg");
  -webkit-mask-image: url("./assets/icon-phone.svg");
}

.visit-fax span::before {
  mask-image: url("./assets/icon-fax.svg");
  -webkit-mask-image: url("./assets/icon-fax.svg");
}

.visit-list strong {
  font-weight: 400;
  text-align: right;
}

.contact {
  align-items: center;
  background: var(--night);
  color: var(--surface);
}

.contact .section-kicker {
  color: #e1b873;
}

.contact h2 {
  max-width: 720px;
}

.contact .button.primary {
  justify-self: end;
  border-color: var(--surface);
  background: var(--surface);
  color: var(--night);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 260px;
  padding: 52px clamp(20px, 6vw, 80px);
  background: #f1f1f1;
  color: var(--ink);
  text-align: center;
}

.footer-logo {
  display: block;
  width: min(310px, 38vw);
  height: auto;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  color: rgba(23, 22, 18, 0.72);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.footer-info > * {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-info > :first-child::before {
  width: 15px;
  height: 15px;
  mask-image: url("./assets/icon-map-pin.svg");
  -webkit-mask-image: url("./assets/icon-map-pin.svg");
}

.footer-info a[href^="mailto:"]::before {
  width: 15px;
  height: 15px;
  mask-image: url("./assets/icon-mail.svg");
  -webkit-mask-image: url("./assets/icon-mail.svg");
}

.footer-instagram::before {
  width: 15px;
  height: 15px;
  mask-image: url("./assets/icon-instagram.svg");
  -webkit-mask-image: url("./assets/icon-instagram.svg");
}

.footer-info a[href$="about.html"]::before {
  width: 15px;
  height: 15px;
  mask-image: url("./assets/icon-info.svg");
  -webkit-mask-image: url("./assets/icon-info.svg");
}

.footer-info > * + * {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(23, 22, 18, 0.24);
}

.footer-info a:hover {
  color: #000000;
}

.footer-copyright {
  margin: 0;
  color: rgba(23, 22, 18, 0.58);
  font-size: 12px;
}

@media (max-width: 860px) {
  /* 모바일 Past 헤딩: View All 은 우측 끝, 토글은 아래 줄로 */
  .past-exhibitions .section-heading {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 12px;
  }
  .past-exhibitions .section-heading .section-link {
    margin-left: auto;
  }
  .past-exhibitions .section-heading .view-toggle {
    flex-basis: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding-block: 15px;
  }

  .brand {
    grid-column: 1;
    width: 86px;
  }

  .lang-switch {
    grid-column: 2;
    justify-self: end;
  }

  .mobile-menu-toggle {
    display: grid;
    grid-column: 3;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    place-items: center;
  }

  .mobile-menu-toggle::before {
    width: 26px;
    height: 26px;
    background: currentColor;
    content: "";
    mask: var(--control-icon) center / contain no-repeat;
    -webkit-mask: var(--control-icon) center / contain no-repeat;
  }

  .mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    height: calc(100svh - 69px);
    padding: 30px 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    color: #000000;
    font-family: "Poppins", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(17px, 4.4vw, 21px);
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-links a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu-open {
    overflow: hidden;
  }

  .home-lead {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    aspect-ratio: auto;
    padding: 132px 20px 34px;
  }

  h1 {
   /* max-width: 8ch; */
  }

  .visit,
  .contact,
  .about-grid,
  .about-gallery-photos,
  .fair-list,
  .past-grid,
  .artwork-grid,
  .artist-grid,
  .artist-list article,
  .current-exhibition-feature,
  .detail-hero,
  .detail-content,
  .detail-work-gallery,
  .detail-artwork,
  .artfair-media-section,
  .exhibition-text-section,
  .artist-detail-hero,
  .artist-profile-section,
  .artist-note-section,
  .artist-work-slider,
  .artist-exhibition-record {
    grid-template-columns: 1fr;
  }
  /* 모바일: 단일 작품 이미지도 전체 폭 */
  .detail-artwork img { grid-column: auto; }

  .current-exhibition-feature > img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .detail-hero {
    height: auto;
    overflow: visible;
  }

  .about-gallery-photos {
    gap: 16px;
  }

  .about-gallery-photos figure {
    aspect-ratio: 4 / 3;
  }

  .current-exhibition-copy {
    min-height: 390px;
  }

  .upcoming-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .upcoming-card > img {
    min-height: 0;
    aspect-ratio: 16 / 7;
  }

  .upcoming-copy {
    min-height: auto;
    padding:20px 0px;
  }

  .detail-hero > img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .detail-heading {
    min-height: auto;
  }

  /* 히어로가 1열로 쌓이는 폭에서는 전시명 줄바꿈 허용(가로 넘침 방지) */
  .detail-heading h1 {
    white-space: normal;
  }

  .detail-work-grid {
    grid-template-columns: 1fr;
  }
  /* 모바일: 단수 지정과 무관하게 한 줄에 1개(6열 span 초기화) */
  .detail-work-grid figure,
  .detail-work-grid figure.is-col1,
  .detail-work-grid figure.is-col2,
  .detail-work-grid figure.is-col3,
  .detail-work-grid figure.is-wide,
  .detail-work-grid figure.is-panoramic {
    grid-column: auto;
  }

  /* 태블릿 이하: 전시 서문 본문 1단 (2단은 좁아서 가독성 저하) */
  .exhibition-text-columns {
    columns: 1;
  }

  .artist-detail-heading {
    min-height: 520px;
    padding: 38px 24px 44px;
  }

  .artist-detail-hero > img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .artist-detail-title h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .artist-detail-intro {
    font-size: 14px;
  }

  .artist-profile-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .artist-profile-list p span:first-child:empty {
    display: none;
  }

  .artist-note-body h2 {
    margin-bottom: 26px;
  }

  .artist-note-body p {
    font-size: 15px;
    line-height: 1.95;
  }

  .artist-work-slider,
  .artist-exhibition-record {
    gap: 44px;
  }

  .artist-single-work-stage {
    grid-template-columns: 1fr;
  }

  .artist-slider-index {
    margin-top: 28px;
    padding-top: 0;
  }

  .contact .button.primary {
    justify-self: start;
  }
  .artist-note-body h3 + .artist-subsection-text {
 
 margin-bottom:30px;
}

}

@media (max-width: 520px) {
  .detail-navigation {font-size: 12px;}
  .nav-links {
    font-size: 18px;
  }

  .exhibition-row {
    grid-template-columns: 1fr;
  }

  .visit-list div {
    flex-direction: column;
    gap: 6px;
  }

  .visit-list strong {
    text-align: left;
  }

  .site-footer {
    min-height: 240px;
  }

  .footer-info {
    flex-direction: column;
    gap: 5px;
  }

  .footer-info > * + * {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .detail-heading h1 {
    font-size: clamp(34px, 10vw, 52px);
    
  }

  .detail-content {
    gap: 44px;
  }

  .exhibition-text-section {
    gap: 44px;
  }

  .exhibition-text-columns {
    columns: 1;
  }

  /* 모바일: 작품 캡션 좌/우 분할 대신 세로 스택(좌측 정렬)으로 가독성 확보 */
  .detail-work-grid figcaption.work-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-top: 12px;
  }
  .detail-work-grid .work-caption-main {
    align-items: flex-start;
    text-align: left;
    flex-direction: column !important;
  }
  .detail-work-grid .work-title { font-size: 16px; }

  .installation-views-heading {
    flex-direction: column;
  }

  .installation-views-heading > p {
    text-align: left;
  }

  .installation-view-grid {
    grid-template-columns: 1fr;
  }

  .past-grid.is-list-view > article,
  .past-grid.is-list-view > .past-card article {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 6px 16px;
    padding: 4px 0;
  }

  .past-grid.is-list-view .past-image {
    grid-row: 1 / 6;
    width: 128px;
  }

  .past-grid.is-list-view .date,
  .past-grid.is-list-view h3,
  .past-grid.is-list-view p:not(.date) {
    grid-column: 2;
  }

  .artwork-lightbox {
    padding: 54px 18px 24px;
  }

  .artwork-controls {
    top: 8px;
    right: 8px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .artist-exhibition-record > a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .artist-slider-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .artist-work-image {
    aspect-ratio: 1 / 1;
  }

  .artist-slider-next {
    top: 50%;
    left: calc(100% - 36px);
    width: 44px;
    height: 44px;
  }

  .home-text h1 {
    margin-bottom: 16px;
    font-size: 30px;
  }

  .home-text .subtitle,
  .home-text .date,
  .home-text .lead-meta,
  .home-text .text-link {
    font-size: 12px;
  }
  .lead-meta {margin:0px}
}
