/* ScoreWise mobile menu (2026-10-12), modelled on the silvercrestmanagement.com full-screen sheet.
   Shared by every page; markup is built by /js/sw-menu.js. Only active below 992 px (Webflow collapse point). */
.sw-m, .sw-burger { --swm-navy: #13213c; --swm-navy-2: #0b1526; --swm-lime: #b1fc03; --swm-teal: #275855; --swm-line: rgba(177, 252, 3, .16); --swm-ease: cubic-bezier(.32, .72, 0, 1); }

/* Burger: two lines that morph into an X */
.sw-burger { position: relative; display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(19, 33, 60, .9); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.sw-burger i { position: absolute; left: 14px; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .5s var(--swm-ease); }
.sw-burger i:first-child { top: 19px; }
.sw-burger i:last-child { top: 26px; }
.menu-button.sw-menu-on:hover .sw-burger i:first-child { transform: translateY(-1px); }
.menu-button.sw-menu-on:hover .sw-burger i:last-child { transform: translateY(1px); }
.menu-button.sw-menu-on[aria-expanded="true"] .sw-burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button.sw-menu-on[aria-expanded="true"] .sw-burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media screen and (max-width: 991px) {
  .menu-button.sw-menu-on { display: flex; align-items: center; justify-content: center; padding: 0; background: none; }
  .menu-button.sw-menu-on .w-icon-nav-menu { display: none; }
  .menu-button.sw-menu-on .sw-burger { display: block; }
  .menu-button.sw-menu-on:focus-visible { outline: none; }
  .menu-button.sw-menu-on:focus-visible .sw-burger { outline: 2px solid var(--swm-lime); outline-offset: 3px; }
}

/* Sheet */
.sw-m { position: fixed; inset: 0; z-index: 2147483646; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(120% 60% at 100% 0%, rgba(177, 252, 3, .16), transparent 60%), radial-gradient(90% 50% at 0% 100%, rgba(39, 88, 85, .55), transparent 65%), var(--swm-navy);
  opacity: 0; transform: translateY(-12px); transition: opacity .5s var(--swm-ease), transform .6s var(--swm-ease); font-family: Suisseintl, sans-serif; }
.sw-m[hidden] { display: none; }
.sw-m.is-open { opacity: 1; transform: none; }
.sw-m a, .sw-m button { -webkit-tap-highlight-color: transparent; }
.sw-m a:focus-visible, .sw-m button:focus-visible { outline: 2px solid var(--swm-lime); outline-offset: 3px; }
.sw-m-top { flex: none; display: flex; align-items: center; justify-content: space-between; height: 76px; padding: env(safe-area-inset-top) 20px 0; }
.sw-m-brand { display: flex; align-items: center; min-height: 44px; }
.sw-m-brand img { display: block; width: 160px; height: auto; }
.sw-m-close { position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); cursor: pointer; }
.sw-m-close i { position: absolute; left: 14px; top: 22px; width: 18px; height: 1.5px; border-radius: 2px; background: #fff; }
.sw-m-close i:first-child { transform: rotate(45deg); }
.sw-m-close i:last-child { transform: rotate(-45deg); }
.sw-m-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 22px max(24px, env(safe-area-inset-bottom)); }
.sw-m-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--swm-line); }
.sw-m-row { border-bottom: 1px solid var(--swm-line); opacity: 0; transform: translateY(22px); transition: opacity .6s var(--swm-ease), transform .7s var(--swm-ease); }
.sw-m.is-open .sw-m-row { opacity: 1; transform: none; }
.sw-m-link { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 8px 0; color: #fff; text-decoration: none; font: 700 28px/1.05 Suisseintl, sans-serif; letter-spacing: -.025em; }
.sw-m-link[aria-current="page"] { color: var(--swm-lime); }
.sw-m-num { flex: none; width: 24px; font: 600 11px/1 Suisseintl, sans-serif; letter-spacing: .14em; color: rgba(177, 252, 3, .75); }
.sw-m-go { margin-left: auto; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .5s var(--swm-ease), background-color .3s; }
.sw-m-go svg { width: 15px; height: 15px; }
.sw-m-link:hover .sw-m-go { transform: translate(2px, -1px); background: rgba(255, 255, 255, .08); }
.sw-m-actions.sw-m-row { border: 0; margin-top: 22px; display: grid; gap: 10px; }
.sw-m-call { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; background: var(--swm-lime); color: var(--swm-navy); text-decoration: none; font: 600 17px/1 Suisseintl, sans-serif; }
.sw-m-call svg { width: 18px; height: 18px; }
.sw-m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sw-m-tile { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-height: 72px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font: 600 16px/1.2 Suisseintl, sans-serif; text-align: left; border: 0; cursor: pointer; }
.sw-m-tile small { font: 700 10.5px/1 Suisseintl, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(177, 252, 3, .8); }
.sw-m-tile.sw-m-chat { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 16px; }
.sw-m-chat .sw-m-chat-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--swm-lime); }
.sw-m-chat .sw-m-chat-ic svg { width: 19px; height: 19px; }
.sw-m-chat span:last-child { display: flex; flex-direction: column; gap: 4px; }
.sw-m-chat small { letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, .7); }
html.sw-m-locked, html.sw-m-locked body { overflow: hidden; }
@media screen and (min-width: 992px) { .sw-m { display: none !important; } }
@media screen and (min-width: 600px) { .sw-m-body { width: min(560px, 100%); margin: 0 auto; } .sw-m-link { font-size: 34px; min-height: 72px; } }
@media (prefers-reduced-motion: reduce) { .sw-m, .sw-m *, .sw-burger i { transition-duration: 0s !important; transition-delay: 0s !important; } }

/* Vector logo (2026-10-12): crisp at any density, readable on the green hero on phones */
.site-brand { max-width: none; }
.site-logo.sw-logo { width: 200px; height: auto; aspect-ratio: 5 / 1; padding-left: 0; }
.footer-logo.sw-logo { width: 240px; max-width: 100%; height: auto; aspect-ratio: 5 / 1; }
@media screen and (max-width: 991px) { .site-logo.sw-logo { width: 170px; } }
@media screen and (max-width: 767px) { .site-logo.sw-logo { width: 160px; } }
@media screen and (max-width: 359px) { .site-logo.sw-logo { width: 140px; } }
@media screen and (max-width: 991px) { .site-brand { flex: none; } }
@media screen and (max-width: 991px) { .menu-button.sw-menu-extra { display: none !important; } }
@media screen and (max-width: 380px) { .site-logo.sw-logo { width: 136px; } .navbar-wrapper .link-3, .navbar-wrapper .link-4 { font-size: 13.5px; padding: 0 2px; } }

/* Dashboard v2 captures (2026-10-12): keep their own aspect ratio inside the old Webflow slots */
img[data-sw-dash]:not(.blog-image):not(.blog-detils-image) { height: auto; }
img[data-sw-dash].blog-image, img[data-sw-dash].blog-detils-image { object-fit: cover; object-position: top left; }
