/* ============== Truly Staple — Dehaat Foundation ============== */
:root {
  --forest: #2d5a3f;
  --forest-dark: #1f3f2c;
  --forest-light: #4a7a5b;
  --terracotta: #c4502a;
  --terracotta-dark: #a53f1e;
  --cream: #faf7f2;
  --cream-dark: #f0ebe0;
  --sand: #e8dfcf;
  --charcoal: #1f2937;
  --slate: #4b5563;
  --mist: #9ca3af;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(45, 90, 63, 0.08);
  --shadow-md: 0 8px 24px rgba(45, 90, 63, 0.12);
  --shadow-lg: 0 20px 60px rgba(45, 90, 63, 0.18);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--forest-dark);
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }
h2 { margin-bottom: 20px; }
.section-title-wrap h2 { margin-bottom: 18px; }
p { margin-bottom: 1em; color: var(--slate); }
a { color: var(--terracotta); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terracotta-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section.narrow { padding: 70px 0; }
.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h1, .section-forest h2, .section-forest h3, .section-forest h4 { color: var(--cream); }
.section-forest p { color: rgba(250, 247, 242, 0.9); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.section-forest .eyebrow { color: #f3b89a; }

.lead {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 400;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 1.6em;
}
.section-forest .lead { color: rgba(250, 247, 242, 0.92); }

/* ========= Buttons ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(196, 80, 42, 0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--forest-dark);
  border-color: var(--forest-dark);
}
.btn-secondary:hover {
  background: var(--forest-dark);
  color: var(--cream);
}
.section-forest .btn-secondary {
  color: var(--cream);
  border-color: var(--cream);
}
.section-forest .btn-secondary:hover {
  background: var(--cream);
  color: var(--forest-dark);
}
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ========= Header ========= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 90, 63, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta {
  padding: 10px 22px;
  background: var(--forest-dark);
  color: var(--cream) !important;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--forest); color: var(--cream) !important; }
.nav-toggle { display: none; }

/* ========= Hero ========= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(196, 80, 42, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(45, 90, 63, 0.06), transparent 60%),
    var(--cream);
  padding: 100px 0 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(196, 80, 42, 0.1);
  color: var(--terracotta-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}
.hero h1 { margin-bottom: 22px; }
.hero-tagline {
  font-family: 'Poppins', sans-serif;
  
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  color: var(--forest);
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-blurb {
  font-size: 17px;
  color: var(--slate);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(45, 90, 63, 0.15), rgba(196, 80, 42, 0.15)),
    var(--sand);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(196, 80, 42, 0.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(45, 90, 63, 0.4), transparent 50%);
}
.hero-visual-content {
  position: relative;
  text-align: center;
  color: var(--cream);
  padding: 40px;
}
.hero-visual-icon {
  font-size: 72px;
  margin-bottom: 20px;
}
.hero-visual-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--cream);
}
.hero-visual-text {
  font-size: 15px;
  color: rgba(250, 247, 242, 0.85);
  max-width: 220px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ========= Stats row ========= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--terracotta);
  margin-bottom: 8px;
  line-height: 1;
}
.section-forest .stat-num { color: #f3b89a; }
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.section-forest .stat-label { color: rgba(250, 247, 242, 0.85); }

/* ========= Content grid (two-column alternating) ========= */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.content-grid.reverse > div:first-child { order: 2; }
.content-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--sand);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.content-visual.forest {
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  color: var(--cream);
}
.content-visual.terracotta {
  background: linear-gradient(135deg, var(--terracotta), #d87a52);
  color: var(--cream);
}
.content-visual.cream {
  background: linear-gradient(135deg, var(--sand), var(--cream-dark));
  color: var(--forest-dark);
}
.content-visual-inner {
  padding: 50px 40px;
  text-align: center;
}
.content-visual-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
}
.content-visual-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.2;
}
.content-visual-text {
  font-size: 15px;
  opacity: 0.9;
  max-width: 260px;
  margin: 0 auto;
}

/* ========= Ingredient card ========= */
.ingredients {
  background: var(--white);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}
.ingredients h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 20px;
}
.ingredients-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ingredient {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
}
.ingredient::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4502a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(196, 80, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========= Partner / ways to help ========= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 90, 63, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(196, 80, 42, 0.12);
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.card p {
  font-size: 15px;
  color: var(--slate);
  margin: 0;
}

/* ========= Sponsor callout ========= */
.sponsor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
  border: 2px solid var(--sand);
}
.sponsor-amount {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, var(--terracotta), #d87a52);
  color: var(--cream);
  border-radius: var(--radius);
}
.sponsor-amount-num {
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}
.sponsor-amount-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.92;
}

