/* Homepage and product HERO labels removed · 2026-07-21 */
html body.home .mm-hero .mm-hero-category,
html body .mms-hero .mms-status,
html body .mmp-hero .mmp-status,
html body .mmm-hero .mmm-status,
html body .mmt-hero .mmt-status {
  display: none !important;
}

/* Remove the theme flow gap before the shared footer · 2026-07-22 */
html body:not(.home) .wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: 0 !important;
}
html body .entry-content > p.wp-block-paragraph:empty,
html body .entry-content > p:empty:last-child {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

/* Meiimo shared layout corrections: 2026-07-20
   Centralized here so page copy stays editable without page-level CSS. */

/* Section labels: same visual level as the homepage section label */
html body .mm-sec .mms-eyebrow,
html body .mm-spot .mmp-eyebrow,
html body .mm-muse .mmm-eyebrow,
html body .mm-petm .mmt-eyebrow,
html body .mm-about .mma-eyebrow,
html body .mm-contact .mmc-eyebrow,
html body .mm-demo .mmd-eyebrow {
  font-size: 17px !important;
  line-height: 1.65 !important;
  font-weight: 750 !important;
  letter-spacing: .035em !important;
}

/* Secretary process labels */
html body .mms-tour-copy > span {
  font-size: 17px !important;
  line-height: 1.65 !important;
  letter-spacing: .035em !important;
}

/* Homepage Hero: optical balance between Business sans and LifeStyle serif */
html body .mm-hero-slide.mm-hero-slide-business h1 {
  font-size: clamp(42px, 4.8vw, 64px) !important;
  line-height: 1.05 !important;
}

/* Decorative artwork stays anchored to the card bottom-right */
html body .mm-belief-box::after {
  top: auto !important;
  right: -100px !important;
  bottom: -80px !important;
  left: auto !important;
}
html body .mma-invest-box::after {
  top: auto !important;
  right: -90px !important;
  bottom: -100px !important;
  left: auto !important;
}

/* Homepage card copy follows the actual card padding */
.mm-belief-box > h2,
.mm-belief-box > p:not(.mm-eyebrow) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
.mm-belief-box > h2 { min-height: 0 !important; }
.mm-product-panel,
.mm-life-panel {
  height: auto !important;
  min-width: 0 !important;
}
.mm-product-panel { min-height: 402px !important; }
.mm-life-panel { min-height: 336px !important; }
.mm-product-panel h4,
.mm-life-panel h4 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}
.mm-product-panel > .mm-flow {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Secretary cards: copy uses the full inner width */
.mms-pain > span,
.mms-pain > b,
.mms-pain > p:not(:has(.mms-pain-watermark)),
.mms-v2-grid > article > strong,
.mms-v2-grid > article > span {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}
.mms-pain > p:has(> .mms-pain-watermark) {
  position: static !important;
  width: 0 !important;
  max-width: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mms-pain,
.mms-v2-grid > article {
  position: relative !important;
  overflow: hidden !important;
  min-width: 0 !important;
  height: auto !important;
}
.mms-pain-watermark,
.mms-v2-watermark { z-index: 0 !important; }


/* Spotlight friction cards: copy follows the actual card padding */
.mmp-friction > article > i,
.mmp-friction > article > b,
.mmp-friction > article > p {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}
.mmp-friction > article {
  position: relative !important;
  overflow: hidden !important;
  min-width: 0 !important;
  height: auto !important;
}
.mmp-friction-watermark { z-index: 0 !important; }

/* LifeStyle cards: copy and notes follow the card padding */
.mmm-card > b,
.mmm-card > p,
.mmt-card > b,
.mmt-card > p,
.mmm-note > h2,
.mmm-note > p:not(.mmm-eyebrow),
.mmt-note > h2,
.mmt-note > p:not(.mmt-eyebrow) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}
.mmm-card,
.mmt-card {
  position: relative !important;
  overflow: hidden !important;
  min-width: 0 !important;
  height: auto !important;
}
.mmm-card-mark,
.mmt-card-mark { z-index: 0 !important; }

/* About partnership card */
.mma-invest-box > p:not(.mma-eyebrow) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

@media (max-width: 760px) {
  html body .mm-hero-slide.mm-hero-slide-business h1 {
    font-size: clamp(38px, 10vw, 42px) !important;
  }
  .mm-product-panel,
  .mm-life-panel {
    height: auto !important;
    min-height: 0 !important;
  }
  html body .mm-sec .mms-eyebrow,
  html body .mm-spot .mmp-eyebrow,
  html body .mm-muse .mmm-eyebrow,
  html body .mm-petm .mmt-eyebrow,
  html body .mm-about .mma-eyebrow,
  html body .mm-contact .mmc-eyebrow,
  html body .mm-demo .mmd-eyebrow,
  html body .mms-tour-copy > span {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
}

/* Homepage product cards: centered content with full inner width */
#business .mm-product-panel,
#lifestyle .mm-life-panel {
  align-items: center !important;
  text-align: center !important;
}
#business .mm-product-panel > .mm-product-logo,
#lifestyle .mm-life-panel > .mm-life-logo {
  display: block !important;
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#business .mm-product-panel > h4,
#lifestyle .mm-life-panel > h4,
#business .mm-product-panel > .mm-flow,
#business .mm-product-panel > .mm-card-footer,
#lifestyle .mm-life-panel > .mm-card-footer {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#business .mm-product-panel > h4,
#lifestyle .mm-life-panel > h4 {
  text-align: center !important;
}
#business .mm-product-panel > .mm-flow {
  justify-content: center !important;
  text-align: center !important;
}
#business .mm-product-panel > .mm-flow > *,
#business .mm-product-panel > .mm-card-footer,
#lifestyle .mm-life-panel > .mm-card-footer {
  justify-content: center !important;
  text-align: center !important;
}
#business .mm-card-link,
#lifestyle .mm-card-link {
  justify-content: center !important;
  text-align: center !important;
}


