/* ═══════════════════════════════════════════════
   MIS/UNDERSTAND BPD — Shared Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --sage:        #7a9e7e;
  --sage-light:  #b5ceb8;
  --sage-pale:   #e8f0e9;
  --plum:        #5c3d6e;
  --plum-light:  #8e6aaa;
  --plum-pale:   #f0eaf6;
  --warm-white:  #faf8f4;
  --cream:       #f4efe8;
  --ink:         #1e1a2e;
  --ink-muted:   #4a4560;
  --gold:        #c9a84c;
  --gold-light:  #f0d99a;
  --border:      #e0d8cc;
  --radius:      16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
  padding-top: 64px; /* height of fixed nav */
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { font-size: 1.05rem; color: var(--ink-muted); margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.7rem; border-radius: 40px;
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 500;
  cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.btn-primary  { background: var(--plum); color: #fff; }
.btn-primary:hover  { background: var(--plum-light); }
.btn-secondary { background: var(--cream); color: var(--plum); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--plum-pale); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--plum); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 5rem 2rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(122,158,126,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(92,61,110,.12) 0%, transparent 55%),
    var(--warm-white);
  text-align: center;
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage); background: var(--sage-pale); border: 1px solid var(--sage-light);
  padding: .3rem .9rem; border-radius: 20px; margin-bottom: 1.2rem;
}
.page-hero h1 { color: var(--plum); margin-bottom: 1rem; }
.page-hero .lead { font-size: 1.1rem; color: var(--ink-muted); max-width: 640px; margin: 0 auto 2rem; }

/* ── Section Header ── */
.sec-head { margin-bottom: 2.5rem; }
.sec-tag {
  display: inline-block; font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage); margin-bottom: .35rem;
}
.sec-head h2 { color: var(--plum); }

/* ── Cards ── */
.card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(92,61,110,.1); transform: translateY(-3px); }
.card h3 { color: var(--plum); margin-bottom: .6rem; font-size: 1.05rem; }
.card p  { font-size: .9rem; }

/* ── Highlight cards (left border) ── */
.hl-card {
  background: var(--cream); border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.4rem;
  transition: border-color .2s, background .2s;
}
.hl-card:hover { border-color: var(--plum); background: var(--plum-pale); }
.hl-card strong { display: block; font-family: 'Playfair Display', serif; font-size: .95rem; color: var(--plum); margin-bottom: .3rem; }
.hl-card p { font-size: .9rem; margin: 0; }

/* ── FAQ accordion ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; font-family: 'Playfair Display', serif; font-size: 1rem;
  color: var(--plum); gap: 1rem;
}
.faq-q .icon { font-size: 1.2rem; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 1.2rem; }
.faq-a p { margin: 0; font-size: .97rem; }
.faq-item.open .faq-a { display: block; }

/* ── Sunflower list ── */
.sunflower-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.sunflower-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .97rem; color: var(--ink-muted); }
.sunflower-list li::before { content: '🌻'; flex-shrink: 0; margin-top: .05rem; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,244,.93); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-brand {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--plum);
}
.nav-brand em { font-style: italic; color: var(--sage); }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-links a {
  font-size: .82rem; font-weight: 500; padding: .38rem .7rem; border-radius: 20px;
  color: var(--ink-muted); transition: background .2s, color .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--plum-pale); color: var(--plum); }
.nav-links .nav-cta { background: var(--plum) !important; color: #fff !important; }
.nav-links .nav-cta:hover { background: var(--plum-light) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--plum); border-radius: 2px; transition: all .3s; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding: 3.5rem 2rem 2rem; max-width: 1100px; margin: 0 auto;
}
.footer-brand-col .brand {
  font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #fff; margin-bottom: .5rem;
}
.footer-brand-col .brand em { color: var(--gold-light); font-style: italic; }
.footer-brand-col p { font-size: .85rem; line-height: 1.6; max-width: 260px; color: rgba(255,255,255,.85); }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: .9rem; color: #fff; margin-bottom: 1rem; letter-spacing: .04em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { font-size: .85rem; color: rgba(255,255,255,.8); transition: color .2s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 2rem;
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .78rem; color: rgba(255,255,255,.7);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Social icons ── */
.social-links { display: flex; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.social-links a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: rgba(255,255,255,.95);
  transition: background .2s, color .2s;
}
.social-links a:hover { background: var(--plum-light); color: #fff; }

/* ── Fade animations ── */
.fade-up { opacity: 1; transform: none; }
.fade-up.visible { opacity: 1; transform: none; }


/* ── Book banner strip ── */
.book-strip {
  background: linear-gradient(135deg, var(--cream) 0%, var(--plum-pale) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.book-strip-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.book-strip h3 { font-size: 1.4rem; color: var(--plum); margin-bottom: .4rem; }
.book-strip p  { font-size: .95rem; max-width: 520px; margin: 0; }
.book-strip-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(250,248,244,.98); backdrop-filter: blur(12px);
    padding: 1.2rem 1.5rem; gap: .3rem;
    border-bottom: 1px solid var(--border); z-index: 99;
  }
  .nav-links.open a { display: block; padding: .55rem 1rem; border-radius: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .container { padding: 0 1.25rem; }
}

/* ── SVG Icon system ── */
.icon {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm  { width: 1rem;   height: 1rem; }
.icon-md  { width: 1.25rem; height: 1.25rem; }
.icon-lg  { width: 1.6rem;  height: 1.6rem; }
.icon-xl  { width: 2rem;    height: 2rem; }
.icon-2xl { width: 2.8rem;  height: 2.8rem; }
.icon-fill { fill: currentColor; stroke: none; }

/* Icon + text inline pair */
.icon-pair { display: inline-flex; align-items: center; gap: .45rem; }



}
