/* ===== 기본 초기화 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px !important;
	 scrollbar-gutter: stable;

}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: #fafafa;
  line-height: 1.6;
  color: #333;
}

/* ===== 공통 컨테이너 ===== */
.header-inner,
main,
.footer-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  width: 100%;
  position: relative;
  z-index: 1000;
}

.header-inner {
  height: 100px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0px 40px !important;
}
header .header-inner {
  max-width: none !important;
  padding: 0 24px !important;
}

.logo img {
  height: 48px;
  display: block;
}

.global-nav {
  display: flex !important;
  gap: 30px !important;
  align-items: center !important;
	
}

.global-nav a {
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}
.global-nav a,
.global-nav button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration: none;
}
/* ✅ hover 통일 (원래 메뉴 hover가 있으면 그거에 맞춰도 됨) */
.global-nav a:hover,
.global-nav button:hover {
  opacity: 0.7;
}

.nav-lang-toggle {
  background: none;
  border: 1px solid #ccc;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: 0.3s;
  position: relative;
  color: #333;
}

.nav-lang-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #111;
  transition: width 0.2s ease;
}

.nav-lang-toggle:hover::after {
  width: 100%;
}

/* ===== MAIN ===== */
main {
  padding: 40px 40px 80px !important;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid #f0f0f0;
}

section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.section-text {
  font-size: 0.98rem;
  color: #444;
  max-width: 100%;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 16px;
}

/* ===== HERO 영역 ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.video-wrapper {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== 페이드인 효과 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.fade-in.in-view {
  opacity: 1;
  transform: none;
}

/* ===== 작가 노트 ===== */
.note-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  
}


.note-text {
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: left;
  min-height: 260px;
  margin-top: 4px;
}

.note-text p {
  margin: 0 0 20px;
}

.note-text p:first-child {
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 24px;
}

.note-text p:last-child {
  margin-bottom: 0;
}

.note-nav {
  background: none;
  border: none;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  margin: 0;
  
}

.note-nav:hover {
  color: #000;
  opacity: 0.8;
  
}


.note-nav-group {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 60px;
	
}





.note-wrap:hover .note-nav,
.note-nav:focus-visible {
  opacity: 1;
}

.note-nav:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

/* ===== 핵심 가치 ===== */
#values { padding: 60px 0; }

/* 탭: 카드 1개만 */
#values .value-card{ display:none; }
#values .value-card.is-active{ display:block; }

#values .values-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #ffffff;
 width: 100%;
  box-sizing: border-box;

  
}

#values .values-tag {
  font-size: 0.85rem;
scroll-snap-align: start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #eeeeee;
  background: #fafafa;
  color: #444;
}

#values .values-grid {
  margin-top: 26px;
  display: block;
 }

#values .value-card {
  border-radius: 12px;
  border: 1px solid #eaeaea;
  padding: 18px 20px;
  background: #fff;
}

#values .value-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: #222; }
#values .value-text  { font-size: 1.05rem; color: #555; line-height: 1.8; }

/* ===== 전시 ===== */
#exhibitions {
  padding: 80px 0;
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.exhibition-card {
  text-align: center;
}

.exhibition-card img {
  width: 100%;
  height: 220px;                 /* 썸네일 높이만 통일 */
  object-fit: contain;           /* 잘림 ❌ */
  background: #f2f2f2;           /* 여백 자연스럽게 */
  padding: 10px;                 /* 액자 느낌 */
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.exhibition-card img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);

}
#artist-note {
  background: #fdfdfd;
  padding: 60px 0;
}


.exh-title {
  font-size: 0.95rem;
  margin-top: 10px;
  color: #222;
  font-weight: 600;
  text-align: left;
}

.exh-meta {
  font-size: 0.85rem;
  color: #777;
  text-align: left;
}

/* ===== 라이트박스 ===== */
.exhibition-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.exhibition-lightbox.active {
  display: flex;
}

.exhibition-lightbox-inner {
  padding: 20px;
  background: #111;
  border-radius: 10px;
  max-width: 90vw;
  max-height: 90vh;
}