/* About Hero: match the homepage glass edge */
.mm-about .mma-hero > p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (min-width: 761px) {
  .mm-about .mma-wrap {
    width: 61.538% !important;
  }
}
@media (max-width: 760px) {
  .mm-about .mma-wrap {
    width: 100% !important;
  }
}


/* Hero glass alignment across all primary pages */
html body .mm-about .mma-hero > p:empty,
html body .mm-muse .mmm-hero > p,
html body .mm-petm .mmt-hero > p {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
@media (min-width: 761px) {
  html body .mm-about .mma-hero .mma-wrap,
  html body .mm-contact .mmc-hero .mmc-wrap,
  html body .mm-demo .mmd-hero .mmd-wrap,
  html body .mm-muse .mmm-hero .mmm-content,
  html body .mm-petm .mmt-hero .mmt-content {
    width: 61.538% !important;
  }
}
@media (max-width: 760px) {
  html body .mm-about .mma-hero .mma-wrap,
  html body .mm-contact .mmc-hero .mmc-wrap,
  html body .mm-demo .mmd-hero .mmd-wrap,
  html body .mm-muse .mmm-hero .mmm-content,
  html body .mm-petm .mmt-hero .mmt-content {
    width: 100% !important;
  }
}


/* Hero content rhythm and supporting-page title scale */
html body .mm-muse .mmm-content > p:empty,
html body .mm-petm .mmt-content > p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body .mm-about .mma-hero h1,
html body .mm-contact .mmc-hero h1,
html body .mm-demo .mmd-hero h1 {
  max-width: 800px !important;
  font-size: clamp(54px, 4.7vw, 78px) !important;
  font-weight: 720 !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
}
@media (max-width: 760px) {
  html body .mm-about .mma-hero h1,
  html body .mm-contact .mmc-hero h1,
  html body .mm-demo .mmd-hero h1 {
    font-size: clamp(44px, 11vw, 58px) !important;
  }
}


/* HERO responsive normalization · 2026-07-21 */
html body .mm-hero p:empty,
html body .mms-hero p:empty,
html body .mmp-hero p:empty,
html body .mmm-hero p:empty,
html body .mmt-hero p:empty,
html body .mma-hero p:empty,
html body .mmc-hero p:empty,
html body .mmd-hero p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

html body .mm-about .mma-hero h1,
html body .mm-contact .mmc-hero h1,
html body .mm-demo .mmd-hero h1 {
  max-width: 800px !important;
  font-size: clamp(54px, 4.8vw, 78px) !important;
  font-weight: 720 !important;
  line-height: 1.05 !important;
  letter-spacing: -.055em !important;
}

/* Keep the photographic subject clear of the left glass field. */
@media (min-width: 761px) {
  html body .mm-hero .mm-hero-bg {
    width: 106% !important;
    max-width: none !important;
    transform-origin: left center !important;
  }
  html body .mms-hero .mms-visual > img,
  html body .mmp-hero .mmp-visual > img,
  html body .mmm-hero .mmm-hero-photo,
  html body .mmt-hero .mmt-hero-photo,
  html body .mma-hero .mma-hero-photo,
  html body .mmc-hero .mmc-hero-photo,
  html body .mmd-hero .mmd-hero-photo {
    width: 108% !important;
    max-width: none !important;
    transform-origin: left center !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  html body .mm-hero .mm-hero-bg {
    width: 110% !important;
  }
  html body .mms-hero .mms-visual > img,
  html body .mmp-hero .mmp-visual > img,
  html body .mmm-hero .mmm-hero-photo,
  html body .mmt-hero .mmt-hero-photo,
  html body .mma-hero .mma-hero-photo,
  html body .mmc-hero .mmc-hero-photo,
  html body .mmd-hero .mmd-hero-photo {
    width: 112% !important;
  }
}

@media (max-width: 760px) {
  html body .mm-about .mma-hero h1,
  html body .mm-contact .mmc-hero h1,
  html body .mm-demo .mmd-hero h1 {
    font-size: 38px !important;
    line-height: 1.05 !important;
    letter-spacing: -.055em !important;
  }

  html body .mm-about .mma-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  html body .mm-hero .mm-hero-bg,
  html body .mms-hero .mms-visual > img,
  html body .mmp-hero .mmp-visual > img,
  html body .mmm-hero .mmm-hero-photo,
  html body .mmt-hero .mmt-hero-photo,
  html body .mma-hero .mma-hero-photo,
  html body .mmc-hero .mmc-hero-photo,
  html body .mmd-hero .mmd-hero-photo {
    object-position: 48% 50% !important;
  }
  html body .mmm-hero .mmm-hero-photo {
    object-position: 48% 18% !important;
  }
  html body .mmt-hero .mmt-hero-photo {
    object-position: 48% 34% !important;
  }
}

/* Short desktop windows: let the copy determine the HERO height. */
@media (min-width: 761px) and (max-height: 900px) {
  html body .mm-hero,
  html body .mm-hero .mm-hero-slide,
  html body .mms-hero,
  html body .mmp-hero,
  html body .mmm-hero,
  html body .mmt-hero,
  html body .mma-hero,
  html body .mmc-hero,
  html body .mmd-hero {
    height: auto !important;
    min-height: 700px !important;
  }

  html body .mm-hero .mm-hero-panel,
  html body .mms-hero > div:first-of-type,
  html body .mmp-hero > div:first-of-type,
  html body .mmm-hero .mmm-content,
  html body .mmt-hero .mmt-content,
  html body .mma-hero .mma-wrap,
  html body .mmc-hero .mmc-wrap,
  html body .mmd-hero .mmd-wrap {
    min-height: 700px !important;
    box-sizing: border-box !important;
  }

  html body .mm-hero .mm-hero-copy {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
}


/* Product HERO-to-content spacing normalization · 2026-07-21 */
html body .mms-hero + .mms-section,
html body .mmm-hero + .mmm-section,
html body .mmt-hero + .mmt-section {
  padding-top: 56px !important;
}
@media (max-width: 760px) {
  html body .mms-hero + .mms-section,
  html body .mmm-hero + .mmm-section,
  html body .mmt-hero + .mmt-section {
    padding-top: 48px !important;
  }
}


/* Remove block-editor spacer paragraphs immediately before HERO roots. */
html body .entry-content > p:empty:has(+ .mm-sec),
html body .entry-content > p:empty:has(+ .mm-spot),
html body .entry-content > p:empty:has(+ .mm-muse),
html body .entry-content > p:empty:has(+ .mm-petm),
html body .entry-content > p:empty:has(+ .mm-about),
html body .entry-content > p:empty:has(+ .mm-contact),
html body .entry-content > p:empty:has(+ .mm-demo) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}


/* Neutralize the theme flow line that precedes these product HERO roots. */
html body .entry-content > .mm-sec,
html body .entry-content > .mm-muse,
html body .entry-content > .mm-petm {
  margin-top: -17px !important;
}


/* Unified HERO type scale · 2026-07-21 */
@media (min-width: 761px) {
  html body .mm-hero h1,
  html body .mm-about .mma-hero h1,
  html body .mm-contact .mmc-hero h1,
  html body .mm-demo .mmd-hero h1 {
    font-size: clamp(54px, 4.7vw, 74px) !important;
    line-height: 1.02 !important;
  }

  html body .mms-hero h1,
  html body .mmp-hero h1,
  html body .mmm-hero h1,
  html body .mmt-hero h1 {
    font-size: clamp(34px, 3.5vw, 50px) !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 760px) {
  html body .mm-hero h1,
  html body .mm-about .mma-hero h1,
  html body .mm-contact .mmc-hero h1,
  html body .mm-demo .mmd-hero h1 {
    font-size: 38px !important;
    line-height: 1.05 !important;
  }

  html body .mms-hero h1,
  html body .mmp-hero h1,
  html body .mmm-hero h1,
  html body .mmt-hero h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }
}


/* Homepage slide headline specificity guard · earlier copy · 2026-07-21 */
@media (min-width: 761px) {
  html body .mm-hero .mm-hero-slide h1 {
    font-size: clamp(54px, 4.7vw, 74px) !important;
    line-height: 1.02 !important;
  }
}
@media (max-width: 760px) {
  html body .mm-hero .mm-hero-slide h1 {
    font-size: 38px !important;
    line-height: 1.05 !important;
  }
}

/* LifeStyle HERO gradient anchoring · 2026-07-21 */
html body .mm-muse .mmm-hero,
html body .mm-petm .mmt-hero {
  isolation: isolate !important;
}

html body .mm-muse .mmm-hero::before,
html body .mm-petm .mmt-hero::before {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  top: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 61.538% !important;
  height: 100% !important;
  pointer-events: none !important;
}

html body .mm-muse .mmm-hero::before {
  background: linear-gradient(90deg,
    rgba(66,30,45,.94) 0%,
    rgba(78,39,55,.82) 56%,
    rgba(78,39,55,.32) 80%,
    rgba(78,39,55,0) 100%) !important;
}

html body .mm-petm .mmt-hero::before {
  background: linear-gradient(90deg,
    rgba(57,43,33,.94) 0%,
    rgba(70,53,40,.82) 56%,
    rgba(70,53,40,.32) 80%,
    rgba(70,53,40,0) 100%) !important;
}

html body .mm-muse .mmm-hero .mmm-content,
html body .mm-petm .mmt-hero .mmt-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 100% !important;
  min-height: 0 !important;
  background: transparent !important;
}
html body .mm-muse .mmm-hero > .mmm-wrap,
html body .mm-petm .mmt-hero > .mmt-wrap {
  position: relative !important;
  z-index: 2 !important;
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: stretch !important;
}

@media (max-width: 760px) {
  html body .mm-muse .mmm-hero::before,
  html body .mm-petm .mmt-hero::before {
    width: 100% !important;
  }

  html body .mm-muse .mmm-hero::before {
    background: linear-gradient(90deg,
      rgba(66,30,45,.92) 0%,
      rgba(78,39,55,.68) 72%,
      rgba(78,39,55,.18) 100%) !important;
  }

  html body .mm-petm .mmt-hero::before {
    background: linear-gradient(90deg,
      rgba(57,43,33,.93) 0%,
      rgba(70,53,40,.69) 72%,
      rgba(70,53,40,.19) 100%) !important;
  }
}

/* Unified HERO canvas across every public page · 2026-07-21 */
html body {
  --mm-unified-hero-height: 700px;
}

html body .mm-hero.mm-hero-immersive,
html body .mms-hero,
html body .mmp-hero,
html body .mmm-hero,
html body .mmt-hero,
html body .mma-hero,
html body .mmc-hero,
html body .mmd-hero {
  height: var(--mm-unified-hero-height) !important;
  min-height: var(--mm-unified-hero-height) !important;
  max-height: var(--mm-unified-hero-height) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body .mm-hero .mm-hero-slide,
html body .mm-hero .mm-hero-panel,
html body .mms-hero-grid,
html body .mms-hero-grid > div:first-child,
html body .mmp-hero-grid,
html body .mmp-hero-grid > div:first-child,
html body .mmp-hero .mmp-stage,
html body .mmm-hero .mmm-content,
html body .mmt-hero .mmt-content,
html body .mma-hero .mma-wrap,
html body .mmc-hero .mmc-wrap,
html body .mmd-hero .mmd-wrap {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  box-sizing: border-box !important;
}

html body .mm-hero .mm-hero-bg,
html body .mms-hero .mms-visual,
html body .mms-hero .mms-visual > img,
html body .mmp-hero .mmp-stage,
html body .mmp-hero .mmp-stage > img,
html body .mmm-hero .mmm-hero-photo,
html body .mmt-hero .mmt-hero-photo,
html body .mma-hero .mma-hero-photo,
html body .mmc-hero .mmc-hero-photo,
html body .mmd-hero .mmd-hero-photo {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
}

html body .mmd-hero .mmd-hero-photo {
  content: url("https://meiimo.com/wp-content/uploads/2026/07/meiimo-demo-hero-v1.png") !important;
  object-position: center center !important;
}

@media (max-width: 760px) {
  html body {
    --mm-unified-hero-height: 720px;
  }

  html body .mms-hero-grid > div:first-child,
  html body .mmp-hero-grid > div:first-child,
  html body .mmm-hero .mmm-content,
  html body .mmt-hero .mmt-content,
  html body .mma-hero .mma-wrap,
  html body .mmc-hero .mmc-wrap,
  html body .mmd-hero .mmd-wrap {
    padding-top: 72px !important;
    padding-bottom: 54px !important;
  }
}


/* Secretary and Spotlight HERO height parity · 2026-07-21 */
@media (min-width: 761px) and (max-height: 900px) {
  html body .mms-hero,
  html body .mms-hero-grid,
  html body .mms-hero-grid > div:first-child,
  html body .mms-hero .mms-visual > img,
  html body .mmp-hero,
  html body .mmp-hero-grid,
  html body .mmp-hero-grid > div:first-child {
    height: 700px !important;
    min-height: 700px !important;
    box-sizing: border-box !important;
  }
}

/* Final shared navigation and vertical-rhythm normalization · 2026-07-21 */
html body .mm-header,
html body .mm-header a,
html body .mm-header button,
html body .mm-nav,
html body .mm-menu,
html body .mm-mobile-menu,
html body .mm-mobile-panel,
html body .mm-mobile-panel a {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}
html body .mm-menu,
html body .mm-menu a,
html body .mm-mobile-panel > a {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}
html body .wp-site-blocks > p:empty,
html body .entry-content > p:empty,
html body .mm-site > p:empty,
html body main > p:empty,
html body main + p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
html body.home .mm-cta {
  padding-bottom: 72px !important;
}
html body .mm-spot .mmp-platforms > * { min-width: 0 !important; }
html body .mm-spot .mmp-platforms > div:last-child,
html body .mm-spot .mmp-platforms > div:last-child h2 {
  width: 100% !important;
  max-width: none !important;
}
@media (max-width: 850px) {
  html body .mm-spot .mmp-platforms {
    grid-template-columns: minmax(0,1fr) !important;
  }
}
@media (max-width: 760px) {
  html body.home .mm-company-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  html body.home .mm-company-grid > div:first-child { display: contents !important; }
  html body.home .mm-company-grid > div:first-child > .mm-eyebrow { order: 1; }
  html body.home .mm-company-grid > div:first-child > h2 { order: 2; }
  html body.home .mm-company-grid > div:first-child > .mm-section-copy { order: 3; }
  html body.home .mm-company-grid > .mm-values {
    order: 4;
    width: 100% !important;
    margin-top: 34px !important;
  }
  html body.home .mm-company-grid > div:first-child > .mm-actions {
    order: 5;
    width: 100% !important;
    margin-top: 30px !important;
    justify-content: center !important;
  }
  html body.home .mm-cta {
    padding-bottom: 54px !important;
  }
}

/* Shared header type, structural gap cleanup, and mobile company order · 2026-07-21 */
html body .mm-header,
html body .mm-header a,
html body .mm-nav,
html body .mm-menu,
html body .mm-mobile-menu,
html body .mm-mobile-panel {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}
html body .mm-menu,
html body .mm-mobile-panel > a {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}
html body .wp-site-blocks > p:empty,
html body .entry-content > p:empty,
html body .mm-site > p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
html body .mm-spot .mmp-platforms > * { min-width: 0 !important; }
html body .mm-spot .mmp-platforms > div:last-child,
html body .mm-spot .mmp-platforms > div:last-child h2 {
  width: 100% !important;
  max-width: none !important;
}
@media (max-width: 850px) {
  html body .mm-spot .mmp-platforms { grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-width: 760px) {
  html body.home .mm-company-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  html body.home .mm-company-grid > div:first-child { display: contents !important; }
  html body.home .mm-company-grid > div:first-child > .mm-eyebrow { order: 1; }
  html body.home .mm-company-grid > div:first-child > h2 { order: 2; }
  html body.home .mm-company-grid > div:first-child > .mm-section-copy { order: 3; }
  html body.home .mm-company-grid > .mm-values {
    order: 4;
    width: 100% !important;
    margin-top: 34px !important;
  }
  html body.home .mm-company-grid > div:first-child > .mm-actions {
    order: 5;
    width: 100% !important;
    margin-top: 30px !important;
    justify-content: center !important;
  }
}


/* Homepage company CTA: center across the full company section · 2026-07-21 */
html body.home .mm-company-grid {
  container-type: inline-size;
}
html body.home .mm-company-grid > div:first-child {
  min-width: 0 !important;
}
html body.home .mm-company-grid > div:first-child .mm-actions {
  width: 100cqw !important;
  max-width: none !important;
  justify-content: center !important;
}
/* Meiimo shared layout corrections: 2026-07-20
   Centralized here so page copy stays editable without page-level CSS. */

/* Section labels: same visual level as the homepage section label */
html body .mm-sec .mms-eyebrow,
html body .mm-spot .mmp-eyebrow,
html body .mm-muse .mmm-eyebrow,
html body .mm-petm .mmt-eyebrow,
html body .mm-about .mma-eyebrow,
html body .mm-contact .mmc-eyebrow,
html body .mm-demo .mmd-eyebrow {
  font-size: 17px !important;
  line-height: 1.65 !important;
  font-weight: 750 !important;
  letter-spacing: .035em !important;
}

/* Secretary process labels */
html body .mms-tour-copy > span {
  font-size: 17px !important;
  line-height: 1.65 !important;
  letter-spacing: .035em !important;
}

/* Homepage Hero: optical balance between Business sans and LifeStyle serif */
html body .mm-hero-slide.mm-hero-slide-business h1 {
  font-size: clamp(42px, 4.8vw, 64px) !important;
  line-height: 1.05 !important;
}

/* Decorative artwork stays anchored to the card bottom-right */
html body .mm-belief-box::after {
  top: auto !important;
  right: -100px !important;
  bottom: -80px !important;
  left: auto !important;
}
html body .mma-invest-box::after {
  top: auto !important;
  right: -90px !important;
  bottom: -100px !important;
  left: auto !important;
}

/* Homepage card copy follows the actual card padding */
.mm-belief-box > h2,
.mm-belief-box > p:not(.mm-eyebrow) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
.mm-belief-box > h2 { min-height: 0 !important; }
.mm-product-panel,
.mm-life-panel {
  height: auto !important;
  min-width: 0 !important;
}
.mm-product-panel { min-height: 402px !important; }
.mm-life-panel { min-height: 336px !important; }
.mm-product-panel h4,
.mm-life-panel h4 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}
.mm-product-panel > .mm-flow {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Secretary cards: copy uses the full inner width */
.mms-pain > span,
.mms-pain > b,
.mms-pain > p:not(:has(.mms-pain-watermark)),
.mms-v2-grid > article > strong,
.mms-v2-grid > article > span {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}
.mms-pain > p:has(> .mms-pain-watermark) {
  position: static !important;
  width: 0 !important;
  max-width: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mms-pain,
.mms-v2-grid > article {
  position: relative !important;
  overflow: hidden !important;
  min-width: 0 !important;
  height: auto !important;
}
.mms-pain-watermark,
.mms-v2-watermark { z-index: 0 !important; }


/* Spotlight friction cards: copy follows the actual card padding */
.mmp-friction > article > i,
.mmp-friction > article > b,
.mmp-friction > article > p {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}
.mmp-friction > article {
  position: relative !important;
  overflow: hidden !important;
  min-width: 0 !important;
  height: auto !important;
}
.mmp-friction-watermark { z-index: 0 !important; }

/* LifeStyle cards: copy and notes follow the card padding */
.mmm-card > b,
.mmm-card > p,
.mmt-card > b,
.mmt-card > p,
.mmm-note > h2,
.mmm-note > p:not(.mmm-eyebrow),
.mmt-note > h2,
.mmt-note > p:not(.mmt-eyebrow) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}
.mmm-card,
.mmt-card {
  position: relative !important;
  overflow: hidden !important;
  min-width: 0 !important;
  height: auto !important;
}
.mmm-card-mark,
.mmt-card-mark { z-index: 0 !important; }

/* About partnership card */
.mma-invest-box > p:not(.mma-eyebrow) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

@media (max-width: 760px) {
  html body .mm-hero-slide.mm-hero-slide-business h1 {
    font-size: clamp(38px, 10vw, 42px) !important;
  }
  .mm-product-panel,
  .mm-life-panel {
    height: auto !important;
    min-height: 0 !important;
  }
  html body .mm-sec .mms-eyebrow,
  html body .mm-spot .mmp-eyebrow,
  html body .mm-muse .mmm-eyebrow,
  html body .mm-petm .mmt-eyebrow,
  html body .mm-about .mma-eyebrow,
  html body .mm-contact .mmc-eyebrow,
  html body .mm-demo .mmd-eyebrow,
  html body .mms-tour-copy > span {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
}

/* Homepage product cards: centered content with full inner width */
#business .mm-product-panel,
#lifestyle .mm-life-panel {
  align-items: center !important;
  text-align: center !important;
}
#business .mm-product-panel > .mm-product-logo,
#lifestyle .mm-life-panel > .mm-life-logo {
  display: block !important;
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#business .mm-product-panel > h4,
#lifestyle .mm-life-panel > h4,
#business .mm-product-panel > .mm-flow,
#business .mm-product-panel > .mm-card-footer,
#lifestyle .mm-life-panel > .mm-card-footer {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#business .mm-product-panel > h4,
#lifestyle .mm-life-panel > h4 {
  text-align: center !important;
}
#business .mm-product-panel > .mm-flow {
  justify-content: center !important;
  text-align: center !important;
}
#business .mm-product-panel > .mm-flow > *,
#business .mm-product-panel > .mm-card-footer,
#lifestyle .mm-life-panel > .mm-card-footer {
  justify-content: center !important;
  text-align: center !important;
}
#business .mm-card-link,
#lifestyle .mm-card-link {
  justify-content: center !important;
  text-align: center !important;
}


