@charset "utf-8";

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

img {
  max-width: 100%;
}

ul,
li {
  list-style: none;
}

html {
  color: #333;
  background-color: #FAFAFA;
  width: 100%;
  height: 100vh;
  position: relative;
}

main {
  display: flex;
  height: 100vh;
  overflow: hidden;
}


aside {
  width: 250px;
  height: 100vh;
  flex-shrink: 0;
  padding: 10px;
  border-right: 3px solid #ebebeb;
  overflow-y: auto;
}

header {
  height: 100px;
}

/* 로고 왼쪽 정렬 */
.logo {
  width: 190px;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  /* 가운데 → 왼쪽 */
  align-items: center;
  padding-left: 8px;
}

.logo img {
  display: block;
  height: 60px;
  width: auto;
}

/* 네비게이션 시작 위치 */
.side {
  padding-top: 10px;
}


nav {
  position: relative;
  padding-left: 0;
}

.gnb {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnb>li>a {
  position: relative;
  display: block;
  font-weight: bold;
  padding: 10px 20px 10px 34px;
  font-size: 1.4rem;
  color: #333333;
  text-decoration: none;
}

.gnb>li>a::before {
  content: '*';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: bold;
  color: #333333;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.gnb>li:hover>a::before,
.gnb>li.active>a::before {
  opacity: 1;
}

.name {
  display: block;
  padding-top: 300px;
}

.namelist ul li a {
  display: block;
  padding: 3px 20px;
  cursor: default;
  font-size: 1rem;
  font-weight: 500;
}



.center {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
}

/* =========================================
1. 메인 콘텐츠 전체 영역
   ========================================= */

.center .maincon {
  position: relative;
  flex: none;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 100vh;
  padding: 60px 40px 40px;
  overflow: visible;
  cursor: default;
}

.center .maincon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/mbg.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;

  background-attachment: local;
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

/* 전체 콘텐츠 영역 */
.center .maincon .margin {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 포스터 + 설명글 */
.maincon .margin .about-p {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  column-gap: 60px;
  align-items: start;
  box-sizing: border-box;
}

/* 포스터 */
.about-p .poster-slideshow {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.about-p .poster-slideshow .poster-one {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

/* 두 번째 포스터 (흰색 pw.jpg) 픽셀 오차 보정 스타일 */
.about-p .poster-slideshow .poster-two {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;

  /* 🌟 왼쪽(left: 0)은 딱 맞추고, 오른쪽/아래쪽으로만 3px 더 크게 덮어 빈틈을 차단합니다 */
  width: calc(100% + 3px);
  height: calc(100% + 3px);

  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;

  /* 초기 가림 상태 (오른쪽 여유분까지 감안하여 컷팅) */
  -webkit-clip-path: inset(0 -3px 100% 0);
  clip-path: inset(0 -3px 100% 0);

  transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1),
    -webkit-clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

/* 🌟 스크롤 내려왔을 때: 오른쪽과 아래쪽으로 3px 넘치게 펼쳐져 검은 잔상을 완전히 덮음 */
.about-p .poster-slideshow.is-scrolled .poster-two {
  -webkit-clip-path: inset(-3px -3px -3px -3px);
  clip-path: inset(-3px -3px -3px -3px);
}

/* 설명글 영역 */
.about-p .about-t {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-left: 0;
}

/* 메인 제목 */
.about-p .about-t h1 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.4;
}

/* 부제목 */
.about-p .about-t h2 {
  margin: 0;
  padding-top: 4px;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* 설명 문단 */
.about-p .about-t p {
  margin: 0;
  padding-top: 24px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

/* 첫 번째 문단의 글꼴 */
.about-p .about-t span {
  font-family: 'Pretendard', sans-serif;
  letter-spacing: 0;
  word-spacing: 0;
}

/* 기존 강조 문장 스타일 유지 */
.about-p .about-t i {
  font-style: normal;
}

/* 전시장소 및 기간 */
.about-p .about-t .info {
  margin: 0;
  padding-top: 40px;
  line-height: 1.8;
}

/* 전시기간 */
.about-p .about-t .es {
  display: block;
  padding-top: 16px;
}




/* =========================================
   4. 스크롤 유도 표시
   ========================================= */

.center .maincon .scroll-cue {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
  color: #333;
  pointer-events: none;

  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.center .maincon .scroll-cue.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.scroll-cue__mouse {
  position: relative;
  display: block;
  width: 22px;
  height: 35px;
  border: 2px solid currentColor;
  border-radius: 14px;
  box-sizing: border-box;
}

.scroll-cue__wheel {
  position: absolute;
  color: #f385a2;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  transform: translateX(-50%);
  animation: mouse-wheel 1.4s ease-in-out infinite;
}

@keyframes mouse-wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 9px);
  }
}




.extra-section {
  margin-top: 180px;
  width: 100%;
  text-align: left;
}

.extra-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.extra-text {
  flex: 1;
  min-width: 0;
}

.extra-text h2 {
  margin: 0;

}

.extra-text p {
  max-width: 600px;
  margin: 0;
  padding-top: 24px;
  line-height: 1.8;
}

.extra-qr {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: calc(1.2rem * 1.5 + 24px);
  color: inherit;
  text-decoration: none;
}

.extra-qr img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 10px;
}

.extra-qr span {
  font-weight: 600;
}

.extra-text .exp {
  margin: 0;
  padding-top: 0;
  margin-top: 72px;
  margin-bottom: 24px;
}


/* 전시 참여자 리스트 */
.credits-list {
  list-style: none;
  padding: 0 0 20px;
  margin: 0;
}

.credits-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 300px 180px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  align-items: start;
}

/* 각 영역 왼쪽 정렬 */
.credits-item>* {
  text-align: left;
  min-width: 0;
}

/* 기존 세 번째 열인 연락처를 2개 열로 분리 */
.credits-role {
  grid-column: 1;
  font-weight: 500;
}

.credits-name {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.credits-contact {
  display: contents;
}

/* 인스타그램 열 */
.credits-instagram {
  grid-column: 3;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.85em;
}

/* 이메일 열 */
.credits-email {
  grid-column: 4;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  margin-left: 0;
  overflow-wrap: anywhere;
  font-size: 0.85em;
  position: relative;
}

/* 긴 이메일 줄바꿈 */
.credits-email>span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* 복사 버튼: 테두리와 배경 제거 */
.email-copy {
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
}

.email-copy:hover {
  opacity: 0.45;
}

.email-copy:active {
  border: none;
  background: transparent;
  box-shadow: none;
}

/* 키보드 접근성 표시 */
.email-copy:focus-visible {
  outline: 1px dotted #888;
  outline-offset: 2px;
}

/* 복사 완료 메시지: 레이아웃에 영향 없음 */
.copy-message {
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  line-height: 1;
  color: #888;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.copy-message.is-visible {
  opacity: 1;
  visibility: visible;
}

/* 위아래 구분선 */
.credits-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 208px);
  border-top: 1px solid #ccc;
}

.credits-item:last-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% + 208px);
  border-bottom: 1px solid #ccc;
}

