/* =========================================
   HOME — SECTION 5: Our Journey / Our Story
   Editorial vertical timeline: a center spine with
   alternating left/right milestone entries. Replaces
   the old plain Ethos block; the ethos copy is folded
   in as the timeline's closing entry.
   ========================================= */

.journey-section {
    position: relative;
    z-index: 10;
    padding: 9rem 0 10rem;
    border-top: 1px solid var(--border-light);
    overflow: hidden;
}

.journey-section__head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5.5rem;
    padding: 0 5%;
}

.journey-section__eyebrow {
    display: block;
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--accent-glow);
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.journey-section__title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
}

.journey-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Center spine */
.journey-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-light) 8%, var(--border-light) 92%, transparent);
    transform: translateX(-50%);
}

.journey-entry {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 6rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.journey-entry.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.journey-entry:last-child {
    padding-bottom: 0;
}

.journey-entry__marker {
    position: absolute;
    top: 0.35rem;
    left: 50%;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bg-void);
    border: 2px solid var(--accent-glow);
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
    z-index: 2;
}

.journey-entry__year {
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--accent-glow);
    display: block;
    margin-bottom: 0.75rem;
}

.journey-entry__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.9rem;
    color: var(--text-bright);
}

.journey-entry__body {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 1rem;
}

/* Alternate sides: odd entries put text on the left column, even on the
   right — the unused column stays empty to preserve the zig-zag. */
.journey-entry--left .journey-entry__content {
    grid-column: 1;
    text-align: right;
    padding-right: 3rem;
}

.journey-entry--right .journey-entry__content {
    grid-column: 2;
    text-align: left;
    padding-left: 3rem;
}

.journey-entry__cta {
    margin-top: 4rem;
    text-align: center;
}

@media (max-width: 760px) {
    .journey-section {
        padding: 5rem 0 5.5rem;
    }
    .journey-section__head {
        margin-bottom: 3.5rem;
    }
    .journey-timeline::before {
        left: 14px;
    }
    .journey-entry {
        grid-template-columns: 1fr;
        padding-left: 2.5rem;
        padding-bottom: 3.5rem;
    }
    .journey-entry__marker {
        left: 14px;
    }
    .journey-entry--left .journey-entry__content,
    .journey-entry--right .journey-entry__content {
        grid-column: 1;
        text-align: left;
        padding: 0;
    }
    .journey-entry__cta {
        margin-top: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-entry {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
