/*
Theme Name: MHFN — Mental Health Foundation of Nigeria
Theme URI: https://mhfn.org
Author: MHFN
Author URI: https://mhfn.org
Description: Custom, Elementor-ready theme for the Mental Health Foundation of Nigeria. Editable pages & posts via Elementor, built-in lead capture, fully responsive with even, consistent spacing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mhfn
*/

/* ═══════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════ */
:root {
  --bg:     #07090E;
  --bg1:    #0B0F18;
  --bg2:    #111826;
  --bg3:    #192030;
  --bl:     #1B62E8;
  --bl-l:   #3B7EFF;
  --bl-d:   rgba(27,98,232,0.15);
  --lime:   #AAFF57;
  --lime-d: rgba(170,255,87,0.12);
  --amber:  #F5A623;
  --teal:   #00D4C8;
  --pur:    #A78BFA;
  --wh:     #ECF3FF;
  --mu:     #6B7E98;
  --mu2:    #8FA2BB;
  --bdr:    rgba(255,255,255,0.07);
  --bdr-b:  rgba(27,98,232,0.22);
  --bdr-l:  rgba(170,255,87,0.2);
  --nav-h:  70px;
  --r:      14px;
  --rl:     22px;
  --ease:   cubic-bezier(.25,.46,.45,.94);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --D:      'Bricolage Grotesque', system-ui, sans-serif;
  --Q:      'Fraunces', Georgia, serif;
  --B:      'Plus Jakarta Sans', system-ui, sans-serif;

  /* Even, consistent spacing scale */
  --sec-pad: clamp(56px, 7vw, 96px);   /* vertical rhythm for every section */
  --gap-lg:  clamp(28px, 4vw, 60px);
  --gap-md:  clamp(20px, 3vw, 40px);
}

/* ═══════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
.mhfn *, .mhfn *::before, .mhfn *::after { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.mhfn-body {
  background: var(--bg);
  color: var(--wh);
  font-family: var(--B);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
body.mhfn-body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 99998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.042'/%3E%3C/svg%3E");
  opacity: 0.3;
}
.mhfn img { max-width: 100%; display: block; }
.mhfn a { color: inherit; text-decoration: none; }
.mhfn-container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 56px); }

/* Elementor full-width breakout so MHFN sections span edge-to-edge inside Elementor HTML/widget wrappers */
.elementor-widget-mhfn-hero .elementor-widget-container,
.elementor-widget-html .elementor-widget-container,
.mhfn-section .elementor-widget-container { padding: 0 !important; margin: 0 !important; }

/* ═══════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════ */
@keyframes floatA { 0%,100%{transform:translateY(0) rotate(-2deg);} 50%{transform:translateY(-20px) rotate(-2deg);} }
@keyframes floatB { 0%,100%{transform:translateY(-8px) rotate(1.5deg);} 50%{transform:translateY(14px) rotate(1.5deg);} }
@keyframes floatC { 0%,100%{transform:translateY(0) rotate(-0.5deg);} 50%{transform:translateY(-16px) rotate(-0.5deg);} }
@keyframes floatD { 0%,100%{transform:translateY(-5px) rotate(2.5deg);} 50%{transform:translateY(9px) rotate(2.5deg);} }
@keyframes marqL { from{transform:translateX(0);} to{transform:translateX(-50%);} }
@keyframes marqR { from{transform:translateX(-50%);} to{transform:translateX(0);} }
@keyframes vmUp { from{transform:translateY(0);} to{transform:translateY(-50%);} }
@keyframes vmDown { from{transform:translateY(-50%);} to{transform:translateY(0);} }
@keyframes fadeUp { from{opacity:0;transform:translateY(40px);} to{opacity:1;transform:translateY(0);} }
@keyframes heroIn { from{opacity:0;transform:translateY(52px) skewY(0.8deg);} to{opacity:1;transform:translateY(0) skewY(0);} }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(170,255,87,0.5);} 50%{box-shadow:0 0 0 8px rgba(170,255,87,0);} }

.mhfn .rv { opacity: 0; transform: translateY(30px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.mhfn .rv.on { opacity: 1; transform: none; }
.mhfn .rv.d1 { transition-delay: .08s; }
.mhfn .rv.d2 { transition-delay: .16s; }
.mhfn .rv.d3 { transition-delay: .24s; }
.mhfn .rv.d4 { transition-delay: .32s; }
.mhfn .rv.d5 { transition-delay: .40s; }

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
#mhfn-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 99999;
  display: flex; align-items: center;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#mhfn-nav.stuck {
  background: rgba(7,9,14,.92);
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  border-bottom-color: var(--bdr);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.nav-logo-pill { background: #fff; border-radius: 10px; padding: 5px 10px; line-height: 0; flex-shrink: 0; transition: transform .2s, box-shadow .2s; }
.nav-logo-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(27,98,232,.25); }
.nav-logo-pill img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--mu2); letter-spacing: .01em; transition: color .2s; }
.nav-links a:hover { color: var(--wh); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-ghost-sm { font-size: 13px; font-weight: 600; color: var(--wh); padding: 8px 18px; border-radius: 100px; border: 1px solid rgba(255,255,255,.12); background: transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.btn-ghost-sm:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.24); }
.btn-lime-sm { font-size: 13px; font-weight: 700; color: #040900; padding: 8px 20px; border-radius: 100px; background: var(--lime); border: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn-lime-sm:hover { background: #BEFF6E; transform: translateY(-1px); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--wh); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-nav { display: none; position: fixed; inset: 0; background: rgba(7,9,14,.97); backdrop-filter: blur(40px); z-index: 599; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.mob-nav.open { display: flex; }
.mob-nav a { font-family: var(--D); font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--wh); transition: color .2s; }
.mob-nav a:last-child { color: var(--lime); font-style: italic; font-weight: 300; }
.mob-nav a:hover { color: var(--lime); }

