/* ============================================================
   Jennifer Spychalski Coaching — stylesheet
   Palette: Lowcountry-warm. Sage green (growth), warm cream,
   terracotta accent, deep warm charcoal. Empathetic + grounded.
   ============================================================ */

:root {
  /* Color — Coastal Charleston palette.
     Var names kept for stability; hues remapped:
     sage* = ocean teal, terracotta* = sunset coral, cream = warm sand. */
  --cream:        #F5F2EA;   /* warm sand base */
  --cream-deep:   #E3ECE9;   /* sea-glass alt sections */
  --sage:         #2F7370;   /* primary — ocean teal */
  --sage-deep:    #234E4C;   /* deep sea */
  --sage-soft:    #93C0BA;   /* sea glass */
  --sage-tint:    #E0ECE9;   /* pale seafoam */
  --terracotta:   #DD8062;   /* accent — sunset coral */
  --terracotta-deep:#C96A4C;
  --gold:         #E2B77E;   /* sandy gold */
  --ink:          #22343A;   /* body text — deep slate */
  --ink-soft:     #51636A;
  --line:         #DEE3DD;
  --white:        #FFFFFF;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1140px;
  --radius: 18px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(44, 53, 47, 0.06);
  --shadow-md: 0 12px 34px rgba(44, 53, 47, 0.10);
  --shadow-lg: 0 26px 60px rgba(44, 53, 47, 0.14);
}

