/*
Theme Name: MzansiMali Ink & Ochre
Theme URI: https://mzansimali.co.za
Author: MzansiMali
Description: A warm editorial WordPress theme for MzansiMali, a South African money education publication. Designed to feel human, clear and premium without looking like a bank, fintech dashboard or wealth-management brand.
Version: 0.5.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: mzansimali
*/

:root {
  --mz-ink: #0D0D0F;
  --mz-charcoal: #1F1F23;
  --mz-blue: #2C3540;
  --mz-stone: #B7B1A6;
  --mz-paper: #EBE2D6;
  --mz-ochre: #CC8A2E;
  --mz-burnt: #9C5A1E;
  --mz-umber: #4A3728;
  --mz-paper-soft: #f5efe6;
  --mz-shadow: 0 22px 60px rgba(13, 13, 15, .10);
  --mz-shadow-soft: 0 12px 32px rgba(13, 13, 15, .08);
  --mz-radius-sm: 14px;
  --mz-radius: 24px;
  --mz-radius-lg: 38px;
  --mz-max: 1240px;
  --mz-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mz-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mz-ease: cubic-bezier(.2,.75,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% -10%, rgba(204,138,46,.10), transparent 34rem),
    var(--mz-paper-soft);
  color: var(--mz-charcoal);
  font-family: var(--mz-sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .19;
  z-index: 100;
  background-image:
    repeating-linear-gradient(0deg, rgba(13,13,15,.015), rgba(13,13,15,.015) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--mz-burnt); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(204,138,46,.28); color: var(--mz-ink); }

.mz-container { width: min(calc(100% - 40px), var(--mz-max)); margin-inline: auto; }
.mz-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.mz-skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 9999; transform: translateY(-140%);
  background: var(--mz-ink); color: var(--mz-paper); padding: 10px 14px; border-radius: 10px;
}
.mz-skip-link:focus { transform: translateY(0); }
.screen-reader-text {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}

.mz-header-wrap { position: sticky; top: 0; z-index: 60; padding: 14px 0; pointer-events: none; }
.mz-header {
  pointer-events: auto; width: min(calc(100% - 32px), 1320px); margin: 0 auto;
  min-height: 72px; padding: 10px 12px 10px 18px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  background: rgba(235,226,214,.90); border: 1px solid rgba(74,55,40,.14);
  border-radius: 22px; box-shadow: 0 10px 30px rgba(13,13,15,.06);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.mz-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mz-ink); }
.mz-brand-word { font: 700 1.55rem/1 var(--mz-serif); letter-spacing: -.035em; }
.mz-brand-tag { display: block; color: var(--mz-burnt); font-size: .66rem; letter-spacing: .04em; margin-top: 4px; }
.mz-brand-glyph {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(74,55,40,.25); position: relative;
  background: radial-gradient(circle at 35% 35%, #e4b76f, var(--mz-ochre) 42%, var(--mz-burnt));
  box-shadow: inset 0 0 0 6px rgba(235,226,214,.72);
}
.mz-brand-glyph::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1px; background: rgba(13,13,15,.35); transform: rotate(32deg); }
.mz-nav { justify-self: center; }
.mz-menu { display: flex; gap: 24px; align-items: center; list-style: none; padding: 0; margin: 0; }
.mz-menu a { text-decoration: none; font-size: .91rem; font-weight: 650; color: var(--mz-charcoal); }
.mz-menu a:hover, .mz-menu .current-menu-item > a { color: var(--mz-burnt); }
.mz-header-actions { display: flex; align-items: center; gap: 10px; }
.mz-nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(74,55,40,.2); background: transparent; color: var(--mz-ink); cursor: pointer;
}
.mz-nav-toggle span, .mz-nav-toggle::before, .mz-nav-toggle::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: .25s var(--mz-ease);
}

.mz-button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 0 20px; text-decoration: none; border: 1px solid transparent;
  font-weight: 750; font-size: .92rem; transition: transform .25s var(--mz-ease), box-shadow .25s var(--mz-ease), background .25s var(--mz-ease);
}
.mz-button:hover { transform: translateY(-2px); color: inherit; }
.mz-button-primary { color: var(--mz-paper); background: var(--mz-ochre); box-shadow: 0 10px 24px rgba(156,90,30,.18); }
.mz-button-primary:hover { background: var(--mz-burnt); color: var(--mz-paper); box-shadow: 0 14px 28px rgba(156,90,30,.24); }
.mz-button-dark { color: var(--mz-paper); background: var(--mz-ink); }
.mz-button-dark:hover { background: var(--mz-blue); color: var(--mz-paper); }
.mz-button-ghost { border-color: rgba(74,55,40,.26); color: var(--mz-ink); background: rgba(235,226,214,.38); }
.mz-text-link { font-weight: 750; color: var(--mz-burnt); text-decoration-thickness: 1px; }

.mz-main { overflow: clip; }
.mz-hero { position: relative; min-height: 760px; display: grid; align-items: center; padding: 80px 0 94px; }
.mz-hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -220px; border-radius: 50%;
  border: 1px solid rgba(204,138,46,.14); box-shadow: 0 0 0 80px rgba(204,138,46,.03), 0 0 0 170px rgba(204,138,46,.02);
}
.mz-hero-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(420px,.98fr); gap: 50px; align-items: center; }
.mz-kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .13em; font-size: .73rem; font-weight: 820; color: var(--mz-burnt); }
.mz-kicker::before { content: ""; width: 28px; height: 1px; background: var(--mz-ochre); }
.mz-display { margin: 22px 0 22px; color: var(--mz-ink); font: 700 clamp(3.4rem, 7vw, 6.65rem)/.91 var(--mz-serif); letter-spacing: -.055em; max-width: 11ch; }
.mz-display em { color: var(--mz-ochre); font-style: normal; }
.mz-lead { max-width: 640px; color: var(--mz-blue); font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.65; }
.mz-hero-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.mz-trustline { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 34px; color: var(--mz-umber); font-size: .86rem; }
.mz-trustline span { display: inline-flex; gap: 8px; align-items: center; }
.mz-trustline span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mz-ochre); box-shadow: 0 0 0 4px rgba(204,138,46,.10); }