/* ═══════════════════════════════════════════════
   HERO  (text sizes tuned down)
═══════════════════════════════════════════════ */
.hero {
  min-height: 92svh; padding-top: var(--nav-h);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 70% at 90% 10%, rgba(27,98,232,.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 5% 95%, rgba(170,255,87,.07) 0%, transparent 65%),
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(7,12,22,.6) 0%, transparent 100%),
    var(--bg);
}
.hero-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 80%); }
.hero-body { position: relative; z-index: 3; padding: clamp(48px,6vw,72px) 0 clamp(56px,7vw,80px); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--bl-l); margin-bottom: 26px; animation: fadeUp .6s var(--ease) both .15s; }
.hero-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--bl-l); }
.hero-hl {
  font-family: var(--D); font-weight: 800; line-height: 1.02;
  letter-spacing: -.04em; color: var(--wh);
  font-size: clamp(36px, 5.2vw, 66px);
  max-width: 880px; margin-bottom: 28px;
  animation: heroIn .9s var(--ease) both .3s;
}
.hero-hl em { font-style: italic; color: var(--lime); font-weight: 300; }
.hero-sub { max-width: 500px; font-size: 16.5px; line-height: 1.72; color: var(--mu2); margin-bottom: 40px; animation: fadeUp .8s var(--ease) both .52s; }
.hero-sub strong { color: var(--wh); font-weight: 600; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; animation: fadeUp .8s var(--ease) both .66s; }
.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 0; padding-top: 36px; border-top: 1px solid var(--bdr); animation: fadeUp .8s var(--ease) both .78s; }
.tr-item { display: flex; align-items: center; gap: 8px; padding: 0 22px; font-size: 12.5px; font-weight: 500; color: var(--mu); letter-spacing: .04em; }
.tr-item:first-child { padding-left: 0; }
.tr-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--bl); flex-shrink: 0; }
.tr-sep { width: 1px; height: 16px; background: var(--bdr); }

/* Big buttons */
.btn-lg-lime, .btn-lg-ghost, .btn-lg-blue { display: inline-flex; align-items: center; gap: 8px; font-family: var(--B); font-size: 15px; font-weight: 700; padding: 15px 32px; border-radius: 100px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-lg-lime { background: var(--lime); color: #030800; transition: background .2s, transform .22s var(--spring), box-shadow .22s; }
.btn-lg-lime:hover { background: #C0FF7A; transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 52px rgba(170,255,87,.32); }
.btn-lg-ghost { background: transparent; color: var(--wh); font-weight: 600; border: 1.5px solid rgba(255,255,255,.14); transition: background .2s, border-color .2s, transform .22s var(--spring); }
.btn-lg-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); transform: translateY(-3px); }
.btn-lg-blue { background: var(--bl); color: #fff; transition: background .2s, transform .22s var(--spring), box-shadow .22s; }
.btn-lg-blue:hover { background: var(--bl-l); transform: translateY(-3px); box-shadow: 0 18px 52px rgba(27,98,232,.4); }

/* Floating hero cards */
.hf { position: absolute; z-index: 4; pointer-events: none; }
.hf-card { background: rgba(11,17,28,.86); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; box-shadow: 0 32px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.03); overflow: hidden; }
.hf-logo { top: 108px; right: 3.5%; animation: floatA 5.5s ease-in-out infinite; }
.hf-logo .hf-card { background: #fff; border-color: rgba(0,0,0,.06); padding: 16px 20px; min-width: 200px; }
.hf-logo .hf-card img { height: 46px; width: auto; margin-bottom: 10px; }
.hf-logo-caption { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6B7A90; }
.hf-stat { top: 42%; right: .5%; animation: floatB 6.8s ease-in-out infinite .6s; }
.hf-stat .hf-card { padding: 22px 24px; min-width: 200px; }
.hf-quote { bottom: 16%; right: 5%; animation: floatC 5s ease-in-out infinite 1.1s; }
.hf-quote .hf-card { padding: 20px 24px; max-width: 230px; }
.hf-badge { top: 34%; left: 1.5%; animation: floatD 4.8s ease-in-out infinite .4s; }
.hf-icon { font-size: 24px; margin-bottom: 8px; line-height: 1; }
.hf-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); margin-bottom: 4px; }
.hf-val { font-family: var(--D); font-size: 28px; font-weight: 800; letter-spacing: -.05em; color: var(--wh); line-height: 1; }
.hf-sub { font-size: 12px; color: var(--mu2); margin-top: 4px; line-height: 1.4; }
.hf-bars { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.hf-br { display: flex; align-items: center; gap: 10px; }
.hf-br-lbl { font-size: 10px; color: var(--mu); width: 64px; flex-shrink: 0; }
.hf-br-track { flex: 1; height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.hf-br-fill { height: 100%; border-radius: 4px; }
.hf-br-pct { font-size: 10px; font-weight: 700; color: var(--wh); width: 26px; text-align: right; flex-shrink: 0; }
.hf-q-text { font-family: var(--Q); font-size: 14px; font-style: italic; color: var(--wh); line-height: 1.5; }
.hf-q-attr { font-size: 11px; color: var(--mu); margin-top: 10px; }
.hf-badge-pill { display: flex; align-items: center; gap: 10px; background: rgba(170,255,87,.1); border: 1px solid rgba(170,255,87,.25); border-radius: 100px; padding: 10px 20px; font-size: 13px; font-weight: 700; color: var(--lime); white-space: nowrap; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s ease-in-out infinite; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   HORIZONTAL MARQUEE
═══════════════════════════════════════════════ */
.marq-wrap { overflow: hidden; background: var(--bg1); border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); padding: 15px 0; }
.marq-track { display: flex; width: max-content; gap: 0; }
.marq-track.ltr { animation: marqL 32s linear infinite; }
.marq-track.rtl { animation: marqR 32s linear infinite; }
.marq-item { display: flex; align-items: center; gap: 18px; padding: 0 24px; font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--mu); white-space: nowrap; }
.marq-item.hi { color: var(--lime); }
.marq-dot { font-size: 8px; color: var(--bl-l); }

/* ═══════════════════════════════════════════════
   SECTION COMMONS  (even rhythm)
═══════════════════════════════════════════════ */
.mhfn-section { padding: var(--sec-pad) 0; }
/* Consistent hairline between stacked sections → even, calm rhythm */
.mhfn-section + .mhfn-section { border-top: 1px solid var(--bdr); }
.stag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px; }
.stag::before { content: ''; width: 18px; height: 2px; border-radius: 2px; }
.t-blue { color: var(--bl-l); } .t-blue::before { background: var(--bl-l); }
.t-lime { color: var(--lime); } .t-lime::before { background: var(--lime); }
.t-amb  { color: var(--amber); } .t-amb::before  { background: var(--amber); }
.t-teal { color: var(--teal); } .t-teal::before { background: var(--teal); }
.t-mu   { color: var(--mu2); }  .t-mu::before   { background: var(--mu2); }

