/* ============================================================
   about.css — About 페이지 전용 스타일
   폰트 사이즈는 hive.css --t-* 변수 참조
   ============================================================ */

/* ===== 공통 배경/변수 오버라이드 ===== */
:root {
    --bg:  #080808;
    --bg2: #111111;
    --bg3: #1a1a1a;
    --line: rgba(255,255,255,0.07);
}

/* ===== 히어로 — about 전용 포인트 컬러 ===== */
.page-hero-heading .reveal-line.ab-pt { color: var(--point); }

/* ===== Re-Born 섹션 ===== */
.ab-reborn {
    padding: 140px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.ab-rb-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 100px);
    align-items: start;
    margin-bottom: 80px;
}

.ab-rb-label {
    font-family: 'Jost', sans-serif;
    font-size: var(--t-label);
    font-weight: 400;
    letter-spacing: 0.26em;
    color: var(--point);
    text-transform: uppercase;
    display: block;
    margin-bottom: 28px;
}

.ab-rb-heading {
    font-size: var(--t-heading);
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -0.025em;
    line-height: 1.35;
    word-break: keep-all;
}

.ab-rb-right {
    padding-top: 56px;
    display: flex;
    flex-direction: column;
}

.ab-rb-body {
    font-size: var(--t-body);
    color: var(--text2);
    line-height: 2.1;
    word-break: keep-all;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.ab-rb-body:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ab-rb-body em {
    font-style: normal;
    color: var(--heading);
    font-weight: 500;
}

.ab-rb-body strong {
    font-weight: 600;
    color: var(--point);
}

/* Lighthouse 도식화 */
.ab-rb-lh {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 28px 32px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--line);
    margin: 28px 0;
}

.ab-rb-lh-scores {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.ab-rb-lh-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ab-rb-lh-ring {
    position: relative;
    width: 76px;
    height: 76px;
}

.ab-rb-lh-ring svg {
    width: 100%;
    height: 100%;
}

.ab-rb-lh-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--heading);
}

.ab-rb-lh-label {
    font-family: 'Jost', sans-serif;
    font-size: var(--t-caption);
    color: var(--text2);
    letter-spacing: 0.1em;
}

.ab-rb-lh-badge {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 36px;
    border-left: 1px solid var(--line);
}

.ab-rb-lh-badge-title {
    font-family: 'Jost', sans-serif;
    font-size: var(--t-body);
    color: var(--heading);
    font-weight: 400;
}

.ab-rb-lh-badge-sub {
    font-size: var(--t-caption);
    color: var(--point);
    letter-spacing: 0.08em;
}

.ab-rb-lh-badge-lcp {
    font-size: var(--t-caption);
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
    margin-top: 4px;
}

.ab-rb-body-last { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

/* 3개 필라 */
.ab-rb-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    margin-top: 80px;
}

.ab-rb-pillar {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s var(--ease-smooth);
    border-top: 2px solid var(--point);
}

.ab-rb-pillar:not(:last-child) { border-right: 1px solid var(--line); }
.ab-rb-pillar:hover { background: rgba(255,255,255,0.02); }

.ab-rb-pillar-num {
    font-family: 'Jost', sans-serif;
    font-size: clamp(80px, 10vw, 120px);
    font-weight: 300;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    position: absolute;
    bottom: -10px;
    right: 20px;
    pointer-events: none;
    user-select: none;
}

