@charset "UTF-8";


/* 기본 색상 */
:root {
	--bg-main: #F9EBDE; 
	--bg-deep: #815854; 
	--bg-accent: #E9FEE5;
	--text-main: #3C2F2E;
	--text-strong: #1E1E1E;
	--text-light: #FAF8F6;
	--accent-1: #815854;
	--accent-2: #E9FEE5;
	--line-soft: #D8C8BE;  
	--line-strong: #B49A8F;
	--large-width: 1000px;
	--middle-width: 800px;
}

#mainHeader,
#mainHeader .headA,
#mainHeader .headB a {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
}

#mainHeader {
    top: 0;
    width: 100%;
    background-color: #815854;
    transition: top 0.35s ease;
    z-index: 100;
}


/* 기본 설정: 폰트 크기 */
@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;
	}
}

/*headerA 로고*/
.headA {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.headA img {
    height: 65px;
    width: auto;
    display: block;
}

/*headB: 네비게이션 메뉴 // Mobile*/
.headB ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.headB a{
	display: block;
	padding: 18px 22px;
	color: #fdf3ea;
	font-size: 14px;
	text-decoration: none;
}

.headB a:hover {
	color: #e9fee5;
}

@media (min-width: 768px) {
    #mainHeader {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
    }
	
    body {
		padding-top: 0;
	}

    body.nohero {
        padding-top: 105px !important;
    }

	header .container{
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: 1000px;
		max-width: var(--large-width);
		margin: 0 auto;
	}

	.headB{
		display: block !important;
	}

	.headB ul{
		display: flex;
	}

	.headC{
		display: none;
	}

}	

@media (max-width: 768px) {
	#mainHeader {
        position: static;
    }

    body.nohero {
        padding-top: 0 !important;
    }

    .aboutBg {
        padding-top: 40px;
    }

    header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 20px;
	}

    .headA {
        padding: 12px 0;
    }

	.headA img {
        height: 48px;
        width: auto;
    }

	.headB {
		display: none;
		background-color: #815854;
		padding: 10px 0;
	}

    .headB ul {
        flex-direction: column;
        text-align: center;
    }

    .headB a {
        padding: 14px 0;
        font-size: 14px;
        color: #fdf3ea;
    }

    .headC {
        padding: 0;
        border: none;
        background: none;
        font-size: 28px;
        opacity: 0.8;
        cursor: pointer;
    }

	.headC:hover{
		opacity: 0.3;
	}	

	.headC .fa-bars {
        color: #fdf3ea;
    }

	.dropdown-content {
        display: none !important;
    }
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 8px 0;
    background: rgba(129, 88, 84, 0.92);
}

.dropdown-content a {
	display: block;
    padding: 12px 18px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

.dropdown-content a:hover {
    color: #e9fee5;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 기본 설정: 페이지 전체 */
html,
body {
    padding: 0;
    margin: 0;
    font-family: '맑은 고딕','Apple SD Gothic Neo','sans-serif';
    font-size: 16px;
    background-color: var(--bg-main); 
}

/* 콘텐츠A: main-banner-image 히어로 이미지 // Mobile */
.conA {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	min-height: 450px;
	background-image: url(img/main_img.jpg);
	background-position: center;
	background-size: cover;
	color: var(--text-bright-color);
	text-align: center;
}

/*.conA.compact {
	height: 450px;
	min-height: 0;
	background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,1)), url(img/coffee.jpg);
} */

.conA-textbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: var(--text-light);
}

.conA h1 {
    margin: 0 0 12px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 3.2rem;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 0 18px rgba(0,0,0,0.2);
}

.conA p {
    margin: 0px;
    font-family: 'Lexend', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.92;
}

.conA .container {
    transform: translateY(-12px);
}

/*.conA img{
	width: 100%;
} */

/* Mobile */
@media (max-width: 768px) {

    .conA-textbox h1 {
        font-size: 2rem;
    }

    .conA-textbox p {
        font-size: 1.05rem;
    }

    .conA {
        background-image: url(img/main_img_m.jpg);
        background-size: cover;   
        background-position: center; 
        background-repeat: no-repeat;
        
        height: 80vh;             
        min-height: 300px;         

        padding-top: 60px;        
        padding-bottom: 140px;
    }
}

/*index: 콘텐츠 여백*/
.index-inner {
    max-width: 1200px;
    padding: 0 60px;
    margin: 0 auto;
}

/*ConB 영역 // PC*/
.conB-grid {
    padding: 150px 0;
    background-color: #F9EBDE;
    overflow: hidden;
}

.scatter-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 30px; 
    row-gap: 140px;  
    align-items: start;
}