.mz-clarity-stage {
  --mx: 0px; --my: 0px; --mx-neg: 0px; --my-neg: 0px; --mx-sm: 0px; --my-sm: 0px; --scroll-rotate: 0deg;
  position: relative; height: 590px; perspective: 1200px; transform-style: preserve-3d; isolation: isolate;
}
.mz-clarity-stage::before {
  content: ""; position: absolute; inset: 8% 3% 0; border-radius: 50%; z-index: -2;
  background: radial-gradient(ellipse at 50% 58%, rgba(204,138,46,.22), rgba(204,138,46,.035) 44%, transparent 70%);
  filter: blur(3px);
}
.mz-sun { position: absolute; right: 8%; top: 5%; width: 238px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg,#e7ad58,var(--mz-ochre) 58%,var(--mz-burnt)); box-shadow: 0 30px 60px rgba(156,90,30,.18); transform: translate3d(var(--mx-neg),var(--my-neg),-80px); transition: transform .35s var(--mz-ease); }
.mz-plane {
  position: absolute; left: 50%; top: 50%; width: min(76%, 440px); height: 300px; border: 1px solid rgba(74,55,40,.20); border-radius: 28px;
  background: linear-gradient(145deg, rgba(245,239,230,.96), rgba(235,226,214,.88));
  box-shadow: 0 30px 80px rgba(13,13,15,.13); transform-style: preserve-3d;
  overflow: hidden;
}
.mz-plane::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(13,13,15,.025), rgba(13,13,15,.025) 1px, transparent 1px, transparent 8px); opacity: .3; }
.mz-plane-back { transform: translate(-55%,-43%) rotateX(64deg) rotateZ(-18deg) translate3d(var(--mx-neg),var(--my-neg),-90px); opacity: .72; }
.mz-plane-mid { transform: translate(-48%,-48%) rotateX(58deg) rotateZ(7deg) translate3d(var(--mx-sm),var(--my-neg),0); }
.mz-plane-front { transform: translate(-40%,-54%) rotateX(51deg) rotateZ(-5deg) translate3d(var(--mx),var(--my),70px); }
.mz-stage-label { position: absolute; z-index: 5; padding: 9px 13px; border: 1px solid rgba(74,55,40,.18); border-radius: 999px; background: rgba(235,226,214,.94); font-size: .75rem; font-weight: 760; letter-spacing: .02em; box-shadow: 0 8px 20px rgba(13,13,15,.07); }
.mz-stage-label:nth-of-type(1) { left: 5%; top: 18%; transform: translate3d(var(--mx-neg),var(--my-neg),20px) rotate(-5deg); }
.mz-stage-label:nth-of-type(2) { right: 4%; top: 46%; transform: translate3d(var(--mx),var(--my-sm),35px) rotate(4deg); }
.mz-stage-label:nth-of-type(3) { left: 9%; bottom: 14%; transform: translate3d(var(--mx-neg),var(--my),45px) rotate(3deg); }
.mz-thread { position: absolute; inset: 8% 0 0 0; z-index: 9; overflow: visible; filter: drop-shadow(0 10px 16px rgba(156,90,30,.20)); transform: translate3d(var(--mx-sm),var(--my-sm),100px) rotate(var(--scroll-rotate)); transition: transform .12s linear; }
.mz-thread path { fill: none; stroke: var(--mz-ochre); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mz-thread .mz-thread-soft { stroke: rgba(204,138,46,.14); stroke-width: 24; }
.mz-thread .mz-thread-main { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: mzDraw 2.2s .35s var(--mz-ease) forwards; }
.mz-particle { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--mz-ochre); opacity: .55; box-shadow: 0 0 0 5px rgba(204,138,46,.08); animation: mzFloat 5s ease-in-out infinite; }
.mz-particle.p1 { left: 12%; top: 35%; animation-delay: -.8s; }
.mz-particle.p2 { right: 17%; top: 23%; width: 4px; height: 4px; animation-delay: -2.1s; }
.mz-particle.p3 { right: 7%; bottom: 21%; width: 5px; height: 5px; animation-delay: -3.3s; }
@keyframes mzDraw { to { stroke-dashoffset: 0; } }
@keyframes mzFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.mz-section { padding: 96px 0; position: relative; }
.mz-section-tight { padding: 68px 0; }
.mz-section-dark { background: var(--mz-ink); color: var(--mz-paper); }
.mz-section-blue { background: var(--mz-blue); color: var(--mz-paper); }
.mz-section-rule { border-top: 1px solid rgba(74,55,40,.15); }
.mz-section-header { display: grid; grid-template-columns: minmax(0,.72fr) minmax(300px,.28fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.mz-eyebrow { text-transform: uppercase; letter-spacing: .14em; color: var(--mz-burnt); font-weight: 820; font-size: .72rem; }
.mz-h2 { margin: 8px 0 0; color: var(--mz-ink); font: 700 clamp(2.4rem,4.5vw,4.2rem)/1 var(--mz-serif); letter-spacing: -.045em; }
.mz-section-dark .mz-h2, .mz-section-blue .mz-h2 { color: var(--mz-paper); }
.mz-section-intro { margin: 0; color: var(--mz-blue); font-size: 1.03rem; }
.mz-section-dark .mz-section-intro, .mz-section-blue .mz-section-intro { color: rgba(235,226,214,.75); }

.mz-principles { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(74,55,40,.17); border-bottom: 1px solid rgba(74,55,40,.17); }
.mz-principle { padding: 34px 34px 38px; position: relative; }
.mz-principle + .mz-principle { border-left: 1px solid rgba(74,55,40,.17); }
.mz-icon-orbit { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: rgba(204,138,46,.11); border: 1px solid rgba(204,138,46,.22); color: var(--mz-burnt); font: 700 1.3rem/1 var(--mz-serif); }
.mz-principle h2 { font: 700 1.65rem/1.15 var(--mz-serif); margin: 0 0 10px; color: var(--mz-ink); }
.mz-principle p { margin: 0; color: var(--mz-blue); }

.mz-topic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mz-topic-card { min-height: 255px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; border-radius: var(--mz-radius); text-decoration: none; overflow: hidden; border: 1px solid rgba(74,55,40,.15); background: rgba(235,226,214,.62); box-shadow: 0 8px 20px rgba(13,13,15,.025); transition: transform .35s var(--mz-ease), box-shadow .35s var(--mz-ease), border-color .35s var(--mz-ease); }
.mz-topic-card:hover { transform: translateY(-6px); box-shadow: var(--mz-shadow-soft); border-color: rgba(204,138,46,.42); color: var(--mz-charcoal); }
.mz-topic-card::after { content: ""; position: absolute; right: -38px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(204,138,46,.22); box-shadow: 0 0 0 24px rgba(204,138,46,.035),0 0 0 48px rgba(204,138,46,.022); transition: transform .4s var(--mz-ease); }
.mz-topic-card:hover::after { transform: scale(1.08) translate(-4px,-4px); }
.mz-topic-no { font-size: .72rem; letter-spacing: .12em; font-weight: 820; color: var(--mz-burnt); }
.mz-topic-card h3 { margin: 30px 0 8px; font: 700 1.72rem/1.12 var(--mz-serif); color: var(--mz-ink); max-width: 12ch; }
.mz-topic-card p { color: var(--mz-blue); margin: 0; max-width: 29ch; font-size: .93rem; }
.mz-card-arrow { width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(74,55,40,.2); color: var(--mz-burnt); margin-top: 20px; }

.mz-question-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 52px; align-items: start; }
.mz-question-intro { position: sticky; top: 120px; }
.mz-question-list { border-top: 1px solid rgba(235,226,214,.20); }
.mz-question { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; min-height: 112px; padding: 24px 0; border-bottom: 1px solid rgba(235,226,214,.18); text-decoration: none; }
.mz-question:hover { color: var(--mz-paper); }
.mz-question-index { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(204,138,46,.32); color: var(--mz-ochre); font-size: .72rem; font-weight: 800; }
.mz-question span:nth-child(2) { font: 650 1.45rem/1.25 var(--mz-serif); }
.mz-question-arrow { color: var(--mz-ochre); transition: transform .25s var(--mz-ease); }
.mz-question:hover .mz-question-arrow { transform: translateX(5px); }

.mz-post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.mz-post-card { border-radius: var(--mz-radius); overflow: hidden; background: rgba(235,226,214,.68); border: 1px solid rgba(74,55,40,.15); min-height: 390px; display: flex; flex-direction: column; transition: transform .35s var(--mz-ease), box-shadow .35s var(--mz-ease); }
.mz-post-card:hover { transform: translateY(-5px); box-shadow: var(--mz-shadow-soft); }
.mz-post-thumb { aspect-ratio: 16/10; background: linear-gradient(145deg,var(--mz-blue),var(--mz-ink)); position: relative; overflow: hidden; }
.mz-post-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(1.02); }
.mz-post-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, transparent 45%, rgba(204,138,46,.25)); mix-blend-mode: screen; pointer-events: none; }
.mz-post-placeholder { height: 100%; display: grid; place-items: center; color: var(--mz-paper); font: 700 3rem/1 var(--mz-serif); }
.mz-post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.mz-post-meta { color: var(--mz-burnt); text-transform: uppercase; letter-spacing: .11em; font-size: .68rem; font-weight: 820; }
.mz-post-title { margin: 10px 0 10px; font: 700 1.55rem/1.17 var(--mz-serif); color: var(--mz-ink); }
.mz-post-title a { text-decoration: none; }
.mz-post-excerpt { color: var(--mz-blue); font-size: .92rem; margin: 0 0 18px; }
.mz-post-read { margin-top: auto; font-weight: 760; color: var(--mz-burnt); font-size: .88rem; }

