/* ==========================================================
   Melanie Gómez, APRN landing (mg-*)
   Shared styles for every mg-* section.
   NOTE: sizes are in px on purpose. Dawn sets html{font-size:62.5%},
   so rem values from the original design would render ~40% smaller.
   ========================================================== */

.mg {
  --ground: #F0E9DF;
  --surface: #FAF5EE;
  --surface-2: #E7DCCE;
  --ink: #2A2220;
  --ink-2: #5E534E;
  --line: #D6C8B6;
  --burgundy: #6E1F2B;
  --burgundy-ink: #FBF3EE;
  --brass: #9C7A32;
  --brass-soft: #E6D6B0;
  --shadow: 0 18px 40px -24px rgba(42, 34, 32, .45);
  --mg-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --mg-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  background: var(--ground);
  color: var(--ink);
  font-family: var(--mg-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
/* anchors land just below the sticky nav (JS keeps --mg-nav-h up to date) */
.mg, .mg [id] { scroll-margin-top: calc(var(--mg-nav-h, 72px) + 12px); }

/* ---------- color modes ----------
   Every section has a "Color mode" setting (data-mg-mode):
   auto  = follows the device, exactly like the original HTML (default)
   light = always light
   dark  = always dark */
.mg { color-scheme: light; }
.mg[data-mg-mode="dark"] {
    --ground: #1C1715; --surface: #26201D; --surface-2: #2F2724; --ink: #F0E6DA; --ink-2: #BBAC9E; --line: #3E342F;
    --burgundy: #8E2E3D; --burgundy-ink: #FBF3EE; --brass: #C9A254; --brass-soft: #4A3D22; --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  .mg[data-mg-mode="auto"] {
    --ground: #1C1715; --surface: #26201D; --surface-2: #2F2724; --ink: #F0E6DA; --ink-2: #BBAC9E; --line: #3E342F;
    --burgundy: #8E2E3D; --burgundy-ink: #FBF3EE; --brass: #C9A254; --brass-soft: #4A3D22; --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

/* page canvas (layout/mg-landing.liquid) */
body.mg-body { background: #F0E9DF; color: #2A2220; margin: 0; }
@media (prefers-color-scheme: dark) { body.mg-body { background: #1C1715; color: #F0E6DA; } }
html:has(body.mg-body) { scroll-behavior: auto; }
#MainContent:has(.mg) { display: flow-root; }
.mg *, .mg *::before, .mg *::after { box-sizing: border-box; }
.mg--surface { background: var(--surface); }
.mg--bordered { border-block: 1px solid var(--line); }

/* zero-specificity resets so component classes always win */
:where(.mg) :where(h1, h2, h3, h4, p, figure, ul, ol, blockquote) { margin: 0; }
.mg h1, .mg h2, .mg h3, .mg h4, .mg .mg-display {
  font-family: var(--mg-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: inherit;
  word-break: normal;
}
.mg h2 { font-size: clamp(32px, 4vw, 46px); }
.mg h3 { font-size: 25px; }
.mg a { color: var(--burgundy); }
.mg strong, .mg b { font-weight: 500; }
.mg img { max-width: 100%; display: block; }

.mg-wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.mg-wrap--narrow { max-width: 820px; }
.mg-wrap--faq { max-width: 860px; }
.mg-pad { padding-block: clamp(56px, 8vw, 104px); }
.mg-pad--tight { padding-block: clamp(32px, 5vw, 56px); }
.mg-pad--none { padding-block: 0; }

.mg-eyebrow { display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--brass); }
.mg-eyebrow + h2 { margin-top: 12px; }
.mg-lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; }

/* buttons */
.mg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; border-radius: 2px; font-family: var(--mg-sans); font-weight: 500; font-size: 15.5px;
  line-height: 1.25; letter-spacing: .02em; text-decoration: none; text-align: center;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease; cursor: pointer;
}
.mg a.mg-btn--primary, .mg-btn--primary { background: var(--burgundy); color: var(--burgundy-ink); }
.mg-btn--primary:hover { transform: translateY(-1px); }
.mg a.mg-btn--ghost, .mg-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.mg-btn:focus-visible, .mg summary:focus-visible, .mg a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.mg-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.mg-cta-row--center { justify-content: center; }
@media (max-width: 560px) {
  .mg-cta-row .mg-btn { flex: 1 1 100%; }
}

/* media + placeholders */
.mg-media { position: relative; width: 100%; overflow: hidden; background: var(--surface-2); }
.mg-media > img { width: 100%; height: 100%; object-fit: cover; }
.mg-ratio--4x5 { aspect-ratio: 4 / 5; }
.mg-ratio--1x1 { aspect-ratio: 1 / 1; }
.mg-ratio--3x2 { aspect-ratio: 3 / 2; }
.mg-ratio--16x9 { aspect-ratio: 16 / 9; }
.mg-ph {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--line) 35%, transparent) 0 6px, transparent 6px 14px), var(--surface-2);
  border: 1.5px dashed var(--line); color: var(--ink-2); font-family: var(--mg-sans); font-size: 12px; line-height: 1.4; letter-spacing: .04em;
}
.mg-ph::before { content: ""; display: block; width: 26px; height: 20px; border: 1.5px solid currentColor; border-radius: 4px; position: absolute; top: 12px; left: 12px; opacity: .6; }
.mg-ph::after { content: ""; position: absolute; top: 17px; left: 20px; width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 50%; opacity: .6; }
.mg-ph b { display: block; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; margin-bottom: 4px; color: var(--ink); }
.mg-ph small { display: block; opacity: .8; font-size: 12px; }

/* before / after */
.mg-ba { display: grid; gap: 12px; align-content: start; }
.mg-ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mg-ba__pair .mg-media { aspect-ratio: 4 / 5; }
.mg-ba__tag { position: absolute; bottom: 10px; left: 10px; z-index: 1; padding: 3px 8px; border-radius: 2px; background: var(--ink); color: var(--surface); font-size: 10px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.mg-ba__cap { font-size: 13.5px; color: var(--ink-2); }
.mg-ba__cap strong, .mg-ba__cap b { font-weight: 500; color: var(--ink); }
@media (max-width: 400px) {
  .mg-ph { padding: 10px 8px; }
  .mg-ba__pair .mg-ph small { display: none; }
}

/* ---------- anchor nav (topbar) ---------- */
.mg-topbar { position: relative; background: color-mix(in srgb, var(--ground) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease, background-color .3s ease; }
.mg-topbar .mg-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; transition: padding .3s ease; }
.mg-topbar.is-scrolled { background: color-mix(in srgb, var(--ground) 94%, transparent); box-shadow: 0 10px 28px -22px rgba(0, 0, 0, .55); }
.mg-topbar.is-scrolled .mg-wrap { padding-block: 8px; }
.mg-brand__name, .mg-brand__sub { transition: font-size .3s ease, opacity .3s ease, max-height .3s ease; }
.mg-brand__sub { max-height: 2em; overflow: hidden; }
.mg-topbar.is-scrolled .mg-brand__name { font-size: 19px; }
/* scroll progress line */
.mg-topbar__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
/* hide-on-scroll-down (mobile) is applied to the section wrapper */
.shopify-section:has(> .mg-topbar), .mg-navwrap { transition: transform .35s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.shopify-section.mg-nav-hidden, .mg-navwrap.mg-nav-hidden { transform: translateY(-100%); }
/* static HTML version: sticky wrapper around the nav */
.mg-navwrap { position: sticky; top: 0; z-index: 40; }
/* nav links: hover underline + sliding active indicator */
.mg-topbar nav { position: relative; }
.mg.mg-topbar nav a { position: relative; padding-block: 6px; transition: color .2s ease; }
.mg.mg-topbar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease; }
.mg.mg-topbar nav a:hover::after { transform: scaleX(1); }
.mg.mg-topbar nav a.is-active { color: var(--ink); }
.mg-topbar__indicator { position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--brass); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.65, 0, .35, 1), width .45s cubic-bezier(.65, 0, .35, 1), opacity .3s ease; }
.mg-brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; min-width: 0; }
.mg a.mg-brand { color: var(--ink); }
.mg-brand__name { font-family: var(--mg-serif); font-size: 21.5px; font-weight: 600; }
.mg-brand__sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.mg-topbar nav { display: flex; gap: 22px; font-size: 14.5px; }
.mg.mg-topbar nav a { color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.mg.mg-topbar nav a:hover { color: var(--burgundy); }
.mg-topbar .mg-btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 1100px) { .mg-topbar .mg-btn { display: none; } }
/* EN | ES switch */
.mg-lang { display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.mg.mg-topbar .mg-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 30px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; letter-spacing: .1em; color: var(--ink-2); text-decoration: none; transition: background-color .25s ease, color .25s ease; }
.mg.mg-topbar .mg-lang a:hover { color: var(--burgundy); }
.mg.mg-topbar .mg-lang a.is-current { background: var(--burgundy); color: var(--burgundy-ink); }
.mg.mg-topbar .mg-lang a::after { content: none; }
@media (max-width: 860px) {
  .mg-topbar .mg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding-block: 10px 0; }
  .mg-topbar nav { grid-column: 1 / -1; }
  .mg-lang { grid-column: 2; grid-row: 1; }
  .mg.mg-topbar .mg-lang a { min-height: 32px; }
  .mg-brand__name { font-size: 19px; }
  .mg-brand__sub { font-size: 10px; }
  /* mobile: horizontal scroll chips instead of hiding the nav */
  .mg-topbar nav { gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 10px; margin-inline: -20px; padding-inline: 20px; }
  .mg-topbar nav::-webkit-scrollbar { display: none; }
  .mg.mg-topbar nav a { flex: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--surface); transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
  .mg.mg-topbar nav a::after, .mg-topbar__indicator { display: none; }
  .mg.mg-topbar nav a.is-active { background: var(--burgundy); border-color: var(--burgundy); color: var(--burgundy-ink); }
  .mg-topbar.is-scrolled .mg-wrap { padding-block: 8px 0; gap: 6px; }
  .mg-topbar.is-scrolled .mg-brand__name { font-size: 17px; }
  .mg-topbar.is-scrolled .mg-brand__sub { max-height: 0; opacity: 0; }
  .mg-topbar.is-scrolled nav { padding-bottom: 8px; }
}

