/* ================================================================
   about01.css — 회사 소개 페이지 (풀스크린 섹션 + 좌측 네비)
   ================================================================ */
:root {
    --about-nav-left: clamp(18px, 2.6vw, 42px);
    --about-nav-width: clamp(190px, 15vw, 250px);
    --about-content-left: clamp(192px, 14vw, 232px);
    --about-content-left-tight: clamp(122px, 8.6vw, 156px);
}

/* 스크롤 스냅 컨테이너 (index.css의 overflow:visible !important 재정의) */
html.about01-page,
html.about01-page body {
    margin: 0;
    min-height: 100%;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

html.about01-page body {
    color: #f2f2f2;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    background: #0b0b0b;
}

.about01-wrap {
    position: relative;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    scroll-behavior: smooth;
    overscroll-behavior: auto;
}

/* ================================================================
   [섹션 1: 소개 배경 + 타이틀]
   ================================================================ */
#about-sec-intro .about-sec-intro-bg {
    position: absolute;
    inset: 0;
    background: url('/img/2_about/about_01.jpg') center/cover no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.8s ease;
}

#about-sec-intro.about-sec-visible .about-sec-intro-bg {
    opacity: 0.55;
}

/* 배경 이미지 상하 그라데이션 경계 숨김 */
#about-sec-intro .about-sec-intro-grad-top,
#about-sec-intro .about-sec-intro-grad-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 25%;
    z-index: 1;
    pointer-events: none;
}

#about-sec-intro .about-sec-intro-grad-top {
    top: 0;
    background: linear-gradient(to bottom, #090b10 0%, transparent 100%);
}

#about-sec-intro .about-sec-intro-grad-bottom {
    bottom: 0;
    background: linear-gradient(to top, #090b10 0%, transparent 100%);
}

#about-sec-intro .about-section-inner {
    position: relative;
    z-index: 2;
}

/* 섹션1 타이틀 (타이핑 + 줄바꿈) */
.about-intro-title {
    margin: 0;
    font-size: clamp(52px, min(8.4vw, 15vh), 128px);
    display: block !important;
    max-width: min(100%, 1120px);
}

.about-intro-title .about-typing-text {
    white-space: pre-wrap;
    display: inline;
}

/* 섹션1 커서 — 소개 텍스트 바로 오른쪽 (inline 흐름) */
.about-intro-title .about-typing-cursor {
    display: inline !important;
    vertical-align: baseline;
    float: none !important;
}

/* ================================================================
   [좌측 내비게이션]
   ================================================================ */
.about-side-nav {
    position: fixed;
    left: var(--about-nav-left);
    top: 50%;
    transform: translateY(-50%);
    z-index: 100010;
    pointer-events: auto;
    width: var(--about-nav-width);
    padding: 14px 0 14px 18px;
    box-sizing: border-box;
}

.about-side-nav::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255,255,255,0.18) 16%,
        rgba(255,255,255,0.18) 84%,
        transparent
    );
}

.about-side-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-nav-link {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    min-height: 54px;
    padding: 4px 0;
    border-radius: 0;
    isolation: isolate;
    transition: background 0.28s ease;
}

.about-nav-link::before {
    content: none;
}

.about-nav-bar {
    display: block;
    width: 15px;
    height: 15px;
    margin-left: 0;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.82);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(11,11,11,0.96);
    flex-shrink: 0;
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.about-nav-link:hover .about-nav-bar {
    transform: scale(1.16);
    background: #ea4c38;
    border-color: #ea4c38;
}

.about-nav-link.active .about-nav-bar {
    transform: scale(1.28);
    background: #ea4c38;
    border-color: #ea4c38;
    box-shadow:
        0 0 0 7px rgba(11,11,11,0.96),
        0 0 22px rgba(234,76,56,0.56);
}

