/* ===========================================================
   The Grove — shared stylesheet
   A warm, nature-inspired identity for a youth mentorship program
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Nunito+Sans:wght@400;500;600;700&display=swap');

:root {
  --forest:   #344e41;   /* deep canopy green   */
  --moss:     #3a5a40;   /* primary green       */
  --sage:     #588157;   /* mid green           */
  --leaf:     #a3b18a;   /* soft sage           */
  --cream:    #faf8f1;   /* page background     */
  --sand:     #f1ece0;   /* card / panel        */
  --bark:     #5c4a3a;   /* warm brown text     */
  --ink:      #2c2a26;   /* body text           */
  --honey:    #d9a441;   /* warm accent         */
  --terra:    #c97c5d;   /* secondary accent    */
  --white:    #ffffff;

  --maxw: 1080px;
  --radius: 18px;
  --shadow: 0 14px 40px -22px rgba(52, 78, 65, 0.55);
  --shadow-sm: 0 6px 20px -12px rgba(52, 78, 65, 0.5);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--moss); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(88, 129, 87, 0.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
}
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--bark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--sand); text-decoration: none; }
.nav-links a.active { background: var(--moss); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--forest);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--moss);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--sans);
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--forest); text-decoration: none; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--moss);
  box-shadow: none;
  border: 2px solid var(--leaf);
}
.btn-ghost:hover { background: var(--sand); color: var(--forest); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% -10%, rgba(163,177,138,0.45), transparent 55%),
    radial-gradient(circle at 0% 120%, rgba(88,129,87,0.30), transparent 50%),
    linear-gradient(180deg, #f3f1e6 0%, var(--cream) 100%);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 24px 96px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.2em;
}
.hero .tagline {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-style: italic;
  color: var(--sage);
  max-width: 620px;
  margin: 0 auto 1.4em;
}
.hero p.lead {
  font-size: 1.18rem;
  max-width: 640px;
  margin: 0 auto 2em;
  color: var(--ink);
}
.hero.center { text-align: center; }
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

/* eyebrow label */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 14px;
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  background:
    radial-gradient(circle at 90% 0%, rgba(163,177,138,0.40), transparent 50%),
    linear-gradient(180deg, #f3f1e6, var(--cream));
  padding: 64px 0 48px;
  text-align: center;
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head p { font-size: 1.12rem; color: var(--sage); max-width: 600px; margin: 0 auto; font-style: italic; font-family: var(--serif);}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

.prose p { font-size: 1.1rem; margin: 0 0 1.3em; }
.prose h2 { font-size: 1.9rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }

/* lead paragraph */
.first-line { font-size: 1.25rem; color: var(--forest); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(88,129,87,0.15);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.card .icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--sand);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--moss);
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
.card p { margin: 0; color: var(--bark); }

/* feature row (image + text) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature.reverse .media { order: 2; }

/* image placeholder panel */
.media {
  border-radius: var(--radius);
  min-height: 320px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 60%),
    linear-gradient(135deg, var(--leaf), var(--sage));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.media .ph-note {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  text-align: center;
  padding: 18px;
  font-weight: 600;
}
.media img { width: 100%; height: 100%; object-fit: cover; }

/* highlight / quote panel */
.panel {
  background: var(--forest);
  color: #eef2e9;
  border-radius: var(--radius);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}
.panel h2 { color: var(--white); }
.panel p { color: rgba(255,255,255,0.92); }
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
  color: var(--forest);
  border-left: 4px solid var(--honey);
  padding-left: 24px;
  margin: 2em 0;
}

/* ---------- Agenda list ---------- */
.agenda {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.agenda li {
  position: relative;
  padding: 16px 16px 16px 64px;
  margin-bottom: 12px;
  background: var(--white);
  border: 1px solid rgba(88,129,87,0.15);
  border-radius: 14px;
  font-size: 1.08rem;
  box-shadow: var(--shadow-sm);
}
.agenda li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--serif);
}

/* ---------- Info / logistics list ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 8px 0 0;
}
.fact {
  background: var(--sand);
  border-radius: 14px;
  padding: 22px 24px;
}
.fact .label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 4px;
}
.fact .value { font-size: 1.18rem; font-weight: 700; color: var(--forest); font-family: var(--serif); }
.fact small { display:block; font-weight:400; color: var(--bark); font-family: var(--sans); font-size: 0.92rem; margin-top: 4px;}

/* choice cards */
.choice {
  border: 2px dashed var(--leaf);
  border-radius: 14px;
  padding: 20px 24px;
  background: var(--white);
}
.choice .value { color: var(--terra); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(circle at 10% 0%, rgba(217,164,65,0.25), transparent 50%),
    linear-gradient(135deg, var(--moss), var(--forest));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 56px 30px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 1.8em; font-size: 1.1rem; }
.cta-band .btn { background: var(--honey); color: var(--forest); }
.cta-band .btn:hover { background: #fff; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--forest); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(88,129,87,0.3);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--white);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(88,129,87,0.15); }
.contact-card { background: var(--sand); border-radius: var(--radius); padding: 34px; }
.contact-card a.email { font-size: 1.25rem; font-weight: 700; font-family: var(--serif); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: #d7e0cf;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.footer-inner .brand { color: #fff; }
.site-footer a { color: #cdd9c2; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 18px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .feature, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .media { order: 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(88,129,87,0.18);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  section { padding: 48px 0; }
}
