/* 브랜드(연구소) 소개 페이지 전용 스타일
 * 색상·폰트·간격·모션 토큰은 base.css / animations.css를 그대로 계승한다.
 * 파일 하단에 이 페이지 전용 반응형 규칙이 있다.
 */

/* ========== 히어로 ========== */

.brand_hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    padding: calc(var(--header_height) + var(--space_10)) var(--page_padding) var(--space_14);
    overflow: hidden;
    text-align: center;
}

.brand_hero_media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.brand_hero_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand_hero_media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.66) 52%, rgba(0, 0, 0, 0.78) 100%);
}

.brand_hero_body {
    width: 100%;
    max-width: var(--content_max);
}

.brand_hero_eyebrow {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.brand_hero_title {
    margin-top: var(--space_2);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--color_brand_light) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand_hero_desc {
    margin-top: var(--space_6);
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

/* ========== 철학 (Vision / Mission) ========== */

.philosophy {
    padding: 80px var(--page_padding) 0;
}

.philosophy_headline {
    color: var(--color_brand);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    text-align: center;
}

.statement_list {
    display: flex;
    flex-direction: column;
    gap: 56px;
    margin-top: 64px;
}

.statement:nth-child(even) {
    text-align: right;
}

.statement_label {
    color: var(--color_brand);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.statement_title {
    margin-top: var(--space_4);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.statement_mark {
    color: var(--color_brand);
    font-weight: 700;
}

.statement_desc {
    margin-top: var(--space_5);
    color: var(--color_text_sub);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

/* ========== Our Core Values ========== */

.value {
    padding: 96px var(--page_padding) 0;
}

.value_title {
    color: var(--color_brand);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-align: center;
}

.value_title::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: var(--space_5) auto 0;
    border-radius: 2px;
    background-color: var(--color_brand_light);
}

.value_list {
    display: flex;
    flex-direction: column;
    gap: var(--space_5);
    margin-top: var(--space_10);
}

.value_card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 356 / 621;
    padding: var(--space_8) var(--space_6) 68px;
    border-radius: var(--radius_card);
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.value_card_image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease_out_soft);
}

.value_card_scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.52) 55%, rgba(0, 0, 0, 0.74) 100%);
}

.value_card:hover .value_card_image {
    transform: scale(1.05);
}

.value_card_label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
}

.value_card_en {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.value_card_ko {
    display: block;
    margin-top: var(--space_1);
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.value_card_text {
    margin-top: var(--space_6);
    color: #ffffff;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

/* ========== Our History (타임라인) ========== */

.history {
    padding: 96px var(--page_padding) 110px;
}

.history_title {
    color: var(--color_brand);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-align: center;
}

.history_track {
    position: relative;
    margin-top: var(--space_14);
    padding-block: 26px;
}

/* 중앙 세로 라인 */
.history_track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background-color: var(--color_brand_light);
}

.history_list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 34px;
}

/* 라인 양 끝 점 */
.history_list::before,
.history_list::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--color_brand_light);
    transform: translate(-50%, -50%);
}

.history_list::before {
    top: -26px;
}

.history_list::after {
    bottom: -26px;
    transform: translate(-50%, 50%);
}

.history_item {
    position: relative;
    width: 50%;
    padding-right: 20px;
    text-align: right;
}

.history_item:nth-child(even) {
    align-self: flex-end;
    padding-right: 0;
    padding-left: 20px;
    text-align: left;
}

/* 중앙 라인으로 이어지는 가로 연결선 */
.history_item::before {
    content: "";
    position: absolute;
    top: 11px;
    right: 0;
    width: 20px;
    height: 2px;
    background-color: var(--color_brand_light);
}

.history_item:nth-child(even)::before {
    right: auto;
    left: 0;
}

.history_date {
    display: block;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* 좁은 컬럼에서 한글이 단어 중간에 끊기지 않도록 어절 단위로 줄바꿈한다. */
.history_name {
    margin-top: var(--space_2);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
    word-break: keep-all;
}


/* ========================================================
 * 반응형
 * ======================================================== */

/* ---------- Tablet: 768px ~ ---------- */

@media (min-width: 768px) {
    .brand_hero {
        min-height: 640px;
    }

    .brand_hero_eyebrow {
        font-size: 24px;
    }

    .brand_hero_title {
        font-size: 46px;
    }

    .brand_hero_desc {
        margin-top: var(--space_8);
        font-size: 17px;
    }

    .philosophy {
        padding-top: 110px;
    }

    .philosophy_headline {
        font-size: 36px;
    }

    .statement_list {
        gap: 72px;
        margin-top: 80px;
    }

    .statement_label {
        font-size: 26px;
    }

    .statement_title {
        font-size: 30px;
    }

    .statement_desc {
        font-size: 15px;
    }

    .value {
        padding-top: 120px;
    }

    .value_title {
        font-size: 36px;
    }

    .value_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space_5);
    }

    .value_card {
        aspect-ratio: 3 / 4;
        padding-bottom: 56px;
    }

    .value_card_en {
        font-size: 16px;
    }

    .value_card_text {
        font-size: 20px;
    }

    .history {
        padding-top: 120px;
        padding-bottom: 130px;
    }

    .history_title {
        font-size: 36px;
    }

    .history_list {
        gap: 46px;
    }

    .history_item {
        padding-right: 44px;
    }

    .history_item:nth-child(even) {
        padding-left: 44px;
    }

    .history_item::before {
        top: 13px;
        width: 44px;
    }

    .history_date {
        font-size: 24px;
    }

    .history_name {
        font-size: 18px;
    }

}

/* ---------- Desktop: 1024px ~ ---------- */

@media (min-width: 1024px) {
    .brand_hero {
        min-height: 760px;
    }

    .brand_hero_eyebrow {
        font-size: 28px;
    }

    .brand_hero_title {
        font-size: 60px;
    }

    .brand_hero_desc {
        font-size: 19px;
    }

    /* 최대 폭 제한 + 중앙 정렬 */
    .philosophy,
    .value,
    .history {
        max-width: calc(var(--content_max) + var(--page_padding) * 2);
        margin-inline: auto;
    }

    .philosophy {
        padding-top: 140px;
    }

    .philosophy_headline {
        font-size: 46px;
    }

    .statement_list {
        gap: 96px;
        margin-top: 96px;
    }

    .statement {
        max-width: 640px;
    }

    .statement:nth-child(even) {
        margin-left: auto;
    }

    .statement_label {
        font-size: 30px;
    }

    .statement_title {
        font-size: 38px;
    }

    .statement_desc {
        margin-top: var(--space_6);
        font-size: 16px;
    }

    .value {
        padding-top: 150px;
    }

    .value_title {
        font-size: 44px;
    }

    .value_list {
        grid-template-columns: repeat(4, 1fr);
        margin-top: var(--space_14);
    }

    .value_card {
        aspect-ratio: 3 / 4.2;
        padding: var(--space_8) var(--space_5) 48px;
    }

    .value_card_text {
        font-size: 18px;
    }

    .history {
        padding-top: 150px;
        padding-bottom: 160px;
    }

    .history_title {
        font-size: 44px;
    }

    .history_track {
        max-width: 900px;
        margin-inline: auto;
    }

    .history_list {
        gap: 56px;
    }

    .history_item {
        padding-right: 60px;
    }

    .history_item:nth-child(even) {
        padding-left: 60px;
    }

    .history_item::before {
        width: 60px;
    }

    .history_date {
        font-size: 28px;
    }

    .history_name {
        font-size: 20px;
    }

}
