/* Site-wide additions: mobile menu, form honeypot, responsive overrides */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
img,iframe{max-width:100%}
header{position:relative;z-index:30}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.mnav{display:none}
.mnav summary{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-right:-8px;color:#4b500e;cursor:pointer;list-style:none}
.mnav summary svg{width:34px;height:34px}
.mnav summary::-webkit-details-marker{display:none}
.mnav nav{position:absolute;left:0;right:0;top:100%;background:#ffffff;border-bottom:1px solid #d8d182;box-shadow:0 12px 24px rgba(49,53,15,.12);display:flex;flex-direction:column;padding:8px 20px 20px}
.mnav nav a{padding:14px 0;border-bottom:1px solid #ece8d6;text-decoration:none;font-weight:700;font-size:18px}
.mnav nav a.mnav-cta{margin-top:16px;border:0;border-radius:4px;background:#dfe777;color:#31350f;text-align:center;padding:16px}
button[type=submit]:disabled{opacity:.6;cursor:wait}

@media (max-width: 1100px){
  h1[style*="; width:"],h2[style*="; width:"],h3[style*="; width:"],p[style*="; width:"]{width:auto!important}
}
@media (max-width: 1000px){
  header nav[aria-label="Main"]{display:none!important}
  .mnav{display:block;flex:none}
  header > div{flex-wrap:nowrap!important}
  header > div > a{min-width:0}
}
@media (max-width: 640px){
  h1,h2,h3,p,span{white-space:normal!important}
  h1[style*="clamp("]{font-size:clamp(36px,10.5vw,46px)!important;line-height:1.08!important}
  h2[style*="clamp("]{font-size:clamp(30px,8.6vw,40px)!important;line-height:1.12!important}
  p[style*="font-size: 20px"]{font-size:19px!important;line-height:29px!important}
  p[style*="font-size: 19px"]{font-size:18px!important;line-height:28px!important}
  header a span[style*="font-size: 15px"]{font-size:13px!important;line-height:17px!important}
  header img[alt="MC monogram"]{width:44px!important;height:44px!important}
  header a span[style*="font-size: 26px"]{font-size:22px!important}
  a[style*="min-height: 52px"],a[style*="min-height: 60px"],button[type=submit]{width:100%;justify-content:center;box-sizing:border-box;text-align:center}
  div:has(> a[style*="min-height: 52px"]),div:has(> a[style*="min-height: 60px"]){justify-content:center!important;align-items:center!important;text-align:center}
  div:has(> a[style*="min-height: 52px"]) > p,div:has(> a[style*="min-height: 60px"]) > p{text-align:center}
  div[style*="flex-wrap: wrap"][style*="gap: 16px 28px"],div[style*="flex-wrap: wrap"][style*="gap: 16px 24px"]{justify-content:center!important}
  div[style*="flex-direction: column"][style*="gap: 22px; align-items: flex-start"],div[style*="flex-direction: column"][style*="gap: 20px; align-items: flex-start"]{align-items:center!important;text-align:center!important;width:100%;box-sizing:border-box}
  details summary{font-size:20px!important}
  section > div[style*="padding: clamp"]{gap:36px!important}
}

/* Header: sticks to top, hides on scroll down, returns on scroll up */
body > div[style*="overflow: hidden"]{overflow:visible!important;overflow-x:clip!important}
header{position:sticky;top:0;transition:transform .28s ease, box-shadow .28s ease;will-change:transform}
header.hdr-scrolled{box-shadow:0 6px 18px rgba(49,53,15,.08)}
header.hdr-hide{transform:translateY(-100%);box-shadow:none}
[id]{scroll-margin-top:24px}
@media (prefers-reduced-motion: reduce){header{transition:none}}
