/* ============================================================
   Michael Dickman, MS, LMFT — site styles
   Palette: deep sage greens + warm cream, Lora / Nunito
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-950: #243831;
  --green-900: #2f4639;
  --green-800: #3c5a4a;
  --green-700: #4a6f5c;
  --green-500: #6f9b84;
  --green-300: #aac9b8;
  --green-100: #e9f1ec;
  --green-50:  #f3f7f4;
  --cream:     #faf8f3;
  --paper:     #ffffff;
  --ink:       #25302a;
  --ink-soft:  #5a6760;
  --terra:     #c4795a;
  --line:      #e3e8e2;
  --shadow:    0 10px 36px rgba(36, 56, 49, .10);
  --radius:    18px;
  --font-head: "Lora", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.22; color: var(--green-950); }
h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
h3 { font-size: 19px; }

.eyebrow {
  font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-500); margin-bottom: 12px;
}
.lede { font-size: 19px; color: var(--ink-soft); max-width: 54ch; }
.finePrint { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  border-radius: 999px; padding: 11px 22px; cursor: pointer; text-decoration: none;
  border: 1.5px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: 0 6px 20px rgba(47, 70, 57, .25); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-1px); }
.btn-outline { border-color: var(--green-300); color: var(--green-800); background: transparent; }
.btn-outline:hover { border-color: var(--green-700); background: var(--green-50); }
.btn-ghost { color: var(--green-800); background: transparent; font-weight: 800; }
.btn-ghost:hover { background: var(--green-50); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 22px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center; letter-spacing: .02em;
}
.logo-text { line-height: 1.25; }
.logo-text strong { font-family: var(--font-head); font-size: 17px; font-weight: 600; display: block; }
.logo-text em { font-style: normal; font-size: 11.5px; color: var(--ink-soft); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: 14.5px;
  padding: 8px 13px; border-radius: 999px; transition: all .15s;
}
.main-nav a:hover { color: var(--green-900); background: var(--green-100); }
.header-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--green-900); margin: 5px 0; border-radius: 2px; }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(700px 420px at 88% -10%, var(--green-100), transparent 60%),
    radial-gradient(500px 380px at -8% 110%, #f4ece2, transparent 55%),
    var(--cream);
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--green-700); }
.hero .lede { margin: 18px 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.trust-row li { font-size: 14px; font-weight: 700; color: var(--green-800); }

.hero-photo { position: relative; justify-self: center; }
.photo-frame {
  width: min(400px, 80vw); aspect-ratio: 1; overflow: hidden; position: relative;
  border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%;
  box-shadow: var(--shadow);
  outline: 10px solid rgba(255,255,255,.75);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-card {
  position: absolute; left: -14px; bottom: 4px;
  background: var(--paper); border-radius: 14px; box-shadow: var(--shadow);
  padding: 13px 18px; line-height: 1.4;
}
.photo-card strong { font-family: var(--font-head); font-size: 16px; color: var(--green-950); display: block; }
.photo-card span { font-size: 12px; color: var(--ink-soft); }

/* ---------------- Sections ---------------- */
.section { padding: 88px 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-body { margin-top: 26px; display: grid; gap: 18px; font-size: 17.5px; color: #39443d; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ico { font-size: 26px; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

.approaches { margin-top: 46px; text-align: center; }
.approaches h3 { margin-bottom: 18px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.chips li {
  font-size: 13.5px; font-weight: 700; color: var(--green-800);
  background: var(--green-100); border-radius: 999px; padding: 7px 16px;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start;
}
.step-n {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  font-weight: 800; font-size: 16px; display: grid; place-items: center;
}
.step p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }

/* split layouts */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.checklist { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; font-weight: 600; color: #39443d; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; border-radius: 50%; font-size: 12px; font-weight: 800;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center;
}

/* telehealth mock */
.mock-video {
  background: var(--green-950); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); max-width: 460px; margin: 0 auto;
}
.mock-bar { display: flex; gap: 6px; padding: 13px 16px; background: rgba(255,255,255,.06); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock-bar span:first-child { background: #e0897a; }
.mock-body { padding: 44px 30px 50px; text-align: center; color: #fff; }
.mock-avatar {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px;
  outline: 4px solid rgba(255,255,255,.25);
}
.mock-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mock-body strong { font-family: var(--font-head); font-size: 19px; }
.mock-sub { font-size: 13.5px; color: var(--green-300); margin-top: 6px; }
.mock-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: #7ed8a0; margin-top: 22px; animation: pulse 1.6s ease infinite;
}
@keyframes pulse { 50% { opacity: .35; transform: scale(.85); } }

/* fees */
.fee-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.fee-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center;
}
.fee-card.featured { border-color: var(--green-500); box-shadow: var(--shadow); }
.fee-amount { font-family: var(--font-head); font-size: 38px; color: var(--green-900); margin: 12px 0 10px; }
.fee-amount span { font-size: 15px; font-family: var(--font-body); color: var(--ink-soft); margin-left: 4px; }
.fee-card p { font-size: 14px; color: var(--ink-soft); }
.pay-row { margin-top: 36px; display: flex; gap: 26px; align-items: center; justify-content: center; }
.pay-row p { font-size: 13.5px; color: var(--ink-soft); max-width: 56ch; }

/* contact */
.contact-rows { display: grid; gap: 12px; margin: 26px 0 30px; }
.contact-row {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
  transition: all .15s;
}
.contact-row:hover { border-color: var(--green-500); transform: translateX(2px); }
.contact-row small { color: var(--ink-soft); }
.cr-ico { font-size: 20px; }

.hours-card {
  background: var(--green-950); color: #fff; border-radius: 20px;
  padding: 34px 32px; box-shadow: var(--shadow); max-width: 420px; margin: 0 auto;
}
.hours-card h3 { color: #fff; margin-bottom: 18px; }
.kvlist { list-style: none; display: grid; gap: 0; }
.kvlist li {
  display: flex; justify-content: space-between; gap: 16px; font-size: 14px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.kvlist span { color: var(--green-300); }
.kvlist strong { text-align: right; font-weight: 700; }
.linkedin { display: inline-block; margin-top: 20px; color: #aee3c4; font-weight: 700; text-decoration: none; }
.linkedin:hover { text-decoration: underline; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--green-950); color: var(--green-300); padding: 54px 0 40px; font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.site-footer strong { color: #fff; }
.site-footer a { color: #cfe6d8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.crisis {
  border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 16px 20px;
  font-size: 13px; line-height: 1.7; background: rgba(255,255,255,.04);
}
.crisis strong { color: #ffd9a8; }
.colophon { margin-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ---------------- Reveal animation (only hide when JS is on, so content never disappears without it) ---------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------- Hero alt link ---------------- */
.hero-altlink { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.hero-altlink a { color: var(--green-700); font-weight: 700; text-decoration: none; }
.hero-altlink a:hover { text-decoration: underline; }

/* ---------------- Graceful image fallbacks ---------------- */
.photo-frame, .mock-avatar { background: var(--green-100); }

/* ---------------- Fees polish ---------------- */
.fee-intro { max-width: 60ch; margin: 0 auto; color: var(--ink-soft); font-size: 16px; }
.fee-tba { font-size: 23px; color: var(--green-700); }
.fee-card.featured { position: relative; border-color: var(--terra); box-shadow: var(--shadow); }
.fee-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--terra); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}

/* ---------------- FAQ ---------------- */
.faq { margin-top: 38px; display: grid; gap: 12px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 2px 22px; transition: border-color .15s, box-shadow .15s;
}
.faq details[open] { border-color: var(--green-500); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-weight: 700;
  font-size: 16px; color: var(--green-950); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--green-500); font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .fee-cards { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 12px 20px 18px; gap: 2px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-primary { padding: 9px 16px; font-size: 13.5px; }
  .pay-row { flex-direction: column; text-align: center; }
  .photo-card { left: 50%; transform: translateX(-50%); bottom: -16px; white-space: nowrap; }
  .section { padding: 64px 0; }
}
