/* 메인 히어로 */
.hero-home .hero-copy h1 {
    max-width: 10ch;
}

.prd-sec {
    --prd-gap: clamp(1rem, 1.25vw, 3rem);
    position: relative;
    display: flex;
    align-items: stretch;
    z-index: 2;
    min-height: 0;
    padding: var(--prd-gap);
    background: #f1f3f5;
}

.prd-wrap {
    position: relative;
    display: grid;
    align-content: center;
    gap: 0;
    width: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.prd-list {
    --prd-col: 4;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--prd-gap);
    width: 100%;
    min-height: clamp(14rem, 32svh, 22rem);
    align-items: stretch;
}

.prd-item {
    --prd-accent: #112b6d;
    position: relative;
    display: grid;
    flex: 0 0 calc((100% - ((var(--prd-col) - 1) * var(--prd-gap))) / var(--prd-col));
    width: calc((100% - ((var(--prd-col) - 1) * var(--prd-gap))) / var(--prd-col));
    min-width: 0;
    max-width: calc((100% - ((var(--prd-col) - 1) * var(--prd-gap))) / var(--prd-col));
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    align-items: center;
    justify-content: center;
    gap: clamp(0.35rem, 0.7vw, 0.75rem);
    min-height: clamp(8rem, 15svh, 11rem);
    padding: 35px;
    border: 1px solid rgba(0, 43, 121, 0.1);
    background: #ffffff;
    border-radius: 0;
    color: var(--text);
    text-decoration: none;
    text-align: left;
    box-shadow: 0 18px 42px rgba(0, 43, 121, 0.06);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.prd-item--one {
    --prd-accent: #ffac00;
}

.prd-item--premium {
    --prd-accent: #0c328a;
}

.prd-item--cplus {
    --prd-accent: #66b256;
}

.prd-item--active {
    --prd-accent: #519aeb;
}

.prd-item:hover,
.prd-item:focus-visible {
    filter: none;
    border-color: var(--prd-accent);
    box-shadow: 0 22px 52px rgba(0, 43, 121, 0.1);
    transform: translateY(-4px);
}

.prd-item:hover .prd-img img,
.prd-item:focus-visible .prd-img img {
    transform: translateY(-6px);
}

.prd-more {
    position: static;
    z-index: 2;
    display: inline-flex;
    order: 3;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    gap: 0.45rem;
    width: 100%;
    min-height: 3.2rem;
    padding: 0 1.25rem;
    border-radius: 0;
    background: #eef2f7;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: var(--letter-common);
    opacity: 1;
    transform: none;
    transition: background-color 0.22s ease, color 0.22s ease;
    pointer-events: none;
    white-space: nowrap;
}

.prd-more .icon-lucide {
    width: 1.1rem;
    height: 1.1rem;
    stroke-width: 2.2;
}

.prd-item:hover .prd-more,
.prd-item:focus-visible .prd-more {
    background: var(--prd-accent);
    color: #ffffff;
}

.prd-txt {
    display: grid;
    gap: 16px;
    order: 1;
    justify-items: start;
    width: 100%;
    min-width: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.prd-top {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 2.1rem;
    padding: 0.25rem 1rem 0.25rem 0.75rem;
    border-radius: 0 999px 999px 0;
    background: color-mix(in srgb, var(--prd-accent) 12%, #ffffff);
    color: var(--prd-accent);
    font-size: clamp(1rem, 1.12vw, 1.24rem);
    font-weight: 700;
    word-break: keep-all;
    white-space: normal;
}

.prd-name {
    display: block;
    color: inherit;
    font-size: clamp(1.8rem, 2.65vw, 3.25rem);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: var(--letter-common);
    word-break: keep-all;
    white-space: normal;
}

.prd-sub {
    margin: 0;
    min-height: 3em;
    color: inherit;
    font-size: clamp(1rem, 1.12vw, 1.28rem);
    line-height: 1.5;
    word-break: keep-all;
    opacity: 0.88;
}

.prd-sub small {
    display: block;
    margin-top: 0.3em;
    color: #a2a8b3;
    font-size: clamp(0.82rem, 0.84vw, 0.95rem);
    line-height: 1.4;
    letter-spacing: var(--letter-common);
}

.prd-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    justify-self: center;
    gap: 5px;
    width: 100%;
    min-height: clamp(7.5rem, 15vh, 10rem);
    margin-top: 8px;
    overflow: hidden;
    order: 2;
}

.prd-img-note {
    display: block;
    min-height: 2.8em;
    margin-top: 0;
    color: #a2a8b3;
    font-size: clamp(0.82rem, 0.84vw, 0.95rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: var(--letter-common);
    text-align: center;
    word-break: keep-all;
}

.prd-img-note sub {
    font-size: 0.72em;
    line-height: 0;
    vertical-align: sub;
}

.prd-img img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center center;
    transition: transform 0.28s ease-out;
    will-change: transform;
}

.prd-float {
    position: static;
    width: 100%;
}

.prd-float-sec {
    width: 100%;
    padding: var(--prd-gap) 0 0;
    background: #f1f3f5;
}

.prd-float-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: clamp(4.8rem, 6vw, 6.5rem);
    padding: 1.45rem 2rem;
    border: 0;
    border-radius: 0;
    background: #112b6d;
    color: #ffffff;
    text-align: center;
    box-shadow: none;
}

.prd-float-btn__icon {
    width: clamp(2.4rem, 3vw, 3.2rem);
    height: clamp(2.4rem, 3vw, 3.2rem);
    flex: 0 0 auto;
    stroke-width: 2.15;
}

.prd-float-btn__title {
    max-width: none;
    font-size: clamp(1.14rem, 1.45vw, 1.38rem);
    font-weight: 700;
    line-height: 1.2;
    word-break: keep-all;
    text-align: center;
}

.modal-layer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modal-layer[hidden] {
    display: none;
}

.modal-layer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 26, 0.58);
    backdrop-filter: blur(6px);
}

