@charset "utf-8";

/* ============================================================
   [CEO Message] 
   ============================================================ */

/* ------------------------------------------------------------
   배너
   ------------------------------------------------------------ */
.ban {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 58vh;
    height: 58dvh;
    min-height: 320px;
    overflow: hidden;
    background: #1a1d22 url('../imgs/message.png') no-repeat center center / cover;
}

.ban::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(100deg, rgba(0, 0, 0, .60) 0%, rgba(0, 0, 0, .34) 38%, rgba(0, 0, 0, .04) 72%),
        linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .34) 100%);
}

.ban-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.ban-copy {
    --reveal-dur: 1s;
    --ban-step: .14s;
    text-align: left;
}

.ban-sub {
    font-size: clamp(12px, .95vw, 18px);
    font-weight: 400;
    letter-spacing: .12em;
    color: var(--point);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.ban-title {
    margin-top: clamp(18px, 5vw, 96px);
    font-size: clamp(19px, 2.6vw, 50px);
    line-height: 1.34;
    letter-spacing: -.015em;
    color: #fff;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .38);
}

.ban-title .hero-line,
.ban-line {
    display: block;
}

.ban-title .hero-line+.hero-line {
    margin-top: 0;
}

.ban-line {
    font-weight: 500;
}

.ban-line-strong {
    font-weight: 800;
}

.ban-sub {
    --reveal-delay: 0s;
}

.ban-title .hero-line:nth-child(1) .ban-line {
    --reveal-delay: var(--ban-step);
}

.ban-title .hero-line:nth-child(2) .ban-line {
    --reveal-delay: calc(var(--ban-step) * 2);
}

.ban-sub,
.ban-line:not(.txt-sheen) {
    animation: heroLineUp var(--reveal-dur) cubic-bezier(.22, 1, .36, 1) var(--reveal-delay) both;
}


/* ------------------------------------------------------------
   본문
   ------------------------------------------------------------ */
.msg {
    padding: clamp(60px, 8vw, 140px) 0 clamp(80px, 10vw, 170px);
    background: #faf8f3;
}

/* 본문 폭 = 서한 폭(800px) + 좌우 패딩.
   1400px로 두면 글이 왼쪽에 몰려 오른쪽 여백만 넓어져서, 컬럼째 가운데로 맞춤 */
.msg-inner {
    width: 100%;
    max-width: calc(800px + clamp(20px, 4vw, 60px) * 2);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* Vision / Message 공통 라벨 */
.msg-label {
    font-size: clamp(14px, 1.05vw, 18px);
    font-weight: 400;
    letter-spacing: .01em;
    color: var(--point);
}

/* Vision 문장 */
.msg-vision {
    margin-top: clamp(24px, 3.6vw, 70px);
    font-size: clamp(17px, 2.2vw, 34px);
    font-weight: 500;
    line-height: 1.62;
    letter-spacing: -.01em;
    color: #263957;
}

/* 강조 : 주황 볼드 */
.msg-point {
    font-weight: 800;
    color: var(--point);
}

/* Message 블록 */
.msg-block-letter {
    margin-top: clamp(56px, 9vw, 150px);
}

.msg-letter {
    max-width: 800px;
    margin-top: clamp(24px, 3.6vw, 70px);
}

.msg-letter p {
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.7;
    color: #263957;
}

/* 문단 사이 여백 */
.msg-letter p+p {
    margin-top: clamp(20px, 2vw, 34px);
}

/* 사인 : 서한 우측 하단 */
.msg-sign {
    --sign-w: clamp(120px, 11vw, 175px);
    margin-top: clamp(40px, 5.5vw, 90px);
    text-align: right;
}

.msg-sign-img {
    display: block;
    width: var(--sign-w);
    height: auto;
    margin-left: auto;
    margin-bottom: calc(var(--sign-w) * -.28);
}

.msg-sign-txt {
    margin-top: 0;
    font-size: clamp(12px, .9vw, 14px);
    line-height: 1.7;
    color: #263957;
}


/* ------------------------------------------------------------
   반응형
   ------------------------------------------------------------ */
@media (max-width: 640px) {
    .ban {
        height: 56vh;
        height: 56dvh;
        min-height: 300px;
    }

    .ban-sub {
        font-size: 12px;
        letter-spacing: .1em;
    }

    .ban-title {
        margin-top: clamp(14px, 6vw, 40px);
        font-size: clamp(19px, 5.6vw, 30px);
        line-height: 1.4;
    }

    .msg-vision {
        line-height: 1.58;
    }

    .msg-letter p {
        line-height: 1.85;
    }
}

/* 320px 초소형 폰 : 좌우 여백을 줄여 배너 카피 한 줄 유지 */
@media (max-width: 360px) {

    .ban-inner,
    .msg-inner {
        padding: 0 18px;
    }
}

/* 짧은 화면(가로 눕힘 등)에서 배너가 화면을 다 먹지 않도록 */
@media (max-height: 560px) {
    .ban {
        height: 300px;
        min-height: 0;
    }
}

/* 모션 최소화 : 배너 리빌 없이 즉시 표시 */
@media (prefers-reduced-motion: reduce) {

    .ban-sub,
    .ban-line {
        animation: none;
    }
}