.sec-hl {
  font-family: var(--D); font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 800; line-height: 1.06; letter-spacing: -.036em;
  color: var(--wh); margin-bottom: 18px;
}
.sec-hl em { font-style: italic; color: var(--lime); font-weight: 300; }
.sec-hl.em-blue em { color: var(--bl-l); }
.sec-hl.em-amb  em { color: var(--amber); }
.sec-lead { font-size: 16.5px; line-height: 1.75; color: var(--mu2); max-width: 560px; }

/* ═══════════════════════════════════════════════
   TWO-COLUMN VERTICAL MARQUEE (THE NUMBERS)
═══════════════════════════════════════════════ */
.vm-section { background: var(--bg1); padding: var(--sec-pad) 0; overflow: hidden; }
.vm-top { margin-bottom: var(--gap-lg); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: end; }
.vm-cols { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; }
.vm-divider { background: var(--bdr); }
.vm-col { position: relative; height: 540px; overflow: hidden; }
.vm-col::before, .vm-col::after { content: ''; position: absolute; left: 0; right: 0; height: 80px; z-index: 2; pointer-events: none; }
.vm-col::before { top: 0; background: linear-gradient(to bottom, var(--bg1), transparent); }
.vm-col::after { bottom: 0; background: linear-gradient(to top, var(--bg1), transparent); }
.vm-track { display: flex; flex-direction: column; gap: 14px; padding: 0 20px; }
.vm-col-l .vm-track { animation: vmUp 22s linear infinite; padding-right: 24px; }
.vm-col-r .vm-track { animation: vmDown 22s linear infinite; padding-left: 24px; }
.vm-col:hover .vm-track { animation-play-state: paused; }
.vm-stat { background: var(--bg2); border: 1px solid var(--bdr-b); border-radius: var(--r); padding: 22px 24px; flex-shrink: 0; transition: border-color .25s, background .25s; }
.vm-stat:hover { background: var(--bg3); border-color: rgba(27,98,232,.4); }
.vm-stat-num { font-family: var(--D); font-size: 44px; font-weight: 800; letter-spacing: -.055em; line-height: 1; color: var(--lime); margin-bottom: 8px; }
.vm-stat-num.blue { color: var(--bl-l); }
.vm-stat-num.amb { color: var(--amber); }
.vm-stat-lbl { font-size: 13.5px; font-weight: 500; color: var(--mu2); line-height: 1.5; }
.vm-stat-tag { display: inline-block; margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); background: rgba(255,255,255,.05); border-radius: 100px; padding: 3px 10px; }
.vm-resp { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--r); padding: 22px 24px; flex-shrink: 0; transition: border-color .25s, background .25s; }
.vm-resp:hover { background: var(--bg3); border-color: rgba(170,255,87,.25); }
.vm-resp-icon { font-size: 24px; margin-bottom: 10px; line-height: 1; }
.vm-resp-title { font-family: var(--D); font-size: 19px; font-weight: 800; letter-spacing: -.028em; color: var(--wh); margin-bottom: 8px; }
.vm-resp-body { font-size: 13px; line-height: 1.6; color: var(--mu2); }
.vm-resp-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }

/* ═══════════════════════════════════════════════
   REALITY CHECK
═══════════════════════════════════════════════ */
.reality { background: var(--bg); position: relative; overflow: hidden; }
.reality::before { content: ''; position: absolute; top: -30%; right: -15%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(27,98,232,.07) 0%, transparent 65%); pointer-events: none; }
.rl-hl { font-family: var(--D); font-weight: 800; line-height: 1.0; letter-spacing: -.048em; color: var(--wh); font-size: clamp(40px, 5.2vw, 66px); margin-bottom: var(--gap-lg); }
.rl-hl em { color: var(--lime); font-style: italic; font-weight: 300; }
.rl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: start; }
.rl-prose { font-size: 18px; line-height: 1.8; color: var(--mu2); }
.rl-prose p { margin-bottom: 20px; }
.rl-prose p:last-child { margin: 0; }
.rl-punch { font-family: var(--D); font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--wh); line-height: 1.3; }
.rl-qcards { display: flex; flex-direction: column; gap: 12px; }
.rl-qcard { background: var(--bg2); border: 1px solid var(--bdr); border-left: 3px solid var(--bl); padding: 20px 26px; border-radius: 0 var(--r) var(--r) 0; font-family: var(--Q); font-size: 24px; font-style: italic; font-weight: 400; color: rgba(236,243,255,.35); line-height: 1.28; transition: color .28s, border-left-color .28s, background .28s; }
.rl-qcard:hover { color: var(--wh); border-left-color: var(--lime); background: var(--bg3); }
.rl-close { margin-top: var(--gap-lg); padding: clamp(32px,4vw,48px) clamp(28px,4vw,56px); background: linear-gradient(120deg, var(--bg2), var(--bg3)); border: 1px solid var(--bdr-b); border-radius: var(--rl); display: flex; align-items: center; gap: 28px; }
.rl-close-icon { font-size: 52px; flex-shrink: 0; line-height: 1; }
.rl-close-text { font-family: var(--D); font-size: clamp(22px,2.6vw,32px); font-weight: 800; letter-spacing: -.03em; color: var(--wh); line-height: 1.24; }
.rl-close-text em { font-style: italic; color: var(--lime); font-weight: 300; }
.rl-img-panel { margin-top: var(--gap-lg); border-radius: var(--rl); overflow: hidden; position: relative; }
.rl-img-panel img { width: 100%; height: 320px; object-fit: cover; object-position: center 45%; display: block; filter: brightness(.45) grayscale(.3); }
.rl-img-panel-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; background: linear-gradient(to top, rgba(7,9,14,.6) 0%, rgba(7,9,14,.1) 100%); }
.rl-img-q { font-family: var(--Q); font-style: italic; font-size: clamp(18px,2.3vw,28px); color: rgba(236,243,255,.9); text-align: center; max-width: 680px; line-height: 1.42; }
.rl-img-q em { color: var(--lime); font-weight: 400; }
.rl-img-attr { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .12em; text-transform: uppercase; text-align: center; }

