@charset "UTF-8";
@import url('https://unpkg.com/normalize.css') layer(normalize);

/* 기본 색상 + 공통 변수 */
:root {
  --main-color: #6e888e00;
  --accent-color: #9d8aae;
  --dark-main-color: #121212;
  --text-bright-color: #fff;
  --icon-color: #fff;
  --icon-bk-color: #ddd;
  --gray-color: #ddd;
  --large-width: 1000px;
  --middle-width: 800px;

  /* about 전용 */
  --about-bg: #1b1b1b;
  --about-text-main: #e4e8dd;
  --about-text-muted: #8d9286;
  --about-accent: #a7ff4b;
}

/* 기본 설정: 폰트 크기 */
@media (max-width: 599px) {
  :root { font-size: 14px; }
}
@media (min-width: 600px) and (max-width: 799px) {
  :root { font-size: 16px; }
}
@media (min-width: 800px) {
  :root { font-size: 18px; }
}

/* 기본 설정: 페이지 전체 */
body {
  margin: 0;
  font-size: 16px;
  color: #ddd;
  font-family: '맑은 고딕','Apple SD Gothic Neo','Stack Sans Notch','Noto Sans KR','Oswald',sans-serif;
  background-color: #1b1b1b;
}

/* ===================== header ===================== */
header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(63, 63, 63, 0.057);
  backdrop-filter: blur(5px);
}

/* headA: 사이트 이름 */
.headA {
  display: inline-block;
  line-height: 70px;
  padding: 0 20px;
  background-color: var(--main-color);
  color: var(--text-bright-color);
  font-family: 'Stack Sans Notch', sans-serif;
  letter-spacing: -0.06em;
  font-size: 24px;
  text-decoration: none;
}

/* headB: 메뉴 */
.headB ul {
  margin: 0;
  padding: 10px 0;
  list-style: none;
  display: inline-block;
  color: #00ff55;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
}

.headB a {
  display: inline-block;
  padding: 10px 20px;
  color: inherit;
  font-size: 15px;
  text-decoration: none;
  margin-left: 10px;
  margin-top: 10px;
}
.headB a:hover {
  background-color: #00ff5500;
  color: #1f1f1f;
  border-color: #00ff5500;
}

/* X자로 잘리는 네비 효과 */
.page-index header { position: static; }

.headB a.nav-x {
  position: relative;
  display: inline-block;
  padding: 10px 10px;
  border-radius: 30px;
  border: 2px solid currentColor;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  color: transparent;
  min-width: 140px;
  overflow: hidden;
}

/* 네 개의 텍스트 레이어 */
.headB a.nav-x span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  color: #ffffff;
  transition: transform 0.25s ease;
}
.headB a.nav-x span:nth-child(1) {
  clip-path: polygon(0 0, 50% 0, 50% 50%, 0 50%);
}
.headB a.nav-x span:nth-child(2) {
  clip-path: polygon(50% 0, 100% 0, 100% 50%, 50% 50%);
}
.headB a.nav-x span:nth-child(3) {
  clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
}
.headB a.nav-x span:nth-child(4) {
  clip-path: polygon(0 50%, 50% 50%, 50% 100%, 0 100%);
}

/* hover 시 X자로 흩어짐 */
.headB a.nav-x:hover span:nth-child(1) { transform: translate(-5px, -5px); }
.headB a.nav-x:hover span:nth-child(2) { transform: translate(5px, -5px); }
.headB a.nav-x:hover span:nth-child(3) { transform: translate(5px, 5px); }
.headB a.nav-x:hover span:nth-child(4) { transform: translate(-5px, 5px); }

.headB a.nav-x:hover {
  background-color: #00ff5500;
  border-color: #00ff5500;
}

.page-index .headB ul { color: #030303; }
.page-index .headB a:hover {
  background-color: #00ff55;
  color: #ffffff;
  border-color: #00ff55;
}

/* header 레이아웃 */
@media (min-width: 768px) {
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--large-width);
    margin: 0 auto;
  }
  .headB ul { display: flex; }
}

