/* ============================================================
   ABOUT.CSS — about.html (회사소개)
   - 다크 톤(공통) + 청남색 강조
   - HERO: 좌측 타이틀 + 우측 스캐너 비주얼 (레이저 라인이 중앙→우측 슬라이딩)
   ============================================================ */

/* ============================================================
   1. HERO
   ============================================================ */
.about-hero{
    position: relative;
    background:
      radial-gradient(ellipse at 80% 50%, rgba(46,98,179,0.18), transparent 60%),
      radial-gradient(ellipse at 0% 100%, rgba(30,58,95,0.20), transparent 55%),
      var(--c-darkgray);
    border-bottom: 1px solid var(--c-line);
    overflow: hidden;
    padding: 100px 32px 100px;
}
.about-hero-inner{
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 480px;
}

/* ---- 좌측 텍스트 ---- */
.about-hero-text .eyebrow{
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--c-navy-hl);
    margin-bottom: 18px;
}
.about-hero-text h1{
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 5.2vw, 68px);
    letter-spacing: 0.3px;
    line-height: 1.12;
    color: var(--c-white);
    margin-bottom: 26px;
}
.about-hero-text .lead{
    font-size: 17px;
    color: var(--c-white-2);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.about-hero-text .lead strong{
    color: var(--c-white);
    font-weight: 600;
}
.about-hero-text .hero-divider{
    width: 56px;
    height: 2px;
    background: var(--c-navy-hl);
    margin: 4px 0 22px;
}
.about-hero-text .sub{
    font-size: 14.5px;
    color: var(--c-white-2);
    line-height: 1.85;
    opacity: 0.88;
}

/* ---- 우측 스캐너 비주얼 ---- */
.about-hero-visual{
    position: relative;
}
.scan-frame{
    position: relative;
    width: 100%;
    /* 회사소개 hero 사진 비율(약 1.87:1)에 맞춤 */
    aspect-ratio: 16 / 9;
    background:
      radial-gradient(ellipse at center, #1a1d22 0%, #0f1115 100%);
    border: 1px solid rgba(46,98,179,0.32);
    box-shadow:
      0 30px 60px rgba(0,0,0,0.5),
      0 0 0 1px rgba(255,255,255,0.02) inset,
      0 0 40px rgba(46,98,179,0.18) inset;
    overflow: hidden;
}
/* 스택된 3장 — .active 만 표시. 페이드 전환 */
.scan-frame .scan-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.scan-frame .scan-img.active{
    opacity: 1;
}

/* 레이저 라인 — 사진 중앙(실사↔와이어프레임 경계)에서 시작해 우측 끝까지 스윕 */
.scan-frame .scan-line{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(90,161,255,0.0) 4%,
        #5AA1FF 18%,
        #B6D5FF 50%,
        #5AA1FF 82%,
        rgba(90,161,255,0.0) 96%,
        transparent 100%);
    box-shadow:
      0 0 14px rgba(90,161,255,0.85),
      0 0 30px rgba(46,98,179,0.6);
    animation: scanLineSweep 4.2s cubic-bezier(0.55, 0.0, 0.45, 1) infinite;
}
@keyframes scanLineSweep{
    0%   { left: 50%;            opacity: 0; }
    8%   { left: 50%;            opacity: 1; }
    92%  { left: calc(100% - 2px); opacity: 1; }
    98%  { left: calc(100% - 2px); opacity: 0; }
    100% { left: 50%;            opacity: 0; }
}

/* 라인에 붙어 함께 이동하는 세로 라벨 */
.scan-frame .scan-label{
    position: absolute;
    top: 50%;
    transform: translate(4px, -50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-display);
    color: #B6D5FF;
    text-shadow: 0 0 4px rgba(46,98,179,0.85);
    white-space: nowrap;
    font-weight: 500;
    /* 0.3× 축소: 11px → 3.3px, letter-spacing 8px → 2.4px */
    font-size: 3.3px;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

/* HUD 코너 마커 */
.scan-frame .hud-corner{
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(90,161,255,0.7);
    z-index: 5;
    pointer-events: none;
}
.scan-frame .hud-corner.tl{ top:10px; left:10px; border-right:none; border-bottom:none; }
.scan-frame .hud-corner.tr{ top:10px; right:10px; border-left:none; border-bottom:none; }
.scan-frame .hud-corner.bl{ bottom:10px; left:10px; border-right:none; border-top:none; }
.scan-frame .hud-corner.br{ bottom:10px; right:10px; border-left:none; border-top:none; }

/* 모션 줄이기 — 접근성 */
@media (prefers-reduced-motion: reduce){
    .scan-frame .scan-zone,
    .scan-frame .scan-grid,
    .scan-frame .scan-line{
        animation: none;
        clip-path: inset(0 0 0 50%);
        left: 50%;
        opacity: 0.6;
    }
}

/* ============================================================
   2. INTRO
   ============================================================ */
.about-intro{
    background: var(--c-black);
    text-align: center;
    padding-top: 110px;
    padding-bottom: 100px;
}
.about-intro .intro-paragraph{
    font-size: 16px;
    color: var(--c-white-2);
    line-height: 2.0;
    margin-bottom: 36px;
    letter-spacing: 0.3px;
}
.about-intro .intro-paragraph:last-child{ margin-bottom: 0; }
.about-intro .intro-paragraph strong{
    color: var(--c-navy-hl);
    font-weight: 600;
}

/* ============================================================
   공통 BLOCK 헤더 (BUSINESS, HISTORY)
   ============================================================ */
.block-eyebrow{
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--c-navy-hl);
    text-align: center;
    margin-bottom: 14px;
}
.block-title{
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 40px);
    letter-spacing: 0.5px;
    color: var(--c-white);
    text-align: center;
    margin-bottom: 16px;
}
.block-divider{
    display: block;
    width: 56px;
    height: 2px;
    background: var(--c-navy-hl);
    margin: 0 auto 18px;
}
.block-sub{
    font-size: 14.5px;
    color: var(--c-white-2);
    text-align: center;
    margin-bottom: 56px;
    letter-spacing: 0.4px;
}

