/* Header-only refinements; load after the existing theme styles. */
.mh-header {
  padding: 16px 40px;
  gap: 28px;
  align-items: center;
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mh-header > div, .mh-header .mh-logo { flex-shrink: 0; }
.mh-header .mh-logo {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.mh-header .mh-logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: width .25s ease;
}
.mh-header.shrink { padding: 10px 40px; }
.mh-header.shrink .mh-logo img { width: 190px; height: auto; }
.mh-header > nav { align-items: center; }
.mh-header .mh-logo:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}
html { scroll-padding-top: 145px; }
@media (max-width: 1050px) {
  .mh-header { gap: 20px; padding: 14px 24px; }
  .mh-header.shrink { padding: 10px 24px; }
  .mh-header .mh-logo img { width: 210px; }
}
@media (max-width: 800px) {
  .mh-header, .mh-header.shrink {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
  }
  .mh-header .mh-logo img { width: 210px; }
  .mh-header.shrink .mh-logo img { width: 170px; }
  .mh-header > nav { justify-content: center; gap: 8px 16px; }
  html { scroll-padding-top: 195px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-header, .mh-header .mh-logo img { transition: none; }
}
