.bm-story-page {
    --bm-story-primary: #ef3024;
    --bm-story-primary-dark: #c6281c;
    --bm-story-secondary: #2b3e50;
    --bm-story-muted: #6c757d;
    --bm-story-bg: #f6f7fb;
    --bm-story-card: #ffffff;
    --bm-story-radius: 22px;
    background: var(--bm-story-bg);
    overflow: hidden;
}

/* Hero */
.bm-story-hero {
    position: relative;
    padding: 118px 0 96px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #ef3024 0%, #d62828 42%, #2b3e50 100%);
    overflow: hidden;
}

.bm-story-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 22px 22px;
}

.bm-story-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: bmStoryFloat 9s ease-in-out infinite;
}

.bm-story-hero__orb--1 {
    width: 340px;
    height: 340px;
    top: -110px;
    right: -70px;
    background: rgba(255, 255, 255, 0.08);
}

.bm-story-hero__orb--2 {
    width: 260px;
    height: 260px;
    bottom: -90px;
    left: -50px;
    background: rgba(255, 255, 255, 0.06);
    animation-delay: -3s;
}

.bm-story-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    animation: bmStoryFadeUp 0.9s ease-out both;
}

.bm-story-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.bm-story-hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.15rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 16px;
}

.bm-story-hero__intro {
    font-size: 1.12rem;
    line-height: 1.7;
    opacity: 0.94;
    max-width: 680px;
    margin: 0 auto 28px;
}

.bm-story-hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.bm-story-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.88rem;
    font-weight: 600;
    animation: bmStoryFadeUp 0.8s ease-out both;
}

.bm-story-stat-pill:nth-child(2) { animation-delay: 0.08s; }
.bm-story-stat-pill:nth-child(3) { animation-delay: 0.16s; }
.bm-story-stat-pill:nth-child(4) { animation-delay: 0.24s; }

.bm-story-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.bm-story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.bm-story-btn--primary {
    background: #fff;
    color: var(--bm-story-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.bm-story-btn--primary:hover {
    transform: translateY(-2px);
    color: var(--bm-story-primary-dark);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.bm-story-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.bm-story-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* Intro band */
.bm-story-intro {
    padding: 56px 0 20px;
}

.bm-story-intro__card {
    background: var(--bm-story-card);
    border-radius: var(--bm-story-radius);
    padding: 40px 44px;
    box-shadow: 0 18px 50px rgba(43, 62, 80, 0.07);
    border: 1px solid rgba(43, 62, 80, 0.06);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
}

.bm-story-intro__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bm-story-primary);
    margin-bottom: 12px;
}

.bm-story-intro h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--bm-story-secondary);
    margin-bottom: 14px;
    line-height: 1.2;
}

.bm-story-intro p {
    color: var(--bm-story-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.bm-story-intro__facts {
    display: grid;
    gap: 14px;
}

.bm-story-fact {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--bm-story-bg);
    border: 1px solid rgba(43, 62, 80, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bm-story-fact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(43, 62, 80, 0.06);
}

.bm-story-fact__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(239, 48, 36, 0.1);
    color: var(--bm-story-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bm-story-fact strong {
    display: block;
    color: var(--bm-story-secondary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.bm-story-fact span {
    color: var(--bm-story-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Admin HTML block */
.bm-story-admin-html {
    padding: 20px 0 10px;
}

.bm-story-admin-html__card {
    background: var(--bm-story-card);
    border-radius: var(--bm-story-radius);
    padding: 36px 40px;
    box-shadow: 0 12px 36px rgba(43, 62, 80, 0.05);
    border: 1px solid rgba(43, 62, 80, 0.06);
    line-height: 1.8;
    color: #444;
}

.bm-story-admin-html__card h1,
.bm-story-admin-html__card h2,
.bm-story-admin-html__card h3 {
    color: var(--bm-story-primary);
    font-weight: 700;
}

/* Timeline */
.bm-story-timeline {
    position: relative;
    padding: 48px 0 88px;
}

.bm-story-timeline__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.bm-story-timeline__head h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--bm-story-secondary);
    margin-bottom: 12px;
}

.bm-story-timeline__head p {
    color: var(--bm-story-muted);
    margin: 0;
    line-height: 1.7;
}

.bm-story-timeline__track {
    position: absolute;
    top: 200px;
    bottom: 80px;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, rgba(239, 48, 36, 0.25), rgba(43, 62, 80, 0.2), transparent);
    border-radius: 999px;
}

.bm-story-timeline__progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--bm-story-primary), #ff8a65);
    border-radius: 999px;
    transition: height 0.15s linear;
}

.bm-story-milestone {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 88px;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.bm-story-milestone.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bm-story-milestone:nth-child(even) {
    flex-direction: row-reverse;
}

.bm-story-milestone__media,
.bm-story-milestone__text {
    flex: 1;
    padding: 0 36px;
}

.bm-story-milestone__media {
    position: relative;
}

.bm-story-milestone__year {
    position: absolute;
    top: -28px;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 900;
    color: rgba(239, 48, 36, 0.07);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.bm-story-milestone:nth-child(odd) .bm-story-milestone__year { left: 36px; }
.bm-story-milestone:nth-child(even) .bm-story-milestone__year { right: 36px; }

.bm-story-milestone__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(43, 62, 80, 0.14);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.bm-story-milestone.is-visible .bm-story-milestone__media img:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 30px 56px rgba(43, 62, 80, 0.18);
}

.bm-story-milestone__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bm-story-primary);
    border: 4px solid var(--bm-story-bg);
    box-shadow: 0 0 0 6px rgba(239, 48, 36, 0.15);
    z-index: 2;
}

.bm-story-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(239, 48, 36, 0.1);
    color: var(--bm-story-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bm-story-milestone__text h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--bm-story-secondary);
    margin-bottom: 12px;
    line-height: 1.25;
}