/* ============================================================
   3. BUSINESS — 4 카드 그리드
   ============================================================ */
.about-business{
    background:
      radial-gradient(ellipse at 25% 0%, rgba(46,98,179,0.10), transparent 55%),
      var(--c-black);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    padding-top: 96px;
    padding-bottom: 96px;
}
.biz-grid{
    display: grid;
    /* 6개 카드 — 데스크톱에서 3×2 균형 그리드 */
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.biz-card{
    background: var(--c-darkgray-2);
    border: 1px solid var(--c-line);
    overflow: hidden;
    transition: transform .35s ease, border-color .25s ease, box-shadow .35s ease;
}
.biz-card:hover{
    transform: translateY(-6px);
    border-color: var(--c-navy-hl);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.biz-card .biz-img{
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--c-black-2);
    overflow: hidden;
    border-bottom: 1px solid var(--c-line);
}
.biz-card .biz-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transition: transform .6s ease;
}
.biz-card:hover .biz-img img{ transform: scale(1.06); }
.biz-card .biz-body{
    padding: 24px 22px 28px;
    text-align: left;
}
.biz-card .biz-tag{
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--c-navy-hl);
    margin-bottom: 12px;
}
.biz-card .biz-body h3{
    font-size: 22px;
    color: var(--c-white);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.biz-card .biz-body p{
    font-size: 14px;
    color: var(--c-white-2);
    line-height: 1.7;
}

/* ============================================================
   4. MESSAGE — 대표 메시지
   ============================================================ */
.about-message{
    background: var(--c-black);
    padding-top: 110px;
    padding-bottom: 110px;
}
.msg-card{
    max-width: 880px;
    margin: 0 auto;
    background:
      linear-gradient(180deg, rgba(46,98,179,0.08), rgba(46,98,179,0.0) 60%),
      var(--c-darkgray);
    border: 1px solid var(--c-line);
    border-top: 2px solid var(--c-navy-hl);
    padding: 64px 56px 56px;
    text-align: center;
    position: relative;
}
.msg-quote{
    position: absolute;
    top: 18px;
    left: 36px;
    font-family: var(--font-display);
    font-size: 84px;
    line-height: 1;
    color: rgba(46,98,179,0.45);
    pointer-events: none;
    user-select: none;
}
.msg-card h2{
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 28px);
    color: var(--c-white);
    line-height: 1.55;
    margin: 8px 0 32px;
    letter-spacing: 0.3px;
}
.msg-card p{
    font-size: 15px;
    color: var(--c-white-2);
    line-height: 1.95;
    margin-bottom: 18px;
}
.msg-card .msg-sign{
    margin-top: 28px;
    color: var(--c-white);
    font-size: 14.5px;
    letter-spacing: 0.3px;
}
.msg-card .msg-sign strong{
    color: var(--c-navy-hl);
    font-weight: 600;
    margin-left: 4px;
}

