/* ==========================================================================
   Health Dynamics — flat-file site (v2, brand-aligned)
   Palette:  Deep Cerise #ED1887, Tart Orange #F04E3F, Royal Purple #684A9E,
             Oxford Blue #101131, Old Lace #FFFCEE, Light Gray #D1D3D4
   Type:     Manrope (Avenir Next stand-in) body/H1, Plus Jakarta Sans (logo)
   Tone:     Bold, transformative, trustworthy, knowledgeable, approachable
             Headings and CTAs use sentence case / lowercase per brand
   ========================================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #101131;
  background: #FFFCEE;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: #ED1887; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #B0106A; }
:focus-visible { outline: 3px solid #684A9E; outline-offset: 3px; border-radius: 2px; }

/* ---------- Design tokens ---------- */
:root {
  --cerise: #ED1887;
  --cerise-dark: #B0106A;
  --cerise-tint: #FCE0EF;
  --orange: #F04E3F;
  --orange-dark: #C13627;
  --orange-tint: #FDE2DE;
  --purple: #684A9E;
  --purple-dark: #4A3271;
  --purple-tint: #E4DCF3;
  --oxford: #101131;
  --oxford-soft: #2A2B4A;
  --lace: #FFFCEE;
  --lace-warm: #FFF6D9;
  --gray: #D1D3D4;
  --gray-light: #ECEDEE;
  --white: #FFFFFF;
  --text: #101131;
  --muted: #4A4C68;
  --border: #E9E6D8;
  --shadow-sm: 0 1px 2px rgba(16,17,49,.06);
  --shadow-md: 0 12px 32px rgba(16,17,49,.10);
  --shadow-lg: 0 24px 60px rgba(237,24,135,.14);
  --radius: 12px;
  --radius-sm: 6px;
  --max: 1200px;
  --grad: linear-gradient(135deg, #FFFCEE 0%, #FDE2DE 40%, #FCE0EF 100%);
  --grad-hot: linear-gradient(135deg, #ED1887 0%, #F04E3F 100%);
  --grad-cool: linear-gradient(135deg, #684A9E 0%, #ED1887 100%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  color: var(--oxford);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .6em;
  text-transform: lowercase; /* per brand — approachable */
}
h1 {
  font-size: clamp(2.25rem, 5vw + .5rem, 3.75rem);
  color: var(--oxford);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.25rem;
  color: var(--oxford);
  font-weight: 700;
  text-transform: none; /* subtitles keep normal case for readability */
}
h4 {
  font-size: 1.05rem;
  color: var(--oxford);
  font-weight: 700;
  text-transform: none;
}
p { margin: 0 0 1em; }
.lead {
  font-size: clamp(1.2rem, 1vw + .9rem, 1.45rem);
  color: var(--muted);
  line-height: 1.5;
  max-width: 46ch;
  margin-bottom: 1.2em;
  font-weight: 500;
  text-transform: none;
}
strong, b { color: var(--oxford); font-weight: 700; }
small { color: var(--muted); }
em { color: var(--muted); font-style: italic; }

/* Splash of colour on selection */
::selection { background: var(--cerise); color: var(--white); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--lace { background: var(--lace); }
.section--cream { background: var(--lace-warm); }
.section--oxford { background: var(--oxford); color: rgba(255,252,238,.9); }
.section--oxford h1, .section--oxford h2, .section--oxford h3, .section--oxford h4 { color: var(--lace); }
.section--oxford a { color: var(--cerise-tint); }
.section--oxford a:hover { color: var(--white); }
.section--gradient { background: var(--grad); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--cerise); color: var(--white); padding: 10px 14px;
  border-radius: var(--radius-sm); font-weight: 700; z-index: 1000;
}
.skip:focus { left: 8px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,252,238,.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--oxford);
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand .wm-health { color: var(--orange); }
.brand .wm-dynamics { color: var(--cerise); }
.brand:hover { text-decoration: none; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a {
  display: inline-block; padding: 10px 14px; text-decoration: none;
  color: var(--oxford); font-weight: 600; border-radius: var(--radius-sm);
  font-size: .95rem;
  text-transform: lowercase;
  letter-spacing: -0.005em;
}
.nav a:hover { background: var(--lace-warm); color: var(--cerise); }
.nav a.active { color: var(--cerise); }
.nav a.active::after {
  content: ''; display: block; height: 2px; background: var(--orange);
  margin-top: 4px; border-radius: 2px;
}
.nav-cta {
  background: var(--cerise); color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--cerise-dark) !important; color: var(--white) !important; }
.nav-toggle {
  background: none; border: 1.5px solid var(--oxford); border-radius: var(--radius-sm);
  padding: 8px 14px; cursor: pointer; color: var(--oxford); font-weight: 700;
  text-transform: lowercase;
  font-family: inherit;
}
.nav-toggle:hover { background: var(--oxford); color: var(--lace); }
.mobile-nav {
  display: none; padding: 12px 0 24px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block; padding: 14px 4px; text-decoration: none;
  color: var(--oxford); font-weight: 600; text-transform: lowercase;
}
.mobile-nav a.active { color: var(--cerise); font-weight: 700; }
.mobile-nav .sub a { padding-left: 24px; color: var(--muted); font-size: .95rem; font-weight: 500; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Dropdown (desktop) ---------- */
.nav .has-drop { position: relative; }
.nav .drop {
  position: absolute; top: 100%; left: 0; min-width: 320px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 10px; margin-top: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav .has-drop:hover .drop,
.nav .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav .drop a { display: block; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  background: var(--grad);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237,24,135,.20), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -120px; left: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(104,74,158,.15), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  color: var(--cerise); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 16px;
  display: inline-block;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(237,24,135,.10);
}
.hero h1 { color: var(--oxford); max-width: 22ch; margin-bottom: 20px; }
.hero .lead { color: var(--oxford-soft); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  font-family: inherit;
  text-transform: lowercase;
  letter-spacing: -0.005em;
}
.btn--primary { background: var(--cerise); color: var(--white); }
.btn--primary:hover { background: var(--cerise-dark); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--oxford); border-color: var(--oxford); }
.btn--ghost:hover { background: var(--oxford); color: var(--lace); }
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--cerise); }
.btn--light:hover { background: var(--lace); color: var(--cerise-dark); }
.btn::after { content: '→'; font-weight: 500; transform: translateX(0); transition: transform .15s; }
.btn:hover::after { transform: translateX(4px); }

/* ---------- Tiles / cards ---------- */
.tile {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  text-decoration: none;
  color: var(--oxford);
  display: block;
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-hot); opacity: 0; transition: opacity .18s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cerise-tint); text-decoration: none; }
.tile:hover::before { opacity: 1; }
.tile h3 { color: var(--cerise); margin-bottom: 10px; text-transform: lowercase; font-weight: 800; letter-spacing: -0.01em; }
.tile p { color: var(--muted); margin: 0 0 14px; }
.tile .more { font-weight: 700; color: var(--orange); }
.tile .more::after { content: ' →'; }

