/* Animated method figure. Every class is prefixed mf-.
   Labels inherit the page font, or set --mf-font on .mf-root or any ancestor. */
.mf-root { font-family: var(--mf-font, inherit); color: var(--mf-ink, #1f1f1f); margin: 0; }
.mf-bar { display: flex; align-items: baseline; gap: 26px; margin: 0 0 10px; }
.mf-tab, .mf-play {
  font: inherit; background: none; border: 0; margin: 0; cursor: pointer;
  color: var(--mf-soft, #777); -webkit-tap-highlight-color: transparent;
}
.mf-tab { position: relative; padding: 2px 0 7px; font-size: 17px; }
.mf-tab.mf-on { color: var(--mf-ink, #1f1f1f); }
.mf-tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #dcdcdc; }
.mf-tab b { display: block; height: 100%; background: var(--mf-ink, #1f1f1f); transform: scaleX(0); transform-origin: 0 50%; }
.mf-play { margin-left: auto; padding: 2px 0; font-size: 15px; }
.mf-tab:focus-visible, .mf-play:focus-visible { outline: 2px solid #2b6cab; outline-offset: 3px; }
.mf-cap { margin: 0 0 10px; font-size: 16px; line-height: 1.35; min-height: 1.35em; }
.mf-stage { cursor: pointer; line-height: 0; }
.mf-stage:focus-visible { outline: 2px solid #2b6cab; outline-offset: 4px; }
.mf-svg { display: block; width: 100%; height: auto; overflow: visible; }
.mf-t { font-family: var(--mf-font, inherit); }
/* multiply lets the page background show through the white of the static figure */
.mf-fallback { display: none; width: 100%; height: auto; mix-blend-mode: multiply; }
.mf-narrow .mf-bar, .mf-narrow .mf-cap, .mf-narrow .mf-stage { display: none; }
.mf-narrow .mf-fallback { display: block; }
.mf-stack { display: none; text-align: left; }
.mf-stack p { font-size: var(--small, 15px); margin: 14px 0 6px; }
.mf-stack p b { display: block; font-weight: 600; }
.mf-stack img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.mf-narrow.mf-has-stack .mf-stack { display: block; }
.mf-narrow.mf-has-stack .mf-fallback { display: none; }
/* variant e: the videos sit in a layer under the svg and show through holes in its white rims */
.mf-v-e .mf-stage { position: relative; }
.mf-v-e .mf-svg { position: relative; z-index: 1; }
.mf-vids { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.mf-vid { position: absolute; overflow: hidden; opacity: 0; isolation: isolate; transform: translateZ(0); }
.mf-vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* variant f: a heading and a sentence over each panel */
.mf-v-f .mf-stage { line-height: normal; }
.mf-ph { margin: 0 0 6px; max-width: 860px; font-size: 16px; line-height: 1.45; color: var(--mf-soft, #555); }
.mf-ph b { display: block; margin-bottom: 2px; font-size: 19px; font-weight: 600; color: var(--mf-ink, #1f1f1f); }
.mf-ph-inf { margin-top: 30px; }