.mz-editorial-panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 490px; border-radius: var(--mz-radius-lg); overflow: hidden; background: var(--mz-paper); color: var(--mz-charcoal); box-shadow: var(--mz-shadow); }
.mz-editorial-copy { padding: clamp(34px,5vw,72px); }
.mz-editorial-copy h2 { font: 700 clamp(2.3rem,4vw,4rem)/1 var(--mz-serif); letter-spacing: -.045em; margin: 10px 0 24px; color: var(--mz-ink); }
.mz-editorial-copy p { max-width: 55ch; color: var(--mz-blue); }
.mz-editorial-art { position: relative; min-height: 420px; background: var(--mz-umber); overflow: hidden; }
.mz-editorial-art::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--mz-ochre); right: -70px; top: -90px; }
.mz-editorial-art::after { content: ""; position: absolute; width: 130%; height: 55%; bottom: -12%; left: -15%; background: var(--mz-ink); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: rotate(-8deg); box-shadow: 0 -18px 0 rgba(235,226,214,.08),0 -36px 0 rgba(235,226,214,.04); }
.mz-art-line { position: absolute; left: 12%; right: 12%; top: 47%; height: 2px; background: var(--mz-paper); opacity: .65; transform: rotate(-15deg); z-index: 4; box-shadow: 0 18px 0 rgba(235,226,214,.36), 0 36px 0 rgba(235,226,214,.20); }

.mz-cta { padding: 72px; border-radius: var(--mz-radius-lg); background: var(--mz-blue); color: var(--mz-paper); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.mz-cta::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: 16%; top: -185px; border: 1px solid rgba(204,138,46,.34); box-shadow: 0 0 0 46px rgba(204,138,46,.05),0 0 0 92px rgba(204,138,46,.025); }
.mz-cta h2 { margin: 8px 0 10px; color: var(--mz-paper); font: 700 clamp(2.2rem,4vw,3.8rem)/1 var(--mz-serif); letter-spacing: -.045em; }
.mz-cta p { margin: 0; color: rgba(235,226,214,.75); max-width: 56ch; }