.exhibition-lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.exhibition-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: #fff;
  border: none;
  background: none;
  cursor: pointer;
}

/* ===== 갤러리 페이지 ===== */
.page-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.page-sub {
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #555;
}

.layout {
  display: flex;
  gap: 20px;
}






.gallery-right {
  flex: 1;
}


/* ===== Series Chips ===== */
.series-chips{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.series-chip{
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}

.series-chip:hover{
  opacity: 0.75;
}

.series-chip.is-active{
  border-color: #111;
}





.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 데스크탑 기본 3열 */
  gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.thumb-img {
  width: 100%;
  display: block;
}

.gallery-meta {
  padding: 10px 14px 14px;
}

.gallery-title {
  font-weight: bold;
  margin-bottom: 4px;
}

.gallery-sub {
  font-size: 0.9rem;
  color: #666;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #000;
  max-width: 80%;
  width: 100%;
  position: relative;
  border-radius: 8px;
}

.modal-box video {
  width: 100%;
  display: block;
}

.modal-close,
.modal-arrow {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 1000;
}

.modal-close { 
  top: 10px; 
  right: 10px; 
}

.modal-arrow-left {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.modal-arrow-right {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.modal-info {
  color: #fff;
  padding: 16px;
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #f7f7f7;
  border-top: 1px solid #eee;
  margin-top: 80px;
  padding: 24px 20px 16px;
  font-size: 14px;
  color: #444;
}

.footer-inner {
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.footer-logo {
  width: 32px;
  height: auto;
}

.footer-company-name {
  font-weight: 600;
  font-size: 15px;
}

.footer-center {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.footer-contact-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-contact-buttons {
  display: flex;
  gap: 8px;
}

.footer-contact-btn {
  display: inline-block;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

.footer-contact-btn:hover {
  border-color: #111;
  color: #111;
  background: #f4f4f4;
}

.footer-address {
  font-size: 12px;
  color: #666;
  text-align: right;
  max-width: 260px;
  line-height: 1.5;
}

.footer-bottom {
  margin: 12px auto 0;
  padding-top: 8px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #888;
  text-align: center;
}

/* ===== 이메일 팝업 ===== */
.email-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.email-modal.show {
  display: flex;
}

.email-modal-box {
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  min-width: 260px;
  max-width: 320px;
  text-align: center;
  font-size: 14px;
}

.email-modal-box strong {
  font-weight: 600;
}

.email-modal-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.email-modal-actions button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 13px;
}


.email-modal-actions button:hover {
  background: #eee;
}

/* ===== 심플 Footer (company.html용) ===== */
footer {
  border-top: 1px solid #eee;
  padding: 16px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: 80px;
}

.scroll-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 9999;
}

.scroll-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover{
  opacity: 0.9;
}


  
 








/* =========================
   MOBILE (<=768)
========================= */
@media (max-width: 768px) {
  #artist-note .catalog-header,
  #artist-note .catalog-body {
    padding-left: 10px !important;
    padding-right: 10px !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #artist-note .catalog-header{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 0 !important;
  }
  #artist-note .catalog-number{
    margin: 0 0 2px 0 !important;
    font-size: 0.85rem !important;
    color: #999 !important;
  }
  #artist-note .catalog-title{
    margin: 0 0 22px 0 !important;
  }

  /* 버튼: 작가노트 안 + 중앙 */
  #artist-note .catalog-nav {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 10px !important;
    margin-top: 32px !important;
    background: transparent !important;
    border-top: none !important;
    z-index: auto !important;
  }

  #artist-note .catalog-nav .note-nav{
    font-size: 16px !important;
    padding: 10px 6px !important;
  }
/* ===== Core Values : Mobile ===== */
#values .values-tags{

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

  gap: 8px;
  padding: 8px 8px;
  margin-top: 16px;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
 .series-chips{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .series-chip{
    flex: 0 0 auto;
  }

#values .values-tag{
  -webkit-appearance: none;
  appearance: none;

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

  width: 36px;
  height: 36px;
  padding: 0;

  font-size: 0;
  color: transparent;
  text-shadow: none;

  border-radius: 999px;
  border: 1px solid #eee;
  background: #fafafa;

  white-space: nowrap;
  line-height: 1;
  flex: 0 0 auto;

  transition: transform .18s ease, background .18s ease;
}