/* ============================================================
   5. HISTORY — 타임라인
   ============================================================ */
.about-history{
    background:
      radial-gradient(ellipse at 75% 100%, rgba(30,58,95,0.18), transparent 55%),
      var(--c-darkgray);
    border-top: 1px solid var(--c-line);
    padding-top: 96px;
    padding-bottom: 110px;
}
.history-period{
    text-align: center;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--c-navy-hl);
    margin: -16px 0 56px;
    position: relative;
}
.history-period::after{
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--c-navy-hl);
    margin: 14px auto 0;
}

.timeline{
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0 30px;
}
/* 중앙 세로선 */
.timeline::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(46,98,179,0.6) 8%,
        rgba(46,98,179,0.6) 92%,
        transparent 100%);
    transform: translateX(-50%);
}

.tl-row{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    margin-bottom: 56px;
}
.tl-row:last-child{ margin-bottom: 0; }
.tl-row .tl-dot{
    position: absolute;
    top: 28px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--c-darkgray);
    border: 2px solid var(--c-navy-hl);
    transform: translateX(-50%) rotate(45deg);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--c-darkgray), 0 0 16px rgba(46,98,179,0.55);
}

/* 좌측 카드 */
.tl-row.left .tl-card{
    grid-column: 1;
    text-align: right;
    margin-right: 8px;
}
/* 우측 카드 */
.tl-row.right .tl-card{
    grid-column: 2;
    text-align: left;
    margin-left: 8px;
}

.tl-card{
    background: var(--c-darkgray-2);
    border: 1px solid var(--c-line);
    padding: 28px 32px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .35s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}
.tl-card.in-view{
    opacity: 1;
    transform: translateY(0);
    transition: opacity .8s ease, transform .8s ease;
}
.tl-card:hover{
    border-color: var(--c-navy-hl);
    box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}
.tl-card h3{
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0.3px;
    color: var(--c-navy-hl);
    margin-bottom: 16px;
}
.tl-card ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.tl-card ul li{
    font-size: 14px;
    color: var(--c-white-2);
    line-height: 1.7;
    padding: 4px 0;
}
/* 인라인 작대기 — 위치는 좌/우 행에 따라 ::before / ::after 로 분기,
   크기·두께·둥근 정도는 한 셀렉터에서 일괄 정의해서 모든 카드 동일 */
.tl-card ul li::before,
.tl-card ul li::after{
    display: inline-block;
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background: var(--c-navy-hl);
    vertical-align: middle;
    transform: translateY(-1px);
}
.tl-row.right .tl-card ul li::before{
    content: '';
    margin-right: 8px;
}
.tl-row.left .tl-card ul li::after{
    content: '';
    margin-left: 8px;
}

/* ============================================================
   6. CTA — 마지막 하단 패널
   ============================================================ */
