/* S.E.E.D. Advocacy — site styles
   Colors are sampled from the logo. */
:root {
  --blue: #1d5592;          /* wordmark blue */
  --blue-deep: #143d6b;
  --green: #1a6e3f;         /* deep leaf green (text-safe on cream) */
  --green-mid: #2f8a4f;
  --green-light: #8cc63f;   /* light leaf — decorative only */
  --green-tint: #eaf3e3;
  --cream: #faf8f2;
  --paper: #ffffff;
  --ink: #1f2a33;
  --ink-soft: #4a5560;
  --line: #dfe3d8;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(20, 61, 107, .25);
  --max: 1120px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--blue); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green-mid); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .6rem;
}
.lead { font-size: 1.25rem; color: var(--ink-soft); }
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 242, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand span { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.15rem; letter-spacing: .02em; }
.brand small { display: block; font-weight: 600; font-size: .62rem; color: var(--green); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--green); }
.nav-links .btn { color: #fff; padding: 10px 20px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--blue);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { margin-top: 14px; text-align: center; border: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(140, 198, 63, .22), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.hero h1 span { color: var(--green); }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-logo {
  background: var(--paper); border-radius: 28px; padding: 40px 32px; box-shadow: var(--shadow);
  text-align: center;
}
.hero-logo img { margin: 0 auto; }
.hero-logo p { margin: 20px 0 0; font-family: var(--font-head); font-weight: 600; color: var(--green); font-size: 1rem; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo { order: -1; padding: 28px 20px; }
}

/* ---------- Pillars (S.E.E.D.) ---------- */
.pillars { background: var(--blue); color: #fff; padding: 56px 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar { border-left: 3px solid var(--green-light); padding-left: 18px; }
.pillar .letter { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--green-light); line-height: 1; }
.pillar h3 { color: #fff; margin: 8px 0 4px; font-size: 1.1rem; }
.pillar p { margin: 0; color: #dbe6f2; font-size: 1rem; }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--green-tint); color: var(--green);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Approach / Mission ---------- */
.approach { background: var(--green-tint); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote-panel {
  background: var(--paper); border-radius: 24px; padding: 40px; box-shadow: var(--shadow);
  position: relative;
}
.quote-panel img { width: 72px; margin-bottom: 16px; }
.quote-panel blockquote {
  margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; line-height: 1.45; color: var(--blue);
}
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 860px) { .approach-grid { grid-template-columns: 1fr; gap: 36px; } .quote-panel { padding: 28px; } }

/* ---------- Glossary ---------- */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.term { background: var(--paper); border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--green-mid); }
.term .abbr { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--blue); }
.term .full { font-weight: 600; color: var(--green); margin-bottom: 10px; }
.term p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.portrait { position: relative; }
.portrait picture img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; }
.portrait::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--green-light);
  border-radius: 24px; z-index: -1;
}
.portrait-wrap { position: relative; z-index: 0; max-width: 420px; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 0; }
.cred { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.cred strong { display: block; font-family: var(--font-head); color: var(--blue); font-size: 1rem; }
.cred span { color: var(--ink-soft); font-size: .98rem; }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--green-mid); border: 2px solid var(--cream);
}
.timeline strong { font-family: var(--font-head); color: var(--ink); font-size: 1rem; display: block; }
.timeline span { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .portrait-wrap { margin: 0 auto; max-width: 340px; }
}
@media (max-width: 480px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.kind-words { background: var(--blue); color: #fff; }
.kind-words h2 { color: #fff; }
.kind-words .eyebrow { color: #c3e69a; }
.kind-words .lead { color: #dbe6f2; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quotes figure {
  margin: 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius); padding: 30px 30px 26px;
}
.quotes blockquote { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.quotes blockquote::before {
  content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: .6;
  color: var(--green-light); margin-bottom: 12px;
}
.quotes .wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info .item svg { width: 24px; height: 24px; color: var(--green); flex-shrink: 0; margin-top: 4px; }
.form-card { background: var(--paper); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
label .opt { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #c5ccc0; border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47, 138, 79, .35); border-color: var(--green-mid); }
textarea { min-height: 140px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.form-note { font-size: .95rem; color: var(--ink-soft); margin: 14px 0 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .form-card { padding: 26px 20px; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #c9d6e4; padding: 56px 0 32px; font-size: 1rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 56px; height: 56px; background: #fff; border-radius: 50%; padding: 4px; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 1.15rem; display: block; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green-light); text-decoration: underline; }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 36px; padding-top: 24px; font-size: .92rem; color: #aebfd1; }
.disclaimer p { margin: 0 0 .5em; }

/* ---------- Thank-you page ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 20px; }
.thanks img { width: 120px; margin: 0 auto 24px; }

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

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

/* Small screens: keep header compact so nothing pushes past the viewport */
@media (max-width: 600px) {
  .brand small { display: none; }
  .brand { min-width: 0; }
  .hero-logo img { width: 100%; }
}
html, body { overflow-x: clip; }