/* M headC: 토글 버튼 (모바일) */
@media (max-width: 767px) {
  header .container-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .headC {
    margin-right: 10px;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    font-size: 28px;
    opacity: 1;
    cursor: pointer;
    color: #fff;
  }
  .headC:hover { opacity: 0.3; }
  .headB { display: none; 
          text-align: center;}
  .headB {
    display: none;        /* jQuery가 slideToggle로 block으로 바꿔줌 */
    text-align: center;   /* 메뉴 전체 가운데 정렬 */
  }
}

@media (min-width: 768px) {
  .headC { display: none; }
  .headB { display: block !important; }
}

/* ===================== 공통 섹션 ===================== */

/* 콘텐츠A: main-banner-image */
.conA {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  min-height: 450px;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 80%, #121212 100%);
  background-position: center;
  background-size: cover;
  color: var(--text-bright-color);
  text-align: center;
}
.conA .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.conA.compact {
  height: 40px;
  min-height: 0;
}
.conA.compactt {
  height: 600px;
  background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)),url(img/img_Ex_main.jpg);
  min-height: 0;
}
.conA.compactt {
  font-family:'Stack sans Notch', sans-serif;
}
.conA h1 {
  margin: 0 0 10px;
  font-family: 'Stack Sans Notch', sans-serif;
  font-size: 15vw;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.06em;
}
.conA p {
  margin: 0;
  font-size: 18px;
}
@media (min-width: 768px) {
  .conA h1 { font-size: 115px; }
  .conA p { font-size: 24px; }
}

/* 콘텐츠B */
.conB {
  color: var(--text-bright-color);
  background-image: url(img/img_index1-2.png);
  background-position: center;
  height: 600px;
  margin: 50px 0;
}
.conB .container {
  padding-top: 80px;
  padding-bottom: 20px;
  text-align: center;
}
.conB .text {
  padding: 0 20px 60px;
  text-align: center;
}
.conB h2 {
  margin: 0 0 10px;
  font-size: 80px;
  font-family: 'Stack Sans Notch';
}
.conB p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}
.conB a {
  color: var(--main-color);
  text-decoration: none;
  transform: scale(0.98);
  transition: 0.3s;
}
.conB a:hover {
  text-decoration: underline;
  transform: scale(1);
}
.conB i {
  font-size: 50px;
  color: #31523c;
  margin: 0 0 10px;
  transform: scale(0.98);
  transition: 0.3s;
}
.conB i:hover { transform: scale(1.2); }

@media (min-width: 768px) {
  .conB .container {
    display: flex;
    max-width: var(--large-width);
    margin: 100px auto;
  }
  .conB .text { flex: 1; }
}

/* 콘텐츠C */
.conC {
  background-color: var(--main-color);
  color: var(--text-bright-color);
  font-family: 'Stack Sans Notch';
  margin: 300px 0;
  padding: 0 20px;
}
.conC .text {
  position: relative;
  z-index: 1;
  padding: 24px 20px;
  margin-top: 24px;
}
.conC .text .card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: #212121;
  box-shadow: 10px 10px 20px rgb(25, 25, 25),
              -10px -10px 20px rgb(60, 60, 60);
  z-index: -1;
}
.conC h2 {
  margin: 0 0 10px;
  font-size: 50px;
  line-height: 0.9;
  color: #00ff55;
}
.conC p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
  font-family: 'Noto Sans KR', sans-serif;
}
.conC a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  border: 3px solid currentColor;
  border-radius: 30px;
  background-color: transparent;
  color: #00ff55;
  font-size: 14px;
  text-decoration: none;
}
.conC a:hover {
  background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}
.conC .photo {
  min-height: 500px;
  background-image: url(img/img_index2-1.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  border-radius: 15px;
}

@media (min-width: 768px) {
  .conC .container {
    display: flex;
    max-width: var(--large-width);
    margin: 0 auto;
  }
  .conC .photo { flex: 3; }
  .conC .text {
    flex: 2;
    padding: 50px;
    position: relative;
    z-index: 1;
  }
  .conC .text .card {
    inset: -20px;
    border-radius: 30px;
    box-shadow: 15px 15px 30px rgb(19, 20, 19),
                -15px -15px 30px rgb(60, 60, 60);
  }
}

/* 콘텐츠D */
.conD .container { padding: 2px; }
.conD .text { padding: 20px; }
.conD h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.conD p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}
.conD a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  box-shadow: 0 0 0 1px #888;
  border: 3px solid currentColor;
  border-radius: 6px;
  background-color: var(--accent-color);
  color: var(--text-bright-color);
  font-size: 14px;
  text-decoration: none;
}
.conD a:hover {
  background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}
