/* ============================================================
   Maniheal — Base / Reset / Typography
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--forest);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: 1.1rem; }

p { line-height: 1.7; }
p + p { margin-top: 1em; }

a { color: var(--forest-2); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--saffron-dark); }

strong, b { font-weight: 600; }

ul, ol { padding-left: 1.25rem; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--saffron); color: var(--forest-dark); }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-6) 0; }

/* ---- Layout primitives ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 0.5rem + 2vw, 2rem); }
.container-wide { max-width: var(--container-wide); }
.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section-forest { background: var(--forest); color: var(--text-invert); }
.section-forest h1, .section-forest h2, .section-forest h3 { color: var(--white); }

/* ---- Utilities ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron-dark);
}
.section-forest .eyebrow { color: var(--saffron); }

.lead { font-size: var(--fs-lead); color: var(--text-soft); line-height: 1.6; }
.section-forest .lead { color: rgba(255,255,255,0.82); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.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;
}

.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--space-2); }
.section-head p { margin-top: var(--space-3); }

.divider-gold { width: 44px; height: 3px; background: var(--saffron); border-radius: 2px; }
.section-head.center .divider-gold { margin-inline: auto; }

/* skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--forest); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