/* ========= Contact / Footer ========= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(250, 247, 242, 0.12);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3b89a;
  margin-bottom: 4px;
}
.contact-value {
  color: var(--cream);
  font-size: 17px;
  font-weight: 500;
}
.contact-value a { color: var(--cream); }
.contact-value a:hover { color: #f3b89a; }

.contact-form {
  background: rgba(250, 247, 242, 0.08);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(250, 247, 242, 0.15);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f3b89a;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(250, 247, 242, 0.1);
  border: 1px solid rgba(250, 247, 242, 0.2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--cream);
  transition: border-color .2s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: #f3b89a;
  background: rgba(250, 247, 242, 0.15);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(250, 247, 242, 0.5);
}
.form-row textarea { min-height: 100px; resize: vertical; }

.footer {
  background: var(--forest-dark);
  color: rgba(250, 247, 242, 0.75);
  padding: 60px 0 30px;
  text-align: center;
}
.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: var(--cream);
  margin-bottom: 8px;
  font-weight: 500;
}
.footer-tag {
  font-family: 'Poppins', sans-serif;
  
  color: #f3b89a;
  margin-bottom: 30px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  font-size: 14px;
}
.footer-links a { color: rgba(250, 247, 242, 0.75); }
.footer-links a:hover { color: var(--cream); }
.footer-copy {
  padding-top: 24px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  font-size: 13px;
  color: rgba(250, 247, 242, 0.55);
}

/* ========= Center utility ========= */
.center { text-align: center; }
.center .lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.section-title-wrap { text-align: center; margin-bottom: 60px; }
.section-title-wrap .lead { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ========= Responsive ========= */
@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .content-grid.reverse > div:first-child { order: 0; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .sponsor-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(45, 90, 63, 0.08);
    box-shadow: var(--shadow-sm);
  }
  .nav-toggle {
    display: flex;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--forest-dark);
    padding: 6px;
  }
}

/* ========= Heading note ========= */
.h2-note { display: block; font-size: 0.55em; font-weight: 500; color: var(--terracotta); margin-top: 8px; letter-spacing: 0; }

/* ========= Reach: map + numbers ========= */
.reach-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.map-wrap { position: relative; max-width: 480px; margin: 0 auto; width: 100%; }
.map-canvas { position: relative; }
.map-img { width: 100%; height: auto; display: block; }
.map-pin {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  background: var(--terracotta); border: 3px solid var(--white); border-radius: 50%;
  box-shadow: 0 2px 8px rgba(196, 80, 42, 0.5);
}
.map-pin::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid var(--terracotta); opacity: 0; animation: pin-pulse 2.2s ease-out infinite;
}
@keyframes pin-pulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }
.map-credit { font-size: 11px; color: var(--mist); text-align: center; margin-top: 8px; }
.map-credit a { color: var(--mist); text-decoration: underline; }
.reach-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0; }
.reach-stats .stat-num { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; }
.reach-goal { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--forest); font-size: 1.1rem; margin-top: 10px; }

@media (max-width: 900px) {
  .reach-grid { grid-template-columns: 1fr; gap: 40px; }
  .ingredients-list { grid-template-columns: repeat(2, 1fr); }
  .brand-sub { font-size: 13px; }
}

/* Captions on coloured cards must stay light */
.content-visual.forest .content-visual-text,
.content-visual.terracotta .content-visual-text { color: rgba(250, 247, 242, 0.92); }

/* ========= Logo ========= */
.brand { align-items: center; gap: 14px; }
.brand-logo { height: 60px; width: auto; display: block; }
.hero-logo-card { background: var(--white) !important; display: flex; align-items: center; justify-content: center; padding: 50px; }
.hero-logo-card::before { display: none; }
.hero-logo { width: 100%; max-width: 420px; height: auto; }

/* ========= Reach list ========= */
.map-pin { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-width: 2px; cursor: default; }
.map-pin-main { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-width: 3px; }
.map-pin::after { animation-delay: var(--d, 0s); }
.reach-list-title { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin: 6px 0 12px; }
.reach-list { list-style: none; margin: 0 0 24px; padding: 0; }
.reach-list li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid rgba(45, 90, 63, 0.1); font-size: 15px; color: var(--slate); line-height: 1.5; }
.reach-list li:last-child { border-bottom: none; }
.reach-list li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); }
.reach-list strong { color: var(--forest-dark); font-weight: 600; }
@media (max-width: 900px) {
  .brand-logo { height: 48px; }
  .map-pin { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
  .map-pin-main { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
  .hero-logo-card { padding: 30px; aspect-ratio: 4/3; }
}

/* ========= Line icons ========= */
.icon { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.content-visual-icon { display: inline-flex; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: rgba(250, 247, 242, 0.14); align-items: center; justify-content: center; }
.content-visual-icon .icon { width: 44px; height: 44px; stroke-width: 1.6; }
.card-icon .icon { width: 24px; height: 24px; }
.contact-icon .icon { width: 20px; height: 20px; color: #f3b89a; }
.nav-toggle .icon { width: 26px; height: 26px; }
