/* MNV site-wide design foundation — Projects visual language */
:root{
  --mnv-font-ui:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mnv-font-display:var(--mnv-font-ui);
  --mnv-bg:#060916;--mnv-surface:#0d1222;--mnv-surface-raised:#11182b;--mnv-surface-soft:#10172a;
  --mnv-border:rgba(151,171,205,.16);--mnv-text:#f7f8fc;--mnv-muted:#aebbcf;--mnv-dim:#78889f;
  --mnv-purple:#a34dff;--mnv-cyan:#39d8ff;--mnv-pink:#ff53ce;
  --mnv-gradient:linear-gradient(95deg,#b779ff,#6ddfff);
  --mnv-radius:22px;--mnv-radius-lg:34px;--mnv-shadow:0 28px 80px rgba(0,0,0,.34)
}
html{color-scheme:dark;background:var(--mnv-bg)}
html body{font-family:var(--mnv-font-ui)!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body :where(h1,h2,h3,h4,h5,h6,p,a,button,input,textarea,select,label,summary,small,strong,b,em,span){font-family:var(--mnv-font-ui)!important}
button,input,textarea,select{font-family:var(--mnv-font-ui)!important}
code,pre,kbd,samp{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}
.mnv-sitebar,.mnv-footer,.mnv-sitebar button,.mnv-sitebar input,.mnv-sitebar a{font-family:var(--mnv-font-ui)!important}
:focus-visible{outline:2px solid var(--mnv-cyan);outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Site-wide width safety: components may decorate outside their box, but never widen the document. */
html,body{max-width:100%;overflow-x:clip}
main,section,article,.mnv2-main{min-width:0;max-width:100%}
.projects-hero{width:100%;max-width:100%;min-width:0}
.projects-hero::after{max-width:none;contain:paint}
[hidden]{display:none!important}

/* Typography authority v3 — Projects page is the canonical MNV type treatment. */
body h1{
  font-family:var(--mnv-font-ui)!important;
  font-weight:900!important;
  letter-spacing:-.065em;
}
body h2{
  font-family:var(--mnv-font-ui)!important;
  font-weight:900!important;
}
body h3,body h4,body h5,body h6{
  font-family:var(--mnv-font-ui)!important;
  font-weight:800!important;
}