.conD .photo {
  min-height: 300px;
  background-image: url(img/h.jpg);
  background-position: center;
  background-size: cover;
}
@media (min-width: 768px) {
  .conD .container {
    display: flex;
    flex-direction: row-reverse;
    max-width: var(--large-width);
    margin: 0 auto;
    padding: 40px 0;
  }
  .conD .photo { flex: 0 0 400px; }
  .conD .text {
    flex: 1;
    padding: 50px;
  }
}

/* 콘텐츠E */
.conE {
  background-color: var(--main-color);
  color: var(--text-bright-color);
  font-family: 'Stack Sans Notch';
  margin-top: 100px;
}
.conE .text {
  padding: 10px;
  text-align: right;
}
.conE h2 {
  margin: 0 0 10px;
  font-size: 50px;
  line-height: 0.9;
  color: #00ff55;
}
.conE p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
  font-family: 'Noto Sans KR', sans-serif;
}
.conE a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  border: 3px solid currentColor;
  border-radius: 30px;
  background-color: transparent;
  color: #00ff55;
  font-size: 14px;
  text-decoration: none;
}
.conE a:hover {
  background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}
.conE .photo {
  min-height: 500px;
  background-image: url(img/img_about_1.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  border-radius: 15px;
}
@media (min-width: 768px) {
  .conE .container {
    display: flex;
    max-width: var(--large-width);
    margin: 0 auto;
  }
  .conE .photo { flex: 3; }
  .conE .text {
    flex: 2;
    padding: 50px;
  }
}

/* ===================== footer ===================== */
footer {
  /*color: var(--text-bright-color);*/
  color: #ccc;
  background-color: #1b1b1b;
}
footer .container {
  padding: 40px 20px 20px 20px;
  border-top:1px solid #333;
}
@media (min-width: 768px) {
  footer .container {
    display: flex;
    flex-wrap: wrap;
    max-width: var(--large-width);
    margin: 0 auto;
	border-top:1px solid #222;
  }
  .footA { flex: 0 0 40%; }
  .footB { flex: 0 0 60%; }
  .footC { flex: 0 0 100%; }
}
.footA {
  margin-bottom: 30px;
}
.footA h2 {
  margin: 0 0 10px;
  font-family: 'Stack Sans Notch', sans-serif;
  font-size: 30px;
  letter-spacing: -0.06em;
}
.footA p {
  margin: 0;
  font-size: 14px;
  color: #888;
}
.footA a {
  color: #666;
  text-decoration: none;
}
.footB div {
  margin-bottom: 20px;
  color: #888;
}
.footB h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-family: 'Oswald', sans-serif;
  border-bottom:1px solid #222;
  padding-bottom: 5px;
}
.footB ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footB a {
  display: block;
  padding: 5px;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}
.footB a:hover {
  background-color: rgba(0,0,0,0.3);
}
@media (min-width: 768px) {
  .footB { display: flex; }
  .footB div { flex: 1; }
  .footB div:not(:first-child) { margin-left: 40px; }
  .footB h3 { border-bottom:0; }
}
.footC {
  font-size: 12px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  color: #888;
}
.footD {
  margin-top: 20px;
}
.footD ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footD a {
  display: block;
  margin-right: 8px;
  padding: 0;
  color: inherit;
  font-size: 16px;
  text-decoration: none;
  width: 2em;
  line-height: 2em;
  border-radius: 6px;
  text-align: center;
}
.footD a:hover {
  background-color: rgba(0,0,0,0.3);
}