/* 모바일 */
@media (max-width: 600px) {
  .credits-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .credits-role,
  .credits-name,
  .credits-instagram,
  .credits-email {
    grid-column: 1;
  }

  .credits-contact {
    display: contents;
  }
}





/* =========================================
   3. 푸터
   ========================================= */

.center .footer {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #fff;
  background-color: #000;
}

.center .footer u {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #fff;
  text-underline-offset: 4px;
}



/* 커서팔로워 */

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  z-index: 9999;
  pointer-events: none;

  /* 마우스 중심보다 오른쪽 아래에 표시 */
  transform: translate(-20%, -15%);

  display: none;
  will-change: left, top;
}

.cursor-follower.is-active {
  display: block;
}

.cursor-follower img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.center .maincon .about-stage {
  position: relative;
  min-height: 240vh;
}

.center .maincon .about-stage .about-p {
  position: sticky;
  top: 40px;
  align-self: start;
}

.mobile-break {
  display: none;
}

/* =========================================
   모바일 햄버거 메뉴
   PC 디자인은 유지
   ========================================= */

/* PC에서는 모바일 메뉴 숨김 */
.mobile-menu-btn,
.mobile-overlay {
  display: none;
}

@media (max-width: 768px) {

  /* 기존 PC의 화면 높이와 본문 스크롤 구조 유지 */
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  main {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  /* 햄버거 버튼 */
  .mobile-menu-btn {
    position: fixed;
    z-index: 1002;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 44px;
    height: 44px;
    padding: 11px;

    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;

    left: auto;
    right: 14px;
    top: 14px;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:focus,
  .mobile-menu-btn:active {
    background: transparent;
    box-shadow: none;
  }


  .mobile-menu-btn span {
    width: 100%;
    height: 2px;
    display: block;
    background: #333;
    transition: transform 0.25s ease;
  }

  /* 메뉴가 열리면 버튼을 X 모양으로 */
  body.aside-open .mobile-menu-btn span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  body.aside-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
  }

  body.aside-open .mobile-menu-btn span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* 기존 aside를 왼쪽 슬라이드 메뉴로 변경 */
  main>aside {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1001;

    width: min(280px, 82vw);
    height: 100vh;
    height: 100dvh;

    padding: 10px;
    border-right: 1px solid #ebebeb;
    background: #FAFAFA;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    transform: translateX(-100%);
    visibility: hidden;

    transition:
      transform 0.3s ease,
      visibility 0.3s ease;
  }

  /* 메뉴 열기 */
  body.aside-open main>aside {
    transform: translateX(0);
    visibility: visible;
  }

  /* 메뉴 뒤 어두운 배경 */
  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;

    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  body.aside-open .mobile-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* 모바일 사이드바 로고 */
  main>aside header {
    height: 76px;
  }

  main>aside .logo {
    width: 100%;
    padding-left: 4px;
  }

  main>aside .logo img {
    height: 46px;
    max-width: 100%;
  }

  /* 모바일 메뉴 글자 */
  main>aside .gnb>li>a {
    font-size: 1.15rem;
    padding: 10px 20px 10px 30px;
  }

  /* 기존 작품 목록의 과도한 상단 여백 */
  main>aside .name {
    padding-top: 60px;
  }

  main>aside .namelist ul li a {
    padding: 6px 12px;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  /* 본문은 화면 전체 너비 사용 */
  .center {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }

  .center .maincon {
    flex: none;
    width: 100%;
    min-height: 100%;
    height: auto;
    padding: 76px 20px 40px;
    overflow: visible;
  }

  .center .maincon .margin {
    width: 100%;
    max-width: none;
  }

  /* 포스터와 설명글 세로 배치 */
  .maincon .margin .about-p {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 28px;
    width: 100%;
  }

  .about-p .poster-slideshow {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-p .about-t {
    width: 100%;
    min-width: 0;
  }

  .about-p .about-t h1 {
    font-size: 1.5rem;
    overflow-wrap: anywhere;
  }

  .about-p .about-t h2 {
    font-size: 1.05rem;
  }

  .about-p .about-t p {
    padding-top: 18px;
    overflow-wrap: anywhere;
  }

  .about-p .about-t .info {
    padding-top: 28px;
  }


  /* 모바일에서도 포스터 스크롤 전환 유지 */
  .center .maincon .about-stage {
    min-height: 200vh;
  }

  .center .maincon .about-stage .about-p {
    position: sticky;
    top: 40px;
  }


  /* 소개글과 QR 코드 세로 배치 */
  .extra-section {
    margin-top: 64px;
  }

  .extra-intro {
    flex-direction: column;
    gap: 24px;
  }

  .extra-text {
    width: 100%;
  }

  .extra-text p {
    max-width: none;
  }

  .extra-qr {
    flex: none;
    align-self: center;
    margin-top: 0;
  }

  /* 참여자 목록의 구분선 */
  .credits-item::before,
  .credits-item:last-child::after {
    width: 100%;
  }

  /* 푸터 */
  .center .footer {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    text-align: center;
    font-size: 10px;
    line-height: 1.8;
    color: #fff;
    background-color: #000;
    overflow-wrap: anywhere;
  }

  .footer-space,
  .footer-mark {
    display: none;
  }

  .mobile-break {
    display: block;
  }

  /* 모바일에서 마우스 커서 효과 비활성화 */
  .cursor-follower {
    display: none !important;
  }

  /* 모바일에서는 PC용 강제 줄바꿈 해제 */
  .about-t br,
  .extra-text br {
    display: none;
  }

  .copy-message {
    display: none !important;
  }

  .exhibition-period-note {
    display: inline-block;
    margin-top: 6px;
  }
}

/* 움직임 줄이기 설정을 사용하는 방문자 지원 */
@media (prefers-reduced-motion: reduce) {

  .mobile-menu-btn span,
  main>aside,
  .mobile-overlay {
    transition: none;
  }
}