/* ============================================================
   The Sustainable Plate — shared design system
   Warm-minimal, green brand (derived from logo)
   ============================================================ */
:root {
  --cream: #f6f4ea;
  --cream-2: #efedda;
  --cream-3: #e8e6cf;
  --ink: #2c331f;
  --ink-soft: #6a7152;
  --green: #5f8a2e;
  --green-deep: #3c5520;
  --chartreuse: #bccb46;
  --olive: #8a9a3a;
  --line: #ddd9c0;
  --maxw: 1180px;
  --font: "Nunito", system-ui, sans-serif;
  --shadow: 0 10px 30px rgba(44, 51, 31, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.center { text-align: center; }

/* ---------- Header / nav ---------- */
header { padding-top: 30px; }
header .wrap { position: relative; }
.brandrow { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.logo-img { height: 108px; width: auto; display: block; }
nav.menu { display: flex; gap: 30px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
nav.menu a { position: relative; padding: 3px 0; transition: color .15s; white-space: nowrap; }
nav.menu a:hover { color: var(--green); }
nav.menu a.active { color: var(--ink); }
nav.menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--green); }
.cart-pill {
  position: absolute; right: 0; top: 30px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  border: 1.6px solid var(--line); border-radius: 999px; padding: 8px 15px;
  background: #fff; transition: border-color .15s, color .15s;
}
.cart-pill:hover { border-color: var(--green); color: var(--green); }
.cart-pill .cart-count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
.hairline { height: 1px; background: var(--line); border: none; margin: 26px 0 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; padding: 13px 24px; border-radius: 999px; cursor: pointer; border: 1.6px solid var(--ink); background: transparent; color: var(--ink); transition: transform .12s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.solid { background: var(--green); border-color: var(--green); color: #fbfdf4; }
.btn.solid:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn.small { font-size: 13px; padding: 9px 16px; }
.arrow { font-size: 15px; }

/* ---------- Generic section ---------- */
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.section-head p { margin: 18px auto 0; font-size: 18px; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- Inner-page hero ---------- */
.page-hero { text-align: center; padding: 64px 0 10px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; margin: 0 auto; max-width: 16ch; text-wrap: balance; }
.page-hero p.sub { margin: 22px auto 0; max-width: 56ch; font-size: 18.5px; color: var(--ink-soft); text-wrap: pretty; }
.hero-band { margin-top: 40px; }
.hero-band image-slot, .hero-band img.banner { display: block; width: 100%; height: 440px; object-fit: cover; }

/* ---------- Prose ---------- */
.prose { max-width: 64ch; margin: 0 auto; font-size: 18px; color: var(--ink-soft); }
.prose p { margin: 0 0 20px; text-wrap: pretty; }
.prose h3 { color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 12px; }
.prose strong { color: var(--ink); }

/* ---------- Offerings strip (home) ---------- */
.offer { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); }
.offer .cell { padding: 30px 18px; text-align: center; border-right: 1px solid var(--line); }
.offer .cell:last-child { border-right: none; }
.offer .num { font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: 0.1em; }
.offer .lbl { margin-top: 9px; font-size: 16px; font-weight: 600; }
.offer .cell small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Feature rows (what we do) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: none; }
.feature.flip .feat-media { order: 2; }
.feat-media image-slot, .feat-media img { display: block; width: 100%; height: 380px; object-fit: cover; border-radius: 10px; }
.feature .feat-num { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--green); }
.feature h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin: 12px 0 14px; }
.feature p { font-size: 17px; color: var(--ink-soft); margin: 0 0 22px; }

/* ---------- Product grid (shop) ---------- */
.shop-bar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0 0 40px; }
.chip { font-size: 13px; font-weight: 600; color: var(--ink-soft); border: 1.4px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .15s; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard image-slot, .pcard .pimg { display: block; width: 100%; height: 240px; object-fit: cover; }
.pcard .pbody { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .pcat { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.pcard .pname { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.pcard .pdesc { font-size: 13.5px; color: var(--ink-soft); }
.pcard .prow { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.pcard .pprice { font-size: 17px; font-weight: 700; }

/* ---------- Steps (wholesale) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; }
.step .sn { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px; }
.step h4 { font-size: 19px; font-weight: 700; margin: 16px 0 8px; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Callout band ---------- */
.callout { background: var(--green-deep); color: #f4f7ea; border-radius: 18px; padding: 56px; text-align: center; }
.callout h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin: 0 auto; max-width: 18ch; color: #fff; text-wrap: balance; }
.callout p { margin: 16px auto 28px; max-width: 50ch; font-size: 17px; color: #d8e2c2; }
.callout .btn { border-color: #fff; color: #fff; }
.callout .btn.solid { background: var(--chartreuse); border-color: var(--chartreuse); color: var(--green-deep); }
.callout .btn.solid:hover { background: #fff; border-color: #fff; }
.callout .btn.ghost:hover { background: #fff; color: var(--green-deep); }

/* ---------- Forms ---------- */
.form { max-width: 620px; margin: 0 auto; display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.stat .big { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; color: var(--green); }
.stat .cap { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Footer ---------- */
footer { margin-top: 90px; background: var(--cream-2); border-top: 1px solid var(--line); }
.footgrid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 34px; padding: 56px 0 40px; }
.fbrand .logo-img { height: 72px; }
.fbrand p { margin: 16px 0 0; font-size: 14px; color: var(--ink-soft); max-width: 32ch; }
.fcol a.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--green); white-space: nowrap; }
.fcol a.social:hover { color: var(--green-deep); }
.fcol a.social svg { width: 20px; height: 20px; display: block; flex-shrink: 0; }
.fcol h4 { margin: 4px 0 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.fcol a, .fcol p { display: block; margin: 0 0 9px; font-size: 14px; color: var(--ink-soft); }
.fcol a:hover { color: var(--green); }
.footbar { border-top: 1px solid var(--line); padding: 18px 0; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Reusable responsive media ---------- */
.photo-portrait { display: block; margin: 0 auto; height: clamp(340px, 70vh, 660px); width: auto; max-width: 100%; object-fit: contain; border-radius: 16px; }
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-duo img { display: block; width: 100%; height: 360px; object-fit: cover; border-radius: 16px; }

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet / small laptop */
@media (max-width: 960px) {
  .wrap { padding: 0 28px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .footgrid { grid-template-columns: 1.4fr 1fr; gap: 30px 28px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feature.flip .feat-media { order: 0; }
  .feat-media image-slot, .feat-media img { height: 320px; }
  .offer { grid-template-columns: repeat(2, 1fr); }
  .cart-pill { position: static; margin-top: 14px; }
  .brandrow { gap: 14px; }
  .logo-img { height: 92px; }
  .callout { padding: 48px 36px; }
  .hero-band image-slot, .hero-band img.banner { height: 360px; }
}

/* Phone */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  header { padding-top: 22px; }
  .logo-img { height: 78px; }
  nav.menu { flex-wrap: wrap; justify-content: center; gap: 12px 18px; font-size: 14px; }
  .hairline { margin-top: 18px; }
  .section { padding: 48px 0; }
  .page-hero { padding: 40px 0 6px; }
  .page-hero p.sub { font-size: 17px; }
  .prose { font-size: 16.5px; }
  .prose h3 { margin-top: 28px; }
  .products { grid-template-columns: 1fr; gap: 22px; }
  .pcard image-slot, .pcard .pimg { height: 260px; }
  .offer { grid-template-columns: 1fr 1fr; }
  .footgrid { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 32px; }
  .fbrand p { max-width: none; }
  .footbar { flex-direction: column; gap: 8px; text-align: center; padding: 16px 0; }
  .callout { padding: 40px 24px; border-radius: 14px; }
  .form .row2 { grid-template-columns: 1fr; }
  .photo-duo { grid-template-columns: 1fr; gap: 16px; }
  .photo-duo img { height: 280px; }
  .photo-portrait { height: auto; width: 100%; max-height: 78vh; }
}

/* Small phone */
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .logo-img { height: 66px; }
  nav.menu { gap: 10px 14px; font-size: 13px; }
  .offer { grid-template-columns: 1fr; }
}