/* ===================== 게시글 / about history ===================== */
.post .container {
  max-width: var(--middle-width);
  margin-left: auto;
  margin-right: auto;
  padding: 30px 10px;
}
.post h1 {
  padding-left: 0.5rem;
  border-left: 0.75rem solid var(--accent-color);
  font-size: 2rem;
}
.post p {
  font-size: 1rem;
  line-height: 2;
}

/* 소개페이지: 이미지와 연혁 */
.history {
  background-color: var(--main-color);
  color: var(--text-bright-color);
  margin: 300px 0;
}
.history .text {
  padding: 20px;
  line-height: 1.9;
  color: var(--about-text-main);
}
.history h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-family: 'Stack Sans Notch';
}
.history .photo {
  min-height: 600px;
  background-image: url(img/img_about_2.jpg);
  background-position: center;
  background-size: cover;
}
.history table {
  border-collapse: collapse;
  font-size: 0.875rem;
  width: 100%;
  color: #fff;
}
.history th,
.history td {
  padding: 1.8rem 0;
}
.history th {
  padding-right: 1rem;
  text-align: end;
  word-break: keep-all;
}
@media (min-width: 768px) {
  .history .container {
    display: flex;
    max-width: var(--large-width);
    margin: 0 auto;
  }
  .history .photo { flex: 3; }
  .history .text {
    flex: 2;
    padding: 50px;
  }
}

/* ===================== Artwork 리스트 ===================== */
.listA h1 {
  font-size: 2rem;
  font-family: 'Stack Sans Notch', sans-serif;
  text-align: center;
  margin-top: 100px;
}
.listA .container {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--large-width);
  margin: 30px auto;
  gap: 20px;
  justify-content: center;
}
.listA article {
  flex: 0 0 auto;
  display: flex;
}
/* 카드 외곽 그라디언트 */
.listA .Acard {
  width: 254px;
  height: 300px;
  background-image: linear-gradient(163deg, #a8ff07 0%, #00ff55 100%);
  border-radius: 20px;
  transition: all 0.3s;
}
.listA .Acard2 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
  overflow: hidden;
  transition: all 0.2s;
}
.listA .Acard2:hover {
  transform: scale(0.98);
  border-radius: 20px;
}
.listA .Acard:hover {
  box-shadow: 0 0 30px 1px rgba(0, 255, 117, 0.3);
}
.listA a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.listA .photo {
  min-height: 300px;
  background-position: center;
  background-size: cover;
  flex: 1 1 auto;
}
.listA .text { display: none; }
.listA h2 { font-size: 18px; }
.listA p {
  font-size: 14px;
  opacity: 0.8;
}

/* Artwork_b 리스트 */
.listB h1 {
  font-size: 2rem;
  text-align: center;
}
.listB .container {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--large-width);
  margin: 30px auto;
}
.listB article {
  flex: 1 1 384px;
  display: flex;
}
.listB a {
  transform: scale(0.98);
  transition-duration: 2s;
  flex: 1;
  margin: 10px;
  display: flex;
  border: 1px solid var(--gray-color);
  color: inherit;
  text-decoration: none;
}
.listB a:hover {
  opacity: 1;
  background-color: #000;
  color: #ddd;
  transform: scale(1);
}
.listB .photo {
  flex: 2;
  min-height: 0;
  background-position: center;
  background-size: cover;
}
.listB .text {
  flex: 3;
  margin: 10px;
}
.listB h2 { font-size: 18px; }
.listB p {
  font-size: 14px;
  opacity: 0.8;
}
@media (max-width: 384px) {
  .listB .photo { flex: 1; }
  .listB p { display: none; }
}

/* ===================== 문의 / 위치 ===================== */
.contact {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--gray-color);
  text-align: center;
}
.contact span {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 2.2rem;
  width: 2em;
  line-height: 2em;
  border-radius: 50%;
  text-align: center;
  background-color: var(--main-color);
  color: var(--icon-color);
}
.contact h2 {
  margin-top: 0;
  font-size: 1.2rem;
}
.contact a {
  font-size: 1.4rem;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 768px) {
  .contact-wrap { display: flex; }
  .contact {
    flex: 1;
    margin-right: 20px;
  }
  .contact:last-child { margin-right: 0; }
}
.location iframe {
  width: 100%;
  height: 400px;
  vertical-align: bottom;
}
.location h2 {
  margin: 0;
  padding: 20px 0;
  background-color: var(--main-color);
  color: var(--text-bright-color);
  font-size: 1.5rem;
  text-align: center;
}