.modal-layer__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 31rem);
    padding: 34px 28px 28px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.modal-layer__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 0;
    background: transparent;
    color: #000000;
}

.modal-layer__close .icon-lucide {
    width: 2.35rem;
    height: 2.35rem;
}

.choose-pop {
    display: grid;
    gap: 24px;
}

.choose-pop__title {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.8rem, 2vw, 2.35rem);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: var(--letter-common);
    text-align: center;
}

.choose-pop__title strong {
    color: #002b79;
    font-weight: 700;
}

.choose-form {
    display: grid;
    gap: 12px;
}

.choose-form__control,
.choose-form__submit {
    width: 100%;
    min-height: 3.5rem;
    border: 1px solid rgba(0, 43, 121, 0.14);
    border-radius: 0;
    font: inherit;
}

.choose-form__control {
    padding: 0 1rem;
    background: #ffffff;
    color: var(--text);
}

.choose-form__submit {
    background: #002b79;
    color: #ffffff;
    font-weight: 700;
}

.story-sec {
    background: #022b7b;
    color: #ffffff;
}

.story-head {
    margin-bottom: 40px;
    text-align: center;
}

.story-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0;
    word-break: keep-all;
}

.story-title span {
    font-weight: 400;
}

.story-title strong {
    font-weight: 700;
}

.story-grid {
    --story-col-gap: 80px;
    --story-row-gap: 80px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--story-col-gap);
    row-gap: var(--story-row-gap);
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.story-card {
    position: relative;
    overflow: visible;
    background: #ffffff;
    color: var(--text);
    z-index: 1;
}

.story-media {
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: #dfe6f5;
    position: relative;
    z-index: 2;
}

.story-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-copy {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 34px 28px 38px;
    position: relative;
    text-align: center;
    z-index: 2;
}

.story-card:nth-child(odd) .story-copy::after {
    content: "";
    position: absolute;
    top: 58px;
    left: 100%;
    width: var(--story-col-gap);
    border-top: 1px dotted rgba(255, 255, 255, 0.58);
    z-index: 0;
}

.story-card:nth-child(2)::before,
.story-card:nth-child(3)::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    height: var(--story-row-gap);
    border-left: 1px dotted rgba(255, 255, 255, 0.58);
    transform: translateX(-50%);
    z-index: 0;
}

.story-year {
    color: #12398b;
    font-size: clamp(2.15rem, 2.9vw, 3.45rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--letter-common);
}

.story-text {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.08rem, 1.28vw, 1.32rem);
    line-height: 1.42;
    word-break: keep-all;
}

.story-source {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
}

.story-note {
    margin-top: 72px;
}

.story-note .page-note-review,
.story-note .page-note-text {
    color: rgba(255, 255, 255, 0.92);
}

.story-arc {
    overflow: hidden;
    padding: 0;
    background: #dbe4f1;
}

.story-arc-wrap {
    position: relative;
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 28px;
    width: 100%;
    min-height: 420px;
    padding: 84px 24px;
}

