/* One menu: the homepage cloud, dimensions and motion targets. */
.m-site-menu{--color-primary:#2BB5C8;--color-secondary:#EF6055;--font-display:'Nunito',sans-serif;--radius-pill:999px;--ease-smooth:cubic-bezier(.4,0,.2,1);font-family:'Nunito',sans-serif}
body.m-content-page .m-site-menu{--wp-admin-offset:var(--m-content-admin,0px)}
.m-site-menu .screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.m-site-menu button{margin:0;padding:0;border:0;font:inherit;cursor:pointer;box-sizing:border-box}
.m-header__backdrop, .m-header__burger, .m-header__burger-icon-wrap { position: fixed; top: var(--wp-admin-offset); right: 0; width: 220px; height: 150px; transform-origin: top right; }
.m-header__backdrop { background: #fff; transform: scale(0); z-index: 999; pointer-events: none; will-change: transform; }
.m-header__burger { background: url(../svg/zone1/cloud-corner-right.svg) top right / cover no-repeat; filter: drop-shadow(0 4px 16px rgba(0,0,0,.15)); z-index: 1000; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.m-header__burger:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: -18px; }
.m-header__burger-icon-wrap { display: grid; place-items: center; pointer-events: none; z-index: 1110; }
.m-header__burger-icon { display: grid; gap: 8px; margin-top: 6%; }
.m-header__burger-icon > span { display: block; width: 40px; height: 5px; border-radius: var(--radius-pill); background: var(--color-primary); transition: transform .3s var(--ease-smooth), opacity .25s var(--ease-smooth); }
.m-header__burger[aria-expanded="true"] ~ .m-header__burger-icon-wrap .m-header__burger-icon > span:nth-child(1) { transform: translateY(13px) rotate(45deg); }
.m-header__burger[aria-expanded="true"] ~ .m-header__burger-icon-wrap .m-header__burger-icon > span:nth-child(2) { opacity: 0; }
.m-header__burger[aria-expanded="true"] ~ .m-header__burger-icon-wrap .m-header__burger-icon > span:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }
.m-menu { position: fixed; top: var(--wp-admin-offset); right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 5rem 1rem 2rem; pointer-events: none; z-index: 1100; }
.m-menu__link { display: block; padding: .22rem 1rem; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: .02em; line-height: 1.05; text-align: center; color: var(--color-primary); opacity: 0; transform: translateY(20px); pointer-events: none; }
.m-menu__link:hover, .m-menu__link:focus-visible { color: var(--color-secondary); outline: none; }
.m-menu.is-open .m-menu__link, .m-menu.is-open .m-menu__action { pointer-events: auto; }
.m-menu__actions { display: flex; gap: 10px; margin-top: 10px; opacity: 0; transform: translateY(20px); }
.m-menu__action { display: inline-block; }
@media(max-width:767px){
  .m-header__burger, .m-header__backdrop, .m-header__burger-icon-wrap { width: 132px; height: 94px; }
  .m-header__burger-icon { gap: 6px; }
  .m-header__burger-icon > span { width: 29px; height: 4px; }
  .m-header__burger[aria-expanded="true"] ~ .m-header__burger-icon-wrap .m-header__burger-icon > span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .m-header__burger[aria-expanded="true"] ~ .m-header__burger-icon-wrap .m-header__burger-icon > span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .m-menu__link { font-size: 20px; }
}
@media(min-width:768px) and (max-width:1023px){.m-header__burger,.m-header__backdrop,.m-header__burger-icon-wrap{width:180px;height:125px}.m-menu__link{font-size:26px}}
.m-menu__action { padding: 10px 18px; border-radius: var(--radius-pill); color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 4px 12px rgba(43,181,200,.18); }
.m-menu__action--newsletter { background: var(--color-primary); }
.m-menu__action--contact { background: var(--color-secondary); }
.m-menu__action:hover, .m-menu__action:focus-visible { transform: translateY(-2px); outline: 3px solid #fff; outline-offset: 2px; }

.m-site-menu .m-menu__link{color:var(--color-primary);text-decoration:none;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
.m-site-menu .m-menu__link:hover,.m-site-menu .m-menu__link:focus-visible{color:var(--color-secondary)}
.m-site-menu .m-menu__action{color:#fff;box-sizing:border-box;line-height:1.4}
.m-site-menu .m-menu{overflow-y:auto;visibility:hidden}
body.m-menu-open .m-header,body.m-menu-open .m-content-header{z-index:2000}
.m-site-menu:not(.is-ready)>.m-header__burger,.m-site-menu:not(.is-ready)>.m-header__backdrop,.m-site-menu:not(.is-ready)>.m-header__burger-icon-wrap,.m-site-menu:not(.is-ready)>.m-menu{display:none}
.m-site-menu.is-ready>.m-site-menu__fallback{display:none}
.m-site-menu__fallback>summary{position:fixed;right:0;top:var(--wp-admin-offset,0px);width:220px;height:150px;display:grid;place-items:center;cursor:pointer;list-style:none;background:url(../svg/zone1/cloud-corner-right.svg) top right/cover no-repeat;z-index:1110;pointer-events:auto}
.m-site-menu__fallback>summary::-webkit-details-marker{display:none}
.m-site-menu__fallback-panel{position:fixed;inset:var(--wp-admin-offset,0px) 0 0;background:#fff;overflow:auto;padding:5rem 1rem 2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;z-index:1100;pointer-events:auto}
.m-site-menu__fallback-panel .m-menu__link,.m-site-menu__fallback-panel .m-menu__actions{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.m-site-menu__fallback:not([open]) .m-site-menu__fallback-panel{display:none}
@media(max-width:767px){.m-site-menu__fallback>summary{width:132px;height:94px}}
@media(min-width:768px) and (max-width:1023px){.m-site-menu__fallback>summary{width:180px;height:125px}}
/* Reading mode retained on content pages; opening always uses the full home cloud. */
@media(max-width:1024px){
 body.m-content-page .m-site-menu.is-compact:not(.is-open)>.m-header__burger,body.m-content-page .m-site-menu.is-compact:not(.is-open)>.m-header__backdrop,body.m-content-page .m-site-menu.is-compact:not(.is-open)>.m-header__burger-icon-wrap{width:82px;height:56px;right:0;top:var(--wp-admin-offset)}
 body.m-content-page .m-site-menu.is-compact:not(.is-open) .m-header__burger-icon{gap:5px}
 body.m-content-page .m-site-menu.is-compact:not(.is-open) .m-header__burger-icon>span{width:23px;height:3px}
}
@media(prefers-reduced-motion:reduce){.m-site-menu *{transition:none!important}}

/* Keep the closed cloud shadow; do not magnify it into a gray full-screen band. */
.m-site-menu.is-open > .m-header__burger{filter:none}

/* Text-only red hover; keep a non-circular keyboard focus indicator. */
.m-site-menu .m-menu__link{transition:color .18s var(--ease-smooth)}
.m-site-menu .m-menu__link:focus-visible{text-decoration:underline;text-underline-offset:.16em}
/* Paint the complete source silhouette outside the unchanged button hit box.
   A CSS background clips at its owner's bottom, even with overflow:visible. */
.m-site-menu>.m-header__burger,.m-site-menu__fallback>summary{background:none;overflow:visible}
.m-site-menu>.m-header__burger::before,.m-site-menu__fallback>summary::before{content:"";position:absolute;right:-1px;top:-1px;width:calc(100% + 2px);aspect-ratio:2020.49 / 1431.74;background:url(../svg/zone1/cloud-corner-right.svg) center / 100% 100% no-repeat;pointer-events:none}