.sc-item {
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: none; 
    background: transparent;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.sc-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sc-item:hover img {
    transform: scale(1.03);
    box-shadow: 20px 20px 40px rgba(0,0,0,0.12);
}

.sc-title {
    margin-top: 18px;
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

@media (min-width: 769px) {
    
    .sc-1 {
        grid-column: 2 / span 4; 
        margin-top: 0; 
    }

    .sc-2 {
        grid-column: 7 / span 5;
        margin-top: 140px;     
    }

    .sc-3 {
        grid-column: 2 / span 5; 
        margin-top: -40px;     
    }

    .sc-4 {
        grid-column: 8 / span 4; 
        margin-top: 80px;
    }

    .sc-5 {
        grid-column: 2 / span 4;
        margin-top: 50px;
    }

    .sc-6 {
        grid-column: 7 / span 5;
        margin-top: -50px;
    }
}


@media (max-width: 768px) {
    .conB-grid {
        padding: 80px 0;
    }

    .index-inner {
        padding: 0 20px;
    }

    .scatter-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        column-gap: 16px; 
        row-gap: 40px;
    }

    .sc-item {
        margin-top: 0 !important;
        width: 100%;
        grid-column: auto !important;
    }

    .sc-item:nth-child(even) {
        margin-top: 50px !important; 
    }
    
    .sc-title {
        font-size: 13px;
        margin-top: 12px;
    }
}

.art-card {
    text-decoration: none !important;
}

.art-card p {
    text-decoration: none !important;
}


/*콘텐츠C 영역//Mobile*/
.conC {
    background-color: #F9EBDE;
    padding-top: 80px;  
    padding-bottom: 110px;
}

.conC .container{
    padding: 0 20px; 
}

.conC .text{
    padding: 0;         
    margin-top: 22px;
}

.conC h2{
	margin-bottom: 16px;
	font-size: 2.0rem;
	line-height: 1.4;
	color: #3C2F2E;;
}

.conC p{
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
	color: var(--text-main);
}

.conC a{
	display: inline-block;
	margin-top: 8px;
	padding: 12px 30px;
	border: 1.8px solid currentColor;
	box-shadow: none;	
	border-radius: 4px;
	color: var(--accent-1);
	font-size: 14px;
	text-decoration: none;
}

.conC a:hover{
    background-color: #815854;
    color: #fff;
    border-color: #815854;
    transition: 0.25s ease;
}

.conC .photo{
	min-height: 260px;
	background-image: url(img/profile3.jpg);
	background-position: center;
	background-size: cover;
	display: block;
}

/* 콘텐츠C 영역 // PC */
@media (min-width: 768px) {

	.conC .container{
		display: flex;
		flex-direction: row-reverse;
        align-items: center; 
        padding: 0; 
	}

	.conC .photo{
		flex: 0 0 520px;
        height: 340px;
        border-radius: 6px;
	}

    .conC .text {
        flex: 1;
        padding: 20px 50px;
        font-size: 1.05rem;
    }

	.conC .text h2 {
        font-size: 2.4rem;
        line-height: 1.3;
        margin-bottom: 18px;
        font-weight: 700;
    }

	.conC .text p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .conC a {
        display: inline-block;
        margin-top: 28px;
        padding: 14px 24px;
        border: 2px solid currentColor;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        color: var(--accent-1);
    }
}	


/*콘텐츠D 영역 */
   .conD-graphics-row {
    padding: 140px 0;
}

.conD-graphics-row .index-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    justify-items: center;
    align-items: center;
    padding: 0 40px;
}