.ab-rb-pillar-en {
    font-family: 'Jost', sans-serif;
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 300;
    color: var(--heading);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.ab-rb-pillar-ko {
    font-size: var(--t-caption);
    color: var(--text2);
    letter-spacing: 0.04em;
    position: relative;
    z-index: 1;
}

/* ===== 인트로 섹션 ===== */
.ab-intro {
    padding: 120px 0 160px;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.ab-intro-wrap {
    display: grid;
    grid-template-columns: clamp(420px, 52vw, 720px) 1fr;
    gap: 0;
    align-items: start;
    width: 100%;
}

/* 왼쪽 고정 — 사이트 콘텐츠 좌측 여백에 맞춤 */
.ab-intro-sticky {
    position: sticky;
    top: 120px;
    padding: 0 clamp(24px, 4vw, 60px) 0 clamp(24px, 5vw, 96px);
}

.ab-is-label {
    font-family: 'Jost', sans-serif;
    font-size: var(--t-label);
    font-weight: 400;
    letter-spacing: 0.26em;
    color: var(--point);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.ab-is-sub {
    font-size: var(--t-sub);
    font-weight: 600;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1.5;
    margin-bottom: 28px;
    word-break: keep-all;
}

.ab-is-body {
    font-size: var(--t-body);
    color: var(--text2);
    line-height: 2;
    word-break: keep-all;
    max-width: 480px;
}

.ab-is-body + .ab-is-body {
    margin-top: 20px;
}

/* 오른쪽 계단식 바 목록 */
.ab-intro-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 계단 효과: --indent 값으로 각 행의 왼쪽 여백 지정 */
.ab-intro-row {
    margin-left: var(--indent, 0px);
}

.ab-ir-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 26px 40px;
    background: #161616;
    position: relative;
    overflow: hidden;

    /* 슬라이드인 애니메이션 */
    transform: translateX(60px);
    opacity: 0;
    transition: transform 1.0s cubic-bezier(0.05, 0.7, 0.1, 1.0),
                opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--row-delay, 0ms);
}

.ab-ir-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.035);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-ir-bar:hover::after {
    opacity: 1;
}

.ab-intro-row.active .ab-ir-bar {
    transform: translateX(0);
    opacity: 1;
}

.ab-ir-title {
    font-family: 'Jost', sans-serif;
    font-size: clamp(20px, 2.6vw, 36px);
    font-weight: 500;
    color: var(--heading);
    letter-spacing: -0.01em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.ab-ir-ko {
    font-family: 'Pretendard', sans-serif;
    font-size: var(--t-caption);
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ===== 미션 섹션 ===== */
.ab-mission {
    padding: 140px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.ab-mission-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 100px;
    align-items: start;
}

.ab-mission-left {
    position: sticky;
    top: 100px;
}

.ab-mission-heading {
    font-size: var(--t-heading);
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -0.025em;
    line-height: 1.3;
    margin-top: 12px;
    word-break: keep-all;
}

.ab-mission-right { display: flex; flex-direction: column; }

.ab-mission-text {
    font-size: var(--t-body);
    color: var(--text2);
    line-height: 2.1;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--line);
}

.ab-mission-text:last-of-type { margin-bottom: 40px; }

.ab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ab-tags span {
    display: inline-block;
    padding: 7px 16px;
    font-size: var(--t-caption);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    transition: color 0.22s var(--ease-smooth), border-color 0.22s var(--ease-smooth);
}

.ab-tags span:hover {
    color: var(--point);
    border-color: rgba(250,250,250,0.35);
}

/* ===== 핵심 가치 섹션 ===== */
.ab-values {
    padding: 140px 0;
    background: var(--bg2);
    border-top: 1px solid var(--line);
}

.ab-values-header { margin-bottom: 72px; }

.ab-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.ab-val-card {
    background: var(--bg3);
    padding: 56px 44px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s var(--ease-smooth);
}

.ab-val-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--point);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.42s var(--ease-smooth);
}

.ab-val-card:hover { background: #1e1e1e; }
.ab-val-card:hover::before { transform: scaleX(1); }

.ab-val-num {
    font-family: 'Jost', sans-serif;
    font-size: var(--t-label);
    font-weight: 400;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.2);
    margin-bottom: 36px;
}

.ab-val-title {
    font-family: 'Jost', sans-serif;
    font-size: var(--t-heading);
    font-weight: 300;
    color: var(--heading);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    line-height: 1;
}

.ab-val-desc {
    font-size: var(--t-body);
    color: var(--text2);
    line-height: 2;
}

