/* ============================================================
   MHD Detailing — Base resets & helpers
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--surface-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

:where(button) {
  font-family: inherit;
}

/* Text-wrap niceties */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

/* --- Layout helpers --- */
.mhd-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.mhd-section {
  padding-block: var(--section-py);
}
@media (min-width: 768px) {
  .mhd-section { padding-block: var(--section-py-md); }
}
@media (min-width: 992px) {
  .mhd-section { padding-block: var(--section-py-lg); }
}

/* Eyebrow / kicker label above headings */
.mhd-eyebrow {
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--space-3);
}