/* ═══════════════════════════════════════════════
   POSITIONING
═══════════════════════════════════════════════ */
.pos { background: var(--bg); }
.pos-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: start; }
.pos-prose { font-size: 17px; line-height: 1.8; color: var(--mu2); margin-bottom: 20px; }
.pos-pillars { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bdr); border-radius: 18px; overflow: hidden; }
.pos-pill { background: var(--bg2); padding: 22px 20px; display: flex; align-items: flex-start; gap: 11px; transition: background .22s; }
.pos-pill:hover { background: var(--bg3); }
.pos-n { font-family: var(--D); font-size: 10px; font-weight: 800; color: var(--bl-l); letter-spacing: .1em; padding-top: 3px; flex-shrink: 0; }
.pos-t { font-size: 14px; font-weight: 600; color: var(--wh); line-height: 1.4; }

/* ═══════════════════════════════════════════════
   SERVICES BENTO
═══════════════════════════════════════════════ */
.svc { background: var(--bg); }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: var(--gap-lg); }
.svc-bento { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.svc-a { grid-column: span 3; } .svc-b { grid-column: span 2; } .svc-c { grid-column: span 2; } .svc-d { grid-column: span 3; }
.svc-card { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); padding: clamp(28px,3vw,40px) clamp(24px,3vw,36px); position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.svc-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--acc, var(--bl)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc-card:hover { transform: translateY(-6px); background: var(--bg3); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-a { --acc: var(--bl); } .svc-a:hover { border-color: var(--bdr-b); }
.svc-b { --acc: var(--lime); } .svc-b:hover { border-color: rgba(170,255,87,.25); }
.svc-c { --acc: var(--teal); } .svc-c:hover { border-color: rgba(0,212,200,.22); }
.svc-d { --acc: var(--pur); } .svc-d:hover { border-color: rgba(167,139,250,.22); }
.svc-bg-n { position: absolute; top: -18px; right: 18px; font-family: var(--D); font-size: 100px; font-weight: 800; color: rgba(255,255,255,.025); line-height: 1; letter-spacing: -.06em; pointer-events: none; user-select: none; }
.svc-ico { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 24px; transition: transform .28s var(--spring); }
.svc-card:hover .svc-ico { transform: scale(1.14) rotate(-6deg); }
.svc-a .svc-ico { background: rgba(27,98,232,.15); }
.svc-b .svc-ico { background: rgba(170,255,87,.12); }
.svc-c .svc-ico { background: rgba(0,212,200,.12); }
.svc-d .svc-ico { background: rgba(167,139,250,.12); }
.svc-title { font-family: var(--D); font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--wh); margin-bottom: 12px; }
.svc-desc { font-size: 14.5px; line-height: 1.66; color: var(--mu2); max-width: 400px; }
.svc-lnk { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 13px; font-weight: 700; color: var(--acc, var(--bl)); transition: gap .2s; }
.svc-card:hover .svc-lnk { gap: 11px; }
.svc-edu-car { margin-top: 20px; border-radius: 12px; overflow: hidden; }
.edu-car-track { display: flex; transition: transform .5s var(--ease); }
.edu-car-slide { flex: 0 0 100%; }
.edu-car-slide img { width: 100%; height: 160px; object-fit: cover; object-position: center 38%; display: block; }
.edu-car-dots { display: flex; gap: 6px; padding-top: 10px; }
.edu-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.edu-dot.ed-on { background: var(--lime); transform: scale(1.4); }

/* ═══════════════════════════════════════════════
   IMPACT
═══════════════════════════════════════════════ */
.impact { background: var(--bg); position: relative; overflow: hidden; }
.impact::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 1000px; height: 600px; background: radial-gradient(ellipse, rgba(27,98,232,.09) 0%, transparent 65%); pointer-events: none; }
.impact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: center; margin-bottom: var(--gap-lg); }
.impact-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--bdr); border-radius: 20px; overflow: hidden; }
.i-box { background: var(--bg1); padding: 40px 22px; text-align: center; transition: background .22s; }
.i-box:hover { background: var(--bg2); }
.i-num { font-family: var(--D); font-weight: 800; letter-spacing: -.055em; color: var(--lime); line-height: 1; margin-bottom: 10px; font-size: clamp(40px,4vw,54px); }
.i-lbl { font-size: 12.5px; font-weight: 500; color: var(--mu2); line-height: 1.5; }
.impact-pull { display: flex; align-items: flex-start; gap: 22px; padding: clamp(32px,4vw,48px) clamp(28px,4vw,52px); background: var(--bg1); border: 1px solid var(--bdr); border-radius: var(--rl); position: relative; overflow: hidden; }
.impact-pull::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--bl), var(--lime)); }
.pull-qm { font-family: var(--D); font-size: 90px; line-height: .6; color: var(--bl); opacity: .28; flex-shrink: 0; padding-top: 20px; }
.pull-txt { font-family: var(--Q); font-size: 21px; font-style: italic; line-height: 1.58; color: var(--wh); }
.pull-txt strong { font-style: normal; color: var(--lime); }

