:root {
  --bg: #fffaf1;
  --surface: #ffffff;
  --ink: #1d2a22;
  --muted: #657267;
  --green: #315c3d;
  --green-dark: #24452d;
  --gold: #d79f35;
  --sage: #e7efe5;
  --cream: #fff3dd;
  --shadow: 0 24px 80px rgba(37, 69, 45, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 159, 53, 0.18), transparent 30rem),
    linear-gradient(180deg, var(--bg), #ffffff 40%, var(--sage));
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 250, 241, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(49, 92, 61, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--gold));
  box-shadow: 0 12px 32px rgba(49, 92, 61, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--sage);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.2rem;
  height: 2px;
  background: var(--green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.section-pad {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(100vh - 5rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.8rem, 9vw, 8rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.hero-text,
.lead,
.section-heading p,
.pantry p,
.community p {
  max-width: 58rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(49, 92, 61, 0.22);
}

.button.secondary {
  color: var(--green);
  background: var(--surface);
  border: 1px solid rgba(49, 92, 61, 0.15);
}

.hero-card {
  position: relative;
  min-height: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(160deg, rgba(36, 69, 45, 0.95), rgba(49, 92, 61, 0.74)),
    radial-gradient(circle at 30% 20%, rgba(215, 159, 53, 0.55), transparent 16rem);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  position: relative;
  max-width: 9ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.hero-card p {
  position: relative;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.cross-shape {
  position: absolute;
  top: 3rem;
  right: 3rem;
  width: 7rem;
  height: 10rem;
  opacity: 0.2;
}

.cross-shape::before,
.cross-shape::after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 999px;
}

.cross-shape::before {
  left: 50%;
  width: 1.8rem;
  height: 100%;
  transform: translateX(-50%);
}

.cross-shape::after {
  top: 32%;
  left: 0;
  width: 100%;
  height: 1.8rem;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.lead {
  margin-bottom: 2.2rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mission-grid article,
.feature-card,
.pantry-list {
  padding: 1.5rem;
  border: 1px solid rgba(49, 92, 61, 0.1);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(37, 69, 45, 0.07);
}

.mission-grid p,
.feature-card p,
.pantry-list li {
  color: var(--muted);
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 18rem;
}

.icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  background: var(--cream);
  font-size: 1.7rem;
}

.pantry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  box-shadow: var(--shadow);
}

.pantry-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.pantry-list {
  align-self: start;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.pantry-list ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.2rem;
}

.community {
  padding-top: 2rem;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  border-top: 1px solid rgba(49, 92, 61, 0.08);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .pantry-panel {
    grid-template-columns: 1fr;
  }

  .mission-grid,
  .cards.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 4.8rem 1rem auto 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-1rem);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mission-grid,
  .cards.three {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }

  .brand span:last-child {
    max-width: 12rem;
    line-height: 1.1;
  }
}
