.mf {
    --mf-accent: var(--text);
    --mf-dip: clamp(40px, 8vw, 120px);
}

.mf-head {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0 auto calc(-1 * var(--mf-dip));
    text-align: center;
}

.mf-title {
    margin: 0;
    white-space: nowrap;
    font-size: clamp(24px, 3.7vw, 52px);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--text);
}

.mf-lead {
    margin: 0;
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-2);
}

.mf-canvas {
    display: block;
    width: 100%;
    height: clamp(240px, 30vw, 380px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.mf-cols {
    display: grid;
    grid-template-columns: repeat(var(--mf-cols, 3), 1fr);
}

.mf-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    text-align: center;
}

.mf-label,
.mf-value {
    color: var(--text-3);
    transition: color 0.35s ease;
}

.mf-label {
    font-size: 13px;
}

.mf-value {
    margin-top: 6px;
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.mf-col.is-on .mf-value {
    color: var(--mf-accent);
}

.mf-col.is-on .mf-label {
    color: var(--text-2);
}

@media (max-width: 760px) {
    .mf-head {
        gap: 12px;
        margin-bottom: 0;
    }

    .mf-title {
        white-space: normal;
    }

    .mf-col {
        padding: 0 4px;
    }

    .mf-label {
        font-size: clamp(10px, 2.9vw, 13px);
    }

    .mf-value {
        margin-top: 4px;
        font-size: clamp(15px, 5vw, 28px);
    }
}
