/* nk-foundation-work: L4 세로 타임라인 / HD4 좌라벨+우전화 / HR4 상단라벨+대형h1 무채색 / CT4 인라인 CTA / FT1 3단그리드 */
.nk-foundation-work {
    font-family: 'IBM Plex Sans KR', sans-serif;
    background: #F8F6FC;
    color: #2e2740;
}

.nk-foundation-work h1,
.nk-foundation-work h2,
.nk-foundation-work h4 {
    font-family: 'Space Grotesk', 'IBM Plex Sans KR', sans-serif;
    color: #4A3B6B;
}

/* HD4: 좌측 라벨 + 우측 전화 CTA 나란히 */
.nk-foundation-work .nk-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #ded6ec;
    margin-bottom: 2rem;
}

.nk-foundation-work .nk-hd-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4A3B6B;
}

.nk-foundation-work .nk-hd-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background: #C99A2E;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    text-decoration: none;
}

.nk-foundation-work .nk-hd-cta:hover {
    background: #ab8225;
}

.nk-foundation-work .nk-hd-cta:focus-visible {
    outline: 2px solid #4A3B6B;
    outline-offset: 2px;
}

/* HR4: 상단 얇은 라벨 + 대형 h1 + 설명, 무채색 배경 */
.nk-foundation-work .nk-hero {
    background: #efecf5;
    text-align: left;
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.nk-foundation-work .nk-hero-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6b5c92;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.nk-foundation-work .nk-hero h1 {
    font-size: 2.2rem;
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.nk-foundation-work .nk-hero-sub {
    margin: 0;
    color: #4b4260;
    font-size: 1rem;
}

.nk-foundation-work .nk-intro {
    line-height: 1.85;
    margin: 0 0 2rem;
}

/* L4: 세로 타임라인 - 좌측 축 라인 + 우측 콘텐츠 */
.nk-foundation-work .nk-timeline {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
    position: relative;
}

.nk-foundation-work .nk-step {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1.25rem;
    position: relative;
    padding-bottom: 2rem;
}

.nk-foundation-work .nk-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 2.5rem;
    bottom: -0.5rem;
    width: 2px;
    background: #ded6ec;
}

.nk-foundation-work .nk-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #4A3B6B;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Space Grotesk', 'IBM Plex Sans KR', sans-serif;
    z-index: 1;
}

.nk-foundation-work .nk-step-body {
    background: #ffffff;
    border: 1px solid #e5dff2;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
}

.nk-foundation-work .nk-step-body h2 {
    font-size: 1.2rem;
    margin: 0 0 0.6rem;
}

.nk-foundation-work .nk-step-body p {
    line-height: 1.85;
    margin: 0;
}

.nk-foundation-work .nk-link {
    color: #C99A2E;
    font-weight: 700;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.nk-foundation-work .nk-link:hover {
    color: #9c7621;
}

.nk-foundation-work .nk-link:focus-visible {
    outline: 2px solid #C99A2E;
    outline-offset: 2px;
}

/* CT4: 본문 문단 사이 인라인 CTA */
.nk-foundation-work .nk-inline-tel {
    color: #ffffff;
    background: #4A3B6B;
    font-weight: 700;
    text-decoration: none;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-size: 0.92em;
}

.nk-foundation-work .nk-inline-tel:hover {
    background: #382d51;
}

.nk-foundation-work .nk-inline-tel:focus-visible {
    outline: 2px solid #C99A2E;
    outline-offset: 2px;
}

.nk-foundation-work .nk-figure {
    margin: 2rem auto;
    max-width: 100%;
    text-align: center;
}

.nk-foundation-work .nk-figure img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto;
}

.nk-foundation-work .nk-figure figcaption {
    font-size: 0.85rem;
    color: #6b5c92;
    margin-top: 0.5rem;
}

.nk-foundation-work .nk-note {
    margin-bottom: 2rem;
}

.nk-foundation-work .nk-note h2 {
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

.nk-foundation-work .nk-note p {
    line-height: 1.85;
    margin: 0;
}

/* FT1: 3단 그리드 */
.nk-foundation-work .nk-ft {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid #ded6ec;
    padding-top: 1.75rem;
}

.nk-foundation-work .nk-ft-col h4 {
    font-size: 0.85rem;
    margin: 0 0 0.6rem;
}

.nk-foundation-work .nk-tag {
    display: inline-block;
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #efecf5;
    color: #4A3B6B;
    border: 1px solid #ded6ec;
    margin: 0 0.4rem 0.4rem 0;
}

.nk-foundation-work .nk-ft-col .nk-link {
    display: block;
    margin-bottom: 0.4rem;
}

.nk-foundation-work .nk-ft-note {
    font-size: 0.82rem;
    color: #6b5c92;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .nk-foundation-work .nk-ft {
        grid-template-columns: 1fr;
    }
    .nk-foundation-work .nk-step {
        grid-template-columns: 2rem 1fr;
    }
}