/* ═══════════════════════════════════════════════
   STATEMENT BAND
═══════════════════════════════════════════════ */
.statement-band { background: var(--bg1); padding: 0; border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); overflow: hidden; }
.statement-scroll-wrap { overflow: hidden; padding: 44px 0; }
.statement-text { font-family: var(--D); font-size: clamp(26px,4vw,52px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; animation: marqL 20s linear infinite; color: rgba(236,243,255,.08); }
.statement-text .hi { color: rgba(170,255,87,.6); }
.statement-text .sep { color: var(--bl-l); font-size: 0.5em; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.testi { background: var(--bg); }
.testi-hdr { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: flex-end; margin-bottom: var(--gap-lg); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.t-card { background: var(--bg2); border: 1px solid var(--bdr); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.t-card:hover { transform: translateY(-6px); border-color: var(--bdr-b); box-shadow: 0 24px 60px rgba(27,98,232,.12); }
.t-qm { font-family: var(--D); font-size: 44px; font-weight: 800; color: var(--bl); opacity: .45; line-height: 1; }
.t-body { font-family: var(--Q); font-size: 18px; font-style: italic; line-height: 1.56; color: var(--wh); flex: 1; }
.t-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--bdr); }
.t-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, rgba(27,98,232,.3), rgba(170,255,87,.2)); border: 1px solid var(--bdr-b); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.t-meta { font-size: 12.5px; color: var(--mu2); line-height: 1.35; }
.t-meta strong { display: block; color: var(--wh); font-size: 13px; font-weight: 600; }
.testi-note { text-align: center; font-size: 13.5px; color: var(--mu); font-style: italic; margin-top: var(--gap-md); }

/* ═══════════════════════════════════════════════
   PHOTO STRIP + GALLERY
═══════════════════════════════════════════════ */
.photo-strip-band { overflow: hidden; background: var(--bg); border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); padding: 3px 0; }
.ps-track { display: flex; width: max-content; gap: 3px; animation: marqL 55s linear infinite; }
.ps-track:hover { animation-play-state: paused; }
.ps-img { width: 210px; height: 142px; object-fit: cover; object-position: center 35%; flex-shrink: 0; display: block; filter: brightness(.65) saturate(.8); transition: filter .35s; }
.ps-img:hover { filter: brightness(.95) saturate(1.1); }
.gallery { background: var(--bg); }
.gallery-hd { margin-bottom: var(--gap-lg); }
.gal-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 208px; gap: 3px; border-radius: 18px; overflow: hidden; }
.gal-cell { overflow: hidden; position: relative; cursor: pointer; }
.gal-cell img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; transition: transform .45s var(--ease), filter .35s; filter: brightness(.72); }
.gal-cell:hover img { transform: scale(1.06); filter: brightness(.98); }
/* Feature tile = 2×2. Six tiles then fill a perfect 3×3 grid with no gaps. */
.gal-cell:first-child { grid-column: span 2; grid-row: span 2; }
.gal-cell-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,9,14,.75) 0%, transparent 55%); opacity: 0; transition: opacity .3s; }
.gal-cell:hover .gal-cell-overlay { opacity: 1; }
.gal-cell-lbl { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px; font-size: 11px; font-weight: 600; color: var(--wh); letter-spacing: .03em; line-height: 1.4; transform: translateY(6px); opacity: 0; transition: opacity .3s, transform .3s; }
.gal-cell:hover .gal-cell-lbl { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════
   WHY IT MATTERS
═══════════════════════════════════════════════ */
.why { background: var(--bg); }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: start; }
.why-sticky { position: sticky; top: calc(var(--nav-h) + 28px); }
.why-close { margin-top: 32px; padding: 32px; background: var(--bg1); border: 1px solid var(--bdr); border-radius: 20px; }
.why-close p { font-size: 16px; line-height: 1.76; color: var(--mu2); margin-bottom: 14px; }
.why-close p strong { color: var(--wh); }
.why-em { font-family: var(--D); font-size: 21px; font-weight: 800; letter-spacing: -.025em; color: var(--lime); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bdr); border-radius: 20px; overflow: hidden; }
.w-item { background: var(--bg1); padding: 36px 28px; transition: background .22s; }
.w-item:hover { background: var(--bg2); }
.w-ico { font-size: 30px; margin-bottom: 14px; }
.w-ttl { font-family: var(--D); font-size: 18px; font-weight: 800; letter-spacing: -.025em; color: var(--wh); margin-bottom: 8px; }
.w-dsc { font-size: 13.5px; line-height: 1.64; color: var(--mu2); }

