/* ═══════════════════════════════════════════════════════════
   Threadwork Therapy — stylesheet
   Colors and fonts carried over from your brand palette.
   You shouldn't need to edit this file.
   ═══════════════════════════════════════════════════════════ */

:root {
  --teal:      #2C5F5A;
  --teal-dark: #234B47;
  --terra:     #C4704F;
  --terra-dark:#A85C3E;
  --sage:      #7A9E7E;
  --cream:     #FAFAF7;
  --cream-alt: #F3F1EA;
  --ink:       #2D2D2D;
  --muted:     #6B6B66;
  --line:      #E4E1D8;
  --max:       1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--teal);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration-color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--terra); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; }

/* ── header ───────────────────────────────────────────── */
header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px 28px; max-width: var(--max); margin: 0 auto;
}
.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem; color: var(--teal); text-decoration: none;
  font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
}
.brand:hover { color: var(--teal); }
.navlinks { display: flex; align-items: center; gap: 30px; list-style: none; }
.navlinks a {
  text-decoration: none; color: var(--ink); font-size: 0.96rem;
  padding-bottom: 3px; border-bottom: 1.5px solid transparent; transition: .18s;
}
.navlinks a:hover, .navlinks a.active { color: var(--teal); border-bottom-color: var(--terra); }

.btn {
  display: inline-block; background: var(--terra); color: #fff !important;
  padding: 13px 26px; border-radius: 3px; text-decoration: none;
  font-size: 0.95rem; font-weight: 500; letter-spacing: .01em;
  transition: background .18s; border: none; cursor: pointer;
}
.btn:hover { background: var(--terra-dark); color: #fff !important; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-ghost {
  background: transparent; color: var(--teal) !important;
  border: 1.5px solid var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: #fff !important; }

.menu-toggle {
  display: none; background: none; border: none; font-size: 1.6rem;
  color: var(--teal); cursor: pointer; line-height: 1;
}

/* ── sections ─────────────────────────────────────────── */
section { padding: 88px 0; }
section.tight { padding: 60px 0; }
.alt { background: var(--cream-alt); }

.hero { padding: 96px 0 88px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 60px; align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.lede { font-size: 1.22rem; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 14px;
}

.rule { width: 54px; height: 2px; background: var(--terra); margin: 26px 0; border: 0; }

/* ── photo placeholders ───────────────────────────────── */
.photo {
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-alt);
  line-height: 0;
}
.photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; aspect-ratio: 4 / 3;
}
/* dashed box only when no image has been added yet */
.photo:empty, .photo:not(:has(img)) {
  border: 2px dashed var(--sage);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 30px; min-height: 380px;
  color: var(--muted); font-size: 0.87rem; line-height: 1.5;
}

/* ── cards ────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 46px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 34px 30px; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card a.more {
  margin-top: 20px; font-size: 0.92rem; color: var(--terra);
  text-decoration: none; font-weight: 500; align-self: flex-start;
}
.card a.more:hover { text-decoration: underline; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; margin-top: 46px; }
.three h4 { color: var(--teal); margin-bottom: 12px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.05rem; }
.three p { color: var(--muted); font-size: 0.98rem; }

/* ── lists ────────────────────────────────────────────── */
.ticks { list-style: none; margin: 22px 0; }
.ticks li {
  padding-left: 26px; position: relative; margin-bottom: 11px; color: var(--muted);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; background: var(--sage); border-radius: 50%;
}

/* ── service blocks ───────────────────────────────────── */
.service { padding: 64px 0; border-bottom: 1px solid var(--line); }
.service:last-of-type { border-bottom: 0; }
.service-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.service-grid h2 { margin-bottom: 0; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--line); padding: 28px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 1.32rem; margin-bottom: 12px; }
.faq-item p { color: var(--muted); }

/* ── detail rows ──────────────────────────────────────── */
.details { margin-top: 34px; }
.detail-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.detail-row:last-child { border-bottom: 0; }
.detail-row dt { font-weight: 700; color: var(--teal); font-size: 0.95rem; }
.detail-row dd { color: var(--muted); }

/* ── steps ────────────────────────────────────────────── */
.steps { counter-reset: step; margin-top: 40px; }
.step {
  position: relative; padding-left: 62px; margin-bottom: 32px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 500;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.step h4 { margin-bottom: 6px; font-family: 'DM Sans', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--teal); }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ── quote ────────────────────────────────────────────── */
.pullquote {
  border-left: 3px solid var(--terra); padding: 6px 0 6px 26px;
  margin: 34px 0; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem; color: var(--teal); font-style: italic; line-height: 1.4;
}

/* ── CTA band ─────────────────────────────────────────── */
.cta-band { background: var(--teal); color: #fff; text-align: center; padding: 82px 0; }
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }

/* ── footer ───────────────────────────────────────────── */
footer { background: var(--cream-alt); border-top: 1px solid var(--line); padding: 60px 0 34px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 40px; }
.foot-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem; color: var(--teal); margin-bottom: 10px; display: block;
}
footer h5 {
  font-size: 0.76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 14px; font-weight: 700;
}
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--terra); }
footer p { color: var(--muted); }

.crisis {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--terra);
  padding: 16px 20px; border-radius: 3px; font-size: 0.9rem;
  color: var(--muted); margin-bottom: 30px;
}
.crisis strong { color: var(--ink); }

.legal {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; color: var(--muted); font-size: 0.85rem;
}

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .service-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .three { grid-template-columns: 1fr; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .photo { min-height: 300px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 62px 0; }
  .hero { padding: 62px 0 56px; }
  .wrap { padding: 0 22px; }
  .nav { padding: 16px 22px; flex-wrap: wrap; }
  .menu-toggle { display: block; order: 3; }
  .navlinks {
    display: none; width: 100%; flex-direction: column;
    align-items: flex-start; gap: 16px; order: 4; padding: 18px 0 6px;
  }
  .navlinks.open { display: flex; }
  .nav > .btn { order: 2; padding: 10px 18px; font-size: 0.88rem; }
  .detail-row { grid-template-columns: 1fr; gap: 4px; }
  .pullquote { font-size: 1.3rem; }
}