/* ===== 실적 수치 섹션 ===== */
.ab-stats {
    padding: 120px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.ab-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    background: var(--bg);
    padding: 60px 44px;
    position: relative;
    transition: background 0.3s var(--ease-smooth);
}

.stat-item:hover { background: var(--bg2); }

.ab-stat-num {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 14px;
}

.ab-stat-num .stat-val {
    font-family: 'Jost', sans-serif;
    font-size: clamp(56px, 7vw, 96px);
    font-weight: 300;
    color: var(--heading);
    letter-spacing: -0.03em;
    line-height: 1;
}

.ab-stat-unit {
    font-family: 'Jost', sans-serif;
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--point);
    line-height: 1;
}

.ab-stat-label {
    font-size: var(--t-caption);
    color: var(--text2);
    letter-spacing: 0.06em;
}

/* ===== 프로세스 섹션 ===== */
.ab-process {
    padding: 140px 0 160px;
    background: var(--bg2);
    border-top: 1px solid var(--line);
}

.ab-process-header { margin-bottom: 88px; }

.ab-process-list { display: flex; flex-direction: column; }

.ab-process-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 48px;
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
    position: relative;
}

.ab-process-item:first-child { border-top: 1px solid var(--line); }

.ab-process-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.02);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}

.ab-process-item:hover::before { transform: scaleX(1); }

.ab-step-num {
    font-family: 'Jost', sans-serif;
    font-size: var(--t-caption);
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--point);
    padding-top: 5px;
    position: relative;
    z-index: 1;
}

.ab-step-body {
    position: relative;
    z-index: 1;
}

.ab-step-title {
    font-size: var(--t-sub);
    font-weight: 600;
    color: var(--heading);
    letter-spacing: -0.015em;
    margin-bottom: 14px;
}

.ab-step-desc {
    font-size: var(--t-body);
    color: var(--text2);
    line-height: 2;
    max-width: 600px;
}

/* ===== 반응형 ===== */
@media (max-width: 900px) {

    /* Re-Born */
    .ab-reborn { padding: 88px 0; }
    .ab-rb-inner { grid-template-columns: 1fr; gap: 44px; margin-bottom: 52px; }
    .ab-rb-right { padding-top: 0; }
    .ab-rb-lh { flex-direction: column; align-items: flex-start; gap: 24px; }
    .ab-rb-lh-badge { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: 20px; width: 100%; }
    .ab-rb-pillars { grid-template-columns: 1fr; margin-top: 52px; }
    .ab-rb-pillar { padding: 36px 28px; border-right: none !important; border-bottom: 1px solid var(--line); }
    .ab-rb-pillar:last-child { border-bottom: none; }

    /* 인트로 */
    .ab-intro { padding: 80px 0 100px; }
    .ab-intro-wrap { grid-template-columns: 1fr; }
    .ab-intro-sticky {
        position: static;
        padding: 0 5vw 48px 5vw;
    }
    /* 모바일: 계단 효과 제거, 전체 폭 */
    .ab-intro-row { margin-left: 0 !important; }
    .ab-ir-bar { padding: 22px 24px; gap: 16px; }
    .ab-ir-ko { display: none; }

    /* 미션 */
    .ab-mission { padding: 88px 0; }
    .ab-mission-grid { grid-template-columns: 1fr; gap: 44px; }
    .ab-mission-left { position: static; }

    /* 가치 */
    .ab-values { padding: 88px 0; }
    .ab-values-grid { grid-template-columns: 1fr; gap: 2px; }
    .ab-val-card { padding: 40px 32px; }

    /* 수치 */
    .ab-stats { padding: 80px 0; }
    .ab-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 44px 32px; }

    /* 프로세스 */
    .ab-process { padding: 88px 0 110px; }
    .ab-process-item {
        grid-template-columns: 72px 1fr;
        gap: 24px;
        padding: 36px 0;
    }

}

@media (max-width: 480px) {
    .ab-stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 36px 22px; }
    .ab-val-card { padding: 36px 24px; }
}