.graphic-item {
    width: 100%;
    max-width: 180px; 
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.graphic-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.graphic-item:hover img {
    transform: scale(1.15);
}

.overlay-text {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    opacity: 0;
    font-size: 16px;
    font-weight: 700;
    color: #815854;
    background: rgba(255,255,255,0.65);
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s ease;
    pointer-events: none;
}

.item-flower .overlay-text {
    transform: translate(-80%, -10%);
}

.item-chair .overlay-text {
    transform: translate(-40%, -10%);
}

.item-mug .overlay-text {
    transform: translate(-70%, -10%);
}

.item-glasses .overlay-text {
    transform: translate(-40%, -10%);
}

.graphic-item:hover .overlay-text {
    opacity: 1;
    bottom: 55%;
}

@media (max-width: 768px) {
    .conD-graphics-row {
        display: none !important;
    }
}


/*conE: video*/
.conE {
    min-height: auto;     
    display: block;         
}

.conE .text{
	padding: 20px;
}

.conE h2{
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

.conE p{
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conE video{
	width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.conE-inner {
    max-width: 100%;
    padding: 0;       
    margin: 0 auto;
}

/*PC-conE: 개요(image+text) [width=768px]를 기준으로*/
@media (min-width: 768px) {
	.conE .container {
		display: block;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

    .conE-inner {
        padding: 0 40px;
    }
}



/*ConG 카테고리 // PC*/
.works-category-wrapper {
    background: var(--bg-main);
    padding: 80px 0 40px;
}

.works-category {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.works-category button {
    padding: 8px 22px;
    border-radius: 26px;
    border: 1.8px solid #d6bfb1;
    background: var(--bg-main);
    color: var(--text-main);
    transition: all 0.25s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;  
    font-size: 15px;
}

.works-category button:hover {
    background: #ead5c7;
    border-color: #cbb1a5;
}

.works-category button.active {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.6) inset;
}

/*ConG // PC*/
.conG {
    padding: 20px 0 120px;
    background-color: var(--bg-main);
    display: flex;
    justify-content: center;
}

.container-works {
    width: 100%;
    max-width: 1400px;
    column-count: 3;
    column-gap: 32px;     
    padding: 0 60px;    
    margin: 0 auto;
}

.work-item {
    break-inside: avoid;
    display: block;
    margin-bottom: 28px;
    text-decoration: none;
}

.work-item img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.work-title {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--text-main);
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/*ConG // Mobile*/
@media (max-width: 768px) {

    .works-category-wrapper {
        padding: 30px 0 15px;
    }

    .works-category {
        gap: 10px;
        overflow-x: auto;
        padding: 0 12px;
        scrollbar-width: none;
    }
    .works-category::-webkit-scrollbar {
        display: none;
    }

    .works-category button {
        flex-shrink: 0;
        padding: 7px 18px;
        font-size: 14px;
    }

    .conG {
        padding: 60px 0 90px;
    }

    .container-works {
        column-count: 2;
        column-gap: 16px;
        padding: 0 16px;
    }

    .work-item {
        margin-bottom: 22px;
    }

    .work-title {
        font-size: 15px;
        margin-top: 8px;
    }
}

/*ConH // PC*/
.conH {
    background-image: url("img/conH_bg.jpg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 80px 0 60px;
}

.conH-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 100px;           
    padding: 0 60px;
}

.conH-text-wrapper {
    flex: 1;
    position: relative;
    min-height: 460px;   
}

.conH-text {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease;
    text-align: right;
}

.conH-text.active {
    opacity: 1;
    z-index: 2;
}

.conH-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: right;
    display: block;
    color: #7B5C52;
    opacity: 0.8;
}   

.conH-text h2 {
    font-size: 54px;      
    line-height: 1.18;
    margin-top: 40px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 700;
}

.conH-text p {
    font-size: 20px;
    color: #3C2F2E;
    line-height: 1.25;
}

.conH-img-wrapper {
    flex: 1.4;             
    height: 520px;         
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg-main); 
}

.conH-img-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.conH-img-wrapper img.active {
    opacity: 1;
}

.conH-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.conH-link:hover {
    opacity: 0.88;
}

/*ConH: Mobile */
@media (max-width: 768px) {
    .conH {
        padding: 60px 0 40px;
    }

    .conH-inner {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 0 20px;
    }

    .conH-img-wrapper {
        order: -1;
        width: 100%;
        aspect-ratio: 16/11;
        border-radius: 4px;
        overflow: hidden;
        position: relative;
    }

    .conH-img-wrapper img.active {
        opacity: 1;
    }

    .conH-text-wrapper {
        width: 100%;
        min-height: 150px; 
        height: auto;
        overflow: visible;
    }

    .conH-text {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        transition: opacity 0.5s ease;
        text-align: center;
    }

    .conH-text.active {
        opacity: 1;
    }

    .conH-label {
        text-align: center;
        width: 100%;
        margin-bottom: 2px;
    }

    .conH-text h2 {
        margin-top: 56px;
        line-height: 1.25;
        font-size: 30px;
        font-weight: 700;
    }

    .conH-text p {
        font-size: 16px;
        margin-top: 2px;
        color: var(--text-main);
        line-height: 1.25;
    }
  
    .conH-label,
    .conH-text h2,
    .conH-text p {
        margin-left: auto;
        margin-right: auto;
    }

    
}

/*ConI: PC*/
.conI {
    background: var(--bg-main);
    padding: 90px 0 160px;  
}

.conI-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.conI-header h1 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 32px; 
}

.conI-year-block {
    margin-bottom: 60px; 
}

.conI-year-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px; 
    padding: 0 4px;
}

.conI-year-header .year-label {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.conI-year-header .view-all {
    font-size: 18px;
    font-weight: 500;
    color: var(--accent-1);
    text-decoration: none;
}

.conI-row {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.conI-strip-wrapper {
    overflow: hidden;
}

.conI-strip {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.conI-card {
    width: 380px;
    flex-shrink: 0;
}

.conI-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
}

.conI-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.conI-title {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.25s ease;

    margin-top: 14px;
    font-size: 18px;
    font-weight: 600;
}

/*webkit은 AI 도움 받아서 2줄 이상 넘어가면 ...으로 표시되도록 하였습니다*/
.conI-desc {
    margin: 8px 0 0;     
    font-size: 14px;  
    line-height: 1.55;    
    color: #666;      
    font-weight: 400; 
    word-break: keep-all;
    
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conI-card a {
    text-decoration: none;
    color: inherit;
}

.conI-card a:hover .conI-title {
    text-decoration: none;
    color: var(--accent-1);
}

.conI-arrows {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.conI-arrows button {
    background: none;
    border: none;
    cursor: pointer;
}

.conI-arrows i {
    font-size: 28px;
    color: #815854;
}

.conI-year-block.hidden {
    display: none;
}

.conI-year-block.grid-mode .conI-strip-wrapper {
    overflow: visible;
}

.conI-year-block.grid-mode .conI-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px 20px;
    transform: none !important;
}

.conI-year-block.grid-mode .conI-card {
    width: calc(33.33% - 14px);
    flex: none;
}

.conI-year-block.grid-mode .conI-arrows {
    display: none;
}

a.view-all.active {
    background-color: var(--accent-1);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
}

body.exhibition-filter-mode .conH {
    display: none !important;
}

body.exhibition-filter-mode .conI {
    padding-top: 60px;
}

@media (max-width: 768px) {

    .conI {
        padding: 60px 0 90px;
    }
    
    .conI-header h1 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .conI-year-header {
        padding: 0 16px;  
    }

    .conI-strip-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;


        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }

    .conI-strip-wrapper::-webkit-scrollbar {
        display: none;  
    }

    .conI-strip {
        display: flex;
        gap: 24px;
    }

    .conI-card {
        flex: 0 0 90%;  
        scroll-snap-align: center;
    }

    .conI-inner {
        padding: 0 16px;
    }

    .conI-strip-wrapper {
        padding: 0; 
    }

    .conI-thumb {
        aspect-ratio: 14/7; 
        border-radius: 4px;
        overflow: hidden;
    }

    .conI-title {
        margin-top: 10px;
        font-size: 17px;
        font-weight: 600;
    }

    .conI-desc {
        font-size: 13px;  
        margin-top: 6px;
        -webkit-line-clamp: 1;
    }

    .conI-arrows i {
        font-size: 24px;
    }

    .conI-year-block.grid-mode .conI-card {
        width: 100%; 
    }

    .back-btn {
        display: none !important;
    }
}

/* ABOUT 페이지 */
.aboutBg {
    background-color: #f9ebde;  
    padding-top: 80px;  
    padding-bottom: 120px;
}

.aboutWrap {
    display: flex;
    max-width: 1200px;
    margin: 0px auto;
    gap: 60px;
    padding: 0 60px;
}

/* 왼쪽 사진 슬라이드 */
.aboutPhoto {
    flex: 0 0 300px;              
    height: 400px;                 
    position: sticky;
    top: 120px;
    border-radius: 4px;
    overflow: hidden;
}

.slideShow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

/* 오른쪽 타임라인 */
.aboutText {
    flex: 1.4;
    max-width: 900px;
}

.aboutText h1 {
    font-size: 2.5rem;
    border-left: 10px solid var(--accent-1);
    padding-left: 22px;
    margin-bottom: 50px;
	color: var(--text-strong);
	position: relative;
    font-family: 'Montserrat', sans-serif;
	font-weight: 600;
}

.aboutText h2 {
	font-size: 1.7rem;
    margin-bottom: 18px; 
	color: var(--text-strong);
}

.aboutText p {
    font-size: 1rem;
    line-height: 1.65;    
    margin-bottom: 22px; 
	color: var(--text-main);
	max-width: 650px;
}

.timeline {
    position: relative;
    margin: 60px 0;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    background: var(--accent-1);
    transform: translateX(-50%);
    height: 0;
    z-index: 1;
    transition: height 0.6s ease;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--accent-1);
    border-radius: 50%;
    z-index: 3;
}

.timeline-item.left .timeline-dot {
    right: -9px;
}

.timeline-item.right .timeline-dot {
    left: -9px;
}

.timelineTitle {
    margin-top: 40px;
    margin-bottom: 45px; 
}

.timeline-content {
    background-image: url('img/timeline.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;

    padding: 40px 50px; 
    
    display: inline-block;
    max-width: 360px;
    box-sizing: border-box; 
    color: #666; 
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: #573b39;
}

.timeline-content p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
	color: #666;
}

.back-btn {
    display: none;
    padding: 8px 22px;
    border-radius: 26px;
    border: 1.8px solid #d6bfb1;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.back-btn:hover {
    background: var(--accent-1);    
    border-color: var(--accent-1);
    color: #fff;                      
}

body.exhibition-filter-mode .back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* about 페이지: 모바일 */
@media (max-width: 768px) {
	.aboutBg {
        padding-top: 40px;
		
    }

	.aboutWrap {
        flex-direction: column;
        padding: 0 20px;
        gap: 32px;
    }

    .aboutPhoto {
        width: 80%;
		margin-top: 5px;
        height: auto;
        flex: none;
        position: relative;
        top: 0;
        aspect-ratio: 3 / 4; 
        border-radius: 4px;
        overflow: hidden;
    }
	
    .slide {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left !important;
    }

    .timeline-item.left,
    .timeline-item.right {
        text-align: left !important;
    }

    .timeline-line {
        left: 20px;        
        transform: none;    
    }

    .timeline-dot {
        left: 12px !important;
        right: auto !important;
        top: 22px;
    }

    .timelineTitle {
        margin-top: 36px;
        margin-bottom: 28px;
        font-size: 1.35rem;
    }

    .timeline-content {
        padding: 30px 60px; 
        font-size: 0.92rem;
        max-width: 100%;
    }

    .timeline-content h3 {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .timeline-content p {
        font-size: 0.92rem;
        line-height: 1.55;
    }
    
}

/*Archive페이지*/
body.archive-page {
    background-color: var(--bg-main);
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
    display: block;
}

#archive-stack {
    position: relative;
    width: 100%;
    
    min-height: calc(100vh - 110px - 110px); 
    height: auto; 
    
    display: flex;
    justify-content: center;
    align-items: center; 

    background-image: url("img/archive-bg.jpg");
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center 55%;
    
    padding-bottom: 90px;
}

.archive-nav {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 80px; 
    margin: 0; 
    z-index: 10;
}

.nav-btn {
    background: var(--bg-main); 
    border: 1.8px solid #d6bfb1;
    color: var(--text-main);
    padding: 8px 22px;
    border-radius: 26px;
    transition: all 0.25s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    box-shadow: none;
    margin-bottom: 10px;
}

.nav-btn:hover {
    background: #ead5c7;
    border-color: #cbb1a5;
}

.nav-btn.active {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.6) inset;
}

.archive-card {
    position: absolute;
    
    width: 82%;
    max-width: 760px;
    height: 50vh;      
    max-height: 650px;
    
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 40px;
    
    overflow-y: auto; 
    top: auto; 
    
    cursor: grab;
    user-select: none;
    transform-origin: center bottom;
}

.archive-card:active {
    cursor: grabbing;
}

.card-header {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 12px;
    flex-shrink: 0;
}

.card-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--text-strong);
    margin: 0;
    text-transform: uppercase;
}