/* ---------- Reset / base ---------- */
* { 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: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 1rem;
}
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section-head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 600; font-size: 1.02rem;
  padding: 0.95em 1.7em; border-radius: 100px; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1;
}
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--sage-deep); border-color: var(--sage-soft); }
.btn-ghost:hover { background: var(--sage-tint); border-color: var(--sage); }
.btn-lg { font-size: 1.1rem; padding: 1.1em 2em; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.01em; }
.brand span { color: var(--sage); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.98rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--sage-deep); }
.nav-links a.btn-primary { color: #fff; }        /* keep CTA text white over coral */
.nav-links a.btn-primary:hover { color: #fff; }
.nav .btn { padding: 0.7em 1.3em; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(147,192,186,0.42), transparent 60%),
    radial-gradient(50% 60% at 6% 92%, rgba(226,183,126,0.20), transparent 60%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy h1 { margin-bottom: 0.35em; }
.hero-lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 30em; margin-bottom: 1.7em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-reassure { margin-top: 1.4rem; font-size: 0.98rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; }
.hero-reassure svg { flex: none; }

/* Photo */
.hero-photo-wrap { position: relative; display: flex; justify-content: center; }
.hero-photo {
  position: relative; z-index: 1;
  border-radius: 46% 46% 44% 44% / 40% 40% 44% 44%;
  overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 5.2; width: 100%; background: var(--sage-tint);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
/* Soft offset shape behind the photo — adds depth without overlapping her */
.hero-photo-backdrop {
  position: absolute; z-index: 0;
  inset: 26px -22px -26px 22px;
  border-radius: 46% 46% 44% 44% / 40% 40% 44% 44%;
  background: var(--sage-tint);
}

/* ---------- Trust strip ---------- */
.trust { background: var(--sage-deep); color: #fff; }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 38px; padding-bottom: 38px;
}
.trust-item {
  display: flex; align-items: center; justify-content: center; gap: 13px;
  font-size: 0.95rem; padding: 4px 26px; position: relative; text-align: left;
}
.trust-item + .trust-item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 46px; width: 1px; background: rgba(255,255,255,0.16);
}
.trust-item b { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1; flex: none; }
.trust-item svg { flex: none; }
.trust-item span { color: rgba(255,255,255,0.82); max-width: 13em; line-height: 1.32; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream-deep); }
.tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tcard {
  background: var(--white); border-radius: var(--radius); padding: 36px 34px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
}
.tcard .quote-mark { font-family: var(--serif); font-size: 3.4rem; line-height: 0.5; color: var(--sage-soft); height: 26px; display: block; }
.tcard p { font-size: 1.1rem; color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; }
.tcard .who b { display: block; font-family: var(--sans); font-size: 0.98rem; }
.tcard .who small { color: var(--ink-soft); font-size: 0.85rem; }

/* ---------- "Is this you" specialties ---------- */
.specialties { background: var(--cream); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; max-width: 940px; margin: 0 auto; }
.spec {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.spec .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-tint); display: grid; place-items: center; margin-top: 2px; }
.spec p { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.45; }
.spec-foot { text-align: center; margin-top: 44px; }
.spec-foot p { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1.4em; }

/* ---------- Services ---------- */
.services { background: var(--sage-tint); }
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.scard {
  background: var(--white); border-radius: var(--radius); padding: 38px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scard .ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sage-tint); margin-bottom: 20px;
}
.scard h3 { margin-bottom: 0.4em; }
.scard p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/4.4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-copy .eyebrow { margin-top: 0; }
.about-copy p { color: var(--ink-soft); font-size: 1.08rem; }
.creds { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.cred { background: var(--sage-tint); color: var(--sage-deep); font-weight: 600; font-size: 0.9rem; padding: 8px 16px; border-radius: 100px; }

/* ---------- Offer band ---------- */
.offer { background: linear-gradient(135deg, var(--sage-deep), var(--sage)); color: #fff; text-align: center; }
.offer h2 { color: #fff; }
.offer p { color: rgba(255,255,255,0.9); font-size: 1.18rem; max-width: 40em; margin-left: auto; margin-right: auto; }
.offer .btn-primary { background: #fff; color: var(--sage-deep); }
.offer .btn-primary:hover { background: var(--cream); }
.offer-mini { margin-top: 1.4rem; font-size: 0.95rem; color: rgba(255,255,255,0.8); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 24px 8px; display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--serif); font-size: 1.22rem; color: var(--ink); align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sage-tint); display: grid; place-items: center; transition: transform .2s ease; color: var(--sage-deep); font-size: 1.3rem; }
.faq-item[open] summary .pm { transform: rotate(45deg); }
.faq-item .ans { padding: 0 8px 24px; color: var(--ink-soft); font-size: 1.05rem; max-width: 66ch; }

/* ---------- Final CTA ---------- */
.final { background: var(--cream-deep); text-align: center; }
.final-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px); box-shadow: var(--shadow-md); max-width: 820px; margin: 0 auto;
}
.final h2 { margin-bottom: 0.4em; }
.final p { color: var(--ink-soft); font-size: 1.15rem; max-width: 34em; margin: 0 auto 2em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 60px 0 30px; }
.footer a { color: rgba(255,255,255,0.82); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer .brand span { color: var(--sage-soft); }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; font-size: 0.96rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Article / blog ---------- */
.article-hero { background: var(--cream-deep); padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); }
.article-hero .wrap { max-width: 800px; }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 500; color: var(--sage-deep); margin-bottom: 22px; }
.article-back:hover { color: var(--terracotta-deep); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 20px; font-size: 0.92rem; color: var(--ink-soft); }
.article-meta .tag { background: var(--sage-tint); color: var(--sage-deep); font-weight: 600; padding: 5px 13px; border-radius: 100px; }
.article-body { padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 7vw, 90px); }
.article-body .wrap { max-width: 720px; }
.article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.article-body h3 { font-size: 1.3rem; margin-top: 1.6em; }
.article-body p { font-size: 1.12rem; color: var(--ink); margin-bottom: 1.3em; }
.article-body ul, .article-body ol { font-size: 1.12rem; color: var(--ink); padding-left: 1.3em; margin-bottom: 1.4em; }
.article-body li { margin-bottom: 0.6em; }
.article-body strong { color: var(--ink); }
.article-body .lead { font-size: 1.28rem; color: var(--ink-soft); line-height: 1.55; }
.article-pull {
  border-left: 4px solid var(--terracotta); background: var(--cream-deep);
  padding: 20px 26px; border-radius: 0 14px 14px 0; margin: 2em 0;
  font-family: var(--serif); font-size: 1.3rem; color: var(--sage-deep); line-height: 1.4;
}
.article-cta {
  margin-top: 3em; background: var(--sage-tint); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px); text-align: center;
}
.article-cta h3 { font-size: 1.7rem; margin-bottom: 0.5em; }
.article-cta p { color: var(--ink-soft); max-width: 34em; margin: 0 auto 1.6em; }
.article-related { background: var(--cream); border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card .tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-deep); }
.related-card h4 { font-family: var(--serif); font-size: 1.18rem; margin: 12px 0 0; color: var(--ink); }

/* Blog index */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 940px; margin: 0 auto; }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-deep); margin-bottom: 12px; }
.blog-card h3 { margin-bottom: 0.4em; }
.blog-card p { color: var(--ink-soft); font-size: 1.02rem; flex: 1; }
.blog-card .read { font-weight: 600; color: var(--sage-deep); margin-top: 8px; }

@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { max-width: 400px; margin: 0 auto; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; margin: 0 auto; }
  .scards { grid-template-columns: 1fr; }
  .tcards { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .trust-item:nth-child(odd)::before { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav-links.open li { width: 100%; padding: 8px 0; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .trust-item { padding: 4px 12px; gap: 10px; }
  .trust-item b { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