/* ═══════════════════════════════════════════════
   ENGAGE
═══════════════════════════════════════════════ */
.engage { background: var(--bg); }
.engage-hdr { margin-bottom: var(--gap-lg); }
.engage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.e-card { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); padding: clamp(32px,3.5vw,48px) clamp(28px,3vw,40px); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.e-card:hover { transform: translateY(-8px); }
.e-card:nth-child(1):hover { border-color: var(--bdr-b); box-shadow: 0 30px 80px rgba(27,98,232,.12); }
.e-card:nth-child(2):hover { border-color: var(--bdr-l); box-shadow: 0 30px 80px rgba(170,255,87,.08); }
.e-card:nth-child(3):hover { border-color: rgba(0,212,200,.3); box-shadow: 0 30px 80px rgba(0,212,200,.08); }
.e-bg-n { position: absolute; top: -28px; right: 18px; font-family: var(--D); font-size: 180px; font-weight: 800; color: rgba(255,255,255,.016); line-height: 1; letter-spacing: -.07em; pointer-events: none; user-select: none; }
.e-ico { font-size: 34px; margin-bottom: 20px; }
.e-q { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); margin-bottom: 10px; }
.e-title { font-family: var(--D); font-size: 26px; font-weight: 800; letter-spacing: -.035em; color: var(--wh); margin-bottom: 14px; line-height: 1.16; }
.e-desc { font-size: 14.5px; line-height: 1.7; color: var(--mu2); flex: 1; margin-bottom: 30px; }
.e-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--B); font-size: 14px; font-weight: 700; padding: 13px 26px; border-radius: 100px; border: none; cursor: pointer; text-decoration: none; transition: transform .2s var(--spring), box-shadow .2s; align-self: flex-start; }
.e-btn:hover { transform: translateX(6px); }
.eb-blue { background: var(--bl); color: #fff; } .eb-blue:hover { box-shadow: 0 8px 28px rgba(27,98,232,.45); }
.eb-lime { background: var(--lime); color: #030800; } .eb-lime:hover { box-shadow: 0 8px 28px rgba(170,255,87,.35); }
.eb-teal { background: var(--teal); color: #001918; } .eb-teal:hover { box-shadow: 0 8px 28px rgba(0,212,200,.35); }

/* ═══════════════════════════════════════════════
   LEAD FORM
═══════════════════════════════════════════════ */
.mhfn-lead { background: var(--bg); }
.lead-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: center; }
.lead-card { background: linear-gradient(150deg, var(--bg2), var(--bg1)); border: 1px solid var(--bdr-b); border-radius: var(--rl); padding: clamp(28px,3.5vw,44px); }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 7px; }
.lead-field label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mu2); }
.lead-field input, .lead-field select, .lead-field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--bdr); border-radius: 10px;
  padding: 13px 15px; color: var(--wh); font-family: var(--B); font-size: 14.5px;
  transition: border-color .2s, background .2s;
}
.lead-field textarea { resize: vertical; min-height: 96px; }
.lead-field input:focus, .lead-field select:focus, .lead-field textarea:focus { outline: none; border-color: var(--bl-l); background: var(--bg1); }
.lead-field input::placeholder, .lead-field textarea::placeholder { color: var(--mu); }
.lead-submit { margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--lime); color: #030800; font-family: var(--B); font-size: 15px; font-weight: 700; padding: 15px 30px; border-radius: 100px; border: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.lead-submit:hover { background: #C0FF7A; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(170,255,87,.28); }
.lead-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.lead-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--mu); line-height: 1.5; }
.lead-consent input { width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; accent-color: var(--lime); }
.lead-msg { font-size: 13.5px; padding: 12px 16px; border-radius: 10px; display: none; }
.lead-msg.show { display: block; }
.lead-msg.ok { background: rgba(170,255,87,.1); border: 1px solid rgba(170,255,87,.3); color: var(--lime); }
.lead-msg.err { background: rgba(245,80,80,.1); border: 1px solid rgba(245,80,80,.3); color: #ff9d9d; }
.lead-info .stag { margin-bottom: 16px; }
.lead-benefits { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.lead-benefits li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--mu2); line-height: 1.5; }
.lead-benefits li::before { content: '✓'; color: var(--lime); font-weight: 800; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════ */
.fcta { background: var(--bg); text-align: center; padding: clamp(64px,9vw,110px) 0; position: relative; overflow: hidden; }
.fcta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 1200px; height: 700px; background: radial-gradient(ellipse, rgba(170,255,87,.06) 0%, transparent 62%); pointer-events: none; }
.fcta-tag { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); margin-bottom: 22px; }
.fcta-hl { font-family: var(--D); font-size: clamp(34px,4.6vw,58px); font-weight: 800; letter-spacing: -.042em; line-height: 1.03; color: var(--wh); max-width: 800px; margin: 0 auto 18px; }
.fcta-hl em { font-style: italic; color: var(--lime); font-weight: 300; }
.fcta-sub { font-size: 16.5px; color: var(--mu2); max-width: 440px; margin: 0 auto 40px; line-height: 1.62; }
.fcta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.fcta-anch { font-size: 13.5px; color: var(--mu); font-style: italic; }