.card-header p {
    font-size: 1rem;
    color: #666;
    margin-top: 6px;
}

.sketch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.sketch-item {
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.sketch-caption {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

#card-sketch .sketch-grid {
    grid-template-columns: 1fr;
    gap: 28px;
}

#card-sketch .sketch-item {
    transform: none;           
}

#card-sketch .sketch-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    transform: none;
    transition: none;     
}

#card-sketch .sketch-item:hover,
#card-sketch .sketch-item:hover img {
    transform: none;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    opacity: 0.9;
}

.process-info h3 {
    font-size: 17px;
    margin: 0 0 6px;
    font-weight: 600;
}

.process-info p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.thumb-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease;
}

.play-overlay i {
    font-size: 42px;
    color: #fff;
}

#card-process .sketch-item:hover .play-overlay {
    opacity: 1;
}

#card-process .sketch-item {
    transition: transform 0.3s ease;
}

#card-process .sketch-item:hover {
    transform: translateY(-4px);
}

#card-process .sketch-item:hover img {
    transform: scale(1.03);
}

#card-process .sketch-item img {
    margin-bottom: 0;
    height: 100%;
}

#card-process .thumb-wrapper {
    margin-bottom: 18px;
}

.pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 24px;
}

.pub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.3s;
}

.pub-item:hover {
    transform: scale(1.03);
}

