/*
Theme Name: Mebotiz Electric Neon Cyberpunk Glass
Theme URI: https://mebotiz.com
Author: Mebotiz
Description: Mebotiz — Premium futuristic glassmorphism dark SaaS theme with deep obsidian backgrounds, layered radial gradient lighting, and Apple/Linear-level glass card depth.
Version: 4.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mebotiz-neon
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  --ink: #ffffff;
  /* ── Text steps ──
     These four carry copy and nothing else, so they are tuned purely for
     legibility on --bg. Raised from 0.92/0.72/0.62/0.50: body text was
     reading too dim against the obsidian background.
     Approx contrast on #040612: 90 ≈ 17:1 · 70 ≈ 14:1 · 60 ≈ 12:1 · 50 ≈ 8.6:1 */
  --ink-90: rgba(255,255,255,0.96);
  --ink-70: rgba(255,255,255,0.88);
  --ink-60: rgba(255,255,255,0.80);
  --ink-50: rgba(255,255,255,0.68);
  /* ── Border / surface steps — not text, do not tune for contrast ── */
  --ink-30: rgba(255,255,255,0.3);
  --ink-15: rgba(255,255,255,0.15);
  --ink-08: rgba(255,255,255,0.08);
  --ink-04: rgba(255,255,255,0.04);
  /* Back-compat alias kept for any custom/child CSS that still uses it. */
  --mut: var(--ink-70);

  --bg: #040612;
  --bg-card-solid: #0a0e22;

  /* Accent hues — keep in lockstep with mebotiz_accents() in functions.php.
     PHP emits raw "r,g,b" triplets for rgba() interpolation, so there are
     deliberately no --*-rgb mirrors here to drift out of sync. */
  --cyan: #00e5ff;
  --purple: #a855f7;
  --magenta: #ec4899;
  --mint: #2ee6a8;
  --blue: #3d5afe;
  --purple-raw: #a100ff;

  --grad-btn: linear-gradient(135deg, #00e5ff 0%, #a855f7 50%, #ec4899 100%);
  --grad-text: linear-gradient(100deg, #00e5ff 0%, #a855f7 55%, #ec4899 100%);

  /* Glass System */
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  --glass-border: rgba(255,255,255,0.12);
  --glass-blur: blur(24px) saturate(180%);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  --glass-shadow-elevated: 0 24px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0,229,255,0.08);
  --glass-specular: inset 0 1px 0 rgba(255,255,255,0.1);
  --glass-specular-strong: inset 0 1px 1px rgba(255,255,255,0.15), inset 0 -1px 2px rgba(0,229,255,0.05);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 99px;

  /* Layer ladder — one documented scale, no magic numbers.
     atmosphere 0 · particles/light 1 · content 2
     nav 50 · sticky bar 60 · FAB 61 · mobile drawer 70 · modal 80 */
  --z-atmo: 0;
  --z-fx: 1;
  --z-content: 2;
  --z-nav: 50;
  --z-sticky: 60;
  --z-fab: 61;
  --z-drawer: 70;
  --z-modal: 80;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* set on both html and body so the guard holds regardless of which
     element the UA propagates viewport overflow from */
  overflow-x: hidden;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
::selection { background: rgba(0,229,255,0.35); color: #fff; }
a { color: var(--cyan); text-decoration: none; transition: color 0.2s ease, text-shadow 0.2s ease; }
a:hover { color: #fff; text-shadow: 0 0 12px rgba(0,229,255,0.5); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; }
/* An author `display` rule outranks the UA stylesheet's [hidden] rule, so
   without this any flex/grid element toggled via the hidden attribute
   stays visible. */
[hidden] { display: none !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,229,255,0.25); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: rgba(0,229,255,0.5); }

/* ── Keyboard focus: one visible ring everywhere ── */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  text-shadow: none;
}
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }

.mz-skip {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-card-solid);
  border: 1px solid var(--cyan);
  color: #fff !important;
  font-size: 14px; font-weight: 600;
  transition: top 0.2s ease;
}
.mz-skip:focus { top: 16px; }

