/* ==============================
    SECTION 03 PROMISE
============================== */

.olle-promise-section {
    position: relative;
    width: 100%;
    padding: 90px 0 0;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.olle-promise-head {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 95px;
    text-align: center;
    box-sizing: border-box;
}

.olle-promise-label {
    margin: 0 0 32px;
    color: #ff7817;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.olle-promise-title {
    margin: 0;
    color: #1d1d1d;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.055em;
}

/* ==============================
    PC SCROLL AREA
============================== */

.olle-promise-scroll {
    position: relative;
    height: 320vh;
}

.olle-promise-sticky {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 980px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.olle-promise-track {
    --card-h: clamp(460px, 46vw, 820px);
    --copy-w: 520px;
    --copy-right: 13.5%;
    --copy-left: calc(100% - var(--copy-right) - var(--copy-w));

    position: relative;
    width: calc(100% - 160px);
    max-width: 1780px;
    height: calc(var(--card-h) + 140px);
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible;
}

/* ==============================
    CARD
============================== */

.olle-promise-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--card-h);
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    will-change: transform;
}

.olle-promise-card[data-promise-card="0"] {
    z-index: 1;
}

.olle-promise-card[data-promise-card="1"] {
    z-index: 2;
}

.olle-promise-card[data-promise-card="2"] {
    z-index: 3;
}

.olle-promise-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.olle-promise-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 50px;
}

/* ==============================
    CARD TEXT
============================== */

.olle-promise-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.olle-promise-copy-title {
    position: absolute;
    top: 22%;
    left: var(--copy-left);
    right: auto;
    width: var(--copy-w);
    margin: 0;
    color: #fff;
    font-size: 68px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.06em;
    text-align: left;
    white-space: normal;
}

.olle-promise-copy-desc {
    position: absolute;
    top: 58%;
    left: var(--copy-left);
    right: auto;
    width: var(--copy-w);
    margin: 0;
    color: #fff;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: -0.055em;
    text-align: left;
    word-break: keep-all;
}

/* ==============================
    PC DOT
============================== */

.olle-promise-dots {
    position: absolute;
    left: 72px;
    top: calc((var(--card-h) / 2) - 55px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.olle-promise-dots button {
    display: block;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.olle-promise-dots button.is-active {
    background: #ff7817;
    transform: scale(1.08);
}

/* ==============================
    RESPONSIVE - PC / TABLET
============================== */

@media (max-width: 1600px) {
    .olle-promise-track {
        width: calc(100% - 120px);
        --copy-w: 460px;
        --copy-right: 12%;
    }

    .olle-promise-copy-title {
        top: 21%;
        font-size: 60px;
    }

    .olle-promise-copy-desc {
        top: 57%;
        font-size: 25px;
    }
}

@media (max-width: 1280px) {
    .olle-promise-section {
        padding-top: 82px;
    }

    .olle-promise-head {
        margin-bottom: 72px;
    }

    .olle-promise-title {
        font-size: 50px;
    }

    .olle-promise-sticky {
        min-height: 860px;
    }

    .olle-promise-track {
        width: calc(100% - 80px);
        --card-h: clamp(420px, 45vw, 700px);
        --copy-w: 390px;
        --copy-right: 10%;
    }

    .olle-promise-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .olle-promise-copy-title {
        top: 20%;
        font-size: 52px;
    }

    .olle-promise-copy-desc {
        top: 56%;
        font-size: 21px;
        line-height: 1.75;
    }

    .olle-promise-dots {
        left: 48px;
        gap: 34px;
    }
}

@media (max-width: 1024px) {
    .olle-promise-section {
        padding-top: 72px;
    }

    .olle-promise-head {
        margin-bottom: 58px;
    }

    .olle-promise-label {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .olle-promise-title {
        font-size: 42px;
    }

    .olle-promise-sticky {
        min-height: 760px;
    }

    .olle-promise-track {
        width: calc(100% - 48px);
        --card-h: clamp(380px, 44vw, 560px);
        --copy-w: 330px;
        --copy-right: 9%;
    }

    .olle-promise-copy-title {
        top: 19%;
        font-size: 44px;
    }

    .olle-promise-copy-desc {
        top: 55%;
        font-size: 18px;
        line-height: 1.7;
    }
}

/* ==============================
    MOBILE
============================== */

@media (max-width: 768px) {
    .olle-promise-section {
        padding: 70px 0 72px;
    }

    .olle-promise-head {
        padding: 0 20px;
        margin-bottom: 42px;
    }

    .olle-promise-label {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .olle-promise-title {
        font-size: 34px;
        line-height: 1.25;
    }

    .olle-promise-scroll {
        height: auto;
    }

    .olle-promise-sticky {
        display: block;
        height: auto;
        min-height: 0;
    }

    .olle-promise-track {
        --card-h: auto;
        --copy-w: 78%;
        --copy-right: auto;
        --copy-left: 50%;

        width: 100%;
        height: auto;
        padding: 0 20px;
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .olle-promise-track::-webkit-scrollbar {
        display: none;
    }

    .olle-promise-card {
        position: relative;
        left: auto;
        top: auto;
        flex: 0 0 86%;
        width: auto;
        height: 560px;
        border: 0;
        border-radius: 0;
        transform: none !important;
        box-shadow: none;
        background: transparent;
        scroll-snap-align: center;
    }

    .olle-promise-picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .olle-promise-picture img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 0;
        border-radius: 50px;
    }

    .olle-promise-copy-title {
        top: 17%;
        left: 50%;
        right: auto;
        width: 78%;
        transform: translateX(-50%);
        font-size: 42px;
        line-height: 1.18;
        text-align: center;
        white-space: normal;
    }

    .olle-promise-copy-desc {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: 78%;
        transform: translateX(-50%);
        font-size: 16px;
        line-height: 1.65;
        text-align: center;
        word-break: keep-all;
    }

    .olle-promise-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .olle-promise-section {
        padding: 62px 0 68px;
    }

    .olle-promise-title {
        font-size: 30px;
    }

    .olle-promise-track {
        padding: 0 16px;
        gap: 12px;
    }

    .olle-promise-card {
        flex-basis: 88%;
        height: 500px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .olle-promise-copy-title {
        top: 16%;
        width: 82%;
        font-size: 34px;
    }

    .olle-promise-copy-desc {
        top: 48%;
        width: 82%;
        font-size: 14px;
        line-height: 1.62;
    }
}

@media (max-width: 390px) {
    .olle-promise-card {
        height: 470px;
    }

    .olle-promise-copy-title {
        top: 15%;
        font-size: 31px;
    }

    .olle-promise-copy-desc {
        top: 47%;
        font-size: 13px;
        line-height: 1.58;
    }
}


/* ==============================
    SECTION 03 MOBILE FORCE RESET
============================== */

@media (max-width: 768px) {
    .olle-promise-scroll {
        height: auto !important;
    }

    .olle-promise-sticky {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        transform: none !important;
    }

    .olle-promise-track {
        transform: none !important;
    }

    .olle-promise-card {
        transform: none !important;
    }
}