/* Shared design tokens, reset, buttons — used by header, footer, and pages */

:root {
  --mhm-green: #0e3d32;
  --mhm-green-deep: #0b2b26;
  --mhm-green-dark: #081712;
  --mhm-green-mid: #123c32;
  --mhm-green-soft: #1a4a40;
  --mhm-mint: #4a8b82;
  --mhm-gold: #f3b23e;
  --mhm-gold-hover: #e09f2d;
  --mhm-cream: #f8f7f3;
  --mhm-cream-2: #f2f9f6;
  --mhm-white: #ffffff;
  --mhm-text: #1a332b;
  --mhm-text-muted: #4d635c;
  --mhm-border: #e4e8e5;
  --mhm-serif: "Playfair Display", Georgia, serif;
  --mhm-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mhm-wrap: 1180px;
  --mhm-header-h: 84px;
  --mhm-radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body.mhm-site {
  margin: 0;
  font-family: var(--mhm-sans);
  color: var(--mhm-text);
  background: var(--mhm-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

body.mhm-site .site-header,
body.mhm-site .site-footer,
body.mhm-site header.site-header,
body.mhm-site .page-header {
  display: none !important;
}

.mhm-main {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.mhm-wrap {
  width: min(var(--mhm-wrap), calc(100% - 48px));
  margin-inline: auto;
}

.mhm-section {
  padding: 96px 0;
}

.mhm-center {
  text-align: center;
}

.mhm-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mhm-green);
}

.mhm-label--center {
  text-align: center;
}

.mhm-label--line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mhm-gold);
}

.mhm-label--line::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--mhm-gold);
}

.mhm-kicker {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mhm-kicker--gold {
  color: var(--mhm-gold);
}

h1, h2, h3, .mhm-site h1, .mhm-site h2, .mhm-site h3 {
  font-family: var(--mhm-serif);
  font-weight: 400;
  line-height: 1.18;
  color: var(--mhm-green-deep);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(36px, 5.4vw, 68px);
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}

h2 em,
h1 em {
  font-style: italic;
  color: var(--mhm-mint);
}

.mhm-lead {
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--mhm-text-muted);
  font-size: 17px;
}

.mhm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--mhm-radius);
  font-family: var(--mhm-sans);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mhm-btn:hover {
  transform: translateY(-1px);
}

.mhm-btn--dark {
  background: var(--mhm-green-mid);
  color: #fff !important;
}

.mhm-btn--dark:hover {
  background: #0b2922;
  box-shadow: 0 6px 16px rgba(18, 60, 50, 0.22);
}

.mhm-btn--gold {
  background: var(--mhm-gold);
  color: #0b1e17 !important;
}

.mhm-btn--gold:hover {
  background: var(--mhm-gold-hover);
  box-shadow: 0 6px 18px rgba(243, 178, 62, 0.32);
}

.mhm-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.mhm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.mhm-btn--block {
  width: 100%;
  margin-top: 16px;
}

.mhm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mhm-green) !important;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
}

.mhm-text-link:hover {
  color: var(--mhm-green-mid) !important;
}

.mhm-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  color: var(--mhm-green-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.mhm-meta {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mhm-text-muted);
  margin: 0 0 8px;
}

.mhm-italic {
  font-family: var(--mhm-serif);
  font-style: italic;
  color: var(--mhm-text-muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

.admin-bar .mhm-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .mhm-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  .mhm-wrap {
    width: min(var(--mhm-wrap), calc(100% - 32px));
  }

  .mhm-section {
    padding: 64px 0;
  }
}
