.jak-story-page {
    min-height: 100vh;
    background: #fff;
    color: #242424;
}

.jak-story-page .navbar-v2 {
    z-index: 1030;
}

/* Hero — aligned with subpage hero pattern (Jakarta Now / About) */
.jak-story-hero {
    position: relative;
    min-height: clamp(330px, 26vw, 510px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0c111b url('/assets/background-haeder.png') center 39% / cover no-repeat;
    color: #fff;
}

.jak-story-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 12, 27, .9) 0%, rgba(7, 12, 27, .64) 45%, rgba(7, 12, 27, .1) 100%);
}

.jak-story-hero-inner {
    position: relative;
    z-index: 1;
    width: min(88%, 1800px);
    margin-inline: auto;
    padding-block: 48px;
}

.jak-story-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(12px, .78vw, 15px);
}

.jak-story-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.jak-story-breadcrumb a:hover,
.jak-story-breadcrumb a:focus-visible {
    color: #ffe321;
}

.jak-story-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4.1vw, 82px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.025em;
}

.jak-story-hero-inner > p:last-child {
    max-width: 800px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .94);
    font-size: clamp(17px, 1.25vw, 25px);
    line-height: 1.4;
}

/* Shared container */
.jak-story-main {
    background: #fff;
}

.jak-story-container {
    width: min(86%, 1160px);
    margin-inline: auto;
}

/* Section 1: Featured Video + Lenggang Jakarta Intro */
.jak-story-featured {
    padding-block: clamp(56px, 6vw, 96px) clamp(48px, 5vw, 80px);
    background: #fff;
}

.jak-story-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: clamp(16px, 1.8vw, 24px);
    overflow: hidden;
    background: #17143b;
    box-shadow: 0 24px 56px rgba(18, 16, 62, .16);
}

.jak-story-featured-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .75, .25, 1);
}

.jak-story-video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(12, 10, 42, .12) 0%, rgba(12, 10, 42, .34) 100%);
    pointer-events: none;
}

.jak-story-video-frame:not(.is-playing):hover .jak-story-featured-video {
    transform: scale(1.02);
}

.jak-story-video-frame.is-playing::after {
    opacity: 0;
}

.jak-story-video-frame.is-playing .jak-story-play-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.jak-story-video-frame::after,
.jak-story-play-btn {
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease,
        background-color .25s ease, box-shadow .25s ease;
}

.jak-story-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: clamp(68px, 6.5vw, 96px);
    height: clamp(68px, 6.5vw, 96px);
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .36);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: clamp(30px, 3vw, 44px);
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(9, 10, 36, .28);
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.jak-story-play-btn i {
    margin-left: 4px;
    line-height: 1;
}

.jak-story-play-btn:hover,
.jak-story-play-btn:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(255, 255, 255, .52);
    box-shadow: 0 18px 38px rgba(9, 10, 36, .36);
    outline: none;
}

.jak-story-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4.5vw, 68px);
    width: min(100%, 880px);
    margin: clamp(44px, 5vw, 72px) auto 0;
}

.jak-story-brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: #1f1f24;
    user-select: none;
}

.jak-story-brand-top {
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 500;
    letter-spacing: .12em;
    line-height: 1;
}

.jak-story-brand-bottom {
    margin-top: 2px;
    font-size: clamp(21px, 2vw, 30px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: .01em;
}

.jak-story-intro-copy {
    margin: 0;
    color: #6b707d;
    font-size: clamp(15px, 1.08vw, 18px);
    line-height: 1.6;
}

/* Section 2: Purple-Blue Gradient Story Grid */
.jak-story-gallery-band {
    padding-block: clamp(56px, 6vw, 92px) clamp(48px, 5vw, 76px);
    background: linear-gradient(100deg, #1b1793 0%, #3723d6 50%, #7d2ae8 100%);
    color: #fff;
}

.jak-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 26px);
}

.jak-story-card {
    background: rgba(238, 227, 255, .94);
    border-radius: 12px;
    padding: 10px 10px 14px;
    box-shadow: 0 14px 32px rgba(13, 10, 68, .22);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.jak-story-card:hover {
    transform: translateY(-4px);
    background: #f5eeff;
    box-shadow: 0 20px 40px rgba(13, 10, 68, .3);
}

.jak-story-card-trigger {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.jak-story-card-trigger:focus-visible {
    outline: 2px solid #28209d;
    outline-offset: 4px;
    border-radius: 8px;
}

.jak-story-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: #23195c;
    display: block;
}

.jak-story-card-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .75, .25, 1);
}

.jak-story-card:hover .jak-story-card-thumb img {
    transform: scale(1.04);
}

.jak-story-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 4px 0;
}

.jak-story-card-category {
    color: #6b5c8c;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
}

.jak-story-card-title {
    color: #1e1638;
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 700;
    line-height: 1.3;
}

.jak-story-grid-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(24px, 3vw, 36px);
}

.jak-story-more-btn {
    border: 0;
    padding: 8px 4px;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s ease;
}

