/* =========================================================
   FoundWell Creative Co. — Site Styles
   Get found. Grow well.
   ========================================================= */

/* Reset + Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Color tokens — refined from FoundWell logo (sage tree, paper-cut layers, warm cream) */
:root {
  --cream: #f5ede1;          /* warm paper cream from logo background */
  --cream-soft: #faf4ea;      /* lighter alt section background */
  --green: #6b8458;           /* sage green from "FoundWell" text */
  --green-deep: #4a5d3a;      /* deepest leaf shadow, button hover */
  --green-mid: #8aa074;       /* mid leaf tone */
  --green-light: #b8c8a3;     /* lightest leaf, soft accent */
  --green-tint: #e6ebdb;      /* very pale sage for icon backgrounds */
  --bark: #8d6f4d;            /* trunk brown, used sparingly */
  --bark-deep: #6b5238;
  --ink: #2d2a26;             /* warm charcoal instead of cool navy */
  --ink-deep: #1f1d1a;        /* footer background */
  --gray: #7a746a;            /* warm taupe gray */
  --gray-light: #efe9dd;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.04);
  --shadow-md: 0 8px 24px rgba(45, 42, 38, 0.08);
  --shadow-lg: 0 16px 40px rgba(45, 42, 38, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --section: 96px;
}

/* Typography */
body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { color: var(--ink); }
.muted { color: var(--gray); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section) 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--gray); margin-top: 14px; font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.25);
}
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 6px 20px rgba(45, 106, 79, 0.35); }

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-secondary:hover { background: var(--green); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--green);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--green); }

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 237, 225, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(45, 42, 38, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--ink);
}
.brand-mark-svg {
  width: 72px;
  height: 72px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.footer .brand-mark-svg { display: none; }
/* Hide the wordmark text in the nav since the logo image already contains it */
.brand .wordmark { display: none; }
/* Show the wordmark in the footer instead, since the dark-green logo gets lost on the dark background */
.footer .brand .wordmark {
  display: inline;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.footer .brand { gap: 0; }
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  font-size: 0.97rem;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta { margin-left: 8px; padding: 10px 22px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero p.lead {
  font-size: 1.18rem;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-art {
  position: relative;
  aspect-ratio: 480 / 520;
  max-width: 480px;
  margin-left: auto;
}
.hero-art svg { width: 100%; height: 100%; display: block; }

/* Social proof bar */
.proof {
  background: var(--white);
  border-top: 1px solid rgba(26, 26, 46, 0.06);
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  padding: 36px 0;
}
.proof-line {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.proof-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.proof-stat strong { color: var(--ink); font-weight: 600; }
.proof-stat span { color: var(--gray); font-size: 0.92rem; }

/* Problem section */
.problem { background: var(--white); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.problem h2 { margin-bottom: 20px; }
.problem p { color: var(--gray); font-size: 1.05rem; margin-bottom: 16px; }
.problem p strong { color: var(--ink); font-weight: 600; }
.problem-art {
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin-left: auto;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 26, 46, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-tint);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray); margin-bottom: 22px; flex: 1; }
.card-price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 22px;
}

/* Featured / bundle card — visually elevated above the rest */
.card-featured {
  border-top: 3px solid var(--green-deep);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fbf6ec 0%, var(--white) 100%);
}
.card-featured .card-icon {
  background: var(--green-deep);
  color: var(--cream);
}
.card-featured .featured-mark {
  color: var(--green-deep);
  font-size: 0.9em;
  margin-left: 4px;
  vertical-align: 0.06em;
}

/* Inclusions list inside service cards */
.card-includes {
  list-style: none;
  padding: 0;
  margin: 4px 0 22px 0;
  display: grid;
  gap: 8px;
}
.card-includes li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
}
.card-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-mid);
}

/* Packages */
.packages { background: var(--white); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pkg {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(26, 26, 46, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pkg.featured {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}
.pkg.featured h3 { color: var(--white); }
.pkg.featured .pkg-price { color: var(--white); }
.pkg.featured .pkg-meta { color: var(--green-light); }
.pkg.featured ul li { color: rgba(255, 255, 255, 0.9); }
.pkg.featured ul li::before { background: var(--green-light); }

.pkg-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--green-light);
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pkg h3 { margin-bottom: 8px; }
.pkg-meta { color: var(--gray); font-size: 0.95rem; margin-bottom: 18px; }
.pkg-price {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--green);
  margin-bottom: 4px;
}
.pkg-price small { font-size: 1rem; color: var(--gray); font-weight: 400; }
.pkg.featured .pkg-price small { color: var(--green-light); }
.pkg ul { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.pkg ul li {
  position: relative;
  padding-left: 24px;
  color: var(--gray);
  font-size: 0.95rem;
}
.pkg ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.pkg .btn { margin-top: auto; width: 100%; }

.packages-note {
  text-align: center;
  margin-top: 36px;
  color: var(--gray);
  font-size: 0.98rem;
}
.packages-note a { color: var(--green); font-weight: 600; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.step {
  text-align: left;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; font-size: 1.25rem; }
.step p { color: var(--gray); }

/* About */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-tint), var(--green-light));
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  max-width: 180px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.06) brightness(1.02);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f5ede1 0%, #8aa074 55%, #4a5d3a 100%);
  mix-blend-mode: color;
  opacity: 0.92;
  pointer-events: none;
}
/* Hide the duotone overlay and show the placeholder only when no img is loaded */
.about-photo:not(:has(img))::after { content: none; }
.about-photo:has(img) .placeholder { display: none; }
.about-photo .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green-deep);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
  font-style: italic;
  z-index: 1;
}
.about h2 { margin-bottom: 20px; }
.about p { color: var(--gray); margin-bottom: 16px; font-size: 1.05rem; }
.about-cta { margin-top: 12px; }

