@charset "utf-8"; /* main.css */

/**
 * about 페이지
 */
.about {
    background: #131313;
}

/* section-intro 타이핑 영역 */
.about .section-intro {
    padding: 140px 40px 100px 40px;
}

.section-intro .intro-text {
    padding-bottom: 40px;
    min-height: 236px;
}

.intro-text .typing {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.6px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    opacity: 0;
    color: var(--color-white);
    animation: none;
}

/* 섹션 진입 시 실행 */
.intro-text.is-active .typing {
    opacity: 1;
    animation: typing 1s steps(40, end) forwards;
}

/* 줄마다 순서 지정 */
.intro-text.is-active .line1 {
    padding-left: 192px;
    animation-delay: 0s;
}

.intro-text.is-active .line2 {
    animation-delay: 0.8s;
}

.intro-text.is-active .line3 {
    animation-delay: 1.3s;
}

.intro-text.is-active .line4 {
    animation-delay: 1.8s;
}

.line4.highlight {
    color: var(--color-primary);
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.line4 .ico-star {
    display: inline-block;
    width: 25px;
    height: 25px;
}

/* 타이핑 애니메이션*/
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* section-intro 이미지 영역 */
.section-intro .card-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-intro .visual-section {
    height: 121vh; /* 스크롤 공간 확보 */
    position: relative;
}

.section-intro .visual-sticky {
    position: sticky;
    top: 0; /* 화면 상단에 고정 */
    width: 816px;
}

.section-intro .card-overlay {
    position: relative;
    z-index: 10;
    width: 816px;
    margin-top: -60vh; /* 위로 끌어올려 덮기 */
    padding: 193px 140px;
    background: #C7E96E;
}

.section-intro .card-overlay .card {
    text-align: center;
}

.section-intro .card h2 {
    color: #222;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.72px;
    margin-bottom: 16px;
}

.section-intro .card p {
    color: #666;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.36px;
}

/* section-video 비디오 영역 */
.section-video {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: sticky;
    top: 0;
}

.section-video .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 비디오 텍스트 오버레이 */
.section-video .video-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    max-width: 954px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

/* section-card-list 카드 영역 */
.section-card-list {
    position: relative;
    z-index: 1;
    background: #131313;
    color: #fff;
    padding: 200px 80px 100px;
}

.section-card-list h2 {
    font-size: 68px;
    text-transform: uppercase;
    font-weight: var(--font-weight-medium);
    padding-bottom: 24px;
}

.section-card-list p {
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    padding-bottom: 56px;
}

.section-card-list .card-box {
    display: flex;
    gap: 40px;
}

.section-card-list .card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.section-card-list .card-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    transition-delay: 0.4s;
    padding-top: 24px;
}

.section-card-list .card-text h3 {
    font-size: 24px;
    font-weight: var(--font-weight-medium);
    padding-bottom: 8px;
}

.section-card-list .card-text p {
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--color-gray-900)
}

.section-card-list .card-img {
    overflow: hidden;
}

.section-card-list .card-img img {
    clip-path: inset(0 0 100% 0); /* 위만 보임 */
    transition: clip-path 0.8s ease;
}

/* 카드 활성 상태 */
.section-card-list .card.is-show .card-img img {
    clip-path: inset(0 0 0 0);
}

.section-card-list .card.is-show {
    opacity: 1;
    transform: translateY(0);
}

.section-card-list .card.is-show .card-text {
    opacity: 1;
    transform: translateY(0);
}