/* ═══════════════════════════════════════════════
   WORDMARK
═══════════════════════════════════════════════ */
.wm-section { background: var(--bg1); border-top: 1px solid var(--bdr); overflow: hidden; }
.wm-meta { display: flex; align-items: center; justify-content: space-between; padding: 48px 32px 0; max-width: 1240px; margin: 0 auto; }
.wm-meta-l { display: flex; align-items: center; gap: 16px; }
.wm-logo-pill { background: #fff; border-radius: 8px; padding: 4px 8px; line-height: 0; }
.wm-logo-pill img { height: 32px; width: auto; }
.wm-meta-r { font-size: 11.5px; color: var(--mu); font-weight: 500; letter-spacing: .06em; text-align: right; line-height: 1.5; }
.wm-meta-txt { font-size: 12px; color: var(--mu); font-weight: 500; letter-spacing: .04em; }
.wm-text { display: block; font-family: var(--D); font-weight: 800; letter-spacing: -.05em; line-height: .88; text-align: center; font-size: clamp(64px,14vw,200px); color: rgba(255,255,255,.04); padding: 10px 24px 44px; user-select: none; pointer-events: none; transition: color .5s; }
.wm-section:hover .wm-text { color: rgba(255,255,255,.07); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.mhfn-footer { background: var(--bg); border-top: 1px solid var(--bdr); padding: clamp(44px,6vw,72px) 0 clamp(30px,4vw,44px); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap-lg); margin-bottom: var(--gap-lg); }
.foot-brand-logo { background: #fff; border-radius: 10px; padding: 6px 10px; line-height: 0; display: inline-block; margin-bottom: 18px; }
.foot-brand-logo img { height: 42px; width: auto; }
.foot-brand p { font-size: 13.5px; line-height: 1.72; color: var(--mu); max-width: 275px; }
.foot-h { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--bl-l); margin-bottom: 18px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 13.5px; color: var(--mu); transition: color .2s; }
.foot-links a:hover { color: var(--wh); }
.foot-bot { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--bdr); gap: 20px; flex-wrap: wrap; }
.foot-bot p { font-size: 12px; color: var(--mu); }
.foot-bot strong { color: var(--lime); }
.foot-soc { display: flex; gap: 10px; }
.soc { width: 38px; height: 38px; border-radius: 10px; background: var(--bg1); border: 1px solid var(--bdr); display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; text-decoration: none; }
.soc:hover { background: var(--bg2); border-color: var(--bdr-b); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════
   BLOG / PAGE CONTENT (posts & standard pages)
═══════════════════════════════════════════════ */
/* Interior page hero (clears the fixed nav + titles the page) */
.mhfn-pagehero {
  padding: calc(var(--nav-h) + clamp(40px,6vw,72px)) 0 clamp(28px,3.5vw,44px);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(27,98,232,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(170,255,87,.04) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--bdr);
}
.mhfn-pagehero .mhfn-page-title { margin: 0 auto; max-width: 900px; }
.mhfn-pagehero-sub { font-size: 16.5px; line-height: 1.7; color: var(--mu2); max-width: 600px; margin: 16px auto 0; }

.mhfn-page { padding: calc(var(--nav-h) + clamp(40px,6vw,72px)) 0 var(--sec-pad); }
.mhfn-page-head { max-width: 780px; margin: 0 auto clamp(32px,4vw,52px); text-align: center; }
.mhfn-page-title { font-family: var(--D); font-size: clamp(30px,4.4vw,52px); font-weight: 800; letter-spacing: -.038em; color: var(--wh); line-height: 1.05; margin-bottom: 14px; }
.mhfn-page-title em { font-style: italic; color: var(--lime); font-weight: 300; }
.mhfn-content { max-width: 780px; margin: 0 auto; font-size: 16.5px; line-height: 1.8; color: var(--mu2); }
.mhfn-content h2 { font-family: var(--D); font-size: clamp(24px,3vw,34px); font-weight: 800; letter-spacing: -.03em; color: var(--wh); margin: 40px 0 16px; }
.mhfn-content h3 { font-family: var(--D); font-size: 22px; font-weight: 800; color: var(--wh); margin: 32px 0 12px; }
.mhfn-content p { margin-bottom: 20px; }
.mhfn-content a { color: var(--bl-l); text-decoration: underline; text-underline-offset: 3px; }
.mhfn-content ul, .mhfn-content ol { margin: 0 0 20px 22px; }
.mhfn-content li { margin-bottom: 8px; }
.mhfn-content img { border-radius: var(--r); margin: 24px 0; }
.mhfn-content blockquote { border-left: 3px solid var(--lime); padding: 8px 0 8px 24px; margin: 24px 0; font-family: var(--Q); font-style: italic; font-size: 20px; color: var(--wh); }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1240px; margin: 0 auto; }
.post-card { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); border-color: var(--bdr-b); box-shadow: 0 24px 60px rgba(27,98,232,.12); }
.post-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bl-l); margin-bottom: 12px; }
.post-title { font-family: var(--D); font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--wh); line-height: 1.22; margin-bottom: 12px; }
.post-excerpt { font-size: 14px; line-height: 1.66; color: var(--mu2); flex: 1; margin-bottom: 18px; }
.post-more { font-size: 13px; font-weight: 700; color: var(--lime); }
.mhfn-pagination { display: flex; justify-content: center; gap: 8px; margin-top: var(--gap-lg); }
.mhfn-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--bdr); color: var(--mu2); font-size: 14px; font-weight: 600; }
.mhfn-pagination .page-numbers.current, .mhfn-pagination a.page-numbers:hover { background: var(--bl); border-color: var(--bl); color: #fff; }

/* ═══════════════════════════════════════════════
   JOURNEY / DONUT TIMELINE
═══════════════════════════════════════════════ */
.journey { background: var(--bg); }
.journey-hd { text-align: center; padding: var(--sec-pad) 0 clamp(36px,4vw,60px); }
.journey-body { display: grid; grid-template-columns: 400px 1fr; align-items: start; border-top: 1px solid var(--bdr); }
.j-donut-col { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: linear-gradient(160deg, var(--bg1) 0%, var(--bg) 100%); border-right: 1px solid var(--bdr); }
#journeyDonut { width: 300px; height: 300px; filter: drop-shadow(0 12px 48px rgba(0,0,0,.8)); transition: all .3s; }
.jseg-img, .jseg-ov { transition: opacity .6s ease; }
.jseg-bd { transition: opacity .6s ease, stroke-width .3s; }
.j-legend { display: flex; flex-direction: column; gap: 9px; width: 280px; }
.j-leg { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--mu); cursor: pointer; transition: color .25s; padding: 2px 0; }
.j-leg.jl-active { color: var(--wh); }
.j-leg-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; transition: transform .3s var(--spring); }
.j-leg.jl-active .j-leg-dot { transform: scale(1.6); }
.j-leg-yr { font-weight: 800; min-width: 40px; font-size: 11px; letter-spacing: .04em; }
.j-panel { min-height: 100vh; padding: clamp(48px,7vw,88px) clamp(28px,5vw,60px); display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.04); position: relative; }
.j-panel::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 0; background: var(--jc, var(--bl)); transition: height .6s var(--ease); border-radius: 2px; }
.j-panel.jp-on::before { height: 55%; }
.j-yr-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 15px; border-radius: 100px; width: fit-content; font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--jc, #3B7EFF); background: var(--jcb, rgba(27,98,232,.12)); border: 1px solid var(--jc, #3B7EFF); margin-bottom: 20px; }
.j-hl { font-family: var(--D); font-size: clamp(26px,2.8vw,40px); font-weight: 800; letter-spacing: -.04em; color: var(--wh); line-height: 1.08; margin-bottom: 16px; }
.j-body { font-size: 15px; line-height: 1.8; color: var(--mu2); max-width: 500px; margin-bottom: 26px; }
.j-carousel { max-width: 520px; }
.j-car-wrap { border-radius: 14px; overflow: hidden; background: var(--bg2); position: relative; }
.j-car-track { display: flex; transition: transform .55s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.j-car-slide { flex: 0 0 100%; min-width: 0; }
.j-car-slide img { width: 100%; height: 230px; object-fit: cover; object-position: center 30%; display: block; }
.j-car-cap { padding: 10px 16px; font-size: 11px; line-height: 1.55; color: var(--mu); background: var(--bg2); border-top: 1px solid var(--bdr); }
.j-car-nav { display: flex; align-items: center; gap: 10px; padding-top: 14px; }
.j-car-prev, .j-car-next { width: 34px; height: 34px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--bdr); cursor: pointer; color: var(--mu2); font-size: 14px; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s, transform .2s; flex-shrink: 0; }
.j-car-prev:hover, .j-car-next:hover { background: var(--bg3); border-color: rgba(255,255,255,.2); color: var(--wh); transform: scale(1.1); }
.j-car-dots { display: flex; gap: 7px; flex: 1; justify-content: center; }
.j-car-dot { height: 6px; width: 6px; border-radius: 3px; background: rgba(255,255,255,.14); border: none; cursor: pointer; padding: 0; transition: background .25s, width .3s var(--spring); }
.j-car-dot.jd-on { background: var(--lime); width: 18px; }