/* 숫자 표시 */
#values .values-tag::before{
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

#values .values-tag[data-tab="0"]::before{ content: "01"; }
#values .values-tag[data-tab="1"]::before{ content: "02"; }
#values .values-tag[data-tab="2"]::before{ content: "03"; }
#values .values-tag[data-tab="3"]::before{ content: "04"; }
#values .values-tag[data-tab="4"]::before{ content: "05"; }

#values .values-tag.is-active{
  transform: none;           /* 핵심 */
  background: #111;
  border-color: #111;
}

#values .values-tag.is-active::before{
  color: #fff;               /* 활성 숫자 색만 변경 */
}
#values .value-card{
  padding: 22px 18px;
}

#values .value-title{
  font-size: 1.05rem;
  line-height: 1.25;
}

#values .value-text{
  font-size: 1.02rem;
  line-height: 1.85;
}
 .gallery-layout {
    flex-direction: column;
    gap: 16px;
  }




 

  /* (C) 작품: 3열 -> 2열로 키우기 */
  .gallery-layout .gallery-grid {
     grid-template-columns: repeat(2, 1fr);
  }

  /* (D) 작품 카드: 여백/텍스트 살짝 줄여 더 크게 보이게 */
  .gallery-layout .gallery-item {
    margin-bottom: 12px;
  }

  .gallery-layout .gallery-meta {
    padding: 8px 10px 12px;
  }

  .gallery-layout .gallery-title {
    font-size: 0.9rem;
  }

  .gallery-layout .gallery-sub {
    font-size: 0.78rem;
  }
  .scroll-top{
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
.site-footer{
    margin-top: 56px;
    padding: 18px 16px 14px;
  }

  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-left{
    padding-top: 0;
  }

  .footer-center{
    width: 100%;
    text-align: left;
    padding: 0;
  }

  .footer-contact-text{
    white-space: normal;      /* ✅ 한 줄 잘림 제거 */
    overflow: visible;
    text-overflow: unset;
    font-size: 13px;
    line-height: 1.7;
  }

  .footer-right{
    width: 100%;
    align-items: flex-start;
  }

  .footer-contact-buttons{
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-address{
    max-width: none;
    text-align: left;
    font-size: 12px;
    line-height: 1.6;
  }

  .footer-bottom{
    text-align: left;
  }


}
/* =========================
   DESKTOP (>=769)  ✅ 하나로 통합
========================= */
@media (min-width: 769px) {

  /* ===== 작가노트(데스크탑) ===== */
  #artist-note .note-column {
    max-width: 920px;
    margin-left: 120px;
    margin-right: auto;
  }

  #artist-note .catalog-number { margin-bottom: 10px; }
  #artist-note .catalog-title  { margin-bottom: 30px; }

  #artist-note .catalog-header,
  #artist-note .catalog-body {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  #artist-note .catalog-body p {
    margin: 0 0 20px;
    line-height: 1.8;
  }
#artist-note .catalog-nav {
  margin-top: 140px;
  display: flex;
  justify-content: center;
  gap: 40px;

  max-width: 920px;     /* ✅ note-column과 기준 맞춤 */
  margin-left: auto;    /* ✅ 중앙 정렬 */
  margin-right: auto;   /* ✅ 중앙 정렬 */
}

  /* ✅ Core Values: 탭 모드 */
#values .values-tag{
  cursor: pointer;
}
#values .values-tag.is-active{
  background:#111;
  color:#fff;
  border-color:#111;
}

/* 기본: 카드 1개만 보여주기 */

/* 탭일 때는 그리드 대신 단일 카드가 자연스러움 */
#values .values-grid{
  display:block;
  margin-top: 26px;
}
#values .value-card{
  max-width: 860px;
  margin: 0 auto;
}



}
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


