.bm {
    --bm-ember: #b66d33;
    --bm-charcoal: #1a1714;
    --bm-graphite: #2a2520;
    --bm-dark: #222;
    --bm-ash: #f5f0eb;
    --bm-smoke: #9a9590;
    --bm-brass: #c4a265;

    background: var(--bm-charcoal);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* ---- Top ember glow bar ---- */
.bm .bm__glow-bar {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bm-ember), var(--bm-brass), var(--bm-ember), transparent);
    position: relative;
}

.bm .bm__glow-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(232, 74, 28, 0.06), transparent);
    pointer-events: none;
}

/* ---- Inner ---- */
.bm .bm__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 48px 88px;
    position: relative;
    z-index: 2;
}

/* ---- Grid ---- */
.bm .bm__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

/* ---- Metric card ---- */
.bm .bm__card {
    position: relative;
    padding: 48px 36px;
    text-align: center;
    cursor: default;
    overflow: hidden;
}

/* Vertical dividers */
.bm .bm__card + .bm__card::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(245, 240, 235, 0.06), transparent);
}

/* Hover background glow */
.bm .bm__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(232, 74, 28, 0.06), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.bm .bm__card:hover::after {
    opacity: 1;
}

/* Icon */
.bm .bm__card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--bm-ember);
    opacity: 0.35;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
}

.bm .bm__card-icon svg {
    width: 100%;
    height: 100%;
}

.bm .bm__card:hover .bm__card-icon {
    opacity: 0.7;
    transform: scale(1.15) translateY(-4px);
}

/* Number — the hero of the card */
.bm .bm__card-number {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(52px, 5.5vw, 76px);
    font-weight: 700;
    line-height: 1;
    color: var(--bm-ash);
    margin: 0 0 4px;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.bm .bm__card:hover .bm__card-number {
    color: var(--bm-ember);
    transform: scale(1.06);
}

/* Ember underline */
.bm .bm__card-line {
    width: 0;
    height: 2px;
    background: var(--bm-ember);
    margin: 12px auto 16px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
}

.bm .bm__card:hover .bm__card-line {
    width: 40px;
}

/* Label */
.bm .bm__card-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bm-brass);
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}

/* Description */
.bm .bm__card-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--bm-smoke);
    margin: 0;
    position: relative;
    z-index: 1;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Floating sparks per card on hover ---- */
.bm .bm__spark-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 0;
}

.bm .bm__spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--bm-ember);
    border-radius: 50%;
    opacity: 0;
    transition: none;
}

.bm .bm__card:hover .bm__spark--a {
    animation: bmSpark 1.2s ease-out forwards;
}
.bm .bm__card:hover .bm__spark--b {
    animation: bmSpark2 1.4s ease-out forwards 0.15s;
}
.bm .bm__card:hover .bm__spark--c {
    animation: bmSpark3 1s ease-out forwards 0.3s;
}

@keyframes bmSpark {
    0% { opacity: 0; transform: translate(30px, 30px) scale(1); }
    15% { opacity: 0.9; }
    100% { opacity: 0; transform: translate(45px, -20px) scale(0); }
}
@keyframes bmSpark2 {
    0% { opacity: 0; transform: translate(30px, 30px) scale(1); }
    15% { opacity: 0.7; }
    100% { opacity: 0; transform: translate(10px, -25px) scale(0); }
}
@keyframes bmSpark3 {
    0% { opacity: 0; transform: translate(30px, 30px) scale(1); }
    15% { opacity: 0.8; }
    100% { opacity: 0; transform: translate(50px, 5px) scale(0); }
}

/* ---- CTA strip ---- */
.bm .bm__cta-strip {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.bm .bm__cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bm-ash);
    padding: 20px 44px;
    border: 1px solid rgba(245, 240, 235, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ember fill on hover — sweeps left to right */
.bm .bm__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bm-ember);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.bm .bm__cta:hover::before {
    width: 100%;
}

.bm .bm__cta:hover {
    border-color: var(--bm-ember);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(232, 74, 28, 0.15);
}

.bm .bm__cta-text,
.bm .bm__cta-icon {
    position: relative;
    z-index: 1;
}

.bm .bm__cta-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
}

.bm .bm__cta:hover .bm__cta-icon {
    transform: translateX(4px);
}

/* ---- Bottom glow bar ---- */
.bm .bm__glow-bar--bottom {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.15), transparent);
}

/* ---- Background deco: large faded Korean character ---- */
.bm .bm__watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 320px;
    font-weight: 900;
    color: var(--bm-ash);
    opacity: 0.012;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .bm .bm__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bm .bm__card:nth-child(3)::before {
        display: none;
    }
    .bm .bm__card:nth-child(1),
    .bm .bm__card:nth-child(2) {
        border-bottom: 1px solid rgba(245, 240, 235, 0.04);
    }
}

@media (max-width: 768px) {
    .bm .bm__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bm .bm__inner {
        padding: 64px 32px 72px;
    }
    .bm .bm__watermark {
        font-size: 240px;
    }
}

@media (max-width: 600px) {
    .bm .bm__grid {
        grid-template-columns: 1fr;
    }
    .bm .bm__card + .bm__card::before {
        display: none;
    }
    .bm .bm__card {
        padding: 36px 24px;
        border-bottom: 1px solid rgba(245, 240, 235, 0.04);
    }
    .bm .bm__card:last-child {
        border-bottom: none;
    }
    .bm .bm__inner {
        padding: 56px 24px 64px;
    }
    .bm .bm__watermark {
        font-size: 180px;
    }
    .bm .bm__cta {
        width: 100%;
        justify-content: center;
    }
}
