/* ============================================================
   Yarrow Blossoms — Therapy Practice
   Design system & shared styles
   ============================================================ */

:root {
  --sage: #8ba888;
  --sage-dark: #5d7a5b;
  --sage-deep: #3f5a40;
  --sage-pale: #e3ebe1;
  --cream: #faf6ef;
  --cream-warm: #f5ede0;
  --warm-white: #fefcf8;
  --peach: #f0c4a8;
  --peach-deep: #d9a17e;
  --dusty-pink: #d9a5a0;
  --soft-yellow: #f4d97a;
  --ink: #3a4a3a;
  --ink-soft: #4d5d4d;
  --muted: #7a8576;
  --line: #e8e2d4;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Nunito Sans', 'Helvetica Neue', system-ui, sans-serif;

  --max-w: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 4px 24px rgba(58, 74, 58, 0.07);
  --shadow-hover: 0 8px 32px rgba(58, 74, 58, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--sage-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; color: var(--sage-dark); }
h4 { font-size: 1.1rem; color: var(--sage-dark); }

p { margin: 0 0 1em; }

a { color: var(--sage-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 4px; }

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

/* ============================================================
   Layout
   ============================================================ */

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

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
section.tight { padding: 48px 0; }

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-mark { width: 52px; height: 52px; flex: 0 0 52px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--sage-deep);
  font-weight: 500;
  letter-spacing: 1.5px;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
}

.nav a:hover { color: var(--sage-deep); text-decoration: none; }

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--peach-deep);
}

.nav .cta {
  background: var(--sage-dark);
  color: var(--warm-white);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background .2s;
}
.nav .cta:hover { background: var(--sage-deep); color: var(--warm-white); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  color: var(--sage-deep);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--warm-white);
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: none;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(240, 196, 168, 0.35), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(139, 168, 136, 0.25), transparent 55%),
    var(--cream);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 70px; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--peach-deep);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mark svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(58, 74, 58, 0.08));
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--warm-white);
}
.btn-primary:hover {
  background: var(--sage-deep);
  color: var(--warm-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage-dark);
  padding: 12.5px 28px;
}
.btn-secondary:hover {
  background: var(--sage-dark);
  color: var(--warm-white);
  text-decoration: none;
}

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Section: Intro / about preview
   ============================================================ */

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .eyebrow { margin-bottom: 10px; }

.section-title p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   Cards / services grid
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--sage-dark);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.card .read-more {
  font-weight: 600;
  color: var(--peach-deep);
  font-size: 0.9rem;
  margin-top: auto;
}

/* ============================================================
   Approach feature row (alternating)
   ============================================================ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}

.feature-row.reverse > :first-child { order: 2; }

@media (max-width: 760px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.reverse > :first-child { order: initial; }
}

.feature-illustration {
  background: var(--sage-pale);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.feature-illustration svg { max-width: 240px; width: 100%; height: auto; }

/* ============================================================
   Quote / pull
   ============================================================ */

.pull-quote {
  background: var(--cream-warm);
  padding: 60px 24px;
  text-align: center;
}

.pull-quote blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-style: italic;
  color: var(--sage-deep);
  line-height: 1.4;
  position: relative;
}

.pull-quote blockquote::before,
.pull-quote blockquote::after {
  content: '"';
  font-size: 3rem;
  color: var(--peach-deep);
  opacity: 0.4;
}

.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
   CTA strip
   ============================================================ */

.cta-strip {
  background: var(--sage-deep);
  color: var(--warm-white);
  padding: 70px 0;
  text-align: center;
}

.cta-strip h2 { color: var(--warm-white); }

.cta-strip p {
  color: rgba(254, 252, 248, 0.85);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-strip .btn-primary {
  background: var(--warm-white);
  color: var(--sage-deep);
}
.cta-strip .btn-primary:hover { background: var(--peach); color: var(--sage-deep); }

/* ============================================================
   Page hero (subpages)
   ============================================================ */

.page-hero {
  background:
    radial-gradient(circle at 80% 30%, rgba(240, 196, 168, 0.25), transparent 50%),
    var(--cream);
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ============================================================
   Blog
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.blog-card-image {
  height: 200px;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.blog-card-image svg { width: 60%; height: auto; opacity: 0.75; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Article hero image */
.article-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 8px 0 36px;
  display: block;
}

/* Inline article figure */
.article-figure {
  margin: 36px 0;
}
.article-figure img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}
.article-figure figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
}

.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--peach-deep);
  margin-bottom: 10px;
  font-weight: 600;
}

.blog-card h3 {
  margin-bottom: 10px;
  color: var(--sage-deep);
}

.blog-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.read-link {
  margin-top: 14px;
  font-weight: 600;
  color: var(--sage-dark);
  font-size: 0.9rem;
}

/* Article styling */

.article {
  background: var(--warm-white);
  padding: 60px 0 80px;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-content h1 {
  margin-bottom: 16px;
}

.article-content .meta {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 40px;
  display: block;
}

.article-content h2 {
  margin-top: 40px;
  font-size: 1.5rem;
}

.article-content h3 {
  margin-top: 30px;
  font-size: 1.2rem;
  color: var(--sage-deep);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.article-content blockquote {
  border-left: 3px solid var(--peach-deep);
  padding: 6px 24px;
  margin: 30px 0;
  font-style: italic;
  color: var(--sage-deep);
  background: var(--cream-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-content ul {
  padding-left: 22px;
}

.article-content ul li {
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--sage-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================================
   Contact / Form
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

.contact-info-block {
  background: var(--sage-pale);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-info-block h3 { color: var(--sage-deep); margin-bottom: 8px; }

.contact-detail {
  margin: 24px 0;
}

.contact-detail .label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail a, .contact-detail span {
  color: var(--ink);
  font-size: 1rem;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form.contact-form label {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border .2s, box-shadow .2s;
}

form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: none;
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 3px rgba(139, 168, 136, 0.18);
}

form.contact-form textarea { resize: vertical; min-height: 140px; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--sage-deep);
  color: rgba(254, 252, 248, 0.85);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.footer-brand .brand-name { color: var(--warm-white); }
.footer-brand .brand-tagline { color: rgba(254, 252, 248, 0.6); }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(254, 252, 248, 0.7);
  max-width: 360px;
}

.footer-col h4 {
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: rgba(254, 252, 248, 0.78);
  font-size: 0.9rem;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--peach); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(254, 252, 248, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(254, 252, 248, 0.55);
}

/* ============================================================
   Utility
   ============================================================ */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

.divider {
  height: 1px;
  background: var(--line);
  margin: 40px 0;
  border: 0;
}

/* Disclosure / accreditation strip */
.creds {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.creds-secondary { margin-top: 10px; }

/* Left-align the hero credentials so they don't drift centre */
.hero .creds,
.hero .creds-secondary {
  justify-content: flex-start;
}

.cred-pill {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--sage-dark);
  letter-spacing: 1px;
  font-weight: 600;
}
