/* Mark Hope Life Coaching — a program of We Help People Everywhere, Inc. */

:root {
  --band: #0c2f1d;
  --footer: #0a2617;
  --accent: #0f7a41;
  --accent-dark: #0b5c31;
  --bright: #43d17a;
  --amber: #b8701a;
  --ink: #1b2420;
  --muted: #5b6b62;
  --line: #dfe7e2;
  --wash: #f4f8f5;
  --white: #ffffff;
  --radius: 10px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--band);
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--band);
  color: var(--white);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  padding: 12px 0;
}
.brand-mark {
  width: 74px;
  height: auto;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand strong {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.brand-text span {
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--bright);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 8px;
}
.nav a {
  color: #dbe9e1;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 9px 13px;
  border-radius: 6px;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.09); }
.nav a[aria-current="page"] { color: var(--white); background: rgba(67,209,122,0.16); }
.nav a.nav-cta {
  background: var(--bright);
  color: #06301b;
  font-weight: 600;
  margin-left: 6px;
}
.nav a.nav-cta:hover { background: #5ee08d; color: #06301b; }

/* ---------- Hero ---------- */
.hero {
  background: var(--band);
  color: var(--white);
  padding: 68px 0 78px;
  border-bottom: 5px solid var(--bright);
}
.hero .wrap { max-width: 900px; }
.hero .eyebrow {
  color: var(--bright);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 16px;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero p {
  font-size: 1.14rem;
  color: #cfe3d8;
  margin: 0 0 30px;
  max-width: 660px;
}

.page-head {
  background: var(--band);
  color: var(--white);
  padding: 52px 0 56px;
  border-bottom: 5px solid var(--bright);
}
.page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.page-head p {
  margin: 0;
  color: #cfe3d8;
  font-size: 1.08rem;
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--bright); color: #06301b; }
.btn-primary:hover { background: #5ee08d; color: #06301b; }
.btn-ghost { border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }
.btn-solid { background: var(--accent); color: var(--white); }
.btn-solid:hover { background: var(--accent-dark); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 66px 0; }
section.wash { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

h2, h3 { color: var(--ink); }

.prose { max-width: 720px; }
.prose h2 { margin: 40px 0 14px; font-size: 1.45rem; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; font-size: 1.13rem; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px;
  box-shadow: 0 1px 2px rgba(12,47,29,0.04), 0 4px 14px rgba(12,47,29,0.05);
}
.card h3 { margin: 0 0 10px; font-size: 1.13rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Numbered steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 1px 2px rgba(12,47,29,0.04), 0 4px 14px rgba(12,47,29,0.05);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--band);
  color: var(--bright);
  font-weight: 700;
  font-size: 1.15rem;
}
.step h3 { margin: 4px 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Callout ---------- */
.callout {
  border-left: 4px solid var(--amber);
  background: #fdf7ef;
  padding: 22px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 30px 0;
}
.callout p { margin: 0; color: #6a4a1e; font-size: 0.98rem; }
.callout strong { color: #4d340f; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--band);
  color: var(--white);
  padding: 62px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: #cfe3d8; margin: 0 auto 28px; max-width: 560px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgba(12,47,29,0.04), 0 4px 14px rgba(12,47,29,0.05);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c8d5cd;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field textarea { min-height: 130px; resize: vertical; }
.hint { font-size: 0.86rem; color: var(--muted); margin-top: 6px; }

/* ---------- Contact strip ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: 18px; }
.contact-list strong { display: block; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  color: #b9cfc2;
  padding: 52px 0 30px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 34px;
}
.footer-mark {
  width: 92px;
  height: auto;
  margin-bottom: 14px;
}
.site-footer h4 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b9cfc2; text-decoration: none; }
.site-footer a:hover { color: var(--bright); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.87rem;
  color: #90a99a;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .hero { padding: 52px 0 58px; }
  .site-header .wrap { min-height: 0; padding-top: 6px; padding-bottom: 6px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 0.9rem; }
  .brand-mark { width: 54px; }
  .brand { gap: 10px; }
}


/* ---------- Portraits ---------- */
.prose::after { content: ""; display: block; clear: both; }
.portrait-figure { float: right; width: 262px; margin: 4px 0 22px 34px; }
.portrait-figure img { width: 100%; height: auto; display: block; }
.portrait-figure.framed img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.portrait-figure figcaption { margin-top: 12px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) {
  .portrait-figure { float: none; width: 100%; max-width: 300px; margin: 0 auto 26px; }
  .portrait-figure figcaption { text-align: center; }
}
