/* Site-wide theme: a deeper near-black with a finer, stronger film grain. Loaded after the Webflow CSS. */
:root{--mmh-bg:#0b0c0d;--mmh-bg-raised:#111314}
html,body,.body{background-color:var(--mmh-bg)!important}
.body{background-image:none!important}
/* Grain: an SVG noise tile on a fixed layer above everything, ignoring clicks. */
body::after{content:"";position:fixed;inset:-50%;width:200%;height:200%;pointer-events:none;z-index:9999;opacity:.11;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size:180px 180px;mix-blend-mode:overlay;animation:mmh-grain 1.2s steps(6) infinite}
@keyframes mmh-grain{0%{transform:translate(0,0)}20%{transform:translate(-3%,2%)}40%{transform:translate(2%,-3%)}60%{transform:translate(-2%,-1%)}80%{transform:translate(3%,3%)}100%{transform:translate(0,0)}}
@media (prefers-reduced-motion:reduce){body::after{animation:none}}
/* Panels and the nav dropdown pick up the deeper tone. */
.navbar-dropdown-inner,.cart-container{background-color:var(--mmh-bg-raised)!important;background-image:none!important}
/* Home services block: left align the intro paragraph under its heading and tighten the gap above it. */
.section-home-services .text-block-2{text-align:left!important;max-width:34rem}
.section-home-services .padding-vertical.padding-xxhuge{padding-top:5rem!important;padding-bottom:5rem!important}
.home-services-grid{align-items:start}
/* Stop sideways scrolling on phones (several Webflow sections overflow at 390px). */
html,body{overflow-x:clip}
/* Contact fallback line under the form. */
.mmh-contact-alt{margin-top:1.5rem;color:#a7acb1;font-size:1rem}
.mmh-contact-alt a{color:#fff;text-decoration:underline;text-underline-offset:3px}
/* Layout fixes (audit 2026-12-02): category chips wrap instead of running off screen; project meta stays inside the phone width. */
.projects-categories-list{flex-wrap:wrap}
@media screen and (max-width:767px){
  .project-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%}
  .project-meta-item{min-width:0}
  .project-services-list{flex-wrap:wrap;justify-content:center}
  .project-meta-item .text-meta-link{overflow-wrap:anywhere}
}
/* Project pages: keep the fixed previous/next bar from covering the end of the footer. */
.project-pagination + .footer{padding-bottom:80px}