/* ---------- hero ---------- */
.mg-hero { padding-block: clamp(40px, 6vw, 84px); }
.mg-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.mg-hero__grid > * { min-width: 0; }
@media (max-width: 860px) { .mg-hero__grid { grid-template-columns: 1fr; } }
.mg-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.mg-rating__stars { color: var(--brass); letter-spacing: .1em; }
.mg .mg-rating a { color: var(--ink-2); }
.mg-hero h1 { font-size: clamp(42px, 7vw, 83px); font-weight: 500; }
.mg-hero h1 small { display: block; font-size: .42em; font-weight: 400; font-style: italic; color: var(--ink-2); margin-top: .35em; letter-spacing: 0; line-height: 1.2; }
.mg-hero__entity { margin-top: 22px; font-size: 16.5px; color: var(--ink-2); max-width: 60ch; }
.mg-hero__claim { margin-top: 20px; font-family: var(--mg-serif); font-size: 24px; line-height: 1.3; max-width: 34ch; }
.mg-benefits { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.mg-benefits li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.mg-benefits li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--brass); }
.mg-benefits strong, .mg-benefits b { font-weight: 500; color: var(--ink); }
.mg-hero .mg-cta-row { margin-top: 30px; }
.mg-riskstrip { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.mg-riskstrip span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-right: 8px; vertical-align: middle; }
.mg-faces { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; min-width: 0; }
.mg-faces .mg-media { width: 44px; height: 44px; border-radius: 50%; padding: 0; flex: none; }
.mg-faces .mg-ph::before, .mg-faces .mg-ph::after { display: none; }
.mg-faces__text { flex: 1 1 160px; min-width: 0; font-size: 13px; color: var(--ink-2); }
.mg-portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; align-items: flex-end; }
.mg-portrait::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--brass-soft); pointer-events: none; z-index: 2; }
.mg-portrait__mono { position: absolute; top: 8%; left: 0; right: 0; text-align: center; font-family: var(--mg-serif); font-size: clamp(112px, 18vw, 176px); line-height: 1; color: var(--burgundy); opacity: .14; font-weight: 600; }
.mg-portrait__media { position: absolute !important; inset: 14px; width: auto; aspect-ratio: auto !important; }
.mg-portrait__media.mg-ph { align-items: flex-start; padding-top: 48px; }
.mg-portrait__cap { position: relative; z-index: 1; width: 100%; padding: 26px 28px; font-family: var(--mg-serif); font-size: 21.5px; line-height: 1.25; }
.mg-portrait--has-image .mg-portrait__cap { margin: 14px; padding: 18px 20px; background: linear-gradient(0deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface) 70%, transparent)); }
.mg-portrait__cap small { display: block; font-family: var(--mg-sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 860px) {
  .mg-portrait { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .mg-hero__claim { font-size: 21px; }
  .mg-hero__entity { font-size: 15.5px; }
  .mg-portrait__cap { padding: 20px 22px; font-size: 19px; }
}

/* ---------- ticker ---------- */
.mg-ticker { max-width: 100%; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; white-space: nowrap; }
.mg-ticker__track { display: inline-flex; padding-block: 12px; animation: mg-tick var(--mg-tick-speed, 42s) linear infinite; }
.mg-ticker__track span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-inline: 26px; border-right: 1px solid var(--line); }
@keyframes mg-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mg-ticker__track { animation: none !important; } }

