/* ==========================================================================
   Growing Curious Children, shared stylesheet
   Brand: brighter, more vivid sibling of Grounded Parenting
   Palette:
     Bright leaf green   #1D910C   headings, titles, primary brand
     Light sage green    #81D17C   accent lines, highlights, soft fills
     Deep chocolate brown #4C2600  body text, subtitles, footers
     Caramel             #A07239   secondary accents, warm detail
     Soft cream          #FAFBF0   backgrounds, callout fills
   Typeface: Arial throughout (matches Grounded Parenting)
   Note: never use em dashes anywhere in content.
   ========================================================================== */

:root {
  --leaf:    #1D910C;
  --sage:    #81D17C;
  --choc:    #4C2600;
  --caramel: #A07239;
  --cream:   #FAFBF0;
  --leaf-soft: #E8F4E6;   /* very light leaf tint for section bands */
  --line:    #E4E0D2;     /* hairline dividers on cream */
  --maxw:    880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--choc);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

section { padding: 64px 0; }
.band { background: var(--leaf-soft); }
.band-cream { background: var(--cream); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 2px solid var(--sage);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--leaf);
}
.brand .mark { width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain; }

/* Hero badge (full circular logo) */
.hero-badge { display: block; width: 168px; height: auto; margin: 0 auto 22px; }
.article-hero .hero-badge { margin: 0 0 18px; }

/* Footer logo */
.footer-logo { width: 40px; height: 40px; object-fit: contain; vertical-align: middle; margin-right: 10px; }
.brand .brand-name {
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.2px;
  color: var(--leaf);
  line-height: 1.1;
}
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--choc);
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--leaf); border-bottom-color: var(--sage); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(129,209,124,0.18), rgba(250,251,240,0) 70%),
    var(--cream);
  padding: 88px 0 72px;
  text-align: center;
}
.hero h1 {
  color: var(--leaf);
  font-size: 46px;
  line-height: 1.12;
  margin: 0 0 18px;
}
.hero p.lede {
  font-size: 21px;
  color: var(--choc);
  max-width: 660px;
  margin: 0 auto 28px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: bold;
  color: var(--caramel);
  margin: 0 0 14px;
}

/* ---------- Headings ---------- */
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; }
h2 { color: var(--leaf); font-size: 32px; line-height: 1.2; margin: 0 0 18px; }
h3 { color: var(--leaf); font-size: 23px; margin: 32px 0 10px; }
.subtitle { color: var(--caramel); font-weight: bold; font-size: 19px; margin: 0 0 22px; }
.accent-line { height: 4px; width: 72px; background: var(--sage); border: 0; margin: 0 0 24px; border-radius: 2px; }
.center .accent-line { margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--leaf);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 13px 26px;
  border-radius: 6px;
  border: 2px solid var(--leaf);
}
.btn:hover { background: #16720a; border-color: #16720a; }
.btn-ghost {
  background: transparent;
  color: var(--leaf);
}
.btn-ghost:hover { background: var(--leaf); color: #fff; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--sage);
  border-radius: 8px;
  padding: 24px;
}
.card h3 { margin-top: 0; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--caramel);
  margin-bottom: 8px;
}
.card a.more { color: var(--leaf); font-weight: bold; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
.card.linked { text-decoration: none; color: inherit; display: block; }
.card.linked:hover { border-top-color: var(--leaf); box-shadow: 0 6px 20px rgba(76,38,0,0.08); }

/* ---------- Phase chips (Seed / Shoot / Flower) ---------- */
.phases { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.phase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: bold;
  color: var(--choc);
  display: flex; align-items: center; gap: 10px;
}
.phase .dot { width: 12px; height: 12px; border-radius: 50%; }
.phase.seed  .dot { background: var(--caramel); }
.phase.shoot .dot { background: var(--sage); }
.phase.flower .dot { background: var(--leaf); }

/* ---------- Callout ---------- */
.callout {
  background: var(--cream);
  border-left: 4px solid var(--sage);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 26px 0;
}
.callout.placeholder { border-left-color: var(--caramel); background: #FBF3E7; }

/* ---------- Article typography ---------- */
.article { background: #fff; }
.article-hero { background: var(--leaf-soft); padding: 64px 0 44px; }
.article-hero .eyebrow { text-align: left; }
.article-hero h1 { color: var(--leaf); font-size: 40px; line-height: 1.15; margin: 0 0 14px; }
.article-hero .subtitle { margin-bottom: 8px; }
.article-meta { color: var(--caramel); font-size: 15px; font-weight: bold; }
.article-body { padding: 48px 0 64px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.pullquote {
  font-size: 24px;
  line-height: 1.4;
  color: var(--leaf);
  border-left: 4px solid var(--sage);
  padding: 6px 0 6px 24px;
  margin: 34px 0;
  font-style: italic;
}
.practice-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--caramel);
  border-radius: 8px;
  padding: 22px 24px;
  margin: 30px 0;
}
.practice-box h4 { color: var(--caramel); margin: 0 0 12px; font-size: 18px; }

/* map to framework strip on article pages */
.maps-to {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 18px; margin: 8px 0 0;
}
.maps-to .lbl { font-weight: bold; color: var(--choc); font-size: 14px; }
.chip {
  background: var(--leaf-soft); color: var(--leaf); font-weight: bold;
  font-size: 13px; padding: 5px 12px; border-radius: 999px;
}
.chip.caramel { background: #F3E6D6; color: var(--caramel); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--choc);
  color: #EADFD3;
  padding: 40px 0;
  font-size: 15px;
}
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { font-weight: bold; color: #fff; font-size: 18px; margin-bottom: 6px; }
.footer-note { color: #C9B9A8; font-size: 13px; margin-top: 18px; }

/* ---------- Utilities ---------- */
.muted { color: var(--caramel); }
.small { font-size: 14px; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) and (min-width: 821px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .nav { justify-content: center; }
  body { font-size: 17px; }
}
