:root {
  --bg: #f7f1df;
  --paper: #fffaf0;
  --ink: #222017;
  --muted: #5a5544;
  --brand: #1f6e4d;
  --brand-strong: #15513a;
  --accent: #d86a38;
  --card: #f2e4bf;
  --ring: rgba(31, 110, 77, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(1000px 400px at 15% -10%, rgba(216, 106, 56, 0.18), transparent),
    radial-gradient(900px 500px at 85% 0%, rgba(31, 110, 77, 0.16), transparent),
    var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 5vw;
  background: rgba(247, 241, 223, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34, 32, 23, 0.08);
}

.brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--brand-strong);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.78rem 1.1rem;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--brand-strong);
}

.button-small {
  font-size: 0.93rem;
}

.button-ghost {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
}

main {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero {
  padding-top: 2rem;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.1;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.lead {
  max-width: 72ch;
  font-size: 1.08rem;
  margin-left: auto;
  margin-right: auto;
}

.lead-strong {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 1.8rem;
  justify-content: center;
}

.hero-grid,
.pillars-grid,
.impact-grid {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.hero-grid article,
.pillars-grid article,
.impact-grid article {
  background: var(--paper);
  border: 1px solid rgba(34, 32, 23, 0.1);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(31, 22, 10, 0.04);
}

.mission {
  margin-top: 2rem;
}

.mission-card {
  background: linear-gradient(130deg, var(--paper), #fff3ce);
  border: 1px solid rgba(34, 32, 23, 0.1);
  border-radius: 20px;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.mission-statement {
  font-family: "Fraunces", serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--ink);
  max-width: 32ch;
}

.pillars,
.impact,
.join {
  margin-top: 2.6rem;
}

.pillars-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.impact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric {
  font-family: "Fraunces", serif;
  color: var(--brand-strong);
  font-size: 2rem;
  margin: 0 0 0.3rem;
}

.join {
  background: linear-gradient(150deg, #234637, #1b6144);
  color: #f5f3ea;
  border-radius: 24px;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.join p {
  color: rgba(245, 243, 234, 0.9);
  max-width: 56ch;
}

.join-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
  align-items: center;
}

.join-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.join-form input {
  min-width: 230px;
  flex: 1 1 290px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font: inherit;
}

.join-form input:focus {
  outline: none;
  border-color: var(--ring);
}

.join-form .button {
  background: var(--accent);
}

.site-footer {
  width: min(1100px, 92vw);
  margin: 0 auto 1.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(34, 32, 23, 0.1);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .site-nav {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