.about-cta{
    position: relative;
    background:
      linear-gradient(135deg, rgba(27,58,107,0.95) 0%, rgba(46,98,179,0.85) 100%),
      var(--c-navy);
    color: var(--c-white);
    padding: 96px 32px 96px;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid var(--c-line);
}
.cta-pattern{
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
      radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 1.5px);
    background-size: 24px 24px;
}
.cta-inner{
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.about-cta h2{
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(26px, 3vw, 36px);
    color: var(--c-white);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.about-cta p{
    font-size: 15.5px;
    color: rgba(255,255,255,0.88);
    line-height: 1.85;
    margin-bottom: 36px;
}
.about-cta .cta-btn{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 38px;
    background: var(--c-white);
    color: var(--c-navy);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 999px;
    transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}
.about-cta .cta-btn:hover{
    transform: translateY(-2px);
    background: var(--c-navy-hl);
    color: var(--c-white);
    box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}
.about-cta .cta-btn svg{
    transition: transform .25s ease;
}
.about-cta .cta-btn:hover svg{
    transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---------- 32"+ 대형 ---------- */
@media (min-width: 1600px){
    .about-hero{ padding: 130px 40px 120px; }
    .about-hero-inner{ gap: 96px; min-height: 580px; }
    .about-hero-text .lead{ font-size: 19px; }
    .about-hero-text .sub{ font-size: 16px; }
    .biz-grid{ gap: 32px; }
    .biz-card .biz-body{ padding: 32px 28px 36px; }
    .biz-card .biz-body h3{ font-size: 20px; }
    .biz-card .biz-body p{ font-size: 14.5px; }
    .msg-card{ max-width: 1040px; padding: 80px 72px 72px; }
    .timeline{ max-width: 1280px; }
    .tl-card{ padding: 32px 36px; }
    .tl-card h3{ font-size: 42px; }
    .tl-card ul li{ font-size: 15px; }
}

@media (max-width: 1100px){
    .biz-grid{ grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 960px){
    .about-hero{ padding: 80px 20px 70px; }
    .about-hero-inner{
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }
    .about-hero-visual{ order: -1; }
    .scan-frame{ aspect-ratio: 4 / 3; max-width: 540px; margin: 0 auto; }

    /* 타임라인 — 한 줄로 좌측 정렬 */
    .timeline::before{ left: 18px; }
    .tl-row{
        grid-template-columns: 1fr;
        column-gap: 0;
        padding-left: 44px;
        margin-bottom: 36px;
    }
    .tl-row .tl-dot{
        left: 18px;
        top: 22px;
    }
    .tl-row.left .tl-card,
    .tl-row.right .tl-card{
        grid-column: 1;
        text-align: left;
        margin: 0;
    }
    /* 모바일: 좌측 행도 우측 행과 동일하게 작대기를 텍스트 앞(::before)에 배치 */
    .tl-row.left .tl-card{
        text-align: left;
    }
    .tl-row.left .tl-card ul li::after{ content: none; }
    .tl-row.left .tl-card ul li::before{
        content: '';
        margin-right: 8px;
    }

    .msg-card{ padding: 48px 28px 40px; }
    .msg-quote{ left: 20px; font-size: 64px; }
}
@media (max-width: 560px){
    .biz-grid{ grid-template-columns: 1fr; }
    .about-intro{ padding-top: 80px; padding-bottom: 80px; }
    .about-intro .intro-paragraph{ font-size: 15px; line-height: 1.85; margin-bottom: 28px; }
    .about-cta{ padding: 70px 20px 76px; }
    .about-hero-text h1{ letter-spacing: 0.5px; }
    .scan-frame .scan-label{ font-size: 3px; letter-spacing: 0.4px; }
}

/* ---------- 작은 모바일 (≤480px) ---------- */
@media (max-width: 480px){
    .about-hero{ padding: 64px 16px 56px; }
    .about-hero-text .lead{ font-size: 15px; }
    .about-hero-text .sub{ font-size: 13.5px; }
    .about-business{ padding-top: 64px; padding-bottom: 64px; }
    .about-history{ padding-top: 64px; padding-bottom: 80px; }
    .about-message{ padding-top: 72px; padding-bottom: 72px; }
    .msg-card{ padding: 36px 20px 32px; }
    .msg-quote{ font-size: 52px; left: 14px; top: 10px; }
    .msg-card h2{ font-size: 18px; }
    .msg-card p{ font-size: 14px; }
    .tl-card{ padding: 22px 20px; }
    .tl-card h3{ font-size: 28px; margin-bottom: 12px; }
    .tl-card ul li{ font-size: 13px; }
    .history-period{ font-size: 13px; letter-spacing: 0.5px; }
    .about-cta h2{ letter-spacing: 0.3px; }
    .about-cta .cta-btn{ padding: 14px 28px; font-size: 13px; letter-spacing: 0.3px; }
}