.mz-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.mz-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  width: 100%;
  position: relative;
  z-index: var(--z-content);
}
.mz-section {
  position: relative;
  z-index: var(--z-content);
  padding: clamp(80px, 12vh, 140px) 0;
}
/* Sections clip only when asked — the hero must let its arcs bleed out. */
.mz-section-clip { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   ATMOSPHERIC BACKGROUND (Soft Radial Gradient Blobs)
   ═══════════════════════════════════════════════════════════════ */
.mz-atmo {
  position: fixed;
  inset: 0;
  z-index: var(--z-atmo);
  overflow: hidden;
  pointer-events: none;
}
.mz-atmo::before {
  content: '';
  position: absolute;
  top: -20%; left: -15%;
  width: 80vw; height: 80vw;
  max-width: 1200px; max-height: 1200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.18) 0%, rgba(0,229,255,0.08) 30%, transparent 65%);
  animation: mzAtmoDrift 30s ease-in-out infinite;
}
.mz-atmo::after {
  content: '';
  position: absolute;
  top: 10%; right: -20%;
  width: 75vw; height: 75vw;
  max-width: 1100px; max-height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161,0,255,0.2) 0%, rgba(120,50,255,0.1) 30%, transparent 60%);
  animation: mzAtmoDrift 36s ease-in-out 2s infinite reverse;
}
.mz-atmo i { display: block; position: absolute; border-radius: 50%; pointer-events: none; }
.mz-atmo i:nth-child(1) {
  bottom: 5%; left: 20%;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(61,90,254,0.15) 0%, rgba(0,229,255,0.06) 40%, transparent 65%);
  animation: mzAtmoDrift 40s ease-in-out 4s infinite;
}
.mz-atmo i:nth-child(2) {
  top: 40%; left: 50%;
  width: 50vw; height: 50vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, rgba(236,72,153,0.06) 40%, transparent 60%);
  animation: mzAtmoDrift 34s ease-in-out 6s infinite reverse;
}

@keyframes mzAtmoDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, -2%) scale(1.05); }
  66% { transform: translate(-2%, 3%) scale(0.97); }
}

#mz-particles {
  position: fixed;
  inset: 0;
  z-index: var(--z-fx);
  pointer-events: none;
  width: 100%; height: 100%;
}

#mz-mouselight {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-fx);
  width: 600px; height: 600px;
  margin: -300px 0 0 -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.08) 0%, rgba(168,85,247,0.04) 40%, transparent 70%);
  pointer-events: none;
  transition: none;
}

/* ═══════════════════════════════════════════════════════════════
   HERO BACKGROUND — soft ambient bloom only.
   The crescent arc has been removed; what remains is a diffuse violet
   glow behind the card. No ::before rule — do not reintroduce a
   bordered ring here, it reads as a hard ribbon across the headline.
   ═══════════════════════════════════════════════════════════════ */
.mz-hero-glow {
  position: absolute;
  inset: 0;
  z-index: var(--z-atmo);
  overflow: visible;
  pointer-events: none;
}
.mz-hero-glow::after {
  content: '';
  position: absolute;
  bottom: clamp(-260px, -15vw, -150px);
  left: clamp(-180px, -8vw, -80px);
  width: clamp(520px, 58vw, 860px);
  height: clamp(420px, 46vw, 680px);
  border-radius: 50%;
  background: radial-gradient(ellipse at 45% 45%,
              rgba(192,32,255,0.34) 0%,
              rgba(161,0,255,0.18) 38%,
              rgba(120,50,255,0.07) 62%,
              transparent 78%);
  filter: blur(46px);
  opacity: 0.9;
  animation: mzHeroBloom 9s ease-in-out 1.2s infinite;
}

@keyframes mzHeroBloom {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING CAPSULE NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.mz-nav {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(4,6,18,0.75);
  border: 1px solid var(--ink-15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), var(--glass-specular);
  width: min(1100px, calc(100vw - 32px));
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.mz-nav:hover { border-color: rgba(0,229,255,0.3); box-shadow: 0 4px 40px rgba(0,229,255,0.12), var(--glass-specular); }
.mz-nav.is-scrolled { background: rgba(4,6,18,0.94); box-shadow: 0 4px 40px rgba(0,0,0,0.6), var(--glass-specular); }

.mz-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  flex: none;
}
.mz-brand:hover { color: #fff; text-shadow: none; }
.mz-logo {
  width: 28px; height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--purple-raw), var(--cyan));
  box-shadow: 0 0 16px rgba(0,229,255,0.4);
  flex: none;
}

