/* ══════════════════════════════════════
   GROW FOUNDATIONS — Shared Stylesheet
   ══════════════════════════════════════ */

:root {
  --blush:    #FDEEE8;
  --peach:    #E8D5C8;
  --nude:     #C4977A;
  --plum:     #7D6070;
  --maroon:   #6B4455;
  --charcoal: #2E1F2B;
  --white:    #FFFFFF;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--blush);
  color: var(--charcoal);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
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.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { font-size: 1.05rem; opacity: .88; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 90px 0; }

/* ── UTILITIES ── */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--nude);
  margin-bottom: .75rem;
  display: block;
}
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-outline  { background: transparent; color: var(--maroon); border: 2px solid var(--maroon); }
.btn-light    { background: var(--white); color: var(--maroon); }
.btn-ghost    { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.25); }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(253,238,232,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--peach);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .25rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  white-space: nowrap;
}
.nav-logo span { color: var(--maroon); }
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--charcoal);
  opacity: .7;
  transition: opacity .2s, color .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--maroon); }
.nav-cta { font-size: .875rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: .3s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blush) 0%, var(--peach) 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,151,122,.15) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p  { font-size: 1.15rem; opacity: .8; max-width: 560px; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: var(--peach);
  padding: 3rem 0 1.75rem;
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--blush);
  margin-bottom: .4rem;
}
.footer-brand p { font-size: .875rem; opacity: .65; max-width: 300px; }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: .95rem; color: var(--blush); margin-bottom: .9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .875rem; opacity: .6; transition: opacity .2s; }
.footer-col ul li a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { font-size: .8rem; opacity: .45; }
.footer-tagline { font-family: 'Playfair Display', serif; font-size: .875rem; color: var(--nude); font-style: italic; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--peach);
  padding: 2rem 1.75rem;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(46,31,43,.09); }
.card-dark {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2rem 1.75rem;
}

/* ── EDIT MODE ── */
.edit-toolbar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-end;
}
.edit-btn-toggle {
  background: var(--charcoal);
  color: var(--blush);
  border: none;
  border-radius: 50px;
  padding: .65rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background .2s;
  white-space: nowrap;
}
.edit-btn-toggle:hover { background: var(--maroon); }
.edit-btn-save {
  background: var(--maroon);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: .65rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  display: none;
  white-space: nowrap;
}
.edit-btn-save:hover { background: var(--plum); }
body.editing .edit-btn-toggle { background: var(--plum); }

/* editable element highlight */
body.editing [data-editable]:hover {
  outline: 2px dashed var(--nude);
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text;
}
body.editing [data-editable]:focus {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--blush);
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--peach);
    gap: .75rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
  .page-hero { padding: 50px 0 40px; }
}

/* ── LOGO IMAGE ── */
.nav-logo-img {
  height: 180px;
  width: auto;
  display: block;
}
.nav-logo {
  display: flex;
  align-items: center;
}