.mz-footer { background: var(--mz-ink); color: rgba(235,226,214,.78); padding: 70px 0 30px; }
.mz-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 42px; }
.mz-footer h3 { color: var(--mz-paper); font: 700 1.75rem/1 var(--mz-serif); margin: 0 0 8px; }
.mz-footer h4 { color: var(--mz-paper); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin: 0 0 14px; }
.mz-footer ul { list-style: none; padding: 0; margin: 0; }
.mz-footer li + li { margin-top: 7px; }
.mz-footer a { color: rgba(235,226,214,.72); text-decoration: none; }
.mz-footer a:hover { color: var(--mz-ochre); }
.mz-footer-tag { color: var(--mz-ochre); font-size: .85rem; }
.mz-footer-note { max-width: 45ch; font-size: .84rem; color: rgba(235,226,214,.58); margin-top: 18px; }
.mz-footer-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(235,226,214,.12); display: flex; justify-content: space-between; gap: 24px; font-size: .78rem; color: rgba(235,226,214,.52); }

/* Article and utility templates */
.mz-page-hero { padding: 92px 0 56px; }
.mz-page-hero h1, .mz-article-title { color: var(--mz-ink); font: 700 clamp(3rem,6vw,5.6rem)/.96 var(--mz-serif); letter-spacing: -.055em; margin: 12px 0 20px; }
.mz-page-hero p { max-width: 700px; color: var(--mz-blue); font-size: 1.12rem; }
.mz-prose { font-size: 1.06rem; }
.mz-prose > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.mz-prose h2, .mz-prose h3 { font-family: var(--mz-serif); color: var(--mz-ink); letter-spacing: -.03em; }
.mz-prose h2 { font-size: 2.35rem; line-height: 1.1; margin-top: 2.1em; }
.mz-prose h3 { font-size: 1.6rem; line-height: 1.2; margin-top: 1.7em; }
.mz-prose a { color: var(--mz-burnt); }
.mz-prose blockquote { border-left: 3px solid var(--mz-ochre); padding: 4px 0 4px 24px; color: var(--mz-blue); font: 600 1.35rem/1.45 var(--mz-serif); }
.mz-prose .alignwide { max-width: 1040px; }
.mz-article-meta { display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--mz-umber); font-size: .83rem; margin-bottom: 36px; }
.mz-education-note { margin: 42px auto; max-width: 760px; padding: 20px 22px; border-radius: 16px; background: rgba(204,138,46,.08); border: 1px solid rgba(204,138,46,.25); color: var(--mz-umber); font-size: .9rem; }
.mz-utility-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.mz-utility-card { border: 1px solid rgba(74,55,40,.15); border-radius: var(--mz-radius); padding: 28px; background: rgba(235,226,214,.62); }
.mz-utility-card h2, .mz-utility-card h3 { font-family: var(--mz-serif); color: var(--mz-ink); margin-top: 0; }
.mz-form { display: grid; gap: 18px; }
.mz-field label { display: block; font-weight: 750; font-size: .84rem; margin-bottom: 7px; color: var(--mz-ink); }
.mz-field input, .mz-field textarea { width: 100%; min-height: 50px; border-radius: 13px; border: 1px solid rgba(74,55,40,.24); background: rgba(245,239,230,.84); padding: 12px 14px; color: var(--mz-ink); }
.mz-field input:focus, .mz-field textarea:focus { outline: 3px solid rgba(204,138,46,.18); border-color: var(--mz-ochre); }
.mz-calculator-result { min-height: 90px; border-radius: 16px; background: var(--mz-ink); color: var(--mz-paper); padding: 22px; display: grid; align-content: center; }
.mz-calculator-result strong { color: var(--mz-ochre); font: 700 1.8rem/1 var(--mz-serif); }
.mz-empty { padding: 36px; border-radius: var(--mz-radius); background: rgba(235,226,214,.55); border: 1px dashed rgba(74,55,40,.25); }
.mz-pagination { margin: 45px 0; }
.mz-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.mz-pagination a, .mz-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(74,55,40,.2); text-decoration: none; }
.mz-pagination .current { background: var(--mz-ink); color: var(--mz-paper); }
.mz-search-form { display: flex; gap: 10px; max-width: 560px; }
.mz-search-form input[type="search"] { flex: 1; min-height: 50px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(74,55,40,.22); background: var(--mz-paper); }

.mz-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--mz-ease), transform .7s var(--mz-ease); }
.mz-reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(204,138,46,.55); outline-offset: 3px; }