.pub-img {
    width: 100%;
    aspect-ratio: 1 / 1.4;
    background: #eee;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 12px;
    overflow: hidden;
}

.pub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-info h4 {
    font-size: 15px;
    margin: 0 0 4px;
    font-weight: 600;
}

.pub-info small {
    font-size: 12px;
    color: #888;
}


@media (max-width: 768px) {

    body.archive-page {
        padding-top: 60px;
        background-color: #F9EBDE;
    }

    #archive-stack {
        background-image: none !important;
        min-height: 580px;
    }

    .archive-nav {
        flex-direction: column;
        align-items: center;  
        gap: 12px;            
        padding: 20px 0 10px;
        margin-bottom: 20px;
    }

    .nav-btn {
        width: 75%;
        max-width: 160px;
        padding: 10px;  
        font-size: 12px;     
        line-height: 1.2;
        white-space: nowrap; 
        border-radius: 20px; 
    }

    .archive-card {
        padding: 20px;
        min-height: 340px;
        margin-bottom: 10px;
    }

    .pub-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .card-header h2 {
        font-size: 1.6rem;
    }

    .process-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .process-thumb {
        width: 100%;
        height: 160px;
    }
}

/*Detail // PC*/
.detail-container {
    width: 100vw;
    height: 100vh;

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

    gap: 60px;
    padding: 0 80px; 
    box-sizing: border-box;
}