/* ===================== cards (blur hover) ===================== */
/* From Uiverse.io by mohamedkhire */
.card::before {
  content: "";
  position: relative;
  border-radius: 50%;
  width: 7rem;
  height: 7rem;
  top: 20%;
  filter: blur(10px);
}
.card::after {
  content: "";
  position: relative;
}

.cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin: 200px 0;
}
.cards .red,
.cards .blue,
.cards .green,
.cards .yellow {
  width: 200px;
  height: 180px;
  backdrop-filter: blur(30px);
  background-color: rgba(50, 50, 50, 0.74);
  border: 1px solid rgba(55, 224, 4, 0.285);
}
.cards .card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 10px;
  color: rgb(23, 23, 23);
  cursor: pointer;
  transition: 400ms;
  position: relative;
  opacity: 0.2;
  filter: blur(5px);
  height: 300px;
  width: 250px;
}
.cards .card:hover {
  transform: scale(1.1, 1.1);
  filter: blur(0);
  opacity: 1;
}
.cards .card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .cards .red,
  .cards .blue,
  .cards .green,
  .cards .yellow {
    height: 300px;
  }
  .cards .card {
    width: 80%;
    max-width: 300px;
  }
  .cards .card img {
    position: relative;
    width: 100%;
    height: auto;
  }
}

/* ===================== 슬라이드쇼 ===================== */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: 50px auto;
}
.slideshow-container .mySlides { display: none; }
.slideshow-container .prev,
.slideshow-container .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  z-index: 10;
}
.slideshow-container .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.slideshow-container .prev:hover,
.slideshow-container .next:hover {
  background-color: rgba(0,0,0,0.8);
}
.slideshow-container .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  z-index: 10;
}
.slideshow-container .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  z-index: 10;
}
.slideshow-container .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.slideshow-container .active,
.slideshow-container .dot:hover {
  background-color: #717171;
}
.slideshow-container .fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* =========================
   ABOUT PAGE 전용 레이아웃
   ========================= */