@media (max-width: 980px) {
  .mz-header { grid-template-columns: 1fr auto; }
  .mz-nav-toggle { display: block; }
  .mz-nav { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; justify-self: stretch; background: var(--mz-paper); border: 1px solid rgba(74,55,40,.18); border-radius: 20px; box-shadow: var(--mz-shadow-soft); padding: 14px; display: none; }
  .mz-nav.is-open { display: block; }
  .mz-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .mz-menu li a { display: block; padding: 12px 10px; }
  .mz-header-actions .mz-button { display: none; }
  .mz-hero { min-height: auto; padding-top: 60px; }
  .mz-hero-grid { grid-template-columns: 1fr; }
  .mz-display { max-width: 12ch; }
  .mz-clarity-stage { height: 470px; max-width: 660px; width: 100%; margin: 10px auto 0; }
  .mz-principles { grid-template-columns: 1fr; }
  .mz-principle + .mz-principle { border-left: 0; border-top: 1px solid rgba(74,55,40,.17); }
  .mz-topic-grid, .mz-post-grid { grid-template-columns: repeat(2,1fr); }
  .mz-question-layout { grid-template-columns: 1fr; }
  .mz-question-intro { position: static; }
  .mz-editorial-panel { grid-template-columns: 1fr; }
  .mz-editorial-art { min-height: 330px; }
  .mz-section-header { grid-template-columns: 1fr; }
  .mz-cta { grid-template-columns: 1fr; padding: 48px; }
  .mz-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .mz-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .mz-container, .mz-narrow { width: min(calc(100% - 28px), var(--mz-max)); }
  .mz-header-wrap { padding-top: 8px; }
  .mz-header { width: calc(100% - 16px); min-height: 64px; padding-left: 14px; }
  .mz-brand-tag { display: none; }
  .mz-brand-word { font-size: 1.32rem; }
  .mz-brand-glyph { width: 26px; height: 26px; }
  .mz-hero { padding: 54px 0 65px; }
  .mz-display { font-size: clamp(3rem, 15vw, 4.5rem); }
  .mz-hero-actions { align-items: stretch; }
  .mz-hero-actions .mz-button { width: 100%; }
  .mz-clarity-stage { height: 385px; }
  .mz-plane { width: 80%; height: 240px; border-radius: 22px; }
  .mz-sun { width: 170px; }
  .mz-stage-label { font-size: .66rem; padding: 7px 10px; }
  .mz-section { padding: 72px 0; }
  .mz-section-tight { padding: 52px 0; }
  .mz-h2 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .mz-topic-grid, .mz-post-grid, .mz-utility-grid { grid-template-columns: 1fr; }
  .mz-topic-card { min-height: 220px; }
  .mz-question { grid-template-columns: 38px 1fr; }
  .mz-question-arrow { display: none; }
  .mz-question span:nth-child(2) { font-size: 1.25rem; }
  .mz-editorial-copy { padding: 34px 26px; }
  .mz-cta { padding: 36px 26px; border-radius: 28px; }
  .mz-footer-grid { grid-template-columns: 1fr 1fr; }
  .mz-footer-grid > :first-child { grid-column: 1 / -1; }
  .mz-footer-bottom { flex-direction: column; }
  .mz-page-hero { padding-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .mz-reveal { opacity: 1; transform: none; }
  .mz-thread .mz-thread-main { stroke-dashoffset: 0; }
}

/* MzansiMali v0.2 — deeper Ink & Ochre homepage treatment. */
.mz-hero-ink {
  min-height: 790px;
  color: var(--mz-paper);
  background:
    radial-gradient(ellipse at 12% 18%, rgba(156,90,30,.28), transparent 32%),
    radial-gradient(ellipse at 86% 76%, rgba(44,53,64,.94), transparent 48%),
    linear-gradient(118deg, var(--mz-ink) 0%, var(--mz-charcoal) 56%, #202832 100%);
  border-bottom: 1px solid rgba(204,138,46,.28);
  isolation: isolate;
}
.mz-hero-ink::before {
  content: "";
  position: absolute;
  width: 48vw;
  height: 42vw;
  right: -12vw;
  top: -18vw;
  border: 0;
  border-radius: 44% 56% 63% 37% / 42% 38% 62% 58%;
  background: rgba(204,138,46,.13);
  box-shadow: 0 0 0 5vw rgba(204,138,46,.025), 0 0 0 11vw rgba(235,226,214,.018);
  filter: blur(1px);
  transform: rotate(-14deg);
  z-index: -1;
}
.mz-hero-ink::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -20%;
  width: 58%;
  height: 58%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 24% 52%, rgba(183,177,166,.11), transparent 58%),
    radial-gradient(ellipse at 68% 45%, rgba(156,90,30,.13), transparent 56%);
  filter: blur(20px);
  transform: rotate(8deg);
  z-index: -1;
}
.mz-hero-ink .mz-container { position: relative; z-index: 1; }
.mz-hero-ink .mz-kicker { color: #dfa14a; }
.mz-hero-ink .mz-display { color: var(--mz-paper); text-shadow: 0 1px 0 rgba(255,255,255,.02); }
.mz-hero-ink .mz-display em { color: #dfa14a; }
.mz-hero-ink .mz-lead { color: rgba(235,226,214,.78); }
.mz-hero-ink .mz-trustline { color: rgba(235,226,214,.7); }
.mz-hero-ink .mz-button-primary { color: var(--mz-ink); background: #dfa14a; }
.mz-hero-ink .mz-button-primary:hover { color: var(--mz-paper); background: var(--mz-burnt); }
.mz-hero-ink .mz-button-ghost { color: var(--mz-paper); border-color: rgba(235,226,214,.28); background: rgba(235,226,214,.055); }
.mz-hero-ink .mz-button-ghost:hover { border-color: rgba(223,161,74,.64); background: rgba(235,226,214,.10); color: var(--mz-paper); }

.mz-money-map-stage {
  position: relative;
  height: 590px;
  border: 1px solid rgba(235,226,214,.34);
  border-radius: 42px 26px 44px 30px;
  overflow: hidden;
  isolation: isolate;
  color: var(--mz-ink);
  background:
    linear-gradient(105deg, rgba(235,226,214,.98), rgba(245,239,230,.94) 48%, rgba(183,177,166,.88)),
    var(--mz-paper);
  box-shadow: 0 38px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.8);
  transform: rotate(.35deg);
}
.mz-money-map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .48;
  background:
    repeating-linear-gradient(0deg, rgba(13,13,15,.018), rgba(13,13,15,.018) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(92deg, rgba(74,55,40,.012), rgba(74,55,40,.012) 1px, transparent 1px, transparent 9px);
  mix-blend-mode: multiply;
}
.mz-money-map-stage::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 270px;
  right: -85px;
  bottom: -100px;
  z-index: 0;
  border-radius: 48% 52% 35% 65% / 54% 35% 65% 46%;
  background: rgba(204,138,46,.22);
  box-shadow: -72px -24px 90px rgba(156,90,30,.08);
  filter: blur(5px);
  transform: rotate(-18deg);
}
.mz-map-intro {
  position: absolute;
  z-index: 5;
  top: 5.5%;
  left: 6%;
  display: grid;
  gap: 3px;
  max-width: 240px;
}
.mz-map-intro span,
.mz-map-caption {
  color: var(--mz-burnt);
  font-size: .66rem;
  font-weight: 840;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.mz-map-intro strong { font: 700 1.12rem/1.15 var(--mz-serif); color: var(--mz-ink); }
.mz-money-map-lines { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.mz-map-path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  animation: mzMapDraw .95s var(--mz-ease) forwards;
}
.mz-map-path-main { stroke: var(--mz-burnt); animation-delay: .15s; }
.mz-map-path-debt { stroke: var(--mz-umber); animation-delay: 1.08s; }
.mz-map-path-save { stroke: var(--mz-ochre); animation-delay: 1.3s; }
.mz-map-path-invest { stroke: var(--mz-blue); animation-delay: 1.52s; }
.mz-map-junction { fill: var(--mz-paper); stroke: var(--mz-burnt); stroke-width: 5; filter: drop-shadow(0 3px 4px rgba(13,13,15,.18)); }
.mz-map-traveller { filter: drop-shadow(0 0 7px rgba(204,138,46,.65)); }
.mz-map-traveller circle { fill: var(--mz-ochre); }
.mz-map-traveller-debt circle { fill: var(--mz-umber); }
.mz-map-traveller-invest circle { fill: var(--mz-blue); }
.mz-map-node {
  --node-delay: .2s;
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 1px;
  min-width: 72px;
  padding: 9px 12px 10px;
  border: 1px solid rgba(74,55,40,.28);
  border-radius: 14px 9px 15px 10px;
  color: var(--mz-ink);
  background: rgba(245,239,230,.95);
  box-shadow: 0 10px 24px rgba(13,13,15,.12);
  text-decoration: none;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.78);
  animation: mzMapNode .48s var(--node-delay) var(--mz-ease) forwards;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mz-map-node:hover {
  color: var(--mz-ink);
  border-color: var(--mz-ochre);
  box-shadow: 0 13px 28px rgba(13,13,15,.18);
}
.mz-map-node span { color: var(--mz-burnt); font-size: .54rem; font-weight: 850; letter-spacing: .12em; }
.mz-map-node strong { font: 760 .76rem/1.05 var(--mz-sans); white-space: nowrap; }
.mz-map-node-earn { left: 11.6%; top: 24.2%; --node-delay: .12s; background: var(--mz-burnt); color: var(--mz-paper); border-color: var(--mz-burnt); }
.mz-map-node-earn:hover { color: var(--mz-paper); }
.mz-map-node-earn span { color: rgba(235,226,214,.74); }
.mz-map-node-everyday { left: 33.9%; top: 39.4%; --node-delay: .64s; }
.mz-map-node-plan { left: 56.1%; top: 51.9%; --node-delay: 1.04s; background: var(--mz-charcoal); color: var(--mz-paper); border-color: var(--mz-charcoal); }
.mz-map-node-plan:hover { color: var(--mz-paper); }
.mz-map-node-plan span { color: var(--mz-ochre); }
.mz-map-node-debt { left: 86.5%; top: 25.4%; --node-delay: 1.38s; }
.mz-map-node-save { left: 88.1%; top: 51.9%; --node-delay: 1.58s; }
.mz-map-node-invest { left: 85.8%; top: 77.9%; --node-delay: 1.78s; }
.mz-map-botanical {
  position: absolute;
  right: -1%;
  bottom: -4%;
  z-index: 1;
  width: 39%;
  height: auto;
  opacity: .16;
  fill: none;
  stroke: var(--mz-ink);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(2deg);
  pointer-events: none;
}
.mz-map-caption { position: absolute; z-index: 4; left: 6%; bottom: 5%; color: var(--mz-umber); }
@keyframes mzMapDraw { to { stroke-dashoffset: 0; } }
@keyframes mzMapNode { to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }

.home .mz-principles {
  margin-top: -1px;
  border-color: rgba(74,55,40,.22);
  background:
    linear-gradient(90deg, rgba(235,226,214,.22), rgba(183,177,166,.13) 48%, rgba(204,138,46,.055));
}
.home .mz-topic-card:nth-child(3n+2) { background: linear-gradient(145deg, rgba(183,177,166,.32), rgba(235,226,214,.72)); }
.home .mz-topic-card:nth-child(3n) { background: linear-gradient(145deg, rgba(204,138,46,.10), rgba(235,226,214,.72)); }
.home .mz-section-dark { background: linear-gradient(122deg, var(--mz-ink), var(--mz-charcoal) 58%, var(--mz-blue)); }

.mz-botanical-panel {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 24% 78%, rgba(156,90,30,.28), transparent 44%),
    linear-gradient(145deg, var(--mz-charcoal), var(--mz-ink));
}
.mz-botanical-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 74%;
  height: 78%;
  left: -22%;
  bottom: -25%;
  border-radius: 44% 56% 61% 39% / 37% 44% 56% 63%;
  background: rgba(235,226,214,.08);
  filter: blur(8px);
  transform: rotate(12deg);
}
.mz-art-sun {
  position: absolute;
  z-index: 0;
  width: clamp(160px,22vw,280px);
  aspect-ratio: 1;
  right: 8%;
  top: 8%;
  border-radius: 50%;
  background: linear-gradient(145deg, #dfa14a, var(--mz-ochre) 56%, var(--mz-burnt));
  box-shadow: 0 26px 60px rgba(0,0,0,.22);
}
.mz-art-wash {
  position: absolute;
  z-index: 0;
  left: 5%;
  top: 18%;
  width: 58%;
  height: 63%;
  border-radius: 54% 46% 35% 65% / 38% 62% 38% 62%;
  background: rgba(183,177,166,.12);
  filter: blur(5px);
  transform: rotate(-13deg);
}
.mz-botanical-large {
  position: absolute;
  z-index: 2;
  inset: 5% 1% -4% 5%;
  width: 94%;
  height: 99%;
  fill: none;
  stroke: rgba(235,226,214,.82);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 7px 8px rgba(0,0,0,.2));
}