/* About Hero: match the homepage glass edge */
.mm-about .mma-hero > p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (min-width: 761px) {
  .mm-about .mma-wrap {
    width: 61.538% !important;
  }
}
@media (max-width: 760px) {
  .mm-about .mma-wrap {
    width: 100% !important;
  }
}


/* Hero glass alignment across all primary pages */
html body .mm-about .mma-hero > p:empty,
html body .mm-muse .mmm-hero > p,
html body .mm-petm .mmt-hero > p {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
@media (min-width: 761px) {
  html body .mm-about .mma-hero .mma-wrap,
  html body .mm-contact .mmc-hero .mmc-wrap,
  html body .mm-demo .mmd-hero .mmd-wrap,
  html body .mm-muse .mmm-hero .mmm-content,
  html body .mm-petm .mmt-hero .mmt-content {
    width: 61.538% !important;
  }
}
@media (max-width: 760px) {
  html body .mm-about .mma-hero .mma-wrap,
  html body .mm-contact .mmc-hero .mmc-wrap,
  html body .mm-demo .mmd-hero .mmd-wrap,
  html body .mm-muse .mmm-hero .mmm-content,
  html body .mm-petm .mmt-hero .mmt-content {
    width: 100% !important;
  }
}


/* Hero content rhythm and supporting-page title scale */
html body .mm-muse .mmm-content > p:empty,
html body .mm-petm .mmt-content > p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body .mm-about .mma-hero h1,
html body .mm-contact .mmc-hero h1,
html body .mm-demo .mmd-hero h1 {
  max-width: 800px !important;
  font-size: clamp(54px, 4.7vw, 78px) !important;
  font-weight: 720 !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
}
@media (max-width: 760px) {
  html body .mm-about .mma-hero h1,
  html body .mm-contact .mmc-hero h1,
  html body .mm-demo .mmd-hero h1 {
    font-size: clamp(44px, 11vw, 58px) !important;
  }
}


/* HERO responsive normalization · 2026-07-21 */
html body .mm-hero p:empty,
html body .mms-hero p:empty,
html body .mmp-hero p:empty,
html body .mmm-hero p:empty,
html body .mmt-hero p:empty,
html body .mma-hero p:empty,
html body .mmc-hero p:empty,
html body .mmd-hero p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

html body .mm-about .mma-hero h1,
html body .mm-contact .mmc-hero h1,
html body .mm-demo .mmd-hero h1 {
  max-width: 800px !important;
  font-size: clamp(54px, 4.8vw, 78px) !important;
  font-weight: 720 !important;
  line-height: 1.05 !important;
  letter-spacing: -.055em !important;
}

/* Keep the photographic subject clear of the left glass field. */
@media (min-width: 761px) {
  html body .mm-hero .mm-hero-bg {
    width: 106% !important;
    max-width: none !important;
    transform-origin: left center !important;
  }
  html body .mms-hero .mms-visual > img,
  html body .mmp-hero .mmp-visual > img,
  html body .mmm-hero .mmm-hero-photo,
  html body .mmt-hero .mmt-hero-photo,
  html body .mma-hero .mma-hero-photo,
  html body .mmc-hero .mmc-hero-photo,
  html body .mmd-hero .mmd-hero-photo {
    width: 108% !important;
    max-width: none !important;
    transform-origin: left center !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  html body .mm-hero .mm-hero-bg {
    width: 110% !important;
  }
  html body .mms-hero .mms-visual > img,
  html body .mmp-hero .mmp-visual > img,
  html body .mmm-hero .mmm-hero-photo,
  html body .mmt-hero .mmt-hero-photo,
  html body .mma-hero .mma-hero-photo,
  html body .mmc-hero .mmc-hero-photo,
  html body .mmd-hero .mmd-hero-photo {
    width: 112% !important;
  }
}

@media (max-width: 760px) {
  html body .mm-about .mma-hero h1,
  html body .mm-contact .mmc-hero h1,
  html body .mm-demo .mmd-hero h1 {
    font-size: 38px !important;
    line-height: 1.05 !important;
    letter-spacing: -.055em !important;
  }

  html body .mm-about .mma-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  html body .mm-hero .mm-hero-bg,
  html body .mms-hero .mms-visual > img,
  html body .mmp-hero .mmp-visual > img,
  html body .mmm-hero .mmm-hero-photo,
  html body .mmt-hero .mmt-hero-photo,
  html body .mma-hero .mma-hero-photo,
  html body .mmc-hero .mmc-hero-photo,
  html body .mmd-hero .mmd-hero-photo {
    object-position: 48% 50% !important;
  }
  html body .mmm-hero .mmm-hero-photo {
    object-position: 48% 18% !important;
  }
  html body .mmt-hero .mmt-hero-photo {
    object-position: 48% 34% !important;
  }
}

/* Short desktop windows: let the copy determine the HERO height. */
@media (min-width: 761px) and (max-height: 900px) {
  html body .mm-hero,
  html body .mm-hero .mm-hero-slide,
  html body .mms-hero,
  html body .mmp-hero,
  html body .mmm-hero,
  html body .mmt-hero,
  html body .mma-hero,
  html body .mmc-hero,
  html body .mmd-hero {
    height: auto !important;
    min-height: 700px !important;
  }

  html body .mm-hero .mm-hero-panel,
  html body .mms-hero > div:first-of-type,
  html body .mmp-hero > div:first-of-type,
  html body .mmm-hero .mmm-content,
  html body .mmt-hero .mmt-content,
  html body .mma-hero .mma-wrap,
  html body .mmc-hero .mmc-wrap,
  html body .mmd-hero .mmd-wrap {
    min-height: 700px !important;
    box-sizing: border-box !important;
  }

  html body .mm-hero .mm-hero-copy {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
}


/* Product HERO-to-content spacing normalization · 2026-07-21 */
html body .mms-hero + .mms-section,
html body .mmm-hero + .mmm-section,
html body .mmt-hero + .mmt-section {
  padding-top: 56px !important;
}
@media (max-width: 760px) {
  html body .mms-hero + .mms-section,
  html body .mmm-hero + .mmm-section,
  html body .mmt-hero + .mmt-section {
    padding-top: 48px !important;
  }
}


/* Remove block-editor spacer paragraphs immediately before HERO roots. */
html body .entry-content > p:empty:has(+ .mm-sec),
html body .entry-content > p:empty:has(+ .mm-spot),
html body .entry-content > p:empty:has(+ .mm-muse),
html body .entry-content > p:empty:has(+ .mm-petm),
html body .entry-content > p:empty:has(+ .mm-about),
html body .entry-content > p:empty:has(+ .mm-contact),
html body .entry-content > p:empty:has(+ .mm-demo) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}


/* Neutralize the theme flow line that precedes these product HERO roots. */
html body .entry-content > .mm-sec,
html body .entry-content > .mm-muse,
html body .entry-content > .mm-petm {
  margin-top: -17px !important;
}


/* Unified HERO type scale · 2026-07-21 */
@media (min-width: 761px) {
  html body .mm-hero h1,
  html body .mm-about .mma-hero h1,
  html body .mm-contact .mmc-hero h1,
  html body .mm-demo .mmd-hero h1 {
    font-size: clamp(54px, 4.7vw, 74px) !important;
    line-height: 1.02 !important;
  }

  html body .mms-hero h1,
  html body .mmp-hero h1,
  html body .mmm-hero h1,
  html body .mmt-hero h1 {
    font-size: clamp(34px, 3.5vw, 50px) !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 760px) {
  html body .mm-hero h1,
  html body .mm-about .mma-hero h1,
  html body .mm-contact .mmc-hero h1,
  html body .mm-demo .mmd-hero h1 {
    font-size: 38px !important;
    line-height: 1.05 !important;
  }

  html body .mms-hero h1,
  html body .mmp-hero h1,
  html body .mmm-hero h1,
  html body .mmt-hero h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }
}


/* Homepage slide headline specificity guard · 2026-07-21 */
@media (min-width: 761px) {
  html body .mm-hero .mm-hero-slide h1 {
    font-size: clamp(54px, 4.7vw, 74px) !important;
    line-height: 1.02 !important;
  }
}
@media (max-width: 760px) {
  html body .mm-hero .mm-hero-slide h1 {
    font-size: 38px !important;
    line-height: 1.05 !important;
  }
}

/* Final LifeStyle HERO gradient anchor · 2026-07-21 */
html body .mm-muse .mmm-hero,
html body .mm-petm .mmt-hero {
  isolation: isolate !important;
}
html body .mm-muse .mmm-hero::before,
html body .mm-petm .mmt-hero::before {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 auto 0 0 !important;
  width: 61.538% !important;
  height: 100% !important;
  pointer-events: none !important;
}
html body .mm-muse .mmm-hero::before {
  background: linear-gradient(90deg,rgba(66,30,45,.94) 0%,rgba(78,39,55,.82) 56%,rgba(78,39,55,.32) 80%,rgba(78,39,55,0) 100%) !important;
}
html body .mm-petm .mmt-hero::before {
  background: linear-gradient(90deg,rgba(57,43,33,.94) 0%,rgba(70,53,40,.82) 56%,rgba(70,53,40,.32) 80%,rgba(70,53,40,0) 100%) !important;
}
html body .mm-muse .mmm-hero .mmm-content,
html body .mm-petm .mmt-hero .mmt-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 100% !important;
  min-height: 0 !important;
  background: transparent !important;
}
@media (max-width: 760px) {
  html body .mm-muse .mmm-hero::before,
  html body .mm-petm .mmt-hero::before {
    width: 100% !important;
  }
  html body .mm-muse .mmm-hero::before {
    background: linear-gradient(90deg,rgba(66,30,45,.92) 0%,rgba(78,39,55,.68) 72%,rgba(78,39,55,.18) 100%) !important;
  }
  html body .mm-petm .mmt-hero::before {
    background: linear-gradient(90deg,rgba(57,43,33,.93) 0%,rgba(70,53,40,.69) 72%,rgba(70,53,40,.19) 100%) !important;
  }
}
