/* =========================================================
   Our Journey — zigzag path, scroll-filled cyan line
   ========================================================= */

.cx-journey {
    --jx-cyan: var(--cyan-primary, #1BE4EB);
    --jx-ink: var(--cx-ink, #231f18);
    --jx-muted: var(--text-muted, #2F3437);
    --jx-ease: cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #ffffff;
    color: var(--jx-ink);
    padding: clamp(72px, 9vw, 120px) 0 0;
}

.cx-journey__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cx-journey__wash {
    position: absolute;
    left: -12%;
    right: -12%;
    height: 42%;
    background: linear-gradient(165deg, rgba(27, 228, 235, 0.08), rgba(240, 249, 251, 0.45) 55%, transparent);
    transform: skewY(-4.5deg);
}

.cx-journey__wash--a { top: 8%; }
.cx-journey__wash--b {
    top: 52%;
    transform: skewY(4.5deg);
    background: linear-gradient(195deg, rgba(27, 228, 235, 0.06), transparent 60%);
}

.cx-journey__wrap {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.cx-journey__head {
    max-width: 36rem;
    margin: 0 auto clamp(48px, 6vw, 80px);
    text-align: center;
}

.cx-journey__head h2 {
    margin: 0;
    font-family: var(--font-primary, "Manrope", sans-serif);
    font-size: clamp(36px, 4.8vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.cx-journey__head p {
    margin: 16px auto 0;
    max-width: 40ch;
    color: var(--jx-muted);
    font-family: var(--font-primary, "Manrope", sans-serif);
    font-size: 17.5px;
    line-height: 1.75;
}

.cx-journey__stage {
    position: relative;
    padding-bottom: clamp(72px, 9vw, 120px);
}

.cx-journey__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.cx-journey__track {
    fill: none;
    stroke: rgba(35, 31, 24, 0.16);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 5 11;
}

.cx-journey__fill {
    fill: none;
    stroke: var(--gold, #D4AF37);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cx-journey__dot {
    fill: var(--gold, #D4AF37);
    stroke: #ffffff;
    stroke-width: 4;
    filter: drop-shadow(0 4px 14px rgba(184, 134, 11, 0.45));
    opacity: 0;
}

.cx-journey__row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(28px, 6vw, 88px);
    align-items: center;
    padding: clamp(28px, 4vw, 52px) 0;
}

.cx-journey__row--flip {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.cx-journey__row--flip .cx-journey__copy {
    order: -1;
}

.cx-journey__copy {
    max-width: 34rem;
}

.cx-journey__copy h3 {
    margin: 0;
    font-family: var(--font-primary, "Manrope", sans-serif);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--jx-ink);
}

.cx-journey__copy h3 em {
    font-style: italic;
    color: var(--gold-deep, #B8860B);
    background: var(--gold-gradient, linear-gradient(110deg, #B8860B 0%, #D4AF37 28%, #F4D06F 50%, #FFE8A3 62%, #D4AF37 82%, #B8860B 100%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cx-journey__copy p {
    margin: 16px 0 0;
    color: var(--jx-muted);
    font-family: var(--font-primary, "Manrope", sans-serif);
    font-size: 17.5px;
    font-weight: 400;
    line-height: 1.75;
}

.cx-journey__cluster {
    display: grid;
    gap: 12px;
}

.cx-journey__shot {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #e9e4dc;
    box-shadow: 0 16px 36px rgba(30, 30, 30, 0.1);
}

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

.cx-journey__cluster--a {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    max-width: 480px;
}

.cx-journey__cluster--a .cx-journey__shot:first-child {
    width: 88%;
    aspect-ratio: 16 / 10;
}

.cx-journey__cluster--a .cx-journey__shot:last-child {
    width: 84%;
    margin-top: -32px;
    margin-left: auto;
    aspect-ratio: 16 / 10;
}

.cx-journey__cluster--b {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    max-width: 460px;
    margin-left: auto;
}

.cx-journey__cluster--b .cx-journey__shot:first-child {
    width: 88%;
    aspect-ratio: 16 / 10;
}

.cx-journey__cluster--b .cx-journey__shot:last-child {
    width: 82%;
    margin-top: -36px;
    margin-left: auto;
    aspect-ratio: 16 / 10;
}

.cx-journey__cluster--c {
    grid-template-columns: 0.78fr 1.22fr;
    align-items: center;
}

.cx-journey__cluster--c .cx-journey__shot--tall {
    aspect-ratio: 3 / 4;
    min-height: 260px;
}

.cx-journey__cluster--c .cx-journey__shot:last-child {
    margin-left: -28px;
    margin-top: 48px;
    aspect-ratio: 16 / 10;
}

.cx-journey__cluster--d {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: 150px 150px;
    max-width: 500px;
    margin-left: auto;
}

.cx-journey__cluster--d .cx-journey__shot--tall {
    grid-row: 1 / 3;
}

@media (max-width: 900px) {
    .cx-journey__wrap { width: min(1180px, calc(100% - 32px)); }
    .cx-journey__stage { padding-left: 22px; }

    .cx-journey__row,
    .cx-journey__row--flip {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 36px 0 20px;
    }

    .cx-journey__row--flip .cx-journey__copy { order: 0; }

    .cx-journey__cluster { order: -1; }

    .cx-journey__cluster--a,
    .cx-journey__cluster--b,
    .cx-journey__cluster--d { margin-left: 0; max-width: none; }

    .cx-journey__cluster--c .cx-journey__shot:last-child {
        margin-left: -16px;
        margin-top: 24px;
    }
}

@media (max-width: 579px) {
    .cx-journey__wrap { width: min(1180px, calc(100% - 28px)); }

    .cx-journey__cluster--d {
        grid-template-rows: 120px 120px;
        min-height: 0;
    }

    .cx-journey__copy h3 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .cx-journey__fill { stroke-dashoffset: 0 !important; }
    .cx-journey__dot { opacity: 1 !important; }
}