.mz-nav-links { display: flex; align-items: center; gap: 2px; }
.mz-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-70);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.mz-nav-link:hover, .mz-nav-link:focus-visible { color: #fff; background: var(--ink-08); text-shadow: none; }
.mz-nav-cta { flex: none; }

/* ── Nav dropdown (real menu behind the ▾, was a dead caret) ── */
.mz-dd { position: relative; }
.mz-dd-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-70);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.mz-dd-toggle:hover, .mz-dd-toggle[aria-expanded="true"] { color: #fff; background: var(--ink-08); }
.mz-dd-caret { transition: transform 0.25s ease; }
.mz-dd-toggle[aria-expanded="true"] .mz-dd-caret { transform: rotate(180deg); }
.mz-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 252px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(8,11,28,0.97);
  border: 1px solid var(--ink-15);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 24px 70px rgba(0,0,0,0.7), var(--glass-specular);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.2,0.8,0.2,1), visibility 0.22s;
}
/* hover bridge across the 14px gap */
.mz-dd::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.mz-dd:hover .mz-dd-menu,
.mz-dd:focus-within .mz-dd-menu,
.mz-dd.is-open .mz-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mz-dd-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink-90);
  font-weight: 500;
  white-space: nowrap;
}
.mz-dd-menu a:hover, .mz-dd-menu a:focus-visible { background: rgba(0,229,255,0.1); color: #fff; text-shadow: none; }
.mz-dd-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.mz-dd-all { margin-top: 4px; border-top: 1px dashed var(--ink-15); color: var(--cyan) !important; font-weight: 600 !important; }
/* section heading inside a dropdown */
.mz-dd-group {
  margin: 8px 0 4px;
  padding: 8px 14px 0;
  border-top: 1px dashed var(--ink-15);
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-50);
}
/* two capability columns so the menu doesn't run off-screen vertically */
.mz-dd-menu { max-height: min(72vh, 620px); overflow-y: auto; overscroll-behavior: contain; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.mz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.mz-btn-grad {
  background: var(--grad-btn);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(0,229,255,0.3);
  border: 1px solid rgba(255,255,255,0.2);
}
.mz-btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,229,255,0.45), 0 4px 16px rgba(168,85,247,0.3);
  text-shadow: none;
}
.mz-btn-ghost { background: transparent; color: var(--ink-90) !important; border: 1px solid var(--ink-15); }
.mz-btn-ghost:hover { color: #fff !important; border-color: var(--ink-30); background: var(--ink-08); text-shadow: none; }
.mz-btn-block { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.mz-h1 { font-size: clamp(34px, 4.5vw, 58px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.mz-h2 { font-size: clamp(27px, 3.5vw, 48px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.mz-lead { font-size: 16px; line-height: 1.7; color: var(--ink-70); text-wrap: pretty; }
.mz-sub {
  font-size: 15px;
  color: var(--ink-60);
  text-align: center;
  margin: 14px auto 0;
  max-width: 540px;
  line-height: 1.65;
  text-wrap: pretty;
}
.mz-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.mz-eyebrow.purple { color: var(--purple); }
.mz-eyebrow.magenta { color: var(--magenta); }
.mz-eyebrow.mint { color: var(--mint); }
.mz-mono-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* Gradient emphasis — referenced by 7 templates, previously undefined
   so every inner-page accent rendered as plain italic. */
.mz-grad-text {
  font-style: italic;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .mz-grad-text { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; }
}

/* Status pill — also previously undefined. */
.mz-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink-04);
  border: 1px solid var(--ink-15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.mz-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: mzPulse 2.4s ease-in-out infinite;
}

/* Inner-page hero — also previously undefined. */
.mz-page-hero {
  position: relative;
  z-index: var(--z-content);
  padding: clamp(130px, 17vh, 190px) clamp(20px, 4vw, 40px) clamp(48px, 7vh, 80px);
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}
.mz-page-hero .mz-h1 { margin: 26px auto 0; max-width: 900px; }
.mz-page-hero .mz-lead { max-width: 560px; margin: 24px auto 0; }

.mz-dark-panel {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #080c1e 0%, #101736 55%, #080c1e 100%);
  border: 1px solid var(--ink-15);
  box-shadow: 0 40px 110px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   GLASS CARDS
   ═══════════════════════════════════════════════════════════════ */
.mz-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-specular);
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
  color: #fff;
}
.mz-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 55%, transparent 60%);
  transform: translateX(-100%) rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.mz-card:hover::after { opacity: 1; animation: mzShimmer 1.4s cubic-bezier(0.2,0.8,0.2,1) forwards; }

.mz-hover-lift:hover, .mz-hover-lift:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,0.3);
  box-shadow: var(--glass-shadow-elevated), var(--glass-specular-strong);
}

.mz-card-hero {
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(0,229,255,0.03) 50%, rgba(161,0,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 24px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0,229,255,0.06),
    inset 0 1px 1px rgba(255,255,255,0.12),
    inset 0 -1px 2px rgba(0,229,255,0.04);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.mz-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(28px, 4vw, 44px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border-radius: var(--radius-xl);
}
.mz-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   3D GLASS PRISM SCULPTURE — percentage-based so it can't overflow
   ═══════════════════════════════════════════════════════════════ */
.mz-prism-box {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}
.mz-prism-glow {
  position: absolute;
  width: 86%; height: 86%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.25) 0%, rgba(161,0,255,0.12) 50%, transparent 75%);
  filter: blur(40px);
  animation: mzPrismGlow 6s ease-in-out infinite;
}
/* Faceted planes. clip-path removes borders, so each edge is drawn with a
   1px drop-shadow outline instead. */
