:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7f4;
  --color-text: #1a2330;
  --color-muted: #5a6676;
  /* MindLab brand (sampled from logo) */
  --color-navy: #0b2553;
  --color-green: #2b8a22;
  --color-primary: #143a7a;       /* lifted navy for links/buttons on white */
  --color-primary-dark: #0b2553;  /* brand navy */
  --color-accent: #2b8a22;        /* brand green */
  --color-border: #e2e8f0;
  --max: 64rem;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.05), 0 6px 18px rgba(0,0,0,0.05);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--color-text);
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-family: var(--font-display); font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; margin-top: 2rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.5rem; }

p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration-color: rgba(20, 58, 122, 0.3); text-underline-offset: 3px; }
a:hover { color: var(--color-primary-dark); text-decoration-color: currentColor; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.site-header { background: var(--color-bg); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 10; }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.25rem; max-width: var(--max); margin: 0 auto; }
.brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand .m { color: var(--color-navy); }
.brand .l { color: var(--color-green); }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { color: var(--color-text); text-decoration: none; font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--color-primary); }

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px; height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle__bars::after  { position: absolute; top:  7px; left: 0; }
.site-header.is-open .nav-toggle__bars { background: transparent; }
.site-header.is-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: compact locked header + dropdown menu */
@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    padding: 0.25rem 1.25rem 0.75rem;
    display: none;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--color-border); font-size: 1rem; }
  .nav a:last-child { border-bottom: none; }
}

.hero {
  background: linear-gradient(160deg, #eef3f1 0%, #f7faf8 60%);
  padding: clamp(3rem, 6vw, 5rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.hero__logo { width: min(760px, 92vw); margin: 0 auto 1.5rem; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.85rem; color: var(--color-primary); font-weight: 600; margin-bottom: 0.75rem; }
.hero h1 { margin-bottom: 1rem; }
.hero__subtitle { color: var(--color-muted); font-size: 1.15rem; max-width: 40rem; margin: 0 auto 2rem; }

.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;
}

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--color-primary-dark); color: #fff; }

main { padding: 3rem 0 5rem; }
section { margin-bottom: 3rem; }

.section-heading { margin-bottom: 1rem; }
.section-eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin-bottom: 0.5rem; }

/* ---- Unified centered, flowy layout ---- */
.section-eyebrow, .section-heading { text-align: center; }
main section > p,
.wellness__lead {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.card { text-align: center; }
form.contact-form { margin-left: auto; margin-right: auto; }

.notice {
  background: #fef9e4;
  border: 1px solid #f5d97b;
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; margin-bottom: 0.5rem; color: var(--color-primary-dark); }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: 0.95rem; }

.who-list {
  list-style: none;
  padding: 0;
  max-width: 42rem;
  margin: 1.5rem auto;
  text-align: center;
}
.who-list li {
  color: var(--color-text);
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}
.who-list li:first-child { border-top: none; padding-top: 0; }

/* ---- Wellness: interactive logo ---- */
.wellness { text-align: center; }
.wellness .section-eyebrow,
.wellness .section-heading { text-align: center; }
.wellness__lead { color: var(--color-muted); font-size: 1.1rem; max-width: 40rem; margin: 0 auto 1.25rem; }

/* "Tap a symbol" hint */
.wellness-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 0.5rem;
  padding: 0.5rem 1rem;
  background: #eef3f1;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 600;
}
.wellness-hint__icon { font-size: 1.05rem; animation: hintNudge 1.8s ease-in-out infinite; }
.wellness-hint.is-dismissed { opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
@keyframes hintNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.wellness-figure {
  position: relative;
  width: min(560px, 92vw);
  margin: 0.5rem auto 0;
}
.wellness-figure__img { width: 100%; display: block; }

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 22%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* pulsing ring to signal "I'm tappable" — especially for touch */
.hotspot::after {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 3px solid var(--ring);
  opacity: 0;
  transform: scale(0.8);
  animation: hotspotPulse 2.6s ease-out infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
}
@keyframes hotspotPulse {
  0%   { transform: scale(0.8);  opacity: 0; }
  18%  { opacity: 0.85; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
/* hover / active / focus highlight */
.hotspot:hover::after,
.hotspot:focus-visible::after,
.hotspot.is-active::after {
  animation: none;
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 18px var(--ring);
}
.hotspot:focus-visible { outline: none; }

/* per-symbol ring colors + staggered pulse */
.hotspot--spiritual { --ring: #6a2c91; --delay: 0s;   }
.hotspot--mental    { --ring: #1a6bbc; --delay: 0.5s; }
.hotspot--emotional { --ring: #cc224e; --delay: 1.0s; }
.hotspot--physical  { --ring: #2a8b24; --delay: 1.5s; }
.hotspot--happiness { --ring: #e78512; --delay: 2.0s; }

/* description panel below the figure */
.wellness-info {
  max-width: 34rem;
  margin: 1.5rem auto 0;
  min-height: 5.5rem;
  padding: 1.25rem 1.5rem;
  background: #f7f9fb;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--info-accent, var(--color-primary));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  transition: border-color 0.2s ease;
}
.wellness-info__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--info-accent, var(--color-primary-dark));
}
.wellness-info__desc { color: var(--color-muted); font-size: 1rem; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .hotspot::after, .wellness-hint__icon { animation: none; }
  .hotspot::after { opacity: 0; }
}

form.contact-form { display: grid; gap: 1rem; max-width: 34rem; }
.form-field { display: grid; gap: 0.35rem; }
.form-field label { font-size: 0.9rem; font-weight: 600; }
.form-field input, .form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(20, 58, 122, 0.15); }
.form-field textarea { min-height: 8rem; resize: vertical; }

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 1.25rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}
.site-footer a { color: var(--color-primary); }