/* Blog cards on home */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 26, 46, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--green-tint), var(--green-light));
  position: relative;
}
.post-thumb-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green-deep);
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  opacity: 0.5;
}
.post-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-tag {
  display: inline-block;
  background: var(--green-tint);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  align-self: flex-start;
}
.post-body h3 { font-size: 1.25rem; line-height: 1.3; }
.post-body p { color: var(--gray); font-size: 0.96rem; flex: 1; }
.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--gray);
  padding-top: 6px;
}
.post-meta a { color: var(--green); font-weight: 600; }

.center-link { text-align: center; margin-top: 40px; }
.center-link a { color: var(--green); font-weight: 600; }

/* CTA banner */
.cta-banner {
  background: var(--green);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: var(--green-light); font-size: 1.1rem; max-width: 620px; margin: 0 auto 32px; }
.cta-banner .btn-row { justify-content: center; }

/* Footer — deep forest to echo logo greens */
.footer {
  background: #2a3522;
  color: rgba(245, 237, 225, 0.85);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
}
.footer .brand { color: #f5ede1; }
.footer .brand-mark { background: var(--green-light); color: var(--green-deep); }
.footer-tag { color: rgba(245, 237, 225, 0.6); font-size: 0.92rem; margin-top: 8px; }
.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.footer-nav a { color: rgba(245, 237, 225, 0.85); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--green-light); }
.footer-contact { text-align: right; font-size: 0.95rem; }
.footer-contact a { color: var(--green-light); }
.footer-bottom {
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(245, 237, 225, 0.5);
  text-align: center;
  border-top: 1px solid rgba(245, 237, 225, 0.1);
  margin-top: 20px;
}

/* Page header (for blog + contact pages) */
.page-header {
  padding: 80px 0 48px;
  background: var(--cream);
}
.page-header h1 { margin-bottom: 16px; }
.page-header p { color: var(--gray); font-size: 1.1rem; max-width: 680px; }

/* Blog page */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(26, 26, 46, 0.08);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* Single blog post */
.post {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.post-header { margin-bottom: 40px; }
.post-header .post-tag { margin-bottom: 16px; }
.post-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; line-height: 1.15; }
.post-header .post-meta {
  font-size: 0.95rem;
  color: var(--gray);
  border: none;
  padding: 0;
}
.post-content { font-size: 1.08rem; line-height: 1.78; color: var(--ink); }
.post-content p { margin-bottom: 1.2em; color: var(--ink); }
.post-content h2 { margin: 1.8em 0 0.6em; font-size: 1.7rem; }
.post-content h3 { margin: 1.4em 0 0.5em; font-size: 1.3rem; }
.post-content ul, .post-content ol {
  margin: 0 0 1.4em 1.4em;
  padding: 0;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 0.6em; padding-left: 6px; }
.post-content blockquote {
  border-left: 3px solid var(--green);
  padding: 6px 0 6px 24px;
  margin: 1.6em 0;
  font-style: italic;
  color: var(--gray);
}
.post-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  padding-bottom: 48px;
}
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 26, 46, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}
.form input, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(26, 26, 46, 0.1);
  border-radius: 12px;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.form textarea { resize: vertical; min-height: 140px; }
.form-success {
  display: none;
  background: var(--green-tint);
  border: 1px solid var(--green-light);
  color: var(--green-deep);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.form-success.show { display: block; }

.contact-side h3 { margin-bottom: 12px; font-size: 1.4rem; }
.contact-side p { color: var(--gray); margin-bottom: 20px; }
.calendly-placeholder {
  background: var(--white);
  border: 2px dashed var(--green-light);
  border-radius: var(--radius);
  padding: 60px 24px;
  text-align: center;
  color: var(--green-deep);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.calendly-placeholder strong { display: block; margin-bottom: 6px; font-family: 'DM Serif Display', serif; font-size: 1.2rem; }
.contact-direct {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-direct strong { display: block; margin-bottom: 6px; color: var(--ink); }
.contact-direct a { color: var(--green); font-weight: 600; }

/* Responsive */
@media (max-width: 960px) {
  :root { --section: 72px; }
  .hero-grid, .problem-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .packages-grid, .steps, .blog-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg.featured { transform: none; }
  .footer-grid { gap: 24px; text-align: center; }
  .footer-nav, .footer-contact { justify-content: center; text-align: center; }
  .hero-art, .problem-art { max-width: 360px; margin: 0 auto; }
  .about-photo { margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
  }
  .nav-links.open .nav-cta { width: 100%; padding: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; gap: 18px; }
  body { font-size: 16px; }
  .hero { padding: 56px 0 64px; }
  section { padding: var(--section) 0; }
  .form { padding: 28px 22px; }
}

@media (min-width: 961px) {
  .services-grid, .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
