html,
body,
#app,
main,
[data-theme="default"] {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background: #010515;
}

/* Homepage navigation: compact floating hamburger only, with no reserved bar. */
#home-header {
  position: static !important;
  z-index: 80 !important;
  height: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#home-header > div:first-child {
  position: fixed !important;
  z-index: 2147483000 !important;
  top: max(0.9rem, calc(env(safe-area-inset-top, 0px) + 0.75rem)) !important;
  right: max(0.9rem, calc(env(safe-area-inset-right, 0px) + 0.75rem)) !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

#home-header > div:first-child > a,
#home-header > div:first-child > div:not(.ml-auto),
#home-header > div:first-child > nav,
#home-header > div:first-child > a[href="/contact/"] {
  display: none !important;
}

#home-header > div:first-child > .ml-auto {
  display: flex !important;
  position: absolute !important;
  inset: 0 !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  margin: 0 !important;
}

#home-header button[command="show-modal"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  min-height: 3.25rem !important;
  padding: 0 !important;
  border: 1px solid rgba(140, 218, 246, 0.9) !important;
  border-radius: 0.7rem !important;
  background: rgba(4, 14, 31, 0.96) !important;
  color: #f6fbff !important;
  box-shadow: 0 0.55rem 1.4rem rgba(0, 0, 0, 0.45), 0 0 1.4rem rgba(31, 230, 225, 0.18) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

#home-header dialog {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#home-header dialog[open] {
  display: block !important;
}

#home-header dialog[open],
#home-header dialog[open] .fixed,
#home-header dialog[open] el-dialog-panel {
  z-index: 2147482000 !important;
}

#home-header el-dialog-panel {
  width: min(88vw, 23rem) !important;
  max-width: calc(100vw - 1.25rem) !important;
  padding: max(1.1rem, calc(env(safe-area-inset-top, 0px) + 1rem)) 1rem max(1.2rem, calc(env(safe-area-inset-bottom, 0px) + 1rem)) !important;
  background: #f1f7fa !important;
  color: #10243c !important;
}

#home-header nav[aria-label="Mobile primary"] a {
  display: flex !important;
  align-items: center !important;
  min-height: 2.8rem !important;
  padding: 0.75rem 0.85rem !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
}

#home-hero.mtechnl-bare-hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: clip !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: #f5f8ff !important;
  background: #010515 !important;
  font-family: Inter, Arial, sans-serif !important;
}

#home-hero.mtechnl-bare-hero::before,
#home-hero.mtechnl-bare-hero::after {
  display: none !important;
  content: none !important;
}

.mtechnl-bare-hero-inner {
  width: min(100%, 80rem);
  margin-inline: auto;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.mtechnl-bare-brand,
.mtechnl-bare-copy {
  min-width: 0;
}

.mtechnl-bare-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mtechnl-bare-cube {
  display: block;
  width: clamp(5.25rem, 12vw, 9.5rem);
  height: auto;
  margin: 0 auto clamp(-1.45rem, -2.1vw, -0.9rem);
  object-fit: contain;
}

.mtechnl-bare-wordmark {
  display: block;
  width: min(100%, 27rem);
  height: auto;
  margin: 0 auto clamp(0.6rem, 1.4vw, 1rem);
  object-fit: contain;
}

.mtechnl-bare-service,
.mtechnl-bare-location {
  margin: 0;
  color: #d9f6ff;
  font-weight: 750;
  line-height: 1.35;
  text-wrap: balance;
}

.mtechnl-bare-service {
  font-size: clamp(0.82rem, 1.35vw, 1.08rem);
}

.mtechnl-bare-location {
  margin-top: 0.45rem;
  color: #94a3b8;
  font-size: clamp(0.72rem, 1.05vw, 0.92rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mtechnl-bare-service span,
.mtechnl-bare-location span {
  color: #51e8fb;
  padding-inline: 0.22em;
}

.mtechnl-bare-eyebrow {
  margin: 0 0 0.85rem;
  color: #51e8fb;
  font-size: clamp(0.75rem, 1.15vw, 0.95rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.14em;
}

#home-hero .mtechnl-bare-copy h1 {
  max-width: 20ch;
  margin: 0 0 1.15rem;
  color: #ffffff;
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.mtechnl-bare-lead {
  max-width: 62ch;
  margin: 0;
  color: #dce8f6;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.58;
}

.mtechnl-bare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.mtechnl-bare-actions a {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid #51e8fb;
  border-radius: 0.65rem;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.mtechnl-bare-action-primary {
  background: #51e8fb;
  color: #053344;
}

.mtechnl-bare-action-secondary {
  background: transparent;
  color: #f5f8ff;
}

.mtechnl-bare-actions a:hover {
  filter: brightness(1.08);
}

.mtechnl-bare-actions a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

#home-solutions {
  padding-top: clamp(3rem, 6vw, 5rem) !important;
}

@media (max-width: 900px) {
  .mtechnl-bare-hero-inner {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 5vw, 3rem);
    padding-top: clamp(4.25rem, 10vw, 6rem);
  }

  .mtechnl-bare-copy {
    text-align: center;
  }

  #home-hero .mtechnl-bare-copy h1,
  .mtechnl-bare-lead {
    margin-inline: auto;
  }

  .mtechnl-bare-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  #home-header > div:first-child,
  #home-header > div:first-child > .ml-auto,
  #home-header button[command="show-modal"] {
    width: 3.05rem !important;
    height: 3.05rem !important;
    min-height: 3.05rem !important;
  }

  .mtechnl-bare-hero-inner {
    padding: 4.4rem 1rem 2.6rem;
    gap: 1.6rem;
  }

  .mtechnl-bare-cube {
    width: clamp(4.2rem, 19vw, 5.2rem);
    margin-bottom: -0.8rem;
  }

  .mtechnl-bare-wordmark {
    width: min(82vw, 18rem);
  }

  .mtechnl-bare-service {
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
  }

  .mtechnl-bare-location {
    font-size: clamp(0.62rem, 2.55vw, 0.78rem);
    letter-spacing: 0.055em;
  }

  #home-hero .mtechnl-bare-copy h1 {
    max-width: 18ch;
    font-size: clamp(2.05rem, 9vw, 2.8rem);
  }

  .mtechnl-bare-lead {
    max-width: 34rem;
    font-size: clamp(0.94rem, 3.6vw, 1rem);
    line-height: 1.5;
  }

  .mtechnl-bare-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mtechnl-bare-actions a {
    width: 100%;
    min-height: 3rem;
  }
}

#home-header { position: relative !important; overflow: visible !important; z-index: 2147483000 !important; }