.about-page {
  min-height: 100vh;
  padding: 40px 6vw 40px;
  display: flex;
  flex-direction: column;
  background: var(--about-bg);
  color: var(--about-text-main);
}
.about-inner {
  width: min(100%, var(--large-width));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.about-hero {
  text-align: center;
  margin-top: 10vh;
}
.about-eyebrow {
  font-family: 'Stack Sans Notch', sans-serif;
  font-size: 20px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 20px;
}
.about-hero h1 {
  font-family: 'Stack Sans Notch', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 40px;
}
.about-photo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.about-photo2 {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.about-photo2 img {
  max-width: 400px;
  width: 60vw;
  border-radius: 4px;
  filter: grayscale(0);
  display: block;
}
.about-photo img {
  max-width: 220px;
  width: 60vw;
  border-radius: 4px;
  filter: grayscale(1);
  display: block;
}
.about-photo figcaption {
  font-size: 14px;
  color: var(--about-text-muted);
}
.about-columns {
  margin-top: auto;
  padding-top: 80px;
  display: grid;
  gap: 40px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
}
@media (min-width: 900px) {
  .about-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.about-columns article h3 {
  margin: 0 0 16px;
  font-size: 20px; /*11주 피드백 1: font-size: 15px에서 20px;로 수정했습니당.*/
  color: var(--about-text-muted);
}
.about-columns article h3::before {
  content: "+ ";
  color: var(--about-accent);
}
.about-columns article p { /*11주 피드백 2: font좀더 얇은체로 수정하면 어떨까?*/
  margin: 0 0 20px 0;
  line-height: 1.9;
  color: var(--about-text-main);
}
@media (max-width: 600px) {
  .about-page { padding-top: 60px; }
  .about-hero { margin-top: 60px; }
  .about-columns {
    padding-top: 60px;
    gap: 32px;
  }
}
.about-heritage {
  padding: 120px 0;
}

.about-heritage__inner {
  max-width: var(--large-width);
  margin: 0 auto;
  display: grid;

  column-gap: 4rem;
  row-gap: 2rem;
  align-items: flex-start;
}

/* 왼쪽 큰 타이틀 */
.about-heritage__title h2 {
  margin: 0;
  font-family: 'Stack Sans Notch', system-ui, sans-serif;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.35em;

}

/* 가운데/오른쪽 칼럼 공통 */
.about-heritage__col {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: #d4d4d4;
}

.about-heritage__col p {
  margin: 0 0 1.5rem;
}

/* 작은 화면: 한 줄 레이아웃으로 변경 */
@media (max-width: 900px) {
  .about-heritage {
    padding: 80px 16px;
  }

  .about-heritage__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-heritage__title {
    margin-bottom: 32px;
  }
}

/* =========================================
   EXHIBITION STRIP GALLERY (click to expand)
   ========================================= */
.ex-nav-section {
  margin: 150px 0;
}

.ex-nav-inner {
  max-width: var(--large-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 타이틀은 인라인 스타일 그대로 써도 되고, 공통으로 쓰고 싶으면 이렇게 */
.ex-nav-section h2 {
  font-family: 'Stack Sans Notch', sans-serif;
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
}

/* 세로 스트립들이 가로로 쭉 나열되는 영역 */
.ex-nav {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  height: 340px;       /* 갤러리 세로 높이 */
  margin-top: 100px;
}

/* 개별 카드(기본 상태 = 좁고 세로로 긴 스트립) */
.ex-nav-item {
  position: relative;
  flex: 0 0 80px;                      /* 기본 너비 */
  height: 260px;                       /* 기본 높이 */
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;

  /* 이미지는 인라인 style 의 --ex-img 사용 */
  background-image: var(--ex-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 기본은 살짝 어둡게 */
  filter: grayscale(.85) brightness(.7);
  transform-origin: center bottom;
  transform: translateY(0) scale(1);

  transition:
    flex 0.4s ease,
    height 0.4s ease,
    filter 0.3s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* 안 쓰는 내부 요소들은 숨김 */
.ex-nav-item .ex-nav-img,
.ex-nav-item .ex-nav-hoverzone {
  display: none;
}

/* 클릭되었을 때 활성 카드 = 정사각형으로 커짐 */
.ex-nav-item.is-active {
  flex: 0 0 360px;                     /* 넓이 키움 (정사각형) */
  height: 360px;
  filter: grayscale(0) brightness(1);
  transform: translateY(-20px);        /* 살짝 위로 띄우기 */
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}
.ex-nav-stage p{
  font-size:16px;
  text-align:center;
  margin-top: 50px;
}
/* 작은 화면일 때 비율만 조금 줄이기 */
@media (max-width: 767px) {
  .ex-nav {
    flex-direction: column;          /* 가로 → 세로 */
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    max-width: 400px;                /* 중앙에 적당한 폭으로 */
    margin: 0 auto;
    gap: 8px;
    padding: 0;
  }

  /* 기본 상태: 얇은 가로 스트립 */
  .ex-nav-item {
    flex: 0 0 auto;                 /* 높이 고정 안 함 */
    width: 100%;
    height: 100px;                   /* 스트립 높이 */
    border-radius: 6px;
    transform: none;                /* 위로 튀어 오르는 효과 제거 */
  }

  /* 선택됐을 때만 아래로 확장 */
  .ex-nav-item.is-active {
    height: 260px;                  /* 클릭 시 커지는 높이 */
    transform: none;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    filter: grayscale(0) brightness(1);
  }
}

/* @layer demo 제거 및 CSS 평탄화 */
.board-container {
  position: relative;
  border: 2px solid hsl(0 0% 16%);
  border-radius: 4px;
  scale: 1;
  transform: scale(var(--scale));
  transform-origin: top center;
  margin-inline: auto;
}
.board-container::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(-68deg, #0000 63% 69.5%, #fff 70% 80%, #0000 80.5% 82.5%, #fff 82% 86.5%, #0000 87% 100%);
  z-index: 3;
  opacity: 0.12;
  mix-blend-mode: plus-lighter;
}
@media (max-width: 480px) {
  .board-container {
    --scale: 0.6;
  }
}
.rivets {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.rivets div {
  background: hsl(0 0% 10%);
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0.5px 0.5px 0px hsl(0 0% 100% / 0.2) inset;
}
.rivets div::after {
  content: '';
  height: 2px;
  width: 80%;
  border-radius: 10px;
  background: hsl(0 0% 0%);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  box-shadow: 0 -1px hsl(0 0% 100% / 0.2) inset;
  rotate: -30deg;
}

.rivets div:nth-of-type(1) {
  left: calc(100% + 4px);
  bottom: calc(100% + 4px);
}
.rivets div:nth-of-type(2) {
  right: calc(100% + 4px);
  bottom: calc(100% + 4px);
}
.rivets div:nth-of-type(3) {
  right: calc(100% + 4px);
  top: calc(100% + 4px);
}
.rivets div:nth-of-type(4) {
  left: calc(100% + 4px);
  top: calc(100% + 4px);
}

.board {
  --size: 4px;
  font-family: 'Teko', sans-serif;
  font-size: 100px;
  font-weight: 300;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  width: 400px;
  padding-block: 1rem;
  line-height: 1;
  overflow: hidden;
  container-type: inline-size;
  background: hsl(0 0% 6%);
  background: hsl(30 90% 8%);
  background: oklch(0.7 0.2393 var(--hue));
  background: oklch(0.5 0.18 var(--hue) / var(--bg-lightness, 0.5));
  position: relative;
  filter: contrast(2) brightness(1.5) saturate(2);
  transform: translateZ(0);
}

.board::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: plus-lighter;
  filter: brightness(1.1);
  background: radial-gradient(circle at center, hsl(0 0% 20%) 1px, transparent 4px) 50% 50% / var(--size) var(--size);
  transform: translateZ(0);
}

.board .board__content {
  /* --size: 5px; */
  filter: blur(calc(var(--blur, 1) * 1px)) contrast(1.2) brightness(1) saturate(1.6);
  color: hsl(var(--hue, 30) 100% 50%);
  color: oklch(1 0.2393 var(--hue));
  height: 100%;
  width: 100%;
  mask: radial-gradient(circle at center, #000 1px, #0000 1px) 50% 50% / var(--size) var(--size);
  transform: translateZ(0);
}

.board .text-track {
  position: relative;
  display: flex;
  width: fit-content;
  animation: slide calc(var(--duration, 10) * 1s) infinite linear;
  color: hsl(30 90% 65%);
  color: oklch(1 0.2883 var(--hue));
  filter: blur(1px) contrast(1) saturate(1) hue-rotate(0deg) brightness(1);
  transform: translateZ(0);
}

.board .text-track .text {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  padding-inline: 4rem;
  width: fit-content;
  filter: blur(2px) drop-shadow(0 0 2px oklch(0.1 0.4383 var(--hue) / 0.8)) contrast(3) brightness(1.4);
  min-width: 100cqi;
  text-align: center;
  text-shadow: 0 0 2px white;
  transform: translateZ(0);
}

@keyframes slide {
  to {
    translate: -50% 0;
  }
}

/* @layer base 제거 및 CSS 평탄화 */
:root {
  --font-size-min: 16;
  --font-size-max: 20;
  --font-ratio-min: 1.2;
  --font-ratio-max: 1.33;
  --font-width-min: 375;
  --font-width-max: 1500;
}

html {
  color-scheme: light dark;
}

[data-theme='light'] {
  color-scheme: light only;
}

[data-theme='dark'] {
  color-scheme: dark only;
}

:where(.fluid) {
  --fluid-min: calc(
    var(--font-size-min) * pow(var(--font-ratio-min), var(--font-level, 0))
  );
  --fluid-max: calc(
    var(--font-size-max) * pow(var(--font-ratio-max), var(--font-level, 0))
  );
  --fluid-preferred: calc(
    (var(--fluid-max) - var(--fluid-min)) /
      (var(--font-width-max) - var(--font-width-min))
  );
  --fluid-type: clamp(
    (var(--fluid-min) / 16) * 1rem,
    ((var(--fluid-min) / 16) * 1rem) -
      (((var(--fluid-preferred) * var(--font-width-min)) / 16) * 1rem) +
      (var(--fluid-preferred) * var(--variable-unit, 100vi)),
    (var(--fluid-max) / 16) * 1rem
  );
  font-size: var(--fluid-type);
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

body::before {
  --size: 45px;
  --line: color-mix(in hsl, canvasText, transparent 80%);
  content: '';
  height: 100vh;
  width: 100vw;
  position: fixed;
  background: linear-gradient(
        90deg,
        var(--line) 1px,
        transparent 1px var(--size)
      )
      calc(var(--size) * 0.36) 50% / var(--size) var(--size),
    linear-gradient(var(--line) 1px, transparent 1px var(--size)) 0%
      calc(var(--size) * 0.32) / var(--size) var(--size);
  mask: linear-gradient(-20deg, transparent 50%, white);
  top: 0;
  transform-style: flat;
  pointer-events: none;
  z-index: -1;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


div.tp-dfwv {
  width: 256px;
  position: fixed;
}
/*조절기*/
.tp-dfwv {
  display: none !important;
}
.about-heritage {
  padding: 120px 20px;
  background: #1b1b1b00; /* 전체 배경과 맞춤 */
}

.about-heritage__inner {
  max-width: var(--large-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 4rem;
  row-gap: 2rem;
  align-items: flex-start;
}
.about-heritage__col h3{
  font-family: 'Stack Sans Notch', system-ui, sans-serif;
  color:#717171;
  line-height: 1;
}
/* 왼쪽 큰 타이틀 */
.about-heritage__title h2 {
  margin: 0;
  font-family: 'Stack Sans Notch', 'Oswald', system-ui, sans-serif;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* 가운데 / 오른쪽 텍스트 컬럼 */
.about-heritage__col {
  font-family: 'Noto Sans KR', 'Space Grotesk', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: #d4d4d4;
}

.about-heritage__col p {
  margin: 0 0 1.5rem;
}

/* 모바일: 한 줄 레이아웃 */
@media (max-width: 900px) {
  .about-heritage {
    padding: 80px 16px;
  }

  .about-heritage__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-heritage__title {
    margin-bottom: 32px;
  }
}
.locations {
  max-width: var(--large-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* 공통 박스 스타일 */
.location-box {
  padding: 60px 40px 80px;
  font-family: 'Noto Sans KR', 'Space Grotesk', system-ui, sans-serif;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* 오른쪽 컬럼은 오른쪽 보더 제거 */
.location-box:nth-child(2n) {
  border-right: none;
}

/* 마지막 행(맨 아래 두 칸)은 아래 보더 제거
   → 컨테이너의 border-bottom만 보이게 */
.location-box:nth-last-child(-n + 2) {
  border-bottom: none;
}

.location-box .lang {
  font-size: 13px;
  color: var(--about-text-muted);
  margin-bottom: 16px;
}

.location-box h2 {
  margin: 0 0 24px;
  font-family: 'Stack Sans Notch', 'Oswald', system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 34px);
}

.location-box .desc {
  margin: 0 0 40px;
  line-height: 1.8;
  color: var(--about-text-main);
}

.location-box .address-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--about-text-muted);
  margin-bottom: 8px;
}

.location-box .address {
  font-size: 14px;
  color: var(--about-text-main);
}

/* 모바일 1열일 때는 세로로만 구분선 */
@media (max-width: 900px) {
  .locations {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-box {
    padding: 40px 20px 60px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .location-box:last-child {
    border-bottom: none;
  }
}
/* ===================== archive video ===================== */
.archive {
background-color: #66CBE5;
background-color: var(--main-color);
color: #fff;
color: var(--text-bright-color);
}
.archive video {
width: 100%; 
position: center;
margin-top: 30px;
}
/* PC-pptx: 개요(image + text ) [width=768px]를 기준으로 */
@media (min-width: 768px) {
.archive-container {
display: block;
width: 1500px;
margin-left: auto;
margin-right: auto;
}
}