.about-nav-label {
    font-size: clamp(16px, 1.08vw, 20px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    letter-spacing: 0;
    transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    transform: translateX(0);
    opacity: 1;
}

.about-nav-link:hover .about-nav-label {
    color: #ea4c38;
    transform: translateX(2px);
    opacity: 1;
}

.about-nav-link.active .about-nav-label {
    color: #ea4c38;
    transform: translateX(2px);
    opacity: 1;
    font-weight: 700;
}

/* ================================================================
   [풀페이지 섹션]
   ================================================================ */
.about-full-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.about-full-section#about-sec-intro {
    justify-content: center;
}

.about-full-section--center {
    justify-content: center;
}

.about-section-inner {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px) 0 var(--about-content-left);
    padding-bottom: clamp(120px, 15vh, 180px);
    box-sizing: border-box;
}

.about-full-section#about-sec-intro .about-section-inner {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 섹션별 왼쪽 오프셋 */
#about-sec-intro .about-section-inner {
    padding-left: var(--about-content-left-tight);
}

#about-sec-mgmt .about-section-inner {
    padding-top: 12vh;
    padding-left: var(--about-content-left-tight);
}

#about-sec-link .about-section-inner {
    padding-left: var(--about-content-left-tight);
}

/* ================================================================
   [섹션 타이틀 & 설명]
   ================================================================ */
.about-section-title {
    font-size: clamp(28px, min(4.6vw, 9vh), 68px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -1px;
    word-break: keep-all;
    max-width: min(100%, 960px);
}

.about-section-desc {
    max-width: min(100%, 860px);
    font-size: clamp(15px, min(1.16vw, 2.2vh), 19px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* ================================================================
   [shape 아이콘]
   ================================================================ */
.about-shape-wrap {
    margin-bottom: 18px;
}

.about-shape-icon {
    width: clamp(44px, 5vw, 68px);
    height: auto;
    display: block;
}

/* ================================================================
   [타이핑 효과]
   ================================================================ */
.about-typing-title {
    display: flex;
    align-items: baseline;
}

.about-typing-title .about-typing-text {
    background: linear-gradient(90deg, #454a53 0%, #767982 8%, #ffffff 22%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.about-typing-cursor {
    display: inline-block;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-weight: 200;
    margin-left: 6px;
    animation: aboutTypingBlink 1s step-end infinite;
    opacity: 0;
}

.about-typing-cursor.blinking {
    opacity: 1;
}

@keyframes aboutTypingBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ================================================================
   [매니지먼트 섹션 배경 이미지 (home_2.png)]
   ================================================================ */
.about-sec-mgmt-bg {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) translateY(120px);
    width: clamp(280px, 45vw, 50%);
    max-width: 50%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.16, 0.84, 0.32, 1), transform 1.4s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.about-sec-mgmt-bg img {
    width: 95%;
    height: auto;
    object-fit: contain;
}

#about-sec-mgmt.about-sec-visible .about-sec-mgmt-bg {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
}

/* ================================================================
   [연결 시스템 섹션 배경 이미지 (home_3.png)]
   ================================================================ */
#about-sec-chain .about-sec-chain-bg {
    position: absolute;
    left: 33%;
    top: 58%;
    transform: translate(-50%, -50%) translateY(120px);
    width: clamp(170px, 27vw, 32%);
    max-width: 32%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.16, 0.84, 0.32, 1), transform 1.4s cubic-bezier(0.16, 0.84, 0.32, 1);
}

#about-sec-chain .about-sec-chain-bg img {
    width: 95%;
    height: auto;
    object-fit: contain;
}

#about-sec-chain.about-sec-visible .about-sec-chain-bg {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

#about-sec-chain .about-section-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: min(820px, 54%);
    margin-left: clamp(48%, 50vw, 52%);
    margin-right: 0;
    padding-left: 0;
    padding-right: clamp(24px, 5vw, 80px);
}

/* ================================================================
   [연결고리 섹션 배경 이미지 (home_4.png)]
   ================================================================ */
#about-sec-link .about-sec-link-bg {
    position: absolute;
    right: 12%;
    top: 58%;
    transform: translateY(-50%) translateY(120px);
    width: clamp(200px, 31vw, 38%);
    max-width: 38%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.16, 0.84, 0.32, 1), transform 1.4s cubic-bezier(0.16, 0.84, 0.32, 1);
}

