/* Sparkline Studio: mobile full-screen menu (Swiss editorial overlay) and the "Slide to start a project" control.
   Mobile only (<= 860px). The desktop navigation is not touched. */
@media(max-width:860px){
#mb{-webkit-appearance:none;appearance:none;color:var(--ch);-webkit-tap-highlight-color:transparent}
html.mo,html.mo body{overflow:hidden}
html.mo header{opacity:0;pointer-events:none;transition:opacity .2s}

#mm{background:#1F1F1F;color:#F2F1EC;display:flex;flex-direction:column;justify-content:flex-start;gap:0;
  padding:env(safe-area-inset-top,0px) max(var(--pad),env(safe-area-inset-right,0px)) max(env(safe-area-inset-bottom,0px),16px) max(var(--pad),env(safe-area-inset-left,0px));
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent}
@supports(height:100dvh){#mm{height:100dvh;bottom:auto}}
#mm :focus-visible{outline:2px solid #CFEE58;outline-offset:3px;box-shadow:none}

/* header row: logo left, custom Close right */
#mm .mm-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
#mm .mm-head .wm{display:flex;align-items:center;line-height:0;text-decoration:none}
#mm .mm-head .wm img{display:block;height:36px;width:auto}
#mm .mm-close{-webkit-appearance:none;appearance:none;margin:0;min-width:44px;min-height:44px;padding:0 18px;border:1.5px solid rgba(242,241,236,.55);border-radius:2px;background:transparent;color:#F2F1EC;
  font:500 14px/1 var(--f);letter-spacing:0;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .25s,color .25s,border-color .25s}
#mm .mm-close:active{background:#CFEE58;border-color:#CFEE58;color:#1F1F1F}
@media(hover:hover) and (pointer:fine){#mm .mm-close:hover{background:#CFEE58;border-color:#CFEE58;color:#1F1F1F}}

/* navigation */
#mm .mm-nav{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:center;padding-block:clamp(6px,2svh,24px)}
#mm .mm-nav a{display:block;font-size:clamp(34px,min(12.2vw,6.7svh),64px);line-height:1.04;letter-spacing:-.045em;font-weight:500;color:#F2F1EC;text-decoration:none;
  padding:.2em 0;border-top:1px solid rgba(242,241,236,.14);-webkit-tap-highlight-color:transparent;transition:color .2s}
#mm .mm-nav a:last-of-type,#mm .mm-nav a:last-child{color:#F2F1EC;border-bottom:1px solid rgba(242,241,236,.14)}
#mm .mm-nav a:active{color:#CFEE58}
@media(hover:hover) and (pointer:fine){#mm .mm-nav a:hover{color:#CFEE58}}

/* footer: slide control, tap fallback, tagline */
#mm .mm-foot{flex:none;display:grid;gap:6px;padding-top:clamp(12px,2.4svh,22px)}
#mm .ms-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0}
#mm .ms-track{--p:0;--ms-h:64px;--ms-hd:56px;--ms-pad:4px;position:relative;height:var(--ms-h);border-radius:999px;background:#303030;overflow:hidden;
  user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:pan-y}
@media(max-height:640px){#mm .ms-track{--ms-h:58px;--ms-hd:50px}}
#mm .ms-fill{position:absolute;inset:0 auto 0 0;width:calc(var(--ms-pad) + var(--ms-hd) + (100% - var(--ms-hd) - 2 * var(--ms-pad)) * var(--p));background:rgba(207,238,88,.16);border-radius:inherit;pointer-events:none;opacity:min(1,calc(var(--p) * 8))}
#mm .ms-track:not(.drag) .ms-fill{transition:width .35s cubic-bezier(.2,.8,.2,1)}
#mm .ms-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding-inline:calc(var(--ms-hd) + var(--ms-pad) + 10px) 18px;text-align:center;
  font:500 16px/1.2 var(--f);letter-spacing:-.01em;color:#F2F1EC;opacity:calc(1 - var(--p) * 1.35);pointer-events:none;white-space:nowrap}
#mm .ms-track.ok .ms-label{opacity:1}
#mm .ms-handle{position:absolute;top:var(--ms-pad);left:var(--ms-pad);width:var(--ms-hd);height:var(--ms-hd);border-radius:50%;background:#CFEE58;display:grid;place-items:center;
  touch-action:none;cursor:grab;will-change:transform;-webkit-tap-highlight-color:transparent;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
#mm .ms-track.drag .ms-handle{transition:none;cursor:grabbing}
#mm .ms-handle img{display:block;width:28px;height:28px;pointer-events:none;-webkit-user-drag:none;user-select:none}
#mm .ms-track.ok .ms-handle{box-shadow:0 0 0 6px rgba(207,238,88,.28)}
#mm .ms-handle.nudge{animation:msn .6s cubic-bezier(.3,.7,.3,1)}
@keyframes msn{40%{translate:14px 0}}
#mm .ms-alt{display:inline-flex;align-items:center;justify-self:start;min-height:45px;font-size:15px;color:#F2F1EC;text-decoration:underline;text-decoration-color:rgba(207,238,88,.85);text-decoration-thickness:1px;text-underline-offset:4px;-webkit-tap-highlight-color:transparent}
#mm .ms-tag{margin:0;font-size:14px;line-height:1.4;color:#A8A8A2}
@media(max-height:600px){#mm .mm-head{min-height:60px}}

@media(prefers-reduced-motion:reduce){
#mm .ms-handle,#mm .ms-track:not(.drag) .ms-fill,#mm .mm-close,#mm .mm-nav a,html.mo header{transition:none}
#mm .ms-handle.nudge{animation:none}}
}