@media (max-width: 980px) {
  .mz-hero-ink { min-height: auto; padding-bottom: 86px; }
  .mz-money-map-stage { height: 540px; max-width: 680px; width: 100%; margin: 14px auto 0; }
}

@media (max-width: 680px) {
  .mz-hero-ink { padding-top: 58px; }
  .mz-money-map-stage { height: 430px; border-radius: 28px 18px 30px 20px; transform: none; }
  .mz-map-intro { top: 4.5%; left: 5%; max-width: 190px; }
  .mz-map-intro strong { font-size: .94rem; }
  .mz-map-intro span, .mz-map-caption { font-size: .54rem; }
  .mz-map-node { min-width: 54px; padding: 7px 8px 8px; border-radius: 11px 7px 12px 8px; }
  .mz-map-node span { font-size: .46rem; }
  .mz-map-node strong { font-size: .61rem; }
  .mz-map-node-everyday strong { max-width: 66px; white-space: normal; }
  .mz-map-botanical { width: 45%; opacity: .13; }
  .mz-map-caption { left: 5%; bottom: 4%; }
  .mz-botanical-large { stroke-width: 2.6; }
}

@media (prefers-reduced-motion: reduce) {
  .mz-map-path { animation: none; stroke-dashoffset: 0; }
  .mz-map-node { animation: none; opacity: 1; transform: translate(-50%,-50%) scale(1); }
  .mz-map-traveller { display: none; }
}

