/*
 * STIGMA 2026-07-23 minimal update
 * 원본 구조와 디자인을 유지하면서 한글 타이포그래피와 연혁만 보완합니다.
 */

@font-face {
    font-family: "Pretendard";
    font-style: normal;
    font-weight: 45 920;
    font-display: swap;
    src: url("../fonts/pretendard/PretendardVariable.woff2") format("woff2-variations");
}

html,
body,
button,
input,
select,
textarea,
.main-nav,
.main-nav .dropdown-menu {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    letter-spacing: -0.018em;
}

.main-nav {
    letter-spacing: 0.025em;
}

.main-nav .dropdown-menu {
    letter-spacing: -0.01em;
}

.main-nav .product-menu .dropdown-menu {
    min-width: 250px;
}

.home-key-message {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 27px;
    font-weight: 700 !important;
    letter-spacing: -0.035em;
    line-height: 1.48;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

/* 회사소개: 구성은 그대로 두고 한글의 자간·행간·무게만 정돈 */
#about,
#about h1,
#about h2,
#about h3,
#about h4,
#about p,
#about li {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#about p,
#about li {
    letter-spacing: -0.025em;
    line-height: 1.72;
}

#about .width-80 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}

#about .mission,
#about .vision {
    letter-spacing: -0.04em;
    line-height: 1.55;
}

#about .mission {
    font-weight: 650;
}

#about .vision {
    font-weight: 600;
}

#about .infography-style-5 p,
#about .infography-style-2 p,
#about .infography-style-7 h3 {
    letter-spacing: -0.035em;
}

/* PPT 레퍼런스처럼 연도·인증마크와 월별 내용을 분리한 단정한 연혁 */
.stigma-history {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0 auto;
    max-width: 1000px;
}

.stigma-history-year {
    border-bottom: 1px solid #e4e7ec;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 58px;
    padding: 0 0 52px;
    margin-bottom: 52px;
}

.stigma-history-year:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stigma-history-label h3 {
    color: #202a42;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 26px;
}

.stigma-history-mark {
    background: #fff;
    border: 1px solid #dfe3e9;
    display: inline-flex;
    justify-content: center;
    max-width: 178px;
    padding: 10px;
}

.stigma-history-mark img {
    display: block;
    height: auto;
    max-height: 86px;
    max-width: 100%;
    object-fit: contain;
}

.stigma-history-mark.is-square {
    max-width: 92px;
}

.stigma-history-events {
    display: grid;
    row-gap: 17px;
}

.stigma-history-event {
    align-items: start;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
}

.stigma-history-month {
    color: #2e3b8f;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.65;
}

.stigma-history-event p {
    color: #434a59;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.026em;
    line-height: 1.65;
    margin: 0;
}

.stigma-history-event small {
    color: #747b88;
    font-size: 14px;
}

@media (max-width: 991px) {
    .home-key-message {
        font-size: 24px;
    }

    .main-nav .product-menu .dropdown-menu {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .home-key-message {
        font-size: 19px;
        line-height: 1.55;
        padding: 0 12px;
    }

    #about .width-80 {
        font-size: 15px;
        line-height: 1.78;
        width: 100%;
    }

    .stigma-history-year {
        grid-template-columns: 1fr;
        row-gap: 28px;
        padding-bottom: 42px;
        margin-bottom: 42px;
    }

    .stigma-history-label {
        align-items: center;
        display: flex;
        gap: 20px;
    }

    .stigma-history-label h3 {
        font-size: 27px;
        margin: 0;
    }

    .stigma-history-mark {
        max-width: 146px;
        padding: 7px;
    }

    .stigma-history-mark.is-square {
        max-width: 70px;
    }

    .stigma-history-mark img {
        max-height: 62px;
    }

    .stigma-history-event {
        grid-template-columns: 45px minmax(0, 1fr);
        column-gap: 12px;
    }

    .stigma-history-event p {
        font-size: 15px;
    }
}
