:root { --mua-menu-lime: #d8ff36; --mua-dot-size: 2.7px; --mua-grid-size: 20.7px; }


.mua-dot-toggle { position: fixed; right: var(--gutter, 5vw); top: 20px; z-index: 1002; width: 50.5px; height: 50.5px; padding: 14.9px; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mua-dot-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.8px; width: var(--mua-grid-size); height: var(--mua-grid-size); }
.mua-menu-dot { width: var(--mua-dot-size); height: var(--mua-dot-size); align-self: center; justify-self: center; border-radius: 50%; background: #000; transition: background 320ms, opacity 160ms; }
.mua-menu-dot.snake { background: var(--mua-menu-lime); }
.mua-dot-toggle.is-open .mua-menu-dot { background: var(--mua-menu-lime); opacity: .22; }
.mua-dot-toggle.is-open .mua-menu-dot.is-active { opacity: 1; }
.mua-dot-toggle.is-growing .mua-menu-dot.is-active { opacity: 0; }
.mua-dot-bloom { pointer-events: none; position: absolute; width: var(--mua-dot-size); height: var(--mua-dot-size); border-radius: 50%; background: rgb(216 255 54 / .32); opacity: 0; }
.mua-dot-toggle:focus-visible { outline: 2px solid var(--mua-menu-lime); outline-offset: 5px; }
.mua-dot-overlay { position: fixed; inset: 0; z-index: 1000; max-width: none; max-height: none; width: 100%; height: 100%; height: 100dvh; margin: 0; border: 0; padding: clamp(100px, 16vh, 180px) var(--gutter, 5vw) 40px; background: #000; color: var(--mua-menu-lime); overflow-y: auto; }
.mua-dot-overlay::backdrop { background: #000; }
.mua-dot-overlay[open] { display: flex; flex-direction: column; justify-content: space-between; }
/* The toggle lives inside the modal while open, keeping it in the top layer. */
.mua-dot-overlay nav { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(10px, 2vh, 24px); }
.mua-dot-overlay nav a { font: 500 clamp(2.6rem, 7.8vw, 7.5rem)/1.05 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.055em; color: #fff; text-decoration: none; transition: color 160ms; }
.mua-dot-overlay nav a:hover, .mua-dot-overlay nav a:focus-visible { color: var(--mua-menu-lime); outline: none; }
.mua-dot-menu-caption { color: #aaa; font-size: 1rem; margin-top: 40px; }
@media(max-width: 600px) { .mua-dot-toggle { top: 12px; } }
@media(prefers-reduced-motion: reduce) { .mua-menu-dot, .mua-dot-overlay nav a { transition: none; } }

.mua-dot-bloom::after { content: ""; position: absolute; width: var(--mua-dot-size); height: var(--mua-dot-size); left: 30%; top: 27%; border-radius: 50%; background: var(--mua-menu-lime); }
.mua-dot-toggle.is-growing .mua-menu-dot { opacity: 0; }

/* Two-tone backdrop filters keep every cursor pixel in the brand palette. */
.mua-agency-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d8ff36;
  background: transparent;
  backdrop-filter: url(#mua-agency-cursor-light);
  -webkit-backdrop-filter: url(#mua-agency-cursor-light);
  pointer-events: none;
  z-index: 2147483647;
  opacity: 0;
  transition: width 220ms ease, height 220ms ease, opacity 140ms ease;
  will-change: transform;
}
.mua-agency-cursor.is-visible { opacity: 1; }
.mua-agency-cursor.is-link { width: 48px; height: 48px; }
.mua-agency-cursor.is-down { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) {
  html.has-mua-agency-cursor, html.has-mua-agency-cursor * { cursor: none !important; }
  html.has-mua-agency-cursor input, html.has-mua-agency-cursor textarea,
  html.has-mua-agency-cursor [contenteditable="true"] { cursor: text !important; }
  html.has-mua-agency-cursor video { cursor: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mua-agency-cursor { transition: none; }
}

.mua-agency-cursor.on-dark { backdrop-filter: url(#mua-agency-cursor-dark); -webkit-backdrop-filter: url(#mua-agency-cursor-dark); }

/* On light text surfaces: black disk with lime lettering. */
.mua-agency-cursor.over-text:not(.on-dark) { backdrop-filter: url(#mua-agency-cursor-dark); -webkit-backdrop-filter: url(#mua-agency-cursor-dark); }
.mua-agency-cursor.over-text { width: 56px; height: 56px; }
.mua-agency-cursor.over-text.is-down { width: 24px; height: 24px; }

.mua-dot-toggle, .mua-dot-toggle *, .mua-dot-overlay, .mua-dot-overlay * { box-sizing: border-box; }
.mua-dot-overlay:not([open]) { display: none; }
.mua-dot-overlay nav { margin: 0; padding: 0; }
.mua-dot-toggle { line-height: 1; box-shadow: none; min-width: 0; }
body.admin-bar .mua-dot-toggle { margin-top: 32px; }
@media(max-width:782px) { body.admin-bar .mua-dot-toggle { margin-top:46px; } }