/* ---------- trust bar ---------- */
.mg-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mg-trust > div { background: var(--surface); padding: 24px 22px; }
.mg-trust h3 { font-size: 21.5px; margin-bottom: 6px; }
.mg-trust p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .mg-trust { grid-template-columns: 1fr; } }

/* ---------- bio ---------- */
.mg-bio { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.mg-bio > * { min-width: 0; }
@media (max-width: 860px) { .mg-bio { grid-template-columns: 1fr; } }
.mg-bio__text { margin-top: 22px; }
.mg-bio__text p + p { margin-top: 16px; }
.mg-bio__aside { display: grid; gap: 18px; }
.mg-quote { margin: 0; padding: 28px 30px; border-left: 2px solid var(--brass); background: var(--surface); font-family: var(--mg-serif); font-size: 25px; line-height: 1.3; font-style: italic; }
.mg-quote cite { display: block; margin-top: 14px; font-family: var(--mg-sans); font-style: normal; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.mg-chips { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.mg-chips li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.mg-chips li i { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); display: block; }
@media (max-width: 560px) {
  .mg-quote { padding: 22px 20px; font-size: 22px; }
}

/* ---------- tables ---------- */
.mg-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--surface); }
.mg-table { border-collapse: collapse; width: 100%; font-size: 15px; box-shadow: none; table-layout: auto; }
.mg-table th, .mg-table td { text-align: left; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mg-table th { font-weight: 500; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--surface-2); }
.mg-table tbody tr:last-child td { border-bottom: 0; }
.mg-table td:first-child { font-weight: 500; }
.mg-tablewrap--compare td:first-child { color: var(--ink-2); font-weight: 400; font-size: 12.8px; letter-spacing: .1em; text-transform: uppercase; }
.mg-tablewrap--compare th:nth-child(2), .mg-tablewrap--compare td:nth-child(2) { background: color-mix(in srgb, var(--brass-soft) 45%, var(--surface)); font-weight: 500; }
@media (max-width: 640px) {
  /* 2-column facts table: stack label over value, no horizontal scroll */
  .mg-tablewrap--facts .mg-table td { display: block; padding: 0 16px; border: 0; }
  .mg-tablewrap--facts .mg-table td:first-child { padding-top: 14px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
  .mg-tablewrap--facts .mg-table td:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .mg-tablewrap--facts .mg-table tr:last-child td:last-child { border-bottom: 0; }

  /* multi-column comparison tables: one card per row, each cell labelled */
  .mg-tablewrap--cards { overflow: visible; border: 0; background: transparent; }
  .mg-tablewrap--cards .mg-table, .mg-tablewrap--cards tbody, .mg-tablewrap--cards tr, .mg-tablewrap--cards td { display: block; width: 100%; }
  .mg-tablewrap--cards thead { display: none; }
  .mg-tablewrap--cards tr { border: 1px solid var(--line); background: var(--surface); }
  .mg-tablewrap--cards tr + tr { margin-top: 10px; }
  .mg-tablewrap--cards td { display: grid; grid-template-columns: minmax(96px, 38%) 1fr; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: transparent !important; }
  .mg-tablewrap--cards td::before { content: attr(data-label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; }
  .mg-tablewrap--cards tr td:last-child { border-bottom: 0; }
  .mg-tablewrap--cards td:first-child { display: block; background: var(--surface-2) !important; color: var(--ink); font-weight: 500; font-size: 12.5px; }
  .mg-tablewrap--cards td:first-child::before { content: none; }
  .mg-tablewrap--compare.mg-tablewrap--cards td:nth-child(2) { background: color-mix(in srgb, var(--brass-soft) 45%, var(--surface)) !important; }
}

/* ---------- service blocks ---------- */
.mg-svc { display: grid; grid-template-columns: .38fr .62fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.mg-svc > * { min-width: 0; }
.mg-svc__head { position: sticky; top: calc(var(--mg-nav-h, 72px) + var(--mg-sticky-gap, 24px)); }
.mg-svc__head .mg-eyebrow { display: block; margin-bottom: 12px; }
.mg-svc__head .mg-eyebrow + h2 { margin-top: 0; }
.mg-svc__head p { margin-top: 16px; color: var(--ink-2); }
.mg-svc__head .mg-cta-row { margin-top: 22px; }
@media (max-width: 860px) {
  .mg-svc { grid-template-columns: 1fr; }
  .mg-svc__head { position: static; }
}
.mg-svc__body > * + * { margin-top: 26px; }
.mg-svc__body > .mg-svc__h { margin-top: 34px; }
.mg-svc__body > .mg-svc__h + * { margin-top: 12px; }
.mg-svc__body > .mg-svc__h + .mg-mech { margin-top: 18px; }
.mg-svc__body > .mg-stack + .mg-stack { margin-top: 18px; }
.mg-svc__body > :first-child { margin-top: 0; }
.mg-direct { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); font-size: 16.5px; }
.mg--surface .mg-direct { background: var(--ground); }
.mg-direct strong, .mg-direct b { font-weight: 500; }
.mg-mech { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .mg-mech { grid-template-columns: 1fr; } }
.mg-mech li { padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.mg--surface .mg-mech li { background: var(--ground); }
.mg-mech__num { font-family: var(--mg-serif); font-size: 38px; line-height: 1; color: var(--brass); }
.mg-mech li h3 { margin: 8px 0; }
.mg-mech li p { font-size: 15px; color: var(--ink-2); }
.mg-stack h3 { margin-bottom: 6px; }
.mg-stack p { color: var(--ink-2); }
.mg-note { padding: 16px 18px; background: var(--brass-soft); color: var(--ink); font-size: 15px; border-left: 2px solid var(--brass); }
.mg-objection { padding: 26px 28px; background: var(--burgundy); color: var(--burgundy-ink); }
.mg-objection h3 { color: var(--burgundy-ink); }
.mg-objection p { color: color-mix(in srgb, var(--burgundy-ink) 82%, transparent); margin-top: 8px; }
.mg-objection ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.mg-objection ol li { padding-left: 6px; }
.mg-objection strong, .mg-objection b { color: var(--burgundy-ink); }
.mg-objection a { color: var(--burgundy-ink); }
@media (max-width: 560px) {
  .mg-direct { padding: 18px; font-size: 16px; }
  .mg-mech li { padding: 18px; }
  .mg-objection { padding: 22px 20px; }
}

/* ---------- objection section ---------- */
.mg-trustsec .mg-objection { margin-top: 28px; }
.mg-trustsec .mg-objection ol { margin-top: 0; }

/* ---------- concern router ---------- */
.mg-router__lede { margin: 18px 0 26px; }
.mg-router { display: grid; gap: 0; border: 1px solid var(--line); background: var(--surface); }
.mg-router > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.mg-router > div:last-child { border-bottom: 0; }
.mg-router__concern { font-family: var(--mg-serif); font-size: 21px; line-height: 1.25; }
.mg-router__fix { font-size: 15px; color: var(--ink-2); }
@media (max-width: 640px) {
  .mg-router > div { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .mg-router__fix { padding-left: 14px; border-left: 2px solid var(--brass-soft); }
}

/* ---------- results gallery ---------- */
.mg-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 18px; margin-top: 30px; }
@media (max-width: 860px) { .mg-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mg-gallery { grid-template-columns: 1fr; gap: 28px; } }
.mg-gallery-note { margin-top: 18px; font-size: 12.8px; color: var(--ink-2); max-width: 70ch; }

/* ---------- reviews ---------- */
.mg-proof { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.mg-proof__text p { color: var(--ink-2); margin-top: 10px; }
.mg-proof__score { text-align: center; }
.mg-proof__big { font-family: var(--mg-serif); font-size: 58px; line-height: 1; color: var(--burgundy); }
.mg-proof__score .mg-btn { margin-top: 10px; }
@media (max-width: 760px) {
  .mg-proof { grid-template-columns: 1fr; }
  .mg-proof__score { display: flex; align-items: center; gap: 16px; text-align: left; flex-wrap: wrap; }
  .mg-proof__score .mg-btn { margin-top: 0; flex: 1 1 200px; }
}
.mg-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 860px) { .mg-reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mg-reviews { grid-template-columns: 1fr; } }
.mg-rev { margin: 0; padding: 22px 22px 18px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mg--surface .mg-rev { background: var(--ground); }
.mg-rev__stars { color: var(--brass); letter-spacing: .12em; font-size: 14.5px; }
.mg-rev blockquote { margin: 0; padding: 0; border: 0; font-family: var(--mg-serif); font-size: 20px; line-height: 1.35; flex: 1; font-style: normal; }
.mg-rev figcaption { font-size: 13px; font-weight: 500; }
.mg-rev figcaption span { color: var(--ink-2); font-weight: 300; }
.mg-reviews-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }

/* ---------- faq ---------- */
.mg-faq__title { margin-bottom: 18px; }
.mg-reviewed { font-size: 13px; color: var(--ink-2); margin-bottom: 22px; }
.mg-faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mg-faq details { border-bottom: 1px solid var(--line); }
.mg-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--mg-serif); font-size: 23px; line-height: 1.25; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.mg-faq summary::-webkit-details-marker { display: none; }
.mg-faq summary::after { content: "+"; font-family: var(--mg-sans); font-weight: 300; font-size: 26px; line-height: 1; color: var(--brass); flex: none; }
.mg-faq details[open] summary::after { content: "\2212"; }
.mg-faq__answer { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.mg-faq__answer p + p { margin-top: 12px; }
@media (max-width: 560px) {
  .mg-faq summary { font-size: 20px; padding: 18px 0; }
}

/* ---------- closing ---------- */
.mg-closing { background: var(--burgundy); color: var(--burgundy-ink); text-align: center; }
.mg-closing .mg-eyebrow { color: var(--brass-soft); }
.mg-closing h2 { color: var(--burgundy-ink); font-size: clamp(36px, 5.5vw, 64px); }
.mg-closing p { margin: 16px auto 0; max-width: 52ch; color: color-mix(in srgb, var(--burgundy-ink) 82%, transparent); }
.mg-closing .mg-cta-row { margin-top: 28px; justify-content: center; }
.mg.mg-closing a.mg-btn--primary, .mg-closing a.mg-btn--primary { background: var(--burgundy-ink); color: var(--burgundy); }
.mg.mg-closing a.mg-btn--ghost, .mg-closing a.mg-btn--ghost { color: var(--burgundy-ink); border-color: color-mix(in srgb, var(--burgundy-ink) 40%, transparent); }

/* ---------- info footer ---------- */
.mg-foot { padding-block: 40px 28px; font-size: 14px; color: var(--ink-2); }
.mg-foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .mg-foot__cols { grid-template-columns: 1fr; } }
.mg.mg-foot h4 { margin: 0 0 8px; font-family: var(--mg-sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); line-height: 1.4; }
.mg.mg-foot a { color: var(--ink-2); }
.mg-foot address { font-style: normal; }
.mg-foot__extra { margin-top: 10px; }
.mg-foot__links { list-style: none; padding: 0; }
.mg-foot__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; }

/* ---------- sticky mobile bar ---------- */
.mg-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(42, 34, 32, .5); }
.mg-mbar__text { flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.mg-mbar .mg-btn { flex: none; padding: 12px 16px; font-size: 14px; white-space: nowrap; }
@media (max-width: 860px) {
  .mg-mbar { display: flex; }
  body.mg-has-mbar { padding-bottom: 76px; }
}
@media (max-width: 420px) {
  .mg-mbar__text { display: none; }
  .mg-mbar .mg-btn { flex: 1 1 auto; white-space: normal; }
}

/* ---------- scroll animations ---------- */
/* reveal on scroll (classes added by mg-landing.js, never in the theme editor) */
.mg-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--mg-rv-i, 0) * 70ms); }
.mg-rv.mg-rv--in { opacity: 1; transform: none; }
/* the sticky service column must not keep a transform (it would break position:sticky) */
.mg-svc__head.mg-rv.mg-rv--in { transform: none; }

/* arrival: section reached through a # link */
@keyframes mg-arrive-title { 0% { opacity: .35; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes mg-arrive-line { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.mg-arrive h2 { animation: mg-arrive-title .7s cubic-bezier(.2, .7, .2, 1) both; }
.mg-arrive .mg-eyebrow { position: relative; }
.mg-arrive .mg-eyebrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--brass); transform-origin: 0 50%; animation: mg-arrive-line 1.3s ease both; }
.mg-arrive:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .mg-rv { opacity: 1; transform: none; transition: none; }
  .mg-arrive h2, .mg-arrive .mg-eyebrow::after { animation: none; }
  .shopify-section:has(> .mg-topbar), .mg-navwrap, .mg-topbar, .mg-topbar .mg-wrap, .mg-topbar__indicator { transition: none; }
}

/* ---------- standalone page basics (static HTML version) ---------- */
body.mg-body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.mg-skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 16px; background: #6E1F2B; color: #FBF3EE; font: 500 14px "Jost", system-ui, sans-serif; text-decoration: none; }
.mg-skip:focus { left: 12px; }
