body.roadmap-page {
    background: #0a0a0a;
}

body.roadmap-page::before {
    content: '';
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    left: 0;
    height: 84px;
    background: #090a0b;
    pointer-events: none;
}

.rm-page {
    padding-top: 80px;
    overflow-x: clip;
    background: #0a0a0a;
    color: #fff;
}

.rm-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
}

.rm-hero {
    position: relative;
    padding: 56px 24px;
    overflow-x: clip;
    background: #050505;
    text-align: center;
    --bcs-top-floral-offset: -80px;
}

.rm-hero-wash {
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 50% at 50% 30%, rgba(184, 157, 106, 0.06), transparent 65%);
    pointer-events: none;
}

.rm-hero-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 896px);
    margin: 0 auto;
}

.rm-eyebrow {
    margin: 0 0 20px;
    color: #b89d6a;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.rm-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
}

.rm-hero h1 span {
    color: #b89d6a;
    font-weight: 300;
    font-style: italic;
}

.rm-hero-copy {
    width: min(100%, 512px);
    margin: 0 auto;
    color: #6b7280;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}

.rm-journey {
    position: relative;
    height: 350vh;
}

.rm-sticky-map {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-x: clip;
    overflow-y: clip;
}

.rm-parchment {
    position: absolute;
    inset: 0;
    background-color: #c4a87a;
    background-image:
        radial-gradient(at 20% 30%, rgba(120, 85, 40, 0.15) 0%, transparent 40%),
        radial-gradient(at 80% 70%, rgba(120, 85, 40, 0.12) 0%, transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.rm-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 120px 40px rgba(80, 50, 20, 0.35);
    pointer-events: none;
}

.rm-scroll-cue {
    position: absolute;
    z-index: 30;
    top: 20px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    color: #44403c;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.rm-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 100%;
    transform: translateX(0);
    will-change: transform;
}

.rm-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rm-route path {
    fill: none;
    stroke: #5c3d1e;
    stroke-width: 3;
    stroke-dasharray: 10 8;
    stroke-linecap: round;
}

.rm-stage {
    --rm-x: 10%;
    --rm-node-y: 50%;
    --rm-card-y: 12%;
}

.rm-stage-node,
.rm-card-wrap,
.rm-treasure-mark {
    position: absolute;
    left: var(--rm-x);
}

.rm-stage-node {
    z-index: 20;
    top: var(--rm-node-y);
    transform: translate(-50%, -50%);
}

.rm-node {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 4px 12px rgba(40, 25, 10, 0.4);
    transform: scale(0.7);
    transition: opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rm-stage.is-reached .rm-node {
    opacity: 1;
    transform: scale(1);
}

.rm-node svg,
.rm-vessel svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rm-node-shipped {
    border-color: #16a34a;
    background: rgba(22, 101, 52, 0.8);
    color: #fffbeb;
}

.rm-node-progress {
    border-color: #f59e0b;
    background: rgba(180, 83, 9, 0.8);
    color: #fffbeb;
}

.rm-node-planned {
    border-color: #a8a29e;
    background: rgba(87, 83, 78, 0.8);
    color: #fffbeb;
}

.rm-card-wrap {
    z-index: 10;
    top: var(--rm-card-y);
    width: 225px;
    transform: translateX(-50%);
}

.rm-card {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(120, 113, 108, 0.4);
    border-radius: 12px;
    background: #f4e8c8;
    box-shadow: 2px 4px 12px rgba(60, 40, 15, 0.3), inset 0 0 20px rgba(160, 120, 60, 0.08);
    opacity: 0;
    color: #292524;
    transform: translateY(30px);
    transition: opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rm-stage.is-reached .rm-card {
    opacity: 1;
    transform: translateY(0);
}

.rm-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.rm-quarter {
    color: #44403c;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.rm-status {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.rm-status-shipped {
    background: rgba(21, 128, 61, 0.2);
    color: #166534;
}

.rm-status-progress {
    background: rgba(217, 119, 6, 0.2);
    color: #92400e;
}

.rm-status-planned {
    background: rgba(168, 162, 158, 0.3);
    color: #57534e;
}

.rm-card h2 {
    margin: 0 0 8px;
    color: #292524;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.rm-card ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-card li {
    position: relative;
    margin: 0;
    padding-left: 10px;
    color: #57534e;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
}

.rm-card li::before {
    content: '•';
    position: absolute;
    top: 0;
    left: 0;
    color: #a8a29e;
}

.rm-treasure-mark {
    z-index: 30;
    top: var(--rm-node-y);
    color: #dc2626;
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    text-shadow: 2px 2px 0 rgba(80, 20, 20, 0.3);
    transform: translate(-50%, -50%) rotate(-12deg);
    transition: opacity 320ms ease;
    pointer-events: none;
}

.rm-stage.is-reached .rm-treasure-mark {
    opacity: 1;
}

.rm-vessel {
    position: absolute;
    z-index: 40;
    top: 63.3333%;
    left: 10%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    will-change: top, left;
}

.rm-vessel-core {
    position: relative;
    z-index: 1;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fbbf24;
    border-radius: 50%;
    background: rgba(28, 25, 23, 0.9);
    color: #fcd34d;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.rm-vessel-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 50%;
    animation: rm-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes rm-ping {
    75%,
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

@media (max-width: 767px) {
    .rm-hero {
        padding-right: 16px;
        padding-left: 16px;
    }

    .rm-hero h1 {
        font-size: 48px;
    }

    .rm-card-wrap {
        width: 165px;
    }

    .rm-card {
        padding: 14px;
    }

    .rm-card h2 {
        font-size: 14px;
        line-height: 20px;
    }

    .rm-node {
        width: 44px;
        height: 44px;
    }

    .rm-node svg,
    .rm-vessel svg {
        width: 20px;
        height: 20px;
    }

    .rm-treasure-mark {
        font-size: 36px;
    }

    .rm-vessel-core {
        width: 40px;
        height: 40px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .rm-node,
    .rm-card,
    .rm-treasure-mark {
        transition: none;
    }

    .rm-vessel-ring {
        animation: none;
        opacity: 0.5;
    }
}
