/* Healer Tom — modern stylesheet, 2026 rebuild */

:root {
  --purple: #5d3a6b;
  --purple-dark: #3f2649;
  --purple-light: #7e5684;
  --teal: #2f7d6e;
  --teal-light: #4aa893;
  --cream: #f6f2ef;
  --ink: #2b2030;
  --muted: #6b5d72;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(63, 38, 73, 0.12);
  --radius: 14px;
  --maxw: 1080px;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--purple-dark);
}

a { color: var(--teal); }
a:hover { color: var(--teal-light); }

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

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--purple-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.brand span { color: var(--teal-light); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a:focus-visible { background: var(--purple-light); color: var(--white); }
.nav-links a[aria-current="page"] { background: var(--teal); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 60%, var(--teal) 140%);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 1.25rem;
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 0.5rem; }
.hero p { font-size: 1.2rem; max-width: 36rem; margin: 0 auto; opacity: 0.95; }
.hero .btn { margin-top: 1.75rem; }

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.12s, background 0.15s;
}
.btn:hover { background: var(--teal-light); color: var(--white); transform: translateY(-2px); }

/* ---------- Main content ---------- */
main { padding: 3rem 0; animation: fade 0.4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.page-title { text-align: center; font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 2rem; }

.prose { max-width: 46rem; margin: 0 auto; }
.prose h2 {
  font-size: 1.6rem;
  margin: 2.2rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--teal-light);
}
.prose h3 { font-size: 1.3rem; margin: 1.6rem 0 0.4rem; color: var(--teal); }
.prose p { margin: 0 0 1.1rem; }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }

/* ---------- Home intro ---------- */
.intro {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 52rem;
  margin: 0 auto;
}
.intro-photo {
  flex: 0 0 auto;
  width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 620px) {
  .intro { flex-direction: column; text-align: center; }
}

/* ---------- Article photo ---------- */
.article-photo {
  float: right;
  width: 200px;
  margin: 0.3rem 0 1rem 1.5rem;
  text-align: center;
}
.article-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-photo figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.4rem;
}
@media (max-width: 600px) {
  .article-photo { float: none; width: 100%; max-width: 240px; margin: 0 auto 1.5rem; }
}

/* ---------- Cards (home services) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  border-top: 4px solid var(--teal);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(63, 38, 73, 0.2); }
.card h3 { margin: 0 0 0.5rem; color: var(--purple); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}
.contact-box a { font-weight: 600; }
.contact-row { margin: 0.6rem 0; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}
.site-footer a { color: var(--teal-light); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--purple-dark);
    padding: 0.5rem 1rem 1rem;
    gap: 0.15rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.85rem; }
  .nav { position: relative; }
}