#about-sec-link .about-sec-link-bg img {
    width: 95%;
    height: auto;
    object-fit: contain;
}

#about-sec-link.about-sec-visible .about-sec-link-bg {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
}

/* ================================================================
   [푸터 영역]
   ================================================================ */
.about-footer-area {
    min-height: auto;
    position: relative;
}

/* footer.css의 overflow:visible 재정의 방지 */
html.about01-page .page-footer {
    position: relative !important;
}

/* 스크롤 힌트는 index.css의 .scroll-hint-overlay 표준 스타일 사용 */

/* ================================================================
   [반응형 — 1500px 이하]
   ================================================================ */
@media (max-width: 1500px) {
    :root {
        --about-nav-left: 16px;
        --about-nav-width: 48px;
        --about-content-left: 150px;
        --about-content-left-tight: 150px;
        --about-tablet-safe-left: 170px;
    }

    .about-side-nav {
        padding-left: 16px;
        width: var(--about-nav-width);
    }

    .about-nav-label {
        display: none;
    }

    .about-nav-link {
        width: 32px;
        min-height: 48px;
        padding-right: 0;
    }

    .about-nav-link::before {
        content: none;
    }

    .about-section-inner {
        width: calc(100% - var(--about-tablet-safe-left)) !important;
        max-width: calc(1600px - var(--about-tablet-safe-left)) !important;
        margin-left: var(--about-tablet-safe-left) !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: clamp(28px, 5vw, 80px) !important;
    }

    #about-sec-intro .about-section-inner,
    #about-sec-mgmt .about-section-inner,
    #about-sec-link .about-section-inner {
        padding-left: 0 !important;
        margin-left: var(--about-tablet-safe-left) !important;
    }

    #about-sec-intro .about-section-inner,
    #about-sec-mgmt .about-section-inner,
    #about-sec-link .about-section-inner {
        width: calc(100% - var(--about-tablet-safe-left)) !important;
    }

    #about-sec-chain .about-section-inner {
        max-width: calc(100% - var(--about-tablet-safe-left)) !important;
        margin-left: var(--about-tablet-safe-left) !important;
    }
}

@media (max-width: 1200px) {
    :root {
        --about-tablet-safe-left: 76px;
        --about-content-left: 64px;
        --about-content-left-tight: 64px;
    }
}

/* ================================================================
   [반응형 — 768px 이하]
   ================================================================ */