.detail-controls {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 5000;

    display: flex;
    gap: 14px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent-1);
    font-size: 28px;
    transition: all 0.3s ease;
    padding: 5px;
}

.control-btn:hover {
    color: var(--text-main);
    transform: scale(1.1);
}

.detail-stage {
    width: auto;     
    flex-shrink: 0; 
    height: 70vh;

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

.detail-img-wrapper {
    width: 35vw;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 38px;
    color: #D8C8BE;
    cursor: pointer;
    padding: 0 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-arrow:hover {
    color: var(--accent-1);
    transform: scale(1.2);
}

.detail-info {
    max-width: 500px;
    margin: 0 auto;
}

.detail-info h1 {
    font-family: 'Lexend', sans-serif;
    font-size: 2.5rem;
    color: var(--text-strong);
    margin: 0 0 15px;
    line-height: 1.2;
}

.detail-meta {
    font-family: 'Lexend', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-1);
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
}

.detail-desc p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    word-break: keep-all;
}

body.detail-page {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    overflow-y: auto; 
}

:fullscreen {
    background: #F9EBDE;
}

#artworkStage:fullscreen {
    width: 100vw;
    height: 100vh;
    padding: 0;
}

#artworkStage:fullscreen .detail-img-wrapper {
    width: 90vw;
    height: 90vh;
}