.tile--tint { background: var(--lace-warm); border-color: transparent; }
.tile--tint h3 { color: var(--cerise); }
.tile--tint p { color: var(--oxford); }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.card .kicker { color: var(--orange); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.card h3 { color: var(--cerise); font-size: 1.2rem; margin-bottom: 8px; text-transform: lowercase; font-weight: 800; }
.card p { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.card .btn { margin-top: 4px; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; padding: 40px; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.stat b {
  display: block; color: var(--cerise);
  font-size: 2.4rem; line-height: 1; margin-bottom: 6px; font-weight: 800;
  letter-spacing: -0.03em;
}
.stat:nth-child(2) b { color: var(--orange); }
.stat:nth-child(3) b { color: var(--purple); }
.stat:nth-child(4) b { color: var(--oxford); font-size: 1.5rem; line-height: 1.2; }
.stat span { color: var(--muted); font-size: .95rem; font-weight: 500; }

/* ---------- Quote ---------- */
.quote {
  border-left: 4px solid var(--orange); padding: 24px 28px;
  background: var(--lace-warm); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.quote p { font-size: 1.2rem; color: var(--oxford); margin-bottom: 12px; font-weight: 500; }
.quote cite { display: block; font-weight: 700; color: var(--cerise); font-style: normal; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-hot); color: var(--white);
  padding: 56px; border-radius: var(--radius);
  display: grid; gap: 20px; align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2, .cta-band h3 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.95); margin: 0; max-width: 60ch; font-weight: 500; }
.cta-band .btn--light { background: var(--white); color: var(--cerise); }
.cta-band .btn--light:hover { background: var(--lace); color: var(--cerise-dark); }

/* ---------- Lists ---------- */
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li {
  padding-left: 32px; position: relative; margin-bottom: 12px;
}
.check li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 10px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}
.plain { list-style: disc; padding-left: 22px; }
.plain li { margin-bottom: 8px; }
.plain li::marker { color: var(--cerise); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 28px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px 24px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -20px; left: 24px;
  width: 40px; height: 40px; background: var(--grad-hot); color: var(--white);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.step h4 { color: var(--cerise); margin-top: 14px; text-transform: lowercase; font-weight: 800; }
.step p { font-size: .95rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Sector list ---------- */
.sector-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; list-style: none; padding: 0; margin: 24px 0 0;
}
.sector-list li {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: 12px 20px;
  color: var(--oxford); font-weight: 600; font-size: .95rem;
  text-align: center;
}

/* ---------- Form ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--oxford); text-transform: lowercase; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  background: var(--white); color: var(--oxford);
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--cerise); outline: 3px solid var(--cerise-tint); }
.form .help { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.form .submit { justify-self: start; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--white); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); }
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-card li:last-child { border-bottom: 0; }
.contact-card b { color: var(--cerise); font-weight: 700; text-transform: lowercase; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--oxford); color: rgba(255,252,238,.75);
  padding: 64px 0 24px; margin-top: 48px;
  position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-hot);
}
.site-footer h4 { color: var(--lace); font-size: 1rem; margin-bottom: 14px; text-transform: lowercase; font-weight: 800; }
.site-footer a { color: rgba(255,252,238,.8); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand-block { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.site-footer .brand-block svg { width: 40px; height: 40px; }
.site-footer .brand-block .name { color: var(--lace); font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-weight: 800; font-size: 1.25rem; text-transform: lowercase; letter-spacing: -0.02em; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 5px 0; font-size: .95rem; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,252,238,.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .85rem; color: rgba(255,252,238,.5);
}
.footer-bottom a { color: rgba(255,252,238,.65); }

/* ---------- Note / callouts ---------- */
.note {
  background: var(--white); border-left: 4px solid var(--purple);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted); font-size: .95rem; margin: 24px 0;
}
.note b { color: var(--purple); text-transform: lowercase; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: 48px; }
.mb-lg { margin-bottom: 48px; }
.eyebrow {
  color: var(--cerise); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 12px;
  display: inline-block;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(237,24,135,.10);
}
hr.divider { border: 0; height: 1px; background: var(--border); margin: 40px 0; }

/* ---------- Section eyebrow on non-hero sections ---------- */
.section .eyebrow { background: rgba(237,24,135,.08); }
.section--oxford .eyebrow { background: rgba(255,252,238,.10); color: var(--cerise-tint); }

/* ---------- Section heading anchor accent ---------- */
.section h2 { position: relative; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
