/* The Marsh Integrative Therapy — rebuilt demo
   Warm, grounded marsh palette. Serif display + clean sans body. */

:root {
  --moss:   #2f4033;
  --marsh:  #3f5a48;
  --sage:   #7f9b7e;
  --reed:   #b9c6a9;
  --sand:   #f5f0e6;
  --cream:  #fbf8f1;
  --ink:    #272b26;
  --muted:  #5d6359;
  --gold:   #bd8a44;
  --gold-d: #a3742f;
  --line:   #e4ddcd;
  --shadow: 0 18px 40px -24px rgba(47, 64, 51, 0.45);
  --radius: 16px;
  --wrap:   1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--moss);
}

a { color: var(--gold-d); text-decoration: none; }
a:hover { color: var(--gold); }

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

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

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px 24px; max-width: var(--wrap); margin: 0 auto;
}
.brand {
  font-family: "Fraunces", serif; font-size: 1.28rem; font-weight: 600;
  color: var(--moss); letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px;
}
.brand .mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sage), var(--moss));
  box-shadow: inset 0 0 0 3px var(--cream), 0 0 0 1px var(--sage);
  flex: none;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); font-size: 0.94rem; font-weight: 500; letter-spacing: 0.01em;
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav-links a:hover { color: var(--moss); }
.nav-links a.active { color: var(--moss); border-color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--moss); color: var(--cream) !important;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 0 6px 18px -8px rgba(47,64,51,.6);
}
.btn:hover { background: var(--marsh); color: var(--cream) !important; transform: translateY(-1px); }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: var(--gold-d); }
.btn.ghost {
  background: transparent; color: var(--moss) !important;
  border: 1.5px solid var(--sage); box-shadow: none;
}
.btn.ghost:hover { background: var(--sand); color: var(--moss) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-sand { background: var(--sand); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 700;
  color: var(--gold-d); margin: 0 0 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(127,155,126,.35), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--sand));
  padding: 96px 0 88px;
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); max-width: 16ch; margin: 0 0 24px; }
.hero .lead { font-size: 1.2rem; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-tag { font-style: italic; color: var(--sage); font-family: "Fraunces", serif; font-size: 1.05rem; margin: 0 0 18px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .tag { font-size: 0.98rem; }

.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 40px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--reed) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232f4033' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 14px; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.portrait {
  aspect-ratio: 4/5; border-radius: var(--radius); box-shadow: var(--shadow);
  background:
    radial-gradient(120% 120% at 30% 20%, var(--reed), transparent 55%),
    linear-gradient(160deg, var(--sage), var(--marsh));
  display: flex; align-items: flex-end; justify-content: center; color: var(--cream);
  font-family: "Fraunces", serif; font-size: 1.05rem; padding: 22px; text-align: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--marsh), var(--moss));
  color: var(--cream); text-align: center; border-radius: 0;
}
.cta-band h2 { color: var(--cream); font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 16px; }
.cta-band p { color: var(--reed); max-width: 52ch; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- Booking / contact ---------- */
.book-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calendly-embed {
  min-height: 640px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--cream); box-shadow: var(--shadow);
}
.calendly-placeholder {
  min-height: 640px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 40px; color: var(--muted);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(127,155,126,.06) 14px, rgba(127,155,126,.06) 28px),
    var(--cream);
}
.calendly-placeholder .cal-badge {
  width: 56px; height: 56px; border-radius: 14px; background: #006bff; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.4rem;
}
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.contact-list .ic { width: 20px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--moss); color: var(--reed); padding: 54px 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.site-footer h4 { color: var(--cream); font-family: "Fraunces", serif; margin: 0 0 12px; font-weight: 500; }
.site-footer a { color: var(--reed); }
.site-footer a:hover { color: var(--cream); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.foot-note { width: 100%; border-top: 1px solid rgba(185,198,169,.25); margin-top: 14px; padding-top: 20px;
  font-size: 0.82rem; color: rgba(185,198,169,.75); }
.demo-flag {
  background: var(--gold); color: #3a2a10; text-align: center; font-size: 0.82rem;
  font-weight: 600; padding: 7px 12px; letter-spacing: 0.02em;
}

/* ---------- Photo treatments (Kate's real images) ---------- */
.hero--marsh {
  background:
    linear-gradient(180deg, rgba(39,43,38,0.66) 0%, rgba(47,64,51,0.82) 100%),
    url("images/image04.jpg") center 35% / cover no-repeat;
}
.hero--marsh .hero-tag { color: var(--reed); }
.hero--marsh h1 { color: var(--cream); }
.hero--marsh .lead { color: rgba(251,248,241,0.92); }
.hero--marsh .btn.ghost { color: var(--cream) !important; border-color: rgba(251,248,241,0.6); }
.hero--marsh .btn.ghost:hover { background: rgba(251,248,241,0.12); color: var(--cream) !important; }

.portrait-img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* Home "meet Kate" teaser */
.meet-teaser { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.meet-teaser img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Full-width marsh photo band */
.marsh-band {
  height: 340px;
  background: linear-gradient(180deg, rgba(47,64,51,0.15), rgba(47,64,51,0.35)), url("images/image04.jpg") center 40% / cover no-repeat;
}

/* Discreet footer utility link (site/hosting guide) */
.foot-note a { color: rgba(185,198,169,0.85); text-decoration: underline; text-underline-offset: 2px; }
.foot-note a:hover { color: var(--cream); }

/* Guide page (education) */
.guide-body { max-width: 760px; }
.guide-body h2 { font-size: 1.7rem; margin: 48px 0 14px; }
.guide-body h3 { font-size: 1.2rem; margin: 30px 0 8px; color: var(--marsh); }
.guide-body p, .guide-body li { color: var(--muted); }
.guide-body ul { padding-left: 22px; display: grid; gap: 8px; }
.guide-body code { background: var(--sand); padding: 2px 6px; border-radius: 5px; font-size: 0.9em; color: var(--moss); }
.guide-toc { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0 8px; }
.guide-toc ul { list-style: none; padding: 0; margin: 10px 0 0; gap: 6px; }
.guide-toc a { font-weight: 500; }
.callout {
  border-left: 3px solid var(--gold); background: var(--cream);
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; box-shadow: var(--shadow);
}
.callout strong { color: var(--moss); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4, .split, .book-wrap, .meet-teaser { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  .nav-links {
    position: absolute; top: 64px; right: 12px; left: 12px;
    background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
    flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; width: 100%; }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
}
