#about {
    position: relative;
    overflow: hidden;
}

.bg-wrap {
    position: fixed;
    inset: 0;
    overflow: hidden;

}

.bg-wrap>* {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.bg-wrap>*.active {
    opacity: 1;
}

.bg-wrap .layer1 {
    background: linear-gradient(135deg, #fddce5, #fef4dd);
}

.bg-wrap .layer2 {
    background: linear-gradient(265deg, #dbffcf, #fffedb);
}

.bg-wrap .layer3 {
    background: linear-gradient(120deg, #fffff7, #f7ffbd);
}

.bg-wrap .layer4 {
    background: linear-gradient(60deg, #f3e7ff, #fefff9);
}

.bg-wrap .layer5 {
    background: linear-gradient(340deg, #d7ddff, #dbf4ff);
}

.bg-wrap .layer6 {
    background: none;
}


.scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    text-align: center;
}

/*======= INTRO =========*/
.intro1,
.intro2 {
    opacity: 0;
    position: fixed;
    width: calc(100% - 2rem);
    transition: opacity .3s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.intro1.active,
.intro2.active {
    opacity: 1;
}

.buffer1 {
    height: 1500px
}


.split {
    width: 70%;
    display: flex;
    gap: 10rem;
}

.split>* {
    width: calc(50% - 5rem);
    display: flex;
    flex-direction: column;
    gap: 4rem;
}


@media (max-width: 800px) {
    .split {
        width: 70%;
        display: flex;
        gap: 6rem;
        flex-direction: column;

    }

    .split>* {
        width: 100%;

        gap: 2rem;
    }
}


/*======= vision =========*/

.vision1 {
    opacity: 0;
    position: fixed;
    top: 50%;
    width: calc(100% - 8rem);
    transition: opacity .3s;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vision1.active {
    opacity: 1;
}

.vision1 h3 {
    padding-bottom: 2rem;
}

.vision1 .block {
    position: fixed;
    top: 50%;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.circle {
    opacity: 0;
    position: relative;
    transition: all .3s;
}

.circle .line {
    width: 80vh;
    height: 80vh;
    border-radius: 40vh;
    border: 1px groove var(--black);
}

.circle .dot {
    width: .5rem;
    height: .5rem;
    position: absolute;
    border-radius: 1rem;
    background-color: var(--black)
}

.circle .dot:nth-of-type(2) {
    left: 50%;
    top: 0;
    transform: translate(10px, -10px);
}

.circle .dot:nth-of-type(3) {
    left: 100%;
    top: 50%;
    transform: translate(5px, -5px);
}

.circle .dot:nth-of-type(4) {
    left: 50%;
    top: 100%;
    transform: translate(5px, 5px);
}

.circle .dot:nth-of-type(5) {
    left: 0%;
    top: 50%;
    transform: translate(-10px, 0px);
}

.circle.seq0 {
    opacity: 1;
}

.circle.seq1 {
    opacity: 1;
    transform: rotate(90deg);
}

.circle.seq2 {
    opacity: 1;
    transform: rotate(180deg);
}

.circle.seq3 {
    opacity: 1;
    transform: rotate(270deg);
}

.circle.seq4 {
    opacity: 1;
    transform: rotate(360deg);
}


.buffer2 {
    height: 2500px
}

@media (max-width: 800px) {
    .circle .line {
        width: calc(100vw - 4rem);
        height: calc(100vw - 4rem);
    }
}

/*======= mission =========*/
.mission1 {
    opacity: 0;
    width: calc(100% - 4rem);
    text-align: left;
    position: fixed;
    top: 50%;
    transition: opacity .3s;
    left: 50%;
    max-width: 50rem;
    transform: translate(-50%, -50%);
}

.mission1.active {
    opacity: 1;
}

.mission1 h3 {
    padding-bottom: 2rem;
}


.buffer3 {
    height: 900px
}



/*======= service =========*/

.service .block {
    max-width: 120rem;
    display: flex;
    gap: 6rem;
}

.service .block>* {
    width: calc((100% - 18rem) / 4);
}

.service .block img {
    width: 80%;
    height: 14rem;
    padding-bottom: 2rem;
    object-fit: contain;
}


.service .block img:hover {
    animation: shiver 1s ease-in-out;
}


/*======= process =========*/
/* 섹션 자체를 화면에 고정 */
.process1 {
    opacity: 0;
    position: sticky;
    top: 0;
    transition: opacity .3s;
    padding: 10rem;
    box-sizing: border-box;
    height: 100vh;
    overflow: hidden;
}

.process1.active {
    opacity: 1;
}

/* 가로 스크롤 트랙 */
.process1 .horizontal {
    display: flex;
    width: 200vw;
    margin-left: 133vw;
    height: 100%;
    transform: translateX(0);
    transition: transform 0.2s ease-out;
}

/* 각 아이템은 화면 한 칸씩 */
.process1 .process-item {
    flex: 0 0 calc(300vw / 6);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.process1 .process-item img {
    width: 30%;
    height: 30%;
    padding-bottom: 4rem;
    object-fit: contain;
}

/* 설명 영역은 섹션 하단 중앙에 고정 */
.process1 .description {
    position: absolute;
    bottom: 14rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
}

.process1 .description p {
    transition: opacity 0.3s ease;
}

.buffer4 {
    height: 3000px
}

@media (max-width: 800px) {
    .buffer4 {
        height: 500vh
    }

    .process1 .process-item {
        flex: 0 0 calc(300vw / 6);
        height: 60vh;
    }
	
	.process1 .process-item img {
		width: 60%;
		height: 28%;
		padding-bottom: 4rem;
		object-fit: contain;
	}


}

/*========== client ============*/
.logo-wrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 120rem;
    padding: 6rem 2rem 12rem;
    align-content: center;
    justify-content: center;
    gap: 6rem 2rem;
}

.logo-wrap .logo-item {
    height: 10rem;
    transition: filter 2s, transform 2s;
    width: 15rem;
    mix-blend-mode: multiply;
    -webkit-mix-blend-mode: multiply;
    object-fit: contain;
}

.client1 .description {
    padding: 0 2rem;
}

.client1 {
    transition: opacity .5s;
}

.client1.hide {
    opacity: 0;
}

@media (max-width: 800px) {
    .logo-wrap {
        display: flex;
        flex-wrap: wrap;
        max-width: 120rem;
        padding: 10rem 2rem 20rem;
        overflow: hidden;
        align-content: center;
        justify-content: center;
        gap: 6rem 2rem;


    }

    .logo-wrap .logo-item {
        width: 8rem;
        height: 4rem
    }
}


.client2 {
    transition: opacity .5s;
    opacity: 0;
    position: fixed;
    top: 50%;
    visibility: hidden;
    left: 50%;
    transition: opacity .3s;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 2rem;
}

.client2.active {
    cursor: pointer;
    visibility: unset;
    opacity: 1;
}

.client2 .block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10rem
}

.btn-go-contact {
    width: fit-content;
    padding: .5rem 1rem;
    border-radius: .5rem;
    background: var(--offwhite);
    font-size: 1.4rem;
    display: flex;
    font-family: MONO39;
    align-items: center;
    justify-content: center;
}

.btn-go-contact .ask {
    padding: .5rem 1rem;
    margin-left: 1rem;
    background: var(--black);
    color: var(--white);
    border-radius: .5rem;
}

.keyword {
    display: inline-block;
    font-family: inherit;
    white-space: nowrap;
    overflow: hidden;
    border-right: 1px solid currentColor;
    animation: blink 0.8s steps(2, start) infinite;
}

@media (max-width: 800px) {
    .btn-go-contact {
        font-size: 1.2rem;
    }

    .client2 .block {

        gap: 6rem
    }
}



@keyframes blink {
    to {
        border-color: transparent;
    }
}

.buffer5 {
    height: 100vh;
}





@keyframes shiver {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    20% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    30% {
        transform: translate(-1px, 0.5px) rotate(-0.3deg);
    }

    40% {
        transform: translate(1px, -0.5px) rotate(0.3deg);
    }

    50% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    60% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    70% {
        transform: translate(-1px, 0.5px) rotate(-0.3deg);
    }

    80% {
        transform: translate(1px, -0.5px) rotate(0.3deg);
    }

    90% {
        transform: translate(-0.5px, 0.5px) rotate(-0.2deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}