.jak-story-more-btn i {
    transition: transform .2s ease;
}

.jak-story-more-btn:hover,
.jak-story-more-btn:focus-visible {
    opacity: .85;
    outline: none;
}

.jak-story-more-btn:hover i {
    transform: translateX(4px);
}

/* Section 3: Your Hopes and Dreams for a better Jakarta */
.jak-story-wishes {
    padding-block: clamp(68px, 7vw, 112px) clamp(52px, 5.5vw, 84px);
    background: #fff;
    overflow: hidden;
}

.jak-story-wishes-header {
    width: min(88%, 820px);
    margin: 0 auto clamp(38px, 4.5vw, 60px);
    text-align: center;
}

.jak-story-wishes-header h2 {
    margin: 0;
    color: #181a24;
    font-size: clamp(28px, 2.7vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.jak-story-wishes-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.jak-story-wishes-viewport::before,
.jak-story-wishes-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(32px, 9vw, 150px);
    z-index: 2;
    pointer-events: none;
}

.jak-story-wishes-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .82) 38%, rgba(255, 255, 255, 0) 100%);
}

.jak-story-wishes-viewport::after {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, .82) 38%, rgba(255, 255, 255, 0) 100%);
}

.jak-story-wishes-track {
    display: flex;
    transition: transform .55s cubic-bezier(.22, .8, .25, 1);
    will-change: transform;
}

.jak-story-wishes-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-block: 4px;
}

.jak-story-wishes-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 390px));
    justify-content: center;
    gap: 22px;
}

.jak-story-wishes-row--top {
    transform: translateX(-5%);
}

.jak-story-wishes-row--bottom {
    transform: translateX(4%);
}

.jak-story-wish-card {
    background: #f5f6f9;
    border: 1px solid rgba(25, 30, 56, .05);
    border-radius: 14px;
    padding: 26px 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    min-height: 224px;
}

.jak-story-wish-quote-mark {
    display: block;
    color: #3a34c6;
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    line-height: .7;
    margin-bottom: 10px;
}

.jak-story-wish-text {
    margin: 0;
    color: #242733;
    font-size: 15px;
    line-height: 1.55;
    flex: 1;
}

.jak-story-wish-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jak-story-wish-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #dcdcf4;
}

.jak-story-wish-author strong {
    display: block;
    color: #191c28;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.jak-story-wish-author span {
    display: block;
    color: #7c8292;
    font-size: 12px;
    line-height: 1.3;
    margin-top: 2px;
}

.jak-story-wishes-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(32px, 3.8vw, 48px);
}

.jak-story-wishes-dot {
    width: 46px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: #d8dce8;
    cursor: pointer;
    transition: background-color .25s ease, width .25s ease;
}

.jak-story-wishes-dot:hover {
    background: #9ea6c8;
}

.jak-story-wishes-dot.is-active {
    width: 56px;
    background: #2b278f;
}

/* Section 4: Heritage, Collaboration & Innovation — Figures Carousel */
.jak-story-figures {
    background: #fff;
    padding-top: clamp(36px, 4.5vw, 68px);
}

.jak-story-figures-stage {
    position: relative;
    width: min(92%, 1280px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 2.5vw, 36px);
    padding-bottom: clamp(24px, 3vw, 40px);
}

.jak-story-figure-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(25, 29, 50, .12);
    border-radius: 50%;
    background: #fff;
    color: #1d2030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.jak-story-figure-arrow:hover,
.jak-story-figure-arrow:focus-visible {
    background: #2b278f;
    border-color: #2b278f;
    color: #fff;
    transform: scale(1.06);
    outline: none;
}

.jak-story-figure-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    transition: opacity .24s ease, transform .24s ease;
}

.jak-story-figure-content.is-transitioning {
    opacity: .25;
    transform: translateY(6px);
}