.story-arc-copy {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.story-arc-kicker {
    margin: 0;
    color: #111111;
    font-size: clamp(1.8rem, 2.5vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--letter-common);
}

.story-arc-title {
    margin: 0;
    color: #111111;
    font-size: clamp(1.5rem, 2.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: var(--letter-common);
    word-break: keep-all;
}

.story-arc-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 246px;
    min-height: 78px;
    padding: 0 28px;
    border: 0;
    background: rgba(255, 255, 255, 0.62);
    color: #111111;
    font: inherit;
    font-size: clamp(1.1rem, 1.45vw, 1.6rem);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.story-arc-visual {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
}

.story-arc-visual picture {
    display: block;
    width: 100%;
    height: 100%;
}

.story-arc-visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
}

@media (max-width: 1080px) {
    .prd-sec {
        padding: var(--prd-gap);
    }

    .prd-wrap,
    .prd-list {
        min-height: auto;
    }

    .prd-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex-wrap: wrap;
        gap: var(--prd-gap);
    }

    .prd-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
        flex: none;
        width: 100%;
        max-width: none;
        min-height: auto;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        padding: 20px 16px;
        text-align: left;
    }

    .prd-name {
        font-size: clamp(1.5rem, 3.4vw, 2.85rem);
        line-height: 1.16;
        white-space: normal;
    }

    .prd-top {
        max-width: 100%;
        min-height: 1.85rem;
        padding: 0.22rem 0.72rem 0.22rem 0.58rem;
        font-size: clamp(0.72rem, 1.7vw, 0.92rem);
        white-space: nowrap;
    }

    .prd-sub {
        line-height: 1.5;
    }

    .prd-img {
        order: 2;
        width: 100%;
        min-height: 0;
        margin-top: 0;
    }

    .prd-img-note {
        margin-top: 0;
    }

    .prd-img img {
        width: 100%;
    }

    .prd-more {
        position: static;
        grid-column: 1 / -1;
        justify-self: stretch;
        order: 3;
        width: 100%;
        min-height: 3rem;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }

    .prd-txt {
        order: 1;
        gap: 8px;
        min-width: 0;
        padding-left: 4px;
    }
}

@media (max-width: 720px) {
    .story-head {
        margin-bottom: 28px;
    }

    .story-grid {
        --story-col-gap: 18px;
        --story-row-gap: 18px;
        grid-template-columns: 1fr;
        row-gap: var(--story-row-gap);
    }

    .story-card:nth-child(2)::before,
    .story-card:nth-child(3)::before {
        display: none;
    }

    .story-card .story-copy::after {
        display: none;
    }

    .story-card:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        height: var(--story-row-gap);
        border-left: 1px dotted rgba(255, 255, 255, 0.58);
        transform: translateX(-50%);
        z-index: 0;
    }

    .story-note {
        margin-top: 48px;
    }

    .story-arc-wrap {
        min-height: 280px;
        gap: 20px;
        padding: 56px 20px;
    }

    .story-arc-visual img {
        object-position: center center;
    }

    .story-arc-link {
        min-width: 188px;
        min-height: 60px;
        padding: 0 20px;
    }

    .story-copy {
        padding: 28px 20px 30px;
    }

    .prd-sec {
        padding: var(--prd-gap);
    }

    .prd-wrap {
        min-height: auto;
    }

    .prd-list {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .prd-item {
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
        width: 100%;
        max-width: none;
        min-height: auto;
        align-items: center;
        justify-content: flex-start;
        gap: 18px;
        padding: 24px 18px;
        text-align: left;
    }

    .prd-name {
        font-size: clamp(1.58rem, 6.6vw, 2.35rem);
        line-height: 1.16;
        white-space: normal;
    }

    .prd-top {
        max-width: 100%;
        min-height: 1.85rem;
        padding: 0.22rem 0.72rem 0.22rem 0.58rem;
        font-size: clamp(0.72rem, 3.2vw, 0.92rem);
        white-space: nowrap;
    }

    .prd-sub {
        line-height: 1.6;
    }

    .prd-img {
        order: 2;
        width: 100%;
        min-height: 0;
        margin-top: 0;
    }

    .prd-img-note {
        margin-top: 0;
    }

    .prd-more {
        position: static;
        grid-column: 1 / -1;
        justify-self: stretch;
        order: 3;
        width: 100%;
        min-height: 3.25rem;
        padding: 0.78rem 1rem;
        font-size: 1rem;
    }

    .prd-img img {
        width: 100%;
    }

    .prd-txt {
        order: 1;
        gap: 8px;
        min-width: 0;
        padding-left: 8px;
    }

    .prd-float-btn {
        gap: 10px;
        padding: 22px 18px 24px;
    }

    .prd-float-btn__title {
        text-align: center;
    }

    .prd-float-btn__icon {
        width: 2.4rem;
        height: 2.4rem;
    }

    .modal-layer {
        padding: 16px;
    }

    .modal-layer__panel {
        width: 100%;
        padding: 30px 18px 20px;
    }

    .modal-layer__close {
        width: 3rem;
        height: 3rem;
    }

    .modal-layer__close .icon-lucide {
        width: 2rem;
        height: 2rem;
    }

    .choose-pop {
        gap: 20px;
    }

    .choose-pop__title {
        font-size: 1.55rem;
    }

}