.bm-story-milestone__text p {
    color: var(--bm-story-muted);
    line-height: 1.8;
    margin: 0;
    font-size: 1.02rem;
}

/* Pillars */
.bm-story-pillars {
    padding: 88px 0;
    background: var(--bm-story-card);
}

.bm-story-pillars__head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}

.bm-story-pillars__head h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    color: var(--bm-story-secondary);
    margin-bottom: 10px;
}

.bm-story-pillars__head p {
    color: var(--bm-story-muted);
    margin: 0;
}

.bm-story-pillars__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.bm-story-pillar {
    background: var(--bm-story-bg);
    border-radius: 20px;
    padding: 32px 26px;
    border: 1px solid rgba(43, 62, 80, 0.06);
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(24px);
}

.bm-story-pillar.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bm-story-pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 62, 80, 0.08);
    border-color: rgba(239, 48, 36, 0.2);
    background: #fff;
}

.bm-story-pillar__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(239, 48, 36, 0.1);
    color: var(--bm-story-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 18px;
    transition: transform 0.35s ease;
}

.bm-story-pillar:hover .bm-story-pillar__icon {
    transform: scale(1.08) rotate(-4deg);
}

.bm-story-pillar h3 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--bm-story-secondary);
    margin-bottom: 10px;
}

.bm-story-pillar p {
    color: var(--bm-story-muted);
    font-size: 0.94rem;
    line-height: 1.7;
    margin: 0;
}

/* CTA */
.bm-story-cta {
    padding: 0 0 96px;
}

.bm-story-cta__card {
    background: linear-gradient(135deg, var(--bm-story-secondary) 0%, #1a2836 100%);
    border-radius: 28px;
    padding: 52px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bm-story-cta__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(239, 48, 36, 0.25), transparent 45%);
}

.bm-story-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.bm-story-cta h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.bm-story-cta p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 24px;
}

.bm-story-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Animations */
@keyframes bmStoryFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bmStoryFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(14px); }
}

@media (max-width: 991px) {
    .bm-story-intro__card {
        grid-template-columns: 1fr;
        padding: 32px 28px;
    }

    .bm-story-pillars__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-story-timeline__track {
        display: none;
    }

    .bm-story-milestone,
    .bm-story-milestone:nth-child(even) {
        flex-direction: column;
        text-align: center;
        margin-bottom: 64px;
    }

    .bm-story-milestone__media,
    .bm-story-milestone__text {
        padding: 0 8px;
        width: 100%;
    }

    .bm-story-milestone__year {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        top: -22px;
    }

    .bm-story-milestone__dot {
        display: none;
    }
}

@media (max-width: 575px) {
    .bm-story-hero {
        padding: 100px 0 72px;
    }

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

    .bm-story-admin-html__card {
        padding: 24px 20px;
    }

    .bm-story-cta__card {
        padding: 40px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-story-hero__inner,
    .bm-story-stat-pill,
    .bm-story-hero__orb,
    .bm-story-milestone,
    .bm-story-pillar {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