.jak-story-figure-copy h2 {
    margin: 0;
    color: #1c1e29;
    font-size: clamp(26px, 2.3vw, 36px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
}

.jak-story-figure-eyebrow {
    margin: 10px 0 0;
    color: #9ba1b0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.jak-story-figure-lead {
    margin: 26px 0 0;
    color: #242733;
    font-size: clamp(15px, 1.06vw, 17px);
    font-weight: 600;
    line-height: 1.62;
}

.jak-story-figure-body {
    margin: 18px 0 0;
    color: #6b707d;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.65;
}

.jak-story-figure-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.jak-story-figure-visual img {
    width: min(100%, 440px);
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 22px 48px rgba(24, 22, 72, .14);
    display: block;
}

/* Pastel Iridescent Dock */
.jak-story-figures-dock {
    position: relative;
    padding-block: clamp(36px, 4vw, 56px) clamp(44px, 5vw, 68px);
    background:
        linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, .45) 26%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(95deg, #fbe8c8 0%, #f5edf8 28%, #e4f2fb 58%, #bceee3 84%, #b3e5fc 100%);
}

.jak-story-figures-list {
    width: min(88%, 1040px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
    align-items: start;
}

.jak-story-figure-pill {
    border: 0;
    padding: 6px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    color: inherit;
    transition: transform .22s ease;
}

.jak-story-figure-pill:hover {
    transform: translateY(-3px);
}

.jak-story-figure-pill:focus-visible {
    outline: 2px solid #2b278f;
    outline-offset: 4px;
    border-radius: 12px;
}

.jak-story-figure-avatar {
    width: clamp(64px, 6vw, 82px);
    height: clamp(64px, 6vw, 82px);
    border-radius: 50%;
    padding: 3px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 8px 20px rgba(20, 24, 58, .12);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
    display: block;
    overflow: hidden;
}

.jak-story-figure-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.jak-story-figure-pill.is-active .jak-story-figure-avatar {
    transform: scale(1.16);
    background: #fff;
    box-shadow: 0 12px 28px rgba(43, 39, 143, .28), 0 0 0 3px #3b2be0;
}

.jak-story-figure-name {
    margin-top: 14px;
    color: #1c1e29;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.jak-story-figure-role {
    margin-top: 3px;
    color: #6b707d;
    font-size: 12px;
    line-height: 1.3;
}

/* Article Iframe Modal — slide up from bottom like Virtual Tour sheet */
.jak-story-article-modal {
    overflow: hidden;
}

.jak-story-article-modal.fade {
    transition: opacity .32s ease;
}

.jak-story-article-modal.fade .modal-dialog {
    transform: translate3d(0, 100%, 0);
    transition: transform .48s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.jak-story-article-modal.show .modal-dialog {
    transform: translate3d(0, 0, 0);
}

.jak-story-article-modal .modal-content {
    border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0;
    overflow: hidden;
    box-shadow: 0 -16px 48px rgba(10, 12, 38, .22);
}

/* Video Preview Modal */
.jak-story-modal {
    width: min(92vw, 760px);
    border: 0;
    border-radius: 18px;
    padding: 0;
    background: #fff;
    color: #1e2030;
    box-shadow: 0 28px 80px rgba(10, 12, 38, .35);
    overflow: hidden;
}

.jak-story-modal::backdrop {
    background: rgba(9, 11, 28, .72);
    backdrop-filter: blur(4px);
}

.jak-story-modal-card {
    padding: 22px 24px 26px;
}

.jak-story-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.jak-story-modal-category {
    margin: 0 0 4px;
    color: #5a38d4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.jak-story-modal-title {
    margin: 0;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 700;
    line-height: 1.25;
}

.jak-story-modal-close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(25, 29, 50, .12);
    border-radius: 50%;
    background: #f5f6fa;
    color: #1e2030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .2s ease;
}

.jak-story-modal-close:hover {
    background: #e5e7f2;
}

.jak-story-modal-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #17143b;
}

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

.jak-story-modal-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 16, 40, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.jak-story-modal-description {
    margin: 16px 0 0;
    color: #5b6070;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive Breakpoints */
@media (max-width: 1199.98px) {
    .jak-story-wishes-row {
        grid-template-columns: repeat(4, minmax(260px, 320px));
    }
}

@media (max-width: 991.98px) {
    .jak-story-hero {
        min-height: 360px;
        background-position: 58% center;
    }

    .jak-story-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jak-story-brand-lockup {
        align-items: flex-start;
    }

    .jak-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jak-story-wishes-viewport::before,
    .jak-story-wishes-viewport::after {
        display: none;
    }

    .jak-story-wishes-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(90%, 760px);
        margin-inline: auto;
        transform: none;
    }

    .jak-story-figures-stage {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jak-story-figure-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .jak-story-figure-arrow {
        position: absolute;
        top: 12px;
        z-index: 2;
    }

    .jak-story-figure-arrow--prev {
        right: 54px;
    }

    .jak-story-figure-arrow--next {
        right: 0;
    }

    .jak-story-figure-copy h2 {
        padding-right: 112px;
    }

    .jak-story-figures-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 14px;
    }
}

@media (max-width: 575.98px) {
    .jak-story-hero {
        min-height: 330px;
        background-position: 61% center;
    }

    .jak-story-hero-inner {
        width: calc(100% - 36px);
        padding-block: 40px;
    }

    .jak-story-hero h1 {
        font-size: clamp(36px, 11vw, 50px);
    }

    .jak-story-container {
        width: calc(100% - 32px);
    }

    .jak-story-grid {
        grid-template-columns: 1fr;
    }

    .jak-story-wishes-row {
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
    }

    .jak-story-wish-card {
        min-height: 0;
    }

    .jak-story-figures-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .jak-story-featured-video,
    .jak-story-play-btn,
    .jak-story-card,
    .jak-story-card-thumb img,
    .jak-story-wishes-track,
    .jak-story-figure-content,
    .jak-story-figure-avatar,
    .jak-story-figure-pill,
    .jak-story-article-modal.fade,
    .jak-story-article-modal.fade .modal-dialog {
        transition: none;
    }

    .jak-story-article-modal.fade .modal-dialog {
        transform: none;
    }
}