/* MzansiMali v0.3 — sitewide animated brand signature. */
.mz-brand-flow { gap: 12px; }
.mz-brand-lockup { display: grid; align-content: center; }
.mz-brand-mark {
  position: relative;
  width: 46px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.mz-brand-mark::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 0;
  bottom: 1px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(156,90,30,.18), transparent 70%);
  filter: blur(2px);
}
.mz-brand-mark-svg { width: 100%; height: 100%; overflow: visible; }
.mz-mark-path {
  fill: none;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
}
.mz-mark-path-ink {
  stroke: var(--mz-blue);
  animation: mzMarkInk 8.8s var(--mz-ease) infinite;
}
.mz-mark-path-ochre {
  stroke: var(--mz-ochre);
  filter: drop-shadow(0 2px 3px rgba(156,90,30,.18));
  animation: mzMarkOchre 8.8s var(--mz-ease) infinite;
}
.mz-brand-flow .mz-brand-word {
  display: flex;
  align-items: baseline;
  font-size: 1.68rem;
  letter-spacing: -.042em;
  line-height: .95;
  white-space: nowrap;
}
.mz-brand-mzansi,
.mz-brand-mali {
  display: inline-block;
  color: transparent;
  background-color: var(--mz-ink);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  will-change: background-position;
}
.mz-brand-mzansi {
  background-image: linear-gradient(100deg, var(--mz-ink) 0 37%, var(--mz-ochre) 47% 58%, var(--mz-ink) 69% 100%);
  animation: mzWordMzansi 8.8s ease-in-out infinite;
}
.mz-brand-mali {
  background-image: linear-gradient(100deg, var(--mz-ink) 0 37%, #4f6072 47% 58%, var(--mz-ink) 69% 100%);
  animation: mzWordMali 8.8s ease-in-out infinite;
}
.mz-brand-flow .mz-brand-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--mz-burnt);
  font-size: .74rem;
  font-weight: 820;
  letter-spacing: .075em;
  line-height: 1;
}
.mz-brand-flow .mz-brand-tag::before {
  content: "";
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mz-burnt), var(--mz-ochre));
  box-shadow: 0 0 8px rgba(204,138,46,.26);
}
.mz-brand-flow:hover .mz-brand-tag { color: var(--mz-ink); }

@keyframes mzMarkInk {
  0%, 4% { stroke-dashoffset: 1; opacity: .35; }
  18%, 72% { stroke-dashoffset: 0; opacity: 1; }
  88%, 100% { stroke-dashoffset: 0; opacity: .52; }
}
@keyframes mzMarkOchre {
  0%, 20% { stroke-dashoffset: 1; opacity: .28; }
  36%, 82% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 0; opacity: .48; }
}
@keyframes mzWordMzansi {
  0%, 5% { background-position: 112% 50%; }
  31%, 39% { background-position: 48% 50%; }
  51%, 100% { background-position: -18% 50%; }
}
@keyframes mzWordMali {
  0%, 42% { background-position: 112% 50%; }
  67%, 75% { background-position: 48% 50%; }
  88%, 100% { background-position: -18% 50%; }
}