.mz-facet {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* large tilted sheet */
.mz-facet-a {
  clip-path: polygon(18% 10%, 92% 28%, 76% 84%, 8% 62%);
  background: linear-gradient(135deg, rgba(255,255,255,0.24) 0%, rgba(0,229,255,0.11) 45%, rgba(161,0,255,0.09) 100%);
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.55)) drop-shadow(0 18px 44px rgba(0,0,0,0.5));
}
/* upper triangular facet */
.mz-facet-b {
  clip-path: polygon(54% 2%, 97% 42%, 45% 35%);
  background: linear-gradient(160deg, rgba(255,255,255,0.32) 0%, rgba(0,229,255,0.15) 100%);
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.6));
}
/* lower-left facet */
.mz-facet-c {
  clip-path: polygon(6% 46%, 62% 68%, 40% 98%, 2% 78%);
  background: linear-gradient(200deg, rgba(224,64,251,0.24) 0%, rgba(0,229,255,0.11) 100%);
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.45));
}
/* glass disc under the planes */
.mz-prism-disc {
  position: absolute;
  left: 24%; bottom: 5%;
  width: 58%; height: 27%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 32%, rgba(255,255,255,0.3) 0%, rgba(0,229,255,0.13) 55%, transparent 78%);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* cyan glow line grounding the sculpture */
.mz-prism-edge {
  position: absolute;
  left: 16%; right: 16%; bottom: 2%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--cyan), 0 0 36px rgba(0,229,255,0.5);
}
@keyframes mzPrismGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* ═══════════════════════════════════════════════════════════════
   CAPABILITY GALAXY
   ═══════════════════════════════════════════════════════════════ */
.mz-orbit-container { position: relative; padding: 20px 0; }
.mz-orbit-svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110%; height: 120%;
  pointer-events: none;
  overflow: visible;
  opacity: 0.7;
}
/* Centred wrap so a trailing row of 3 under a row of 5 stays balanced
   instead of hugging the left edge and leaving a hole. */
