@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.css');

/* ── 디자인 변수 ── */
.ao-wrap {
    --ao-primary:  #0f62fe;
    --ao-primary-d:#0043ce;
    --ao-accent:   #00d4aa;
    --ao-ink:      #0f1b2d;
    --ao-sub:      #546478;
    --ao-surface:  #f6f8fc;
    --ao-border:   #dde3ee;
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* ── ① 브랜드 선언 블록 ── */
.ao-brand {
    background: #0a1628;
    background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    border-radius: 16px;
    padding: 64px 60px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.ao-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,98,254,0.15) 0%, rgba(0,212,170,0.08) 100%);
    pointer-events: none;
}
.ao-brand-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ao-accent);
    margin-bottom: 20px;
    display: block;
}
.ao-brand-title {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.ao-brand-sub {
    font-size: 1.05rem;
    color: var(--ao-accent);
    font-weight: 500;
    line-height: 1.7;
}
.ao-brand-line {
    width: 40px;
    height: 2px;
    background: var(--ao-accent);
    margin: 24px auto;
    border-radius: 2px;
}

/* ── ② 철학 카드 2열 ── */
.ao-cards {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}
.ao-card {
    flex: 1;
    background: var(--ao-surface);
    border: 1px solid var(--ao-border);
    border-radius: 16px;
    padding: 40px 36px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}
.ao-card:hover {
    box-shadow: 0 8px 32px rgba(15,98,254,0.10);
    transform: translateY(-4px);
}
.ao-card.ao-primary { border-left: 4px solid var(--ao-primary); }
.ao-card.ao-accent  { border-left: 4px solid var(--ao-accent);  }
.ao-card-badge {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.ao-card.ao-primary .ao-card-badge {
    background: var(--ao-primary);
    color: #fff;
}
.ao-card.ao-accent .ao-card-badge {
    background: var(--ao-accent);
    color: #0a1628;
}
.ao-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ao-ink);
    margin-bottom: 14px;
    line-height: 1.4;
}
.ao-card p {
    font-size: 0.975rem;
    color: var(--ao-sub);
    line-height: 1.85;
}

/* ── 로고 색상 변수 ── */
.ao-wrap {
    --ehd-e: #E8312B; /* 빨강 — 열정 */
    --ehd-h: #F5C200; /* 노랑 — 창의성 */
    --ehd-d: #4CB944; /* 초록 — 안정·평화 */
}

/* EHD 글자 색상 (텍스트에 인라인 사용) */
.ehd-e { color: var(--ehd-e); font-weight: inherit; }
.ehd-h { color: var(--ehd-h); font-weight: inherit; }
.ehd-d { color: var(--ehd-d); font-weight: inherit; }
/* 어두운 배경(ao-brand)에서 더 선명하게 */
.ao-brand .ehd-e { color: #ff6b63; }
.ao-brand .ehd-h { color: #ffd84d; }
.ao-brand .ehd-d { color: #74d85c; }

/* ── ③ EHD 이니셜 블록 ── */
.ao-initial-wrap {
    margin-bottom: 20px;
}
.ao-initial-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ao-sub);
    text-align: center;
    margin-bottom: 16px;
    display: block;
}
.ao-initial-row {
    display: flex;
    gap: 16px;
    border-radius: 14px;
    overflow: visible;
}
.ao-initial-cell {
    flex: 1;
    text-align: center;
    padding: 44px 20px;
    position: relative;
    background: var(--ao-surface);
    border: 1px solid var(--ao-border);
    border-radius: 14px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.ao-initial-cell:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
/* 각 셀 상단에 로고 컬러 포인트 라인 */
.ao-initial-cell:nth-child(1) { border-top: 4px solid var(--ehd-e); }
.ao-initial-cell:nth-child(2) { border-top: 4px solid var(--ehd-h); }
.ao-initial-cell:nth-child(3) { border-top: 4px solid var(--ehd-d); }

.ao-initial-letter {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
/* 각 글자에 로고 컬러 */
.ao-initial-cell:nth-child(1) .ao-initial-letter { color: var(--ehd-e); }
.ao-initial-cell:nth-child(2) .ao-initial-letter { color: var(--ehd-h); }
.ao-initial-cell:nth-child(3) .ao-initial-letter { color: var(--ehd-d); }

.ao-initial-word {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ao-ink);
    letter-spacing: 0.04em;
}
.ao-initial-dash {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ao-border);
    margin: 10px auto;
    border-radius: 2px;
}
/* 대시도 로고 컬러로 */
.ao-initial-cell:nth-child(1) .ao-initial-dash { background: var(--ehd-e); opacity: 0.5; }
.ao-initial-cell:nth-child(2) .ao-initial-dash { background: var(--ehd-h); opacity: 0.6; }
.ao-initial-cell:nth-child(3) .ao-initial-dash { background: var(--ehd-d); opacity: 0.5; }

.ao-initial-meaning {
    display: block;
    font-size: 0.82rem;
    color: var(--ao-sub);
    line-height: 1.6;
    margin-top: 4px;
}