#artworkStage:fullscreen .detail-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#artworkStage:fullscreen .nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 56px;
}

#artworkStage:fullscreen .nav-arrow.prev {
    left: 40px;
}

#artworkStage:fullscreen .nav-arrow.next {
    right: 40px;
}

/*Detail // Mobile*/
@media (max-width: 768px) {
    .detail-controls button[title="Full Screen"] {
        display: none;
    }
    
    .detail-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 30px;
        padding: 100px 20px 60px;
    }

    .detail-stage {
        order: 1;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .detail-img-wrapper {
        width: 100%;
        height: auto;
    }

    .detail-info {
        order: 2;
        width: 100%;
    }

    .detail-controls .control-btn:first-child {
        display: none !important;
    }

    .nav-arrow {
        display: none !important;
    }

    .detail-info h1 {
        font-size: 1.8rem;
    }

    #mobileFullscreenView {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--bg-accent);
        z-index: 10000;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    
    #mobileFullscreenView img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    #mobileCloseBtn {
        position: absolute;
        top: 25px;
        right: 25px;
        background: none;
        border: none;
        font-size: 30px;
        color: #666;
    }

}


/*Footer: contact 메뉴*/
footer {
    background-color: #815854;
    color: #fff;
    padding: 75px 20px 55px; 
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;      
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px 60px;         
}

.footA {
    flex: 0 0 auto;
}

.footer-logo {
    width: 215px;
    height: auto;
    margin: 0.95;
}

.footB {
    display: flex;
    flex: 1; 
    justify-content: space-between;
    gap: 50px;
}

.footer-block {
    flex: 1;             
    min-width: 200px;  
}

.footer-block h3 {
    margin: 0 0 16px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
	font-weight: 500;
}

.footer-block p {
    font-size: 14px;
    line-height: 1.5; 
    margin: 6px 0;
}

.footer-block a {
    color: #fff;
    text-decoration: none;
	font-weight: 400;
    transition:  text-shadow 0.25s ease, color 0.25s ease;
}

.footer-block a:hover {
    color: #e9fee5;
	text-shadow: 0 0 0.5px #fff;
}

.footC {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.28);
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
}


@media (max-width: 768px) {
	footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;               
        padding-top: 10px;
    }

	.footer-logo {
        margin-bottom: 5px;
        width: 180px;  
    }

	.footB {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 32px;               
    }

   .footer-block {
        width: 100%;
    }

    .footer-block h3 {
        justify-content: center;
        margin-bottom: 10px; 
        font-size: 15px;
    }

    .footer-block p {
        margin: 6px 0;   
        line-height: 1.6;
		font-size: 13px; 
    }

    .footC {
		margin-top: 10px;
        padding-top: 15px;
        width: 100%;
        font-size: 12px;
        line-height: 1.5;
    }
}

.top-fixed-btn {
    position: fixed;
    right: 50px;
    bottom: 50px;
    width: 70px;
    height: 70px; 
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 9999;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-fixed-btn img {
	width: 90%;
	height: auto;
	display: block;
	opacity: 0.8;
	transition: 0.3s;
}

.top-fixed-btn:hover img {
	opacity: 1;
	transform: scale(1.08);
}

.top-fixed-btn .top-label {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #A27A76; 
    margin-bottom: 10px;
    opacity: 0.9;
}


@media (max-width: 768px) {
	.top-fixed-btn {
		display: none;
	}
}