.mz-galaxy-grid {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.mz-galaxy-card {
  flex: 1 1 190px;
  max-width: 240px;
  min-width: 0;
  padding: 22px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mz-galaxy-icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.mz-galaxy-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
.mz-galaxy-sub { font-size: 11.5px; color: var(--ink-60); }

/* ═══════════════════════════════════════════════════════════════
   FLOATING PRODUCT ISLANDS — glass bubble orbs
   ═══════════════════════════════════════════════════════════════ */
.mz-islands { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(24px, 4vw, 56px); }
.mz-island {
  flex: 0 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.mz-island:nth-child(2) { margin-top: clamp(0px, 4vw, 56px); }
.mz-island:nth-child(3) { margin-top: clamp(0px, 2vw, 28px); }
.mz-bubble-orb {
  width: clamp(130px, 17vw, 172px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.15) 0%, rgba(0,229,255,0.08) 40%, rgba(161,0,255,0.04) 70%, transparent 100%);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.4),
    inset 0 2px 4px rgba(255,255,255,0.15),
    inset 0 -4px 10px rgba(0,229,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
  animation: mzFloat 10s ease-in-out infinite;
}
.mz-island:nth-child(2) .mz-bubble-orb { animation-duration: 11.5s; animation-delay: .5s; }
.mz-island:nth-child(3) .mz-bubble-orb { animation-duration: 12.5s; animation-delay: 1s; }
.mz-island:hover .mz-bubble-orb, .mz-island:focus-visible .mz-bubble-orb {
  transform: scale(1.07) translateY(-8px);
  border-color: rgba(0,229,255,0.45);
  box-shadow: 0 24px 60px rgba(0,229,255,0.22), inset 0 2px 4px rgba(255,255,255,0.2);
}
.mz-orb-glyph { display: flex; align-items: center; justify-content: center; }
.mz-orb-tag { font-family: 'Geist Mono', monospace; font-size: 9.5px; letter-spacing: 0.14em; color: var(--ink-60); }
.mz-island-body { margin-top: 20px; }
.mz-island-body h3 { font-size: 21px; margin-bottom: 8px; }
.mz-island-body p { font-size: 13.5px; line-height: 1.65; color: var(--ink-60); margin: 0; }
.mz-island-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   SQUAD BUILDER
   ═══════════════════════════════════════════════════════════════ */
.mz-squad-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.mz-squad-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.mz-role-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--ink-04);
  border: 1px solid var(--ink-15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}
.mz-role-btn:hover { border-color: var(--ink-30); background: var(--ink-08); }
.mz-role-btn[aria-pressed="true"] { border-color: rgba(0,229,255,0.55); background: rgba(0,229,255,0.07); }
.mz-role-btn[aria-pressed="true"] .mz-role-plus { transform: rotate(45deg); }
.mz-role-init {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
}
.mz-role-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mz-role-name { font-weight: 600; font-size: 13.5px; color: #fff; }
.mz-role-stack { font-size: 11px; color: var(--ink-60); }
.mz-role-plus {
  margin-left: auto;
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.mz-squad-panel { position: sticky; top: 100px; padding: 26px; }
.mz-squad-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.mz-squad-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0,229,255,0.15);
  color: var(--cyan);
}
.mz-squad-seats { display: flex; align-items: center; min-height: 40px; margin-bottom: 12px; }
.mz-squad-seat {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-card-solid);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600; color: #fff;
  flex: none;
}
.mz-squad-seat + .mz-squad-seat { margin-left: -8px; }
.mz-squad-seat-ghost { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed var(--ink-15); }
.mz-squad-list { display: flex; flex-direction: column; gap: 6px; min-height: 48px; font-size: 13px; color: var(--ink-60); }
.mz-squad-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--ink-04);
  border: 1px solid var(--ink-08);
  font-size: 13px;
}
.mz-squad-row-name { font-weight: 600; color: #fff; }
.mz-squad-row-stack { font-size: 11.5px; color: var(--ink-60); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mz-squad-remove {
  margin-left: auto;
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  border: none;
  background: var(--ink-08);
  color: var(--ink-70);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.mz-squad-remove:hover { background: rgba(236,72,153,0.22); color: #fff; }
.mz-squad-donut-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--ink-15);
}
.mz-donut {
  width: 104px; height: 104px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 0 24px rgba(0,229,255,0.25);
  position: relative;
  transition: background 0.4s ease;
}
.mz-donut-inner {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--bg-card-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.mz-donut-legend { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--ink-60); min-width: 0; }
.mz-donut-legend span { display: flex; align-items: center; gap: 7px; }
.mz-donut-legend i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mz-squad-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 14px;
  padding-top: 16px;
  border-top: 1px dashed var(--ink-15);
}
.mz-squad-metric { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; margin-top: 3px; }
.mz-squad-cta { display: flex; width: 100%; }
.mz-squad-note { text-align: center; font-size: 11.5px; color: var(--ink-60); margin-top: 10px; }

/* ═══════════════════════════════════════════════════════════════
   ONBOARDING / STEPS
   ═══════════════════════════════════════════════════════════════ */
.mz-steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.mz-step { border-radius: var(--radius-md); padding: 24px 18px 22px; background: rgba(16,22,46,.8); text-align: center; }
.mz-step-label { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: .14em; margin-bottom: 14px; }
.mz-step-when { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; color: #fff; }
.mz-step-note { font-size: 11.5px; color: var(--ink-60); margin-top: 5px; line-height: 1.5; }
.mz-gradient-chip {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(var(--bg-card-solid), var(--bg-card-solid)) padding-box, var(--grad-btn) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 24px rgba(0,229,255,.25);
  display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   DNA / TESTIMONIALS / WORK
   ═══════════════════════════════════════════════════════════════ */
.mz-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.mz-split-top { align-items: start; }
.mz-dna-item {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--ink-04);
  border: 1px solid var(--ink-08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity .5s ease, border-color .5s ease, background .5s ease, transform .5s ease;
  opacity: .4;
}
.mz-dna-item.is-active { opacity: 1; border-color: rgba(0,229,255,.35); background: rgba(255,255,255,.05); transform: translateX(6px); }
.mz-dna-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
.mz-dna-note { font-size: 12.5px; color: var(--ink-60); margin-top: 3px; }

/* Cube is fluid — a fixed 300px child inside a 1fr 1fr grid used to push
   53px (390px vp) to 141px (320px vp) of quote text off the right edge. */
.mz-cube-stage { perspective: 1400px; display: flex; justify-content: center; padding: 20px 0; min-width: 0; }
.mz-cube {
  --cube-size: 300px;
  /* faces translate by half the edge length, so the depth follows the
     fluid width instead of being hard-coded to 150px */
  --cube-half: calc(var(--cube-size) / 2);
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform-style: preserve-3d;
  will-change: transform;
}
.mz-cube-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: rgba(10,14,34,.82);
  border: 1px solid var(--ink-15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  padding: clamp(18px, 4.5vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  backface-visibility: hidden;
}
.mz-cube-quote { font-size: clamp(12.5px, 3.2vw, 14.5px); line-height: 1.6; margin: 0; font-weight: 500; color: var(--ink-90); }
.mz-cube-who { display: flex; align-items: center; gap: 10px; }
.mz-cube-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: block;
  background: linear-gradient(135deg, rgba(168,85,247,.35), rgba(0,229,255,.22));
}
.mz-cube-name { display: block; font-size: 12.5px; font-weight: 600; color: #fff; }
.mz-cube-meta { display: block; font-size: 11px; color: var(--ink-60); }

.mz-work-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.mz-work-caption {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(6,9,22,.72);
  border: 1px solid var(--ink-15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mz-work-caption-sm { left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: var(--radius-sm); }
.mz-work-metric { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 600; }
.mz-work-metric-note { font-size: 11.5px; color: var(--ink-60); }

/* ═══════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════ */
.mz-form-panel { max-width: 580px; margin: 0 auto; padding: clamp(26px, 4vw, 40px); text-align: left; }
.mz-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.mz-field { margin-bottom: 14px; }
.mz-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-70); margin-bottom: 6px; }
.mz-form input,
.mz-form textarea,
.mz-form select {
  width: 100%;
  min-height: 46px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-04);
  border: 1px solid var(--ink-15);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mz-form textarea { resize: vertical; min-height: 96px; }
.mz-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-70) 50%), linear-gradient(135deg, var(--ink-70) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.mz-form option { background: var(--bg-card-solid); color: #fff; }
.mz-form input:focus, .mz-form textarea:focus, .mz-form select:focus {
  border-color: rgba(0,229,255,0.55);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}
.mz-form input::placeholder, .mz-form textarea::placeholder { color: var(--ink-50); }
.mz-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.mz-form-hint { font-size: 12.5px; color: var(--ink-60); }
/* honeypot — off-screen rather than display:none, which bots skip */
.mz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mz-notice {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: rgba(46,230,168,0.14);
  border: 1px solid rgba(46,230,168,0.5);
  color: var(--mint);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   CONVERSION LAYER — sticky bar, exit modal, FAB
   ═══════════════════════════════════════════════════════════════ */
.mz-sticky-cta {
  position: fixed;
  left: 50%; bottom: 18px;
  transform: translateX(-50%) translateY(160%);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px 12px 24px;
  border-radius: var(--radius-pill);
  background: rgba(6,9,22,.94);
  border: 1px solid var(--ink-15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  color: #fff;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  max-width: calc(100vw - 24px);
}
.mz-sticky-cta.is-on { transform: translateX(-50%) translateY(0); }
.mz-sticky-cta span { font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.mz-sticky-cta .mz-btn { font-size: 13px; padding: 10px 20px; min-height: 44px; white-space: nowrap; }

.mz-exit {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2,4,12,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
}
.mz-exit.is-on { display: flex; }
.mz-exit-card {
  position: relative;
  max-width: 460px;
  width: 100%;
  padding: 44px 36px 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #0a0f26, #121a3c);
  border: 1px solid rgba(0,229,255,.35);
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 60px rgba(0,229,255,.1);
  text-align: center;
}
.mz-exit-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--ink-08);
  color: var(--ink-70);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.mz-exit-close:hover { background: var(--ink-15); color: #fff; }

.mz-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: var(--z-fab);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0,229,255,.4);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.mz-fab:hover { transform: scale(1.1); color: #fff !important; text-shadow: none; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV — hamburger + slide-in drawer with accordions.
   Previously the nav links were simply display:none below 768px
   with no replacement, leaving mobile with no navigation at all.
   ═══════════════════════════════════════════════════════════════ */
.mz-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  flex: none;
}
.mz-burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: #fff;
  margin: 0 auto;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}
.mz-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mz-burger.is-open span:nth-child(2) { opacity: 0; }
.mz-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mz-mobile {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.mz-mobile.is-open { visibility: visible; opacity: 1; transition: opacity .3s ease; }
.mz-mobile-scrim { position: absolute; inset: 0; background: rgba(2,4,12,.66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.mz-mobile-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(88vw, 384px);
  display: flex;
  flex-direction: column;
  background: rgba(6,9,22,.98);
  border-left: 1px solid var(--ink-15);
  box-shadow: -24px 0 80px rgba(0,0,0,.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.2,.85,.25,1);
}
.mz-mobile.is-open .mz-mobile-panel { transform: translateX(0); }
.mz-mobile-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ink-08);
}
.mz-mobile-close {
  width: 44px; height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--ink-08);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}
.mz-mobile-close:hover { background: var(--ink-15); }
.mz-mobile-nav { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 14px; overscroll-behavior: contain; }
.mz-mobile-foot { flex: none; padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ink-08); }
.mz-mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-90);
}
.mz-mobile-link:hover, .mz-mobile-link:focus-visible { background: rgba(0,229,255,.1); color: #fff; text-shadow: none; }
.mz-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 13px 14px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.mz-acc-head:hover, .mz-acc-head:focus-visible { background: rgba(0,229,255,.08); }
.mz-acc-chevron { flex: none; color: var(--ink-60); transition: transform .3s ease; }
.mz-acc.is-open > .mz-acc-head { color: var(--cyan); }
.mz-acc.is-open > .mz-acc-head .mz-acc-chevron { transform: rotate(180deg); color: var(--cyan); }
.mz-acc-body { max-height: 0; overflow: hidden; transition: max-height .34s cubic-bezier(.2,.8,.2,1); }
.mz-acc.is-open > .mz-acc-body { max-height: 760px; }
.mz-acc-inner { margin: 2px 0 8px 14px; padding-left: 6px; border-left: 1px solid var(--ink-15); }
.mz-mobile-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink-70);
}
.mz-mobile-sub:hover, .mz-mobile-sub:focus-visible { background: rgba(0,229,255,.08); color: #fff; text-shadow: none; }
.mz-mobile-all { color: var(--cyan); font-weight: 600; }
.mz-mobile-cta { width: 100%; min-height: 52px; }

/* ═══════════════════════════════════════════════════════════════
   SHARED CARD / LIST PARTS
   ═══════════════════════════════════════════════════════════════ */
.mz-tile-icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex: none; }
.mz-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  color: var(--ink-90);
  background: var(--ink-08);
  border: 1px solid var(--ink-15);
}
.mz-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mz-media { aspect-ratio: 16 / 9; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mz-media img { width: 100%; height: 100%; object-fit: cover; }
.mz-media-ph { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--ink-50); padding: 0 16px; text-align: center; }
.mz-avatar-lg {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  overflow: hidden;
}
.mz-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.mz-empty { padding: 40px; text-align: center; color: var(--ink-60); }
.mz-job { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px 26px; }
.mz-job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mz-prose { line-height: 1.75; color: var(--ink-70); }
.mz-prose > * + * { margin-top: 1em; }
.mz-prose h2, .mz-prose h3 { margin-top: 1.6em; }
.mz-prose a { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes mzShimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}
@keyframes mzFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes mzFloat2 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes mzSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes mzSpinRev { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes mzBreathe { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes mzPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* Scroll Reveal */
.mz-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}
.mz-reveal.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }
.mz-reveal-stagger > .mz-reveal:nth-child(1) { transition-delay: 0s; }
.mz-reveal-stagger > .mz-reveal:nth-child(2) { transition-delay: 0.06s; }
.mz-reveal-stagger > .mz-reveal:nth-child(3) { transition-delay: 0.12s; }
.mz-reveal-stagger > .mz-reveal:nth-child(4) { transition-delay: 0.18s; }
.mz-reveal-stagger > .mz-reveal:nth-child(5) { transition-delay: 0.24s; }
.mz-reveal-stagger > .mz-reveal:nth-child(6) { transition-delay: 0.30s; }
.mz-reveal-stagger > .mz-reveal:nth-child(7) { transition-delay: 0.36s; }
.mz-reveal-stagger > .mz-reveal:nth-child(8) { transition-delay: 0.42s; }
.mz-reveal-stagger > .mz-reveal:nth-child(9) { transition-delay: 0.48s; }
.mz-reveal-stagger > .mz-reveal:nth-child(10) { transition-delay: 0.54s; }

