/* Managed Flows: homepage hero with the cycling dossier card. */

/* ---- Hero ---- */

.mf-hero {
    position: relative;
    padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 96px);
    overflow: hidden;
}

.mf-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 62%;
    height: 100%;
    background:
        radial-gradient(60% 55% at 70% 45%, rgba(224, 80, 88, 0.12), transparent 70%),
        radial-gradient(50% 50% at 35% 70%, rgba(33, 36, 90, 0.08), transparent 70%);
    pointer-events: none;
}

.mf-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.mf-hero h1 { margin-bottom: 0.35em; }
.mf-hero .mf-lead { max-width: 33em; }

@media (max-width: 1020px) {
    .mf-hero-grid { grid-template-columns: 1fr; }
    .mf-hero::before { width: 100%; height: 60%; inset: auto 0 0 0; }
}

/* ---- Dossier card (hero) ---- */

.mf-morph { position: relative; }

.mf-morph-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.mf-morph-tab {
    padding: 6px 12px;
    border: 1px solid var(--mf-line);
    border-radius: 999px;
    background: var(--mf-paper);
    color: var(--mf-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.mf-morph-tab:first-child {
    border-color: var(--mf-ink);
    background: var(--mf-ink);
    color: #fff;
}

.mf-morph-stack { display: grid; grid-template-columns: minmax(0, 1fr); }
.mf-morph-stack > * { grid-area: 1 / 1; }
.mf-morph-stack > :not(:first-child) { visibility: hidden; }

.mf-morph-caption {
    margin: 16px 4px 0;
    color: var(--mf-muted);
    font-size: var(--mf-fs-sm);
}
