/* 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;
  }
}


/* 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;
  }
}