/* No-JS safety net: reveals must never be able to hide content for good. */
.no-js .mz-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.mz-footer {
  position: relative;
  z-index: var(--z-content);
  border-top: 1px solid var(--ink-08);
  padding: 64px 0 32px;
  margin-top: 40px;
}
.mz-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px 28px;
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 clamp(20px, 4vw, 40px);
}
.mz-footer-brand-col { max-width: 320px; }
.mz-footer-tag { font-size: 13.5px; line-height: 1.65; color: var(--ink-60); margin: 16px 0 20px; }
.mz-footer-col h4 { font-size: 13px; font-weight: 600; color: var(--ink-90); margin-bottom: 16px; letter-spacing: 0.02em; }
.mz-footer-col a { display: block; font-size: 13.5px; color: var(--ink-60); padding: 6px 0; transition: color 0.2s ease; }
.mz-footer-col a:hover { color: var(--cyan); text-shadow: none; }
.mz-footer-contact a { color: var(--ink-90); font-weight: 500; }
.mz-footer-contact span { display: block; font-size: 12.5px; color: var(--ink-60); margin-top: 10px; line-height: 1.5; }
.mz-footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.mz-footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-08);
  border: 1px solid var(--ink-15);
  color: var(--ink-70);
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  padding: 0;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.mz-footer-social a:hover, .mz-footer-social a:focus-visible {
  border-color: rgba(0,229,255,.45);
  color: var(--cyan);
  background: rgba(0,229,255,.08);
  text-shadow: none;
}
.mz-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 22px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 40px) 0;
  border-top: 1px solid var(--ink-08);
}
.mz-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.mz-footer-legal a { font-size: 12.5px; color: var(--ink-60); }
.mz-footer-legal a:hover { color: var(--cyan); text-shadow: none; }
.mz-footer-copy { font-size: 12.5px; color: var(--ink-60); }