@media (max-width: 768px) {
    :root {
        --about-nav-left: 10px;
        --about-nav-width: 42px;
        --about-content-left: 52px;
        --about-content-left-tight: 52px;
        --about-mobile-safe-left: 64px;
    }

    .about-side-nav {
        left: 10px;
        width: var(--about-nav-width);
        padding-left: 14px;
    }

    .about-nav-label {
        display: none;
    }

    .about-side-nav ul {
        gap: 12px;
    }

    .about-nav-link {
        min-height: 40px;
        width: 30px;
    }

    .about-nav-bar {
        width: 12px;
        height: 12px;
    }

    .about-full-section {
        height: 100dvh;
        min-height: 100dvh;
    }

    /* 모바일 — 왼쪽 내비 안전 영역 확보 */
    .about-section-inner {
        width: calc(100% - var(--about-mobile-safe-left)) !important;
        padding: 0 18px 0 0 !important;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        max-width: 100% !important;
        margin-left: var(--about-mobile-safe-left) !important;
        margin-right: auto !important;
    }

    /* 섹션별 왼쪽 내비 안전 영역 유지 */
    #about-sec-intro .about-section-inner,
    #about-sec-mgmt .about-section-inner,
    #about-sec-chain .about-section-inner,
    #about-sec-link .about-section-inner {
        width: calc(100% - var(--about-mobile-safe-left)) !important;
        padding-left: 0 !important;
        padding-right: 18px !important;
        margin-left: var(--about-mobile-safe-left) !important;
        margin-right: 0 !important;
        text-align: center !important;
        align-items: center !important;
    }

    /* 섹션 1 타이틀 가운데 */
    .about-intro-title {
        text-align: center !important;
        font-size: clamp(34px, 10vw, 58px);
    }

    .about-intro-title .about-typing-text {
        text-align: center !important;
    }

    /* 섹션 타이틀 & 설명 가운데 */
    .about-section-title {
        justify-content: center;
        text-align: center !important;
        font-size: clamp(24px, 7vw, 40px);
        max-width: min(100%, 520px);
    }

    .about-section-desc {
        text-align: center !important;
        max-width: min(100%, 560px);
        font-size: clamp(13px, 3.8vw, 15px);
        line-height: 1.72;
    }

    .about-section-desc br {
        display: none;
    }

    /* shape 아이콘 가운데 */
    .about-shape-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .about-shape-icon {
        width: clamp(38px, 11vw, 52px);
    }

    /* 배경 이미지 — 가운데 상단 배치, 자동 크기 */
    .about-sec-mgmt-bg {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 65%;
        max-width: 65%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        opacity: 1;
    }

    .about-sec-mgmt-bg img {
        width: 100%;
    }

    #about-sec-mgmt.about-sec-visible .about-sec-mgmt-bg {
        transform: none;
    }

    #about-sec-mgmt {
        justify-content: center;
    }

    #about-sec-mgmt .about-section-inner {
        padding-top: 0;
    }

    /* 연결 시스템 — 이미지 가운데 상단 */
    #about-sec-chain .about-sec-chain-bg {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 55%;
        max-width: 55%;
        margin: 0 auto;
        opacity: 1;
    }

    #about-sec-chain .about-sec-chain-bg img {
        width: 100%;
    }

    #about-sec-chain.about-sec-visible .about-sec-chain-bg {
        transform: none;
    }

    #about-sec-chain .about-section-inner {
        max-width: 100%;
        margin-left: var(--about-mobile-safe-left) !important;
        margin-right: 0;
        padding-right: 18px !important;
        text-align: center !important;
        align-items: center !important;
    }

    /* 연결고리 — 이미지 가운데 상단 */
    #about-sec-link .about-sec-link-bg {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 55%;
        max-width: 55%;
        margin: 0 auto;
        opacity: 1;
    }

    #about-sec-link .about-sec-link-bg img {
        width: 100%;
    }

    #about-sec-link.about-sec-visible .about-sec-link-bg {
        transform: none;
    }

    /* 모바일 풀섹션 — 이미지+텍스트 세로 배치 */
    #about-sec-mgmt,
    #about-sec-chain,
    #about-sec-link {
        justify-content: center;
        gap: clamp(16px, 3vh, 32px);
    }
}

@media (max-width: 420px) {
    :root {
        --about-nav-left: 6px;
        --about-nav-width: 30px;
        --about-content-left: 44px;
        --about-content-left-tight: 44px;
        --about-mobile-safe-left: 46px;
    }

    .about-side-nav {
        left: 6px;
        width: var(--about-nav-width);
        padding-left: 8px;
    }

    .about-nav-link {
        width: 24px;
        min-height: 34px;
    }

    .about-nav-bar {
        width: 9px;
        height: 9px;
    }

    .about-side-nav ul {
        gap: 9px;
    }

    .about-section-inner,
    #about-sec-intro .about-section-inner,
    #about-sec-mgmt .about-section-inner,
    #about-sec-chain .about-section-inner,
    #about-sec-link .about-section-inner {
        width: calc(100% - var(--about-mobile-safe-left)) !important;
        margin-left: var(--about-mobile-safe-left) !important;
        padding-right: 12px !important;
    }

    .about-intro-title {
        font-size: clamp(30px, 9.6vw, 44px);
    }

    .about-section-title {
        font-size: clamp(21px, 6.2vw, 32px);
    }

    .about-section-desc {
        font-size: clamp(12px, 3.35vw, 14px);
        line-height: 1.62;
    }

    .about-shape-icon {
        width: clamp(32px, 9vw, 44px);
    }
}