@media (max-width: 680px) {
  .mz-brand-flow { gap: 8px; }
  .mz-brand-mark { width: 34px; height: 30px; }
  .mz-brand-flow .mz-brand-word { font-size: 1.32rem; }
  .mz-brand-flow .mz-brand-tag {
    display: flex;
    gap: 5px;
    margin-top: 4px;
    font-size: .56rem;
    letter-spacing: .055em;
  }
  .mz-brand-flow .mz-brand-tag::before { width: 9px; height: 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .mz-mark-path { stroke-dashoffset: 0; opacity: 1; animation: none; }
  .mz-brand-mzansi,
  .mz-brand-mali { color: var(--mz-ink); background: none; animation: none; }
}

/* Stable base text with sequential colour overlays: no letter ever disappears. */
.mz-brand-flow .mz-brand-mzansi,
.mz-brand-flow .mz-brand-mali {
  position: relative;
  color: var(--mz-ink);
  background: none;
  animation: none;
  will-change: auto;
}
.mz-brand-flow .mz-brand-mzansi::after,
.mz-brand-flow .mz-brand-mali::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
}
.mz-brand-flow .mz-brand-mzansi::after {
  color: var(--mz-ochre);
  text-shadow: 0 0 12px rgba(204,138,46,.18);
  animation: mzWordSweepMzansi 8.8s ease-in-out infinite;
}
.mz-brand-flow .mz-brand-mali::after {
  color: #4f6072;
  text-shadow: 0 0 12px rgba(44,53,64,.16);
  animation: mzWordSweepMali 8.8s ease-in-out infinite;
}
@keyframes mzWordSweepMzansi {
  0%, 7% { clip-path: inset(0 100% 0 0); }
  20% { clip-path: inset(0 44% 0 0); }
  28% { clip-path: inset(0 0 0 0); }
  39% { clip-path: inset(0 0 0 56%); }
  47%, 100% { clip-path: inset(0 0 0 100%); }
}
@keyframes mzWordSweepMali {
  0%, 46% { clip-path: inset(0 100% 0 0); }
  59% { clip-path: inset(0 44% 0 0); }
  67% { clip-path: inset(0 0 0 0); }
  78% { clip-path: inset(0 0 0 56%); }
  86%, 100% { clip-path: inset(0 0 0 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .mz-brand-flow .mz-brand-mzansi::after,
  .mz-brand-flow .mz-brand-mali::after { display: none; }
}


/* Editorial field-note guide plates */
.mz-guide-grid {
  gap: 26px;
}

.mz-guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 26px;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(74,55,40,.22);
  background:
    linear-gradient(150deg, rgba(245,239,230,.94), rgba(235,226,214,.70)),
    radial-gradient(circle at 90% 100%, rgba(204,138,46,.16), transparent 34%);
  box-shadow: 0 22px 54px rgba(31,31,35,.09);
}

.mz-guide-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -62px;
  z-index: -1;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(204,138,46,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(204,138,46,.035), 0 0 0 38px rgba(44,53,64,.025);
}

.mz-guide-visual {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  margin: -2px -2px 24px;
  overflow: hidden;
  border: 1px solid rgba(74,55,40,.26);
  border-radius: calc(var(--mz-radius) - 8px);
  background: var(--mz-parchment);
  box-shadow: 0 12px 28px rgba(31,31,35,.12), inset 0 0 0 5px rgba(235,226,214,.46);
}

.mz-guide-visual::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 17px;
  transform: translateX(-50%) rotate(-1.4deg);
  background: rgba(204,138,46,.70);
  box-shadow: 0 2px 6px rgba(74,55,40,.18);
  mix-blend-mode: multiply;
}

.mz-guide-card:nth-child(even) .mz-guide-visual::before {
  transform: translateX(-50%) rotate(1.2deg);
  background: rgba(44,53,64,.48);
}

.mz-guide-plate {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.75,.25,1), filter .45s ease;
}

.mz-guide-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 8px;
}

.mz-guide-kicker {
  margin-bottom: 9px;
  color: var(--mz-burnt);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mz-guide-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.06;
}

.mz-guide-card p {
  margin: 0 0 20px;
  color: var(--mz-muted);
}

.mz-guide-card .mz-text-link {
  margin-top: auto;
  align-self: flex-start;
}

.mz-guide-visual:focus-visible {
  outline: 3px solid var(--mz-ochre);
  outline-offset: 4px;
}

.single-post .mz-narrow > .wp-post-image {
  box-sizing: border-box;
  display: block;
  padding: 7px;
  border: 1px solid rgba(74,55,40,.22);
  background: rgba(235,226,214,.72);
  box-shadow: 0 22px 52px rgba(31,31,35,.11);
}

@media (hover: hover) {
  .mz-guide-card:hover .mz-guide-plate {
    transform: scale(1.018);
    filter: saturate(1.04) contrast(1.015);
  }
}

@media (max-width: 760px) {
  .mz-guide-grid {
    gap: 20px;
  }

  .mz-guide-card {
    padding: 12px 12px 22px;
  }

  .mz-guide-copy {
    padding: 0 6px;
  }

  .mz-guide-visual {
    margin-bottom: 20px;
  }
}


/* Ambient blueprint and watercolor atmosphere */

:root {
  --mz-atmos-blueprint: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAg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IjMzMCIgY3k9IjU2MCIgcng9IjE3MCIgcnk9IjgwIiBmaWxsPSIjOUM1QTFFIiBmaWxsLW9wYWNpdHk9Ii4wNTUiLz4KPC9nPgo8L3N2Zz4=");
}

.mz-page-hero {
  position: relative;
  isolation: isolate;
  background-image: var(--mz-atmos-blueprint), var(--mz-atmos-wash);
  background-repeat: no-repeat;
  background-size: min(58rem, 72vw) auto, min(68rem, 92vw) auto;
  background-position: right -9rem top -2rem, right -8rem top -3rem;
}

.mz-section:not(.mz-section-dark):not(.mz-section-blue),
.mz-section-tight:not(.mz-section-dark):not(.mz-section-blue) {
  background-image: var(--mz-atmos-blueprint), var(--mz-atmos-wash);
  background-repeat: no-repeat;
  background-size: min(44rem, 60vw) auto, min(58rem, 84vw) auto;
  background-position: right -15rem top 4rem, left -18rem bottom -8rem;
}

.mz-section:nth-of-type(even):not(.mz-section-dark):not(.mz-section-blue),
.mz-section-tight:nth-of-type(even):not(.mz-section-dark):not(.mz-section-blue) {
  background-position: left -16rem bottom 2rem, right -20rem top -7rem;
}

@media (max-width: 760px) {
  .mz-page-hero {
    background-size: 34rem auto, 42rem auto;
    background-position: right -19rem top 1rem, right -20rem top -3rem;
  }

  .mz-section:not(.mz-section-dark):not(.mz-section-blue),
  .mz-section-tight {
    background-size: 31rem auto, 38rem auto;
    background-position: right -20rem top 3rem, left -22rem bottom -4rem;
  }
}