/* ═══════════════════════════════════════════════════════════════
   GRIDS — .mz-grid now carries the gutter. It previously had only
   `display:grid`, so every .mz-grid-2/-3 block rendered with no gap.
   ═══════════════════════════════════════════════════════════════ */
.mz-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.mz-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mz-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mz-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mz-grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .mz-nav-links, .mz-nav .mz-dd { display: none; }
  .mz-burger { display: flex; }
}

@media (max-width: 1024px) {
  .mz-hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .mz-hero-grid .mz-hero-actions { justify-content: center; }
  .mz-hero-grid .mz-prism-box { margin: 32px auto 0; }
  .mz-squad-layout { grid-template-columns: minmax(0, 1fr); }
  .mz-squad-panel { position: static; }
  .mz-split { grid-template-columns: minmax(0, 1fr); }
  .mz-split canvas { display: none; }
  .mz-work-grid { grid-template-columns: minmax(0, 1fr); }
  .mz-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .mz-footer-grid { grid-template-columns: 1fr 1fr; }
  .mz-footer-brand-col { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 768px) {
  .mz-nav { padding: 8px 10px 8px 16px; }
  .mz-grid-2, .mz-grid-3, .mz-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .mz-section { padding: clamp(56px, 8vh, 80px) 0; }
  .mz-cube { --cube-size: min(300px, calc(100vw - 72px)); }
  .mz-squad-donut-wrap { flex-direction: column; align-items: flex-start; }
  .mz-sticky-cta { left: 12px; right: 12px; bottom: 12px; transform: translateY(160%); max-width: none; justify-content: space-between; }
  .mz-sticky-cta.is-on { transform: translateY(0); }
  .mz-sticky-cta span { display: none; }
  .mz-sticky-cta .mz-btn { width: 100%; }
}

/* At 320px the brand + CTA + burger together overflowed the nav pill.
   Drop the nav CTA — conversion is still covered by the drawer footer
   button, the sticky bar and the FAB — and tighten the pill. */
@media (max-width: 400px) {
  .mz-nav { padding: 8px 8px 8px 14px; gap: 6px; }
  .mz-nav-cta { display: none; }
  .mz-brand { font-size: 16px; gap: 8px; }
  .mz-logo { width: 24px; height: 24px; border-radius: 8px; }
}

@media (max-width: 520px) {
  .mz-footer-grid { grid-template-columns: 1fr; }
  .mz-footer-bar { justify-content: center; text-align: center; }
  .mz-cube { --cube-size: min(260px, calc(100vw - 64px)); }
  .mz-island { flex-basis: 100%; }
  .mz-island:nth-child(n) { margin-top: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION — one authoritative block. Every ambient loop,
   float, spin, shimmer, drift and reveal stops; content is shown
   in its final state instead of animated into place.
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .mz-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .mz-dna-item { opacity: 1 !important; transform: none !important; }

  /* Ambient decoration is removed outright, not merely paused. */
  .mz-atmo, #mz-particles, #mz-mouselight, .mz-prism-glow { display: none !important; }
  .mz-hero-glow::after { animation: none !important; opacity: .55; }
  .mz-card::after { display: none !important; }
  .mz-hover-lift:hover, .mz-btn-grad:hover { transform: none; }

  /* Cube unrolls into a readable stack rather than spinning. */
  .mz-cube-stage { perspective: none; display: block; }
  .mz-cube { transform: none !important; transform-style: flat; width: 100%; height: auto; }
  .mz-cube-face {
    position: relative;
    inset: auto;
    transform: none !important;
    backface-visibility: visible;
    margin-bottom: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .mz-atmo, #mz-particles, #mz-mouselight, .mz-nav, .mz-mobile, .mz-sticky-cta,
  .mz-exit, .mz-fab, .mz-hero-glow, .mz-burger { display: none !important; }
  body { background: #fff; color: #000; }
  .mz-card { border: 1px solid #ccc; box-shadow: none; background: #fff; color: #000; }
  h1, h2, h3, h4 { color: #000; }
  a { color: #000; }
}
