/* MT - Search Hero: lead article + editorial flow diagram */
.mtfe-sh2 {
    --sh2-ink: #171917;
    --sh2-paper: #F2EFE8;
    --sh2-white: #FFFFFF;
    --sh2-cobalt: #3155E7;
    --sh2-accent: #E2F268;
    --sh2-muted: #565952;
    --sh2-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 48px 72px;
    align-items: center;
    color: var(--sh2-ink);
}
.mtfe-sh2 .mtfe-sh2__kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    font-family: var(--sh2-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.mtfe-sh2 .mtfe-sh2__kicker::before { content: ""; width: 28px; height: 1px; background: var(--sh2-ink); }
body .elementor .mtfe-sh2 .mtfe-sh2__title {
    margin: 0;
    color: var(--sh2-ink);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-weight: 800;
    font-size: clamp(50px, 6.6vw, 104px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.035em;
}
body .elementor .mtfe-sh2 .mtfe-sh2__title span { color: inherit; font-size: inherit !important; line-height: inherit !important; }
.mtfe-sh2 .mtfe-sh2__line { display: block; width: fit-content; }
body .elementor .mtfe-sh2 .mtfe-sh2__line.is-mark { color: var(--sh2-cobalt); }
.mtfe-sh2 .mtfe-sh2__line.is-mark {
    background: linear-gradient(var(--sh2-accent), var(--sh2-accent)) 0 86% / 100% 22% no-repeat;
}
.is-reveal-ready .mtfe-sh2__line.is-mark { background-size: 0 22%; transition: background-size 1s cubic-bezier(0.6, 0, 0.3, 1) 1.1s; }
.is-reveal-ready.is-inview .mtfe-sh2__line.is-mark { background-size: 100% 22%; }
.mtfe-sh2 .mtfe-sh2__text {
    max-width: 32em;
    margin: 28px 0 0;
    color: var(--sh2-muted);
    font-size: 19px;
    line-height: 1.55;
}
.mtfe-sh2 .mtfe-sh2__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.mtfe-sh2 a.mtfe-sh2__btn,
.mtfe-sh2 a.mtfe-sh2__btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 22px;
    border: 2px solid var(--sh2-ink);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.2s ease, color 0.2s ease;
}
.mtfe-sh2 a.mtfe-sh2__btn span:last-child { transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.mtfe-sh2 a.mtfe-sh2__btn:hover span:last-child { transform: rotate(45deg); }
.mtfe-sh2 a.mtfe-sh2__btn--primary,
.mtfe-sh2 a.mtfe-sh2__btn--primary:visited { background: var(--sh2-ink); color: var(--sh2-paper); box-shadow: 5px 5px 0 var(--sh2-cobalt); }
.mtfe-sh2 a.mtfe-sh2__btn--primary:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--sh2-cobalt); }
.mtfe-sh2 a.mtfe-sh2__btn--ghost,
.mtfe-sh2 a.mtfe-sh2__btn--ghost:visited { background: transparent; color: var(--sh2-ink); }
.mtfe-sh2 a.mtfe-sh2__btn--ghost:hover { background: var(--sh2-accent); }
.mtfe-sh2 .mtfe-sh2__byline {
    margin: 30px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(23, 25, 23, 0.2);
    color: var(--sh2-muted);
    font-family: var(--sh2-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* figure */
.mtfe-sh2 .mtfe-sh2__fig {
    margin: 0 !important;
    padding: 22px 22px 18px;
    border: 1.5px solid var(--sh2-ink);
    background: var(--sh2-white);
    box-shadow: 10px 10px 0 var(--sh2-cobalt);
}
.mtfe-sh2 .mtfe-sh2__fig-title {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sh2-ink);
    font-family: var(--sh2-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
}
.mtfe-sh2 .mtfe-sh2__flow {
    display: grid;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mtfe-sh2 .mtfe-sh2__node {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 12px;
    margin: 0 16% 0 0;
    padding: 12px 14px;
    border: 1px solid var(--sh2-ink);
    background: var(--sh2-paper);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}
.mtfe-sh2 .mtfe-sh2__node:nth-child(even) { margin: 0 0 0 16%; }
.mtfe-sh2 .mtfe-sh2__node:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--sh2-ink); background: var(--sh2-white); }
.mtfe-sh2 .mtfe-sh2__node-num { grid-row: span 2; color: var(--sh2-cobalt); font-family: var(--sh2-mono); font-size: 12px; font-weight: 500; }
.mtfe-sh2 .mtfe-sh2__node-title { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.mtfe-sh2 .mtfe-sh2__node-ex { grid-column: 2; color: var(--sh2-muted); font-size: 13px; line-height: 1.35; }
.mtfe-sh2 .mtfe-sh2__node-metric {
    grid-column: 3;
    grid-row: 1 / span 2;
    padding: 4px 8px 3px;
    background: var(--sh2-accent);
    font-family: var(--sh2-mono);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.mtfe-sh2 .mtfe-sh2__node:hover .mtfe-sh2__node-metric { transform: rotate(-4deg) scale(1.1); }
/* connectors: dashed line with an arrow; the dashes march downwards */
.mtfe-sh2 .mtfe-sh2__node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 2px;
    height: 34px;
    background: repeating-linear-gradient(to bottom, var(--sh2-ink) 0 4px, transparent 4px 8px);
}
.mtfe-sh2 .mtfe-sh2__node:not(:last-child)::before {
    content: "";
    position: absolute;
    top: calc(100% + 24px);
    width: 9px;
    height: 9px;
    margin-left: -3.5px;
    border-right: 2px solid var(--sh2-ink);
    border-bottom: 2px solid var(--sh2-ink);
    transform: rotate(45deg);
}
.mtfe-sh2 .mtfe-sh2__node:nth-child(odd):not(:last-child)::after,
.mtfe-sh2 .mtfe-sh2__node:nth-child(odd):not(:last-child)::before { left: 70%; }
.mtfe-sh2 .mtfe-sh2__node:nth-child(even):not(:last-child)::after,
.mtfe-sh2 .mtfe-sh2__node:nth-child(even):not(:last-child)::before { left: 30%; }

/* bar chart (sample data) */
.mtfe-sh2 .mtfe-sh2__chart { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--sh2-ink); }
.mtfe-sh2 .mtfe-sh2__chart-title,
.mtfe-sh2 .mtfe-sh2__axis {
    margin: 0;
    font-family: var(--sh2-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mtfe-sh2 .mtfe-sh2__axis { margin-top: 22px; color: var(--sh2-muted); }
.mtfe-sh2 .mtfe-sh2__bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 110px;
    margin-top: 22px;
    border-bottom: 1px solid var(--sh2-ink);
}
.mtfe-sh2 .mtfe-sh2__bar {
    position: relative;
    flex: 1;
    background: var(--sh2-ink);
    transform-origin: bottom;
    transition: background-color 0.2s ease;
}
.mtfe-sh2 .mtfe-sh2__bar:last-child { background: var(--sh2-cobalt); }
.mtfe-sh2 .mtfe-sh2__bar:hover { background: var(--sh2-accent); outline: 1px solid var(--sh2-ink); }
.mtfe-sh2 .mtfe-sh2__bar em {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    font-family: var(--sh2-mono);
    font-size: 9.5px;
    font-style: normal;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.mtfe-sh2 .mtfe-sh2__bar:hover em,
.mtfe-sh2 .mtfe-sh2__bar:last-child em { opacity: 1; }
.mtfe-sh2 .mtfe-sh2__bar i {
    position: absolute;
    left: 50%;
    top: calc(100% + 4px);
    font-family: var(--sh2-mono);
    font-size: 9.5px;
    font-style: normal;
    transform: translateX(-50%);
}
.mtfe-sh2 .mtfe-sh2__note {
    margin: 14px 0 0;
    color: var(--sh2-muted);
    font-family: var(--sh2-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
@media (prefers-reduced-motion: no-preference) {
    .mtfe-sh2 .mtfe-sh2__node:not(:last-child)::after { animation: mtfe-sh2-march 0.9s linear infinite; }
    .is-reveal-ready .mtfe-sh2__node { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, background-color 0.3s ease; }
    .is-reveal-ready.is-inview .mtfe-sh2__node { opacity: 1; transform: none; }
    .is-reveal-ready.is-inview .mtfe-sh2__node:hover { transform: translate(-3px, -3px); transition-delay: 0s; }
    .is-reveal-ready .mtfe-sh2__node:nth-child(1) { transition-delay: 0.5s; }
    .is-reveal-ready .mtfe-sh2__node:nth-child(2) { transition-delay: 0.75s; }
    .is-reveal-ready .mtfe-sh2__node:nth-child(3) { transition-delay: 1s; }
    .is-reveal-ready .mtfe-sh2__node:nth-child(4) { transition-delay: 1.25s; }
    .is-reveal-ready .mtfe-sh2__bar { transform: scaleY(0); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s, background-color 0.2s ease; }
    .is-reveal-ready.is-inview .mtfe-sh2__bar { transform: none; }
}
@keyframes mtfe-sh2-march { from { background-position: 0 0; } to { background-position: 0 8px; } }

@media (max-width: 1024px) {
    .mtfe-sh2 { grid-template-columns: minmax(0, 1fr); }
    .mtfe-sh2 .mtfe-sh2__fig { max-width: 560px; }
}
@media (max-width: 767px) {
    .mtfe-sh2 .mtfe-sh2__text { font-size: 17px; }
    .mtfe-sh2 .mtfe-sh2__node, .mtfe-sh2 .mtfe-sh2__node:nth-child(even) { margin: 0; }
    .mtfe-sh2 .mtfe-sh2__fig { box-shadow: 6px 6px 0 var(--sh2-cobalt); padding: 18px 16px 14px; }
    .mtfe-sh2 a.mtfe-sh2__btn { width: 100%; justify-content: space-between; }
}

/* bar heights (no inline styles): .mtfe-sh2__bar--h<percent> */
.mtfe-sh2 .mtfe-sh2__bar--h5 { height: 5%; }
.mtfe-sh2 .mtfe-sh2__bar--h10 { height: 10%; }
.mtfe-sh2 .mtfe-sh2__bar--h15 { height: 15%; }
.mtfe-sh2 .mtfe-sh2__bar--h20 { height: 20%; }
.mtfe-sh2 .mtfe-sh2__bar--h25 { height: 25%; }
.mtfe-sh2 .mtfe-sh2__bar--h30 { height: 30%; }
.mtfe-sh2 .mtfe-sh2__bar--h35 { height: 35%; }
.mtfe-sh2 .mtfe-sh2__bar--h40 { height: 40%; }
.mtfe-sh2 .mtfe-sh2__bar--h45 { height: 45%; }
.mtfe-sh2 .mtfe-sh2__bar--h50 { height: 50%; }
.mtfe-sh2 .mtfe-sh2__bar--h55 { height: 55%; }
.mtfe-sh2 .mtfe-sh2__bar--h60 { height: 60%; }
.mtfe-sh2 .mtfe-sh2__bar--h65 { height: 65%; }
.mtfe-sh2 .mtfe-sh2__bar--h70 { height: 70%; }
.mtfe-sh2 .mtfe-sh2__bar--h75 { height: 75%; }
.mtfe-sh2 .mtfe-sh2__bar--h80 { height: 80%; }
.mtfe-sh2 .mtfe-sh2__bar--h85 { height: 85%; }
.mtfe-sh2 .mtfe-sh2__bar--h90 { height: 90%; }
.mtfe-sh2 .mtfe-sh2__bar--h95 { height: 95%; }
.mtfe-sh2 .mtfe-sh2__bar--h100 { height: 100%; }

/* ---- mascot peeking in from the left of the figure ---- */
.mtfe-sh2 .mtfe-sh2__figwrap { position: relative; min-width: 0; }
.mtfe-sh2 .mtfe-sh2__scout { position: absolute; left: -196px; bottom: 60px; z-index: 3; --scout-w: 190px; }
.mtfe-sh2 .mtfe-sh2__scout .mtfe-scout__bubble { left: 4%; }
@media (max-width: 1240px) { .mtfe-sh2 .mtfe-sh2__scout { left: -150px; --scout-w: 150px; } }
@media (max-width: 1024px) { .mtfe-sh2 .mtfe-sh2__figwrap { padding-top: 140px; } .mtfe-sh2 .mtfe-sh2__scout { left: auto; right: 0; top: 0; bottom: auto; --scout-w: 120px; } .mtfe-sh2 .mtfe-sh2__scout .mtfe-scout__bubble { left: auto; right: 90%; bottom: 40%; } }
