/* ==========================================================================
   MMDP™ — Master Medicine · Digitize · Prosper
   A program of The Akoury Institute. Own look: deep emerald + warm gold + cream.
   Loaded after styles.css (which keeps base, form and utility styles).
   ========================================================================== */
:root {
  --navy: #0f3b33;            /* styles.css uses --navy for dark ink: now emerald */
  --navy-deep: #0a2a24;
  --green: #0f3b33;
  --green-2: #15493f;
  --green-3: #1d5c4f;
  --gold: #c5a059;
  --gold-light: #e3c27d;
  --gold-ink: #8a6a2a;
  --cream: #f7f3ea;
  --cream-2: #efe8d8;
  --ink: #15241f;
  --ink-2: #4b5a55;
  --line: #e4dccb;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 24px 50px -32px rgba(10, 42, 36, .45);
  --wrap: 1200px;
}
body { background: #fff; color: var(--ink); font: 400 1.03rem/1.65 var(--text); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; color: var(--green); }
em.g, h1 em, h2 em { font-style: italic; color: var(--gold-ink); font-weight: 400; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.m-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 700 .95rem/1 var(--ui); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.m-btn:hover { transform: translateY(-2px); }
.m-btn-gold { background: linear-gradient(135deg, #e3c27d, #c5a059 55%, #a8843c); color: #10241f; box-shadow: 0 14px 30px -16px rgba(201,164,92,.9); }
.m-btn-dark { background: var(--green); color: #fff; }
.m-btn-dark:hover { background: var(--green-3); }
.m-btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.m-btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--gold-light); color: var(--gold-light); }
.m-link { font: 700 .92rem/1 var(--ui); color: var(--green); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.m-link:hover { color: var(--gold-ink); }

/* ---------- Header ---------- */
.m-top { background: var(--green); color: #e8e0cc; font: 600 .74rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.m-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.m-top a { color: var(--gold-light); text-decoration: none; }
.m-top .langsw { display: flex; gap: 6px; }
.m-top .langsw a, .m-top .langsw button { font: 700 .7rem/1 var(--ui); letter-spacing: .08em; color: #e8e0cc; background: transparent; border: 1px solid rgba(201,164,92,.45); border-radius: 6px; padding: 6px 8px; text-decoration: none; cursor: pointer; }
.m-top .langsw a.on, .m-top .langsw a:hover, .m-top .langsw button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--green); }
.m-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.m-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.m-brand img { height: 50px; width: auto; }
.m-nav { display: flex; align-items: center; gap: 22px; }
.m-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.m-nav ul a { display: block; padding: 10px 12px; border-radius: 999px; font: 600 .93rem/1 var(--ui); color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.m-nav ul a:hover { background: var(--cream); color: var(--green); }
.m-nav ul a[aria-current="page"] { background: var(--green); color: #fff; }
.m-nav .m-btn { padding: 13px 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--green); border-radius: 2px; content: ""; }
.nav-toggle-bars { top: 22px; } .nav-toggle-bars::before { top: -7px; left: 0; right: 0; } .nav-toggle-bars::after { top: 7px; left: 0; right: 0; }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .m-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 22px; box-shadow: 0 20px 40px -30px rgba(0,0,0,.4); }
  .m-nav.is-open { display: flex; }
  .m-nav ul { flex-direction: column; }
  .m-nav ul a { padding: 14px 12px; border-radius: 10px; }
  .m-nav .m-btn { justify-content: center; margin-top: 8px; }
  .m-top-tag { display: none; }
  .m-brand img { height: 42px; }
}

/* ---------- Sections ---------- */
.m-sec { padding-block: clamp(64px, 8vw, 110px); }
.m-cream { background: var(--cream); }
.m-dark { background: radial-gradient(1000px 500px at 85% -10%, #1d5c4f 0%, rgba(29,92,79,0) 60%), var(--green); color: #d9e2dc; }
.m-dark h1, .m-dark h2, .m-dark h3 { color: #fff; }
.m-dark h2 em, .m-dark h1 em { color: var(--gold-light); }
.m-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .74rem/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 16px; }
.m-dark .m-eyebrow { color: var(--gold-light); }
.m-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.m-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.m-head h2::after { content: ""; display: block; width: 60px; height: 3px; margin: 20px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.m-head p { margin: 18px auto 0; color: var(--ink-2); font-size: 1.1rem; max-width: 620px; }
.m-dark .m-head p { color: #c6d3cc; }
.m-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(32px, 4vw, 44px); }

/* ---------- Hero ---------- */
.m-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 100px); }
.m-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.m-hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.02; }
.m-hero h1 span { display: block; }
.m-lede { font-size: 1.16rem; color: #cfdcd5; max-width: 540px; margin: 22px 0 0; }
.m-lede strong { color: #fff; }
.m-hero .m-actions { justify-content: flex-start; }
.m-tagline { margin: 30px 0 0; font: italic 400 1.2rem/1.4 var(--display); color: var(--gold-light); }
.m-collage { position: relative; min-height: 520px; }
.m-collage .c1 { position: absolute; inset: 0 12% 14% 0; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.m-collage .c2 { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; border: 6px solid var(--green); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.m-collage img { width: 100%; height: 100%; object-fit: cover; }
.m-badge { position: absolute; left: -18px; bottom: 22%; background: #fff; color: var(--green); border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); display: flex; align-items: center; gap: 12px; }
.m-badge b { font: 600 2rem/1 var(--display); color: var(--gold-ink); }
.m-badge span { font: 700 .72rem/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
html[dir="rtl"] .m-badge { left: auto; right: -18px; }
html[dir="rtl"] .m-collage .c1 { inset: 0 0 14% 12%; } html[dir="rtl"] .m-collage .c2 { right: auto; left: 0; }
@media (max-width: 900px) {
  .m-hero .wrap { grid-template-columns: 1fr; }
  .m-collage { min-height: 0; aspect-ratio: 5/4; }
  .m-badge { left: 8px; bottom: 8px; }
  html[dir="rtl"] .m-badge { right: 8px; }
}

/* ---------- Letters (M M D P) ---------- */
.m-letters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.m-letters a { display: block; height: 100%; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.m-letters a:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.m-letters b { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 22px; background: var(--green); color: var(--gold-light); font: 500 2.4rem/1 var(--display); }
.m-letters h3 { font-size: 1.45rem; margin: 0 0 8px; }
.m-letters p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .m-letters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .m-letters { grid-template-columns: 1fr; } }

/* ---------- Fit (pains vs helps) ---------- */
.m-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.m-fit > div { border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); }
.m-fit .no { background: #fff; border: 1px solid var(--line); }
.m-fit .yes { background: var(--green); color: #dfe8e2; }
.m-fit h3 { font-size: 1.5rem; margin: 0 0 16px; }
.m-fit .yes h3 { color: var(--gold-light); }
.m-fit ul { list-style: none; margin: 0; padding: 0; }
.m-fit li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); }
.m-fit .yes li { border-color: rgba(255,255,255,.12); }
.m-fit li:first-child { border-top: 0; }
.m-fit li::before { position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem/1 var(--ui); }
.m-fit .no li::before { content: "✕"; background: #f6e7e2; color: #a0412c; }
.m-fit .yes li::before { content: "✓"; background: var(--gold); color: var(--green); }
html[dir="rtl"] .m-fit li { padding: 12px 34px 12px 0; } html[dir="rtl"] .m-fit li::before { left: auto; right: 0; }
@media (max-width: 760px) { .m-fit { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.m-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.m-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m-cards > li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; align-items: center; }
.m-cards > li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.m-cards h3 { font-size: 1.32rem; margin: 0 0 10px; }
.m-cards p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.m-cards .m-link { margin-top: auto; padding-top: 18px; border: 0; }
.m-cards .m-link span { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.m-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--cream); color: var(--green); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.m-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-dark .m-cards > li { background: rgba(255,255,255,.05); border-color: rgba(201,164,92,.3); }
.m-dark .m-cards h3 { color: #fff; } .m-dark .m-cards p { color: #c6d3cc; }
.m-dark .m-ico { background: rgba(201,164,92,.14); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(201,164,92,.4); }
.m-photo-card { padding: 0 !important; overflow: hidden; }
.m-photo-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.m-photo-card .in { padding: 24px 24px 28px; display: flex; flex-direction: column; align-items: center; flex: 1; }
@media (max-width: 1000px) { .m-cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .m-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .m-cards, .m-cards.four { grid-template-columns: 1fr; } }

/* ---------- Split (image + text) ---------- */
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.m-split.rev > .m-split-img { order: 2; }
.m-split-img { position: relative; }
.m-split-img img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.m-split-img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 24px; z-index: -1; }
.m-split.rev .m-split-img::before { inset: 18px 18px -18px -18px; }
.m-split h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.m-split p { color: var(--ink-2); font-size: 1.07rem; margin: 18px 0 0; }
.m-dark .m-split p { color: #c6d3cc; }
.m-split .m-actions { justify-content: flex-start; }
.m-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.m-ticks li { position: relative; padding-inline-start: 34px; font-weight: 600; color: var(--ink); }
.m-dark .m-ticks li { color: #eef3ef; }
.m-ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--green); display: grid; place-items: center; font: 700 .78rem/1 var(--ui); }
@media (max-width: 860px) { .m-split { grid-template-columns: 1fr; } .m-split.rev > .m-split-img { order: 0; } .m-split-img::before { display: none; } }

/* ---------- Method letter sections ---------- */
.m-letter-big { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--green); color: var(--gold-light); font: 500 2.8rem/1 var(--display); margin-bottom: 20px; box-shadow: 0 16px 30px -18px rgba(15,59,51,.8); }
.m-dark .m-letter-big { background: var(--gold); color: var(--green); }
.m-sub { font: italic 400 1.2rem/1.4 var(--display); color: var(--gold-ink); margin: 10px 0 0; }
.m-dark .m-sub { color: var(--gold-light); }

/* ---------- Page head ---------- */
.m-pagehead { position: relative; overflow: hidden; text-align: center; padding-block: clamp(70px, 9vw, 120px) clamp(60px, 7vw, 96px); background: var(--green); color: #d9e2dc; }
.m-pagehead-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: .28; }
.m-pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,42,36,.55), rgba(10,42,36,.92)); }
.m-pagehead .wrap { position: relative; z-index: 1; max-width: 820px; }
.m-pagehead .m-eyebrow { color: var(--gold-light); }
.m-pagehead .m-eyebrow::before, .m-pagehead .m-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.m-pagehead h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.m-pagehead h1 em { color: var(--gold-light); }
.m-pagehead p { margin: 20px auto 0; max-width: 620px; font-size: 1.12rem; color: #cfdcd5; }

/* ---------- Testimonials ---------- */
.m-quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.m-quotes li { background: #fff; border-radius: var(--radius); padding: 34px 28px 28px; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.m-quotes li::before { content: "“"; position: absolute; top: 6px; inset-inline-start: 22px; font: 400 4.6rem/1 var(--display); color: var(--gold); }
.m-quotes blockquote { margin: 26px 0 20px; font: 400 1.04rem/1.65 var(--text); color: var(--ink); }
.m-quotes cite { margin-top: auto; font: 700 .9rem/1.3 var(--ui); font-style: normal; color: var(--green); }
.m-stars { color: var(--gold); letter-spacing: 3px; font-size: .95rem; margin-bottom: 6px; }
@media (max-width: 900px) { .m-quotes { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

/* ---------- Photo band / gallery ---------- */
.m-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.m-gallery li { position: relative; border-radius: 18px; overflow: hidden; }
.m-gallery li:first-child { grid-row: span 2; }
.m-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.m-gallery li:hover img { transform: scale(1.05); }
.m-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(180deg, transparent, rgba(10,42,36,.85)); color: #fff; font: 700 .85rem/1.2 var(--ui); }
@media (max-width: 760px) { .m-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .m-gallery li:first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- Numbered steps / modules ---------- */
.m-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.m-steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.m-steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: var(--gold-light); font: 600 1.15rem/1 var(--display); }
.m-steps h3 { font-size: 1.25rem; margin: 0 0 8px; }
.m-steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 800px) { .m-steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.m-modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: md; }
.m-modules li { counter-increment: md; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(201,164,92,.3); border-radius: 14px; padding: 18px 20px; color: #eef3ef; font-weight: 600; }
.m-modules li::before { content: counter(md, decimal-leading-zero); font: 500 1.3rem/1 var(--display); color: var(--gold-light); flex: none; }
@media (max-width: 900px) { .m-modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .m-modules { grid-template-columns: 1fr; } }
.m-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; }
.m-chips li { padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--gold); font-weight: 700; color: var(--green); font-size: .95rem; }
.m-note { text-align: center; color: var(--ink-2); margin: 28px auto 0; max-width: 640px; font-size: .98rem; }
.m-dark .m-note { color: #c6d3cc; }

/* ---------- Founder ---------- */
.m-founder-img img { aspect-ratio: 4/5; object-position: center 20%; }
.m-facts { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.m-facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.m-facts b { font: 700 .72rem/1.6 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.m-pull { margin: 26px 0 0; padding: 18px 22px; border-inline-start: 3px solid var(--gold); background: var(--cream); border-radius: 0 12px 12px 0; font: italic 400 1.12rem/1.5 var(--display); color: var(--green); }
.m-pull cite { display: block; margin-top: 8px; font: 700 .8rem/1.3 var(--ui); font-style: normal; color: var(--ink-2); }
@media (max-width: 520px) { .m-facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FAQ ---------- */
.m-faq { max-width: 820px; margin: 0 auto; }
.m-faq-group + .m-faq-group { margin-top: clamp(44px, 5vw, 64px); }
.m-faq-group h2 { text-align: center; font-size: 1.7rem; margin: 0 0 22px; }
.m-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.m-faq details[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.m-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 700 1.02rem/1.4 var(--ui); color: var(--green); position: relative; }
html[dir="rtl"] .m-faq summary { padding: 20px 22px 20px 56px; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--gold-ink); display: grid; place-items: center; font: 600 1.2rem/1 var(--ui); transition: transform .3s; }
.m-faq details[open] summary::after { content: "−"; background: var(--gold); color: var(--green); }
.m-faq details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.m-cta { padding-block: clamp(56px, 7vw, 90px); background: var(--cream); }
.m-cta-in { text-align: center; background: radial-gradient(700px 300px at 50% -20%, #1d5c4f, rgba(29,92,79,0) 70%), var(--green); border-radius: 28px; padding: clamp(40px, 6vw, 70px) clamp(24px, 4vw, 60px); position: relative; overflow: hidden; }
.m-cta-in::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201,164,92,.35); border-radius: 20px; pointer-events: none; }
.m-cta-in h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.m-cta-in h2 em { color: var(--gold-light); }
.m-cta-in p { color: #cfdcd5; margin: 14px auto 0; max-width: 560px; font-size: 1.08rem; }
.m-faqline { text-align: center; margin: 0 0 30px; font: 400 1.15rem/1.5 var(--display); color: var(--green); }
.m-faqline a { color: var(--gold-ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); margin-inline-start: 6px; }

/* ---------- Contact ---------- */
.m-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.m-contact-side { position: sticky; top: 110px; }
.m-contact-side h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.m-contact-side > p { color: var(--ink-2); margin: 14px 0 0; }
.m-info { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.m-info li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.m-info .m-ico { width: 44px; height: 44px; margin: 0; border-radius: 12px; flex: none; }
.m-info .m-ico svg { width: 20px; height: 20px; }
.m-info b { display: block; font: 700 .72rem/1.4 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.m-info a { color: var(--green); font-weight: 700; text-decoration: none; }
.m-contact .form-card { border-radius: 22px; border-color: var(--line); background: #fff; }
.m-contact .form-card::after { border-radius: 16px; }
@media (max-width: 900px) { .m-contact { grid-template-columns: 1fr; } .m-contact-side { position: static; } }

/* form tweaks for this brand */
.form-card::before { content: "Program inquiry · MMDP™" !important; }
.field input, .field select { border: 1px solid var(--line) !important; border-radius: 10px !important; padding: 10px 14px !important; background: #fcfaf5 !important; }
.field input:focus, .field select:focus { border-color: var(--green) !important; box-shadow: 0 0 0 3px rgba(201,164,92,.25) !important; }
.field label { letter-spacing: .04em !important; text-transform: none !important; font-size: .82rem !important; }
.form-card .btn, .btn-gold { background: linear-gradient(135deg, #e3c27d, #c5a059 55%, #a8843c) !important; color: #10241f !important; border: 0 !important; border-radius: 999px !important; width: 100%; justify-content: center; padding: 16px 24px !important; font: 700 1rem/1 var(--ui) !important; cursor: pointer; }

/* ---------- Footer ---------- */
.m-footer { background: var(--navy-deep); color: #b9c8c0; border-top: 4px solid var(--gold); padding-block: clamp(52px, 6vw, 76px) 26px; font-size: .95rem; }
.m-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.m-footer-brand img { height: 48px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
.m-footer-brand p { margin: 16px 0 0; max-width: 300px; }
.m-footer h3 { font: 700 .74rem/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin: 6px 0 18px; }
.m-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m-footer a { color: #e5ece8; text-decoration: none; transition: color .2s; }
.m-footer a:hover { color: var(--gold-light); }
.m-footer small { color: #8fa59b; }
.m-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8fa59b; }
.m-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.m-disclaimer { margin-top: 18px; font-size: .78rem; line-height: 1.6; color: #7f948a; }
@media (max-width: 900px) { .m-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .m-footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.m-prose { max-width: 760px; margin: 0 auto; }
.m-prose h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.m-prose p, .m-prose li { color: var(--ink-2); }
.m-draft { background: #fff7e4; border: 1px solid var(--gold); border-radius: 12px; padding: 14px 18px; margin-bottom: 26px; font-size: .95rem; }

/* ---------- Sticky mobile CTA ---------- */
.m-sticky { display: none; }
@media (max-width: 760px) {
  .m-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; justify-content: center; transform: translateY(140%); transition: transform .4s var(--ease); }
  .m-sticky.on { transform: none; }
  .m-sticky .m-btn { width: 100%; justify-content: center; }
}

/* ---------- Motion ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.m-hero-text { animation: m-rise .9s var(--ease) both .1s; }
.m-collage { animation: m-rise 1s var(--ease) both .3s; }
@keyframes m-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html.js .reveal, .m-hero-text, .m-collage { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; } }

/* ---------- fixes after first review ---------- */
.m-dark .m-link, .m-dark .m-cards .m-link { color: var(--gold-light); }
.m-top .langsw a, .m-top .langsw button { color: #e8e0cc !important; background: transparent !important; border: 1px solid rgba(201,164,92,.5) !important; opacity: 1 !important; visibility: visible !important; width: auto !important; min-width: 34px; }
.m-top .langsw a.on, .m-top .langsw a:hover, .m-top .langsw button:hover, .m-top .langsw button[aria-pressed="true"], .m-top .langsw button.on { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--green) !important; }
.m-founder-img { max-width: 460px; margin-inline: auto; width: 100%; }
.m-founder-img img { aspect-ratio: 4/4.6; }
.m-quotes li::before { display: none; }
.m-quotes blockquote { margin-top: 10px; }
.m-quotes li { border-top: 3px solid var(--gold); }
@media (max-width: 480px) {
  .m-letters { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .m-letters a { padding: 22px 14px; }
  .m-letters b { width: 56px; height: 56px; font-size: 1.9rem; border-radius: 16px; margin-bottom: 12px; }
  .m-letters h3 { font-size: 1.2rem; }
  .m-letters p { font-size: .88rem; }
  .m-top .wrap { justify-content: center; }
}
html[lang="ar"] { --display: "Noto Naskh Arabic", Georgia, serif; --text: "IBM Plex Sans Arabic", system-ui, sans-serif; --ui: "IBM Plex Sans Arabic", system-ui, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }
html[lang="ar"] h1 em, html[lang="ar"] h2 em, html[lang="ar"] .m-sub, html[lang="ar"] .m-tagline, html[lang="ar"] .m-pull { font-style: normal; }
@media (max-width: 760px) { .m-sticky { right: 84px; } html[dir="rtl"] .m-sticky { right: 12px; left: 84px; } }

/* ---------- Mission ---------- */
.m-mission { background: var(--cream); }
.m-mission-q { max-width: 900px; margin: 0 auto; font: 400 clamp(1.5rem, 2.8vw, 2.2rem)/1.4 var(--display); color: var(--green); }
.m-mission-q em { color: var(--gold-ink); }
.m-mission-icons { list-style: none; margin: clamp(32px, 4vw, 48px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.m-mission-icons li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 24px 10px 10px; font-weight: 700; color: var(--green); }
html[dir="rtl"] .m-mission-icons li { padding: 10px 10px 10px 24px; }
.m-mission-icons .m-ico { width: 46px; height: 46px; margin: 0; border-radius: 50%; background: var(--green); color: var(--gold-light); box-shadow: none; }
.m-mission-icons .m-ico svg { width: 22px; height: 22px; }

/* ---------- Free resources (book covers) ---------- */
.m-books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.m-books li { text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(201,164,92,.3); border-radius: var(--radius); padding: 30px 24px 28px; display: flex; flex-direction: column; align-items: center; }
.m-books img { width: 62%; max-width: 200px; aspect-ratio: 479/700; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); transform: rotate(-2deg); transition: transform .4s var(--ease); margin-bottom: 22px; }
.m-books li:hover img { transform: rotate(0) translateY(-6px); }
.m-books h3 { color: #fff; font-size: 1.3rem; margin: 0 0 8px; }
.m-books p { color: #c6d3cc; margin: 0 0 20px; font-size: .96rem; }
.m-books .m-btn { margin-top: auto; background: var(--gold); color: var(--green); }
@media (max-width: 860px) { .m-books { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ---------- Videos ---------- */
.m-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.m-videos h3 { margin: 14px 0 0; font-size: 1.15rem; text-align: center; }
.m-video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; aspect-ratio: 16/9; background: #000; }
.m-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease); }
.m-video:hover img { opacity: 1; transform: scale(1.04); }
.m-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.m-play::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--green); }
.m-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .m-videos { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ===== Section-by-section polish (review 2) ===== */
.m-pagehead .wrap { max-width: 960px; }
.m-pagehead p { max-width: 640px; }
@media (max-width: 560px) {
  .m-pagehead .m-eyebrow::before, .m-pagehead .m-eyebrow::after { display: none; }
  .m-pagehead { padding-block: 56px 48px; }
  .m-sec { padding-block: 56px; }
  .m-head { margin-bottom: 30px; }
  /* compact cards: icon left, text right */
  .m-cards > li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; text-align: start; align-items: start; padding: 20px 18px; }
  .m-cards > li .m-ico { grid-row: span 3; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
  .m-cards > li h3 { margin: 2px 0 2px; font-size: 1.15rem; }
  .m-cards > li p { font-size: .92rem; }
  .m-cards .m-link { padding-top: 8px; justify-self: start; }
  .m-steps li { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; text-align: start; padding: 20px 18px; }
  .m-steps li::before { grid-row: span 2; margin: 0; width: 42px; height: 42px; }
  .m-steps h3 { font-size: 1.12rem; margin-bottom: 4px; }
  .m-letters a { padding: 20px 12px; }
  .m-mission-icons li { width: 100%; max-width: 320px; }
  .m-quotes li { padding: 26px 22px 22px; }
  /* footer: links in two columns */
  .m-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .m-footer-brand { grid-column: 1 / -1; }
  .m-footer-grid > div:last-child { grid-column: 1 / -1; }
  .m-legal { flex-direction: column; }
}
/* contact on phones: form first, details after */
@media (max-width: 900px) {
  .m-contact { display: flex; flex-direction: column; gap: 22px; }
  .m-contact-side { display: contents; }
  .m-contact .form-col { order: 2; width: 100%; }
  .m-contact .m-info { order: 3; margin-top: 8px; }
  .m-contact-side > .m-eyebrow, .m-contact-side > h2, .m-contact-side > p { margin: 0; }
}

/* ---------- Free guides form ---------- */
.m-guides-form { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 52px); background: rgba(255,255,255,.06); border: 1px solid rgba(197,160,89,.45); border-radius: 20px; padding: clamp(22px, 3vw, 32px); text-align: center; }
.m-guides-title { margin: 0 0 16px; font: 500 1.4rem/1.2 var(--display); color: #fff; }
.m-guides-row { display: flex; gap: 10px; flex-wrap: wrap; }
.m-guides-row input { flex: 1 1 180px; min-height: 50px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.95); padding: 0 20px; font: 500 1rem/1 var(--ui); color: var(--ink); }
.m-guides-row input:focus { outline: none; box-shadow: 0 0 0 3px rgba(197,160,89,.6); }
.m-guides-row .m-btn { flex: 0 0 auto; }
.m-guides-check { display: flex; gap: 10px; align-items: flex-start; text-align: start; margin: 16px auto 0; max-width: 620px; font-size: .88rem; color: #c6d3cc; cursor: pointer; }
.m-guides-check input { margin-top: 3px; accent-color: var(--gold); }
.m-guides-note { margin: 10px auto 0; font-size: .82rem; color: #9fb3aa; max-width: 620px; }
.m-guides-note a { color: var(--gold-light); }
.m-guides-status { margin: 10px 0 0; font-weight: 700; color: var(--gold-light); min-height: 1.2em; }
.m-guides .hp { position: absolute; left: -9999px; }
/* downloads appear after the form is sent (always visible without JavaScript) */
html.js .m-guides:not(.is-unlocked) .m-books .m-btn { display: none; }
html.js .m-guides:not(.is-unlocked) .m-books li::after { content: "🔒"; margin-top: auto; font-size: 1.1rem; opacity: .7; }
.m-guides.is-unlocked .m-guides-form .m-guides-row, .m-guides.is-unlocked .m-guides-check, .m-guides.is-unlocked .m-guides-note { display: none; }
@media (max-width: 560px) { .m-guides-row { flex-direction: column; } .m-guides-row .m-btn { justify-content: center; } }

/* MMDP = Master Medicine · Digitize · Prosper: three parts */
.m-letters.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-letters.three b { width: auto; min-width: 74px; padding: 0 14px; }
@media (max-width: 860px) { .m-letters.three { grid-template-columns: 1fr; } }

/* ---------- Magazine funnel mode (visitors from the HealPreneur magazine QR codes) ----------
   Set by a small script in <head> on funnel pages only. One goal: the form. No menu, no footer links. */
html.is-funnel .m-nav, html.is-funnel .hp-nav, html.is-funnel .nav-toggle, html.is-funnel .hp-head-cta,
html.is-funnel .ff-main, html.is-funnel .ff-fam { display: none !important; }
html.is-funnel .ff { padding-top: 28px; }
html.is-funnel .m-bar-link, html.is-funnel .hp-endorse-a, html.is-funnel .fam-bar-a, html.is-funnel .m-bar-endorse a { pointer-events: none; }
html.is-funnel .ff-full { margin: 0 0 14px; text-align: center; font-weight: 600; }
html.is-funnel .ff-full a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