/* ═══════════════════════════════════════════════
   THE NUMBERS — calm static stat grid
═══════════════════════════════════════════════ */
.numbers { background: var(--bg); }
.numbers-head { max-width: 720px; margin: 0 auto clamp(28px,4vw,48px); text-align: center; }
.numbers-head .sec-lead { margin: 0 auto; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-cell { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); padding: clamp(26px,3vw,38px) clamp(20px,2.4vw,28px); transition: border-color .25s, transform .25s, background .25s; }
.stat-cell:hover { transform: translateY(-4px); border-color: var(--bdr-b); background: var(--bg3); }
.stat-num { font-family: var(--D); font-size: clamp(38px,3.6vw,54px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--lime); margin-bottom: 14px; }
.stat-num.blue { color: var(--bl-l); }
.stat-num.amb { color: var(--amber); }
.stat-lbl { font-size: 14px; line-height: 1.6; color: var(--mu2); }

/* ═══════════════════════════════════════════════
   TIMELINE — calm vertical
═══════════════════════════════════════════════ */
.mhfn-timeline { background: var(--bg); }
.tl-head { max-width: 720px; margin: 0 auto clamp(32px,4vw,52px); text-align: center; }
.tl-head .sec-lead { margin: 0 auto; }
.tl-list { max-width: 760px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 20px 1fr; gap: 22px; padding-bottom: clamp(28px,4vw,44px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-rail { position: relative; display: flex; justify-content: center; }
.tl-rail::before { content: ''; position: absolute; top: 8px; height: 100%; left: 50%; transform: translateX(-50%); width: 2px; background: var(--bdr); }
.tl-item:last-child .tl-rail::before { display: none; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 3px; box-shadow: 0 0 0 4px var(--bg); position: relative; z-index: 1; flex-shrink: 0; }
.tl-year { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.tl-title { font-family: var(--D); font-size: clamp(20px,2.4vw,26px); font-weight: 800; letter-spacing: -.03em; color: var(--wh); line-height: 1.16; margin-bottom: 10px; }
.tl-text { font-size: 15px; line-height: 1.72; color: var(--mu2); margin-bottom: 16px; }
.tl-img { border-radius: var(--r); overflow: hidden; }
.tl-img img { width: 100%; height: clamp(180px,24vw,240px); object-fit: cover; object-position: center 35%; display: block; }

/* ═══════════════════════════════════════════════
   LEAD — centred single column (site-wide closer)
═══════════════════════════════════════════════ */
.lead-narrow { max-width: 640px; margin: 0 auto; }
.lead-head { text-align: center; margin-bottom: clamp(24px,3vw,32px); }
.lead-head .sec-hl { text-align: center; margin-bottom: 14px; }
.lead-head .sec-lead { margin: 0 auto; }
.lead-trust { text-align: center; font-size: 12.5px; color: var(--mu); margin-top: 16px; letter-spacing: .02em; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .svc-bento { grid-template-columns: 1fr 1fr; }
  .svc-a, .svc-b, .svc-c, .svc-d { grid-column: span 1; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .journey-body { grid-template-columns: 340px 1fr; }
  .j-donut-col { padding: 32px 20px; }
  #journeyDonut { width: 260px; height: 260px; }
  .gal-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gal-cell:first-child { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-right .btn-ghost-sm { display: none; }
  .burger { display: flex; }
  .hf { display: none; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tr-sep { display: none; } .tr-item { padding: 0; }
  .vm-top { grid-template-columns: 1fr; gap: 24px; }
  .vm-cols { grid-template-columns: 1fr; }
  .vm-divider, .vm-col-r { display: none; }
  .vm-col-l .vm-track { padding: 0 0 0 4px; }
  .vm-col { height: 460px; }
  .rl-grid { grid-template-columns: 1fr; gap: 36px; }
  .rl-close { flex-direction: column; gap: 18px; padding: 32px 26px; text-align: center; }
  .pos-layout { grid-template-columns: 1fr; gap: 36px; }
  .pos-pillars { grid-template-columns: 1fr; }
  .svc-head { flex-direction: column; align-items: flex-start; }
  .svc-bento { grid-template-columns: 1fr; }
  .impact-layout { grid-template-columns: 1fr; gap: 40px; }
  .impact-pull { flex-direction: column; padding: 30px 26px; }
  .pull-qm { font-size: 56px; }
  .testi-hdr { grid-template-columns: 1fr; gap: 22px; }
  .testi-grid { grid-template-columns: 1fr; }
  .t-card:nth-child(2) { margin-top: 0; }
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-sticky { position: static; }
  .why-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .lead-wrap { grid-template-columns: 1fr; gap: 32px; }
  .fcta-btns { flex-direction: column; align-items: center; }
  .foot-top { grid-template-columns: 1fr; gap: 34px; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .wm-meta { flex-direction: column; gap: 16px; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .journey-body { grid-template-columns: 1fr; }
  .j-donut-col { position: static; height: auto; padding: 44px 24px 30px; border-right: none; border-bottom: 1px solid var(--bdr); flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px; }
  #journeyDonut { width: 230px; height: 230px; }
  .j-legend { flex-direction: row; flex-wrap: wrap; width: auto; gap: 10px 20px; justify-content: center; }
  .j-panel { min-height: auto; padding: 56px 26px; }
  .j-panel::before { display: none; }
  .ps-img { width: 164px; height: 116px; }
}
@media (max-width: 560px) {
  .hero-sub { font-size: 15px; }
  .btn-lg-lime, .btn-lg-ghost, .btn-lg-blue { font-size: 14px; padding: 13px 24px; }
  .svc-card, .e-card { padding: 26px 22px; }
  .vm-col { height: 420px; }
  .lead-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .gal-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .impact-stats { grid-template-columns: 1fr; }
  .j-carousel { max-width: 100%; }
}
