/* ==========================================================================
   Little Free Herbary — Design System
   Modern, friendly, sophisticated-but-accessible. Green spectrum + white.
   ========================================================================== */

:root {
  /* Color — green spectrum, white as accent */
  --forest-900: #14261c;
  --forest-800: #1d3626;
  --forest-700: #274a33;
  --sage-600:  #3f6b4c;
  --sage-500:  #4f7a5d;
  --sage-400:  #6f9b7c;
  --sage-300:  #9dbfa8;
  --mint-100:  #e7f0e7;
  --mint-50:   #f4f8f3;
  --cream:     #fdfcf8;
  --white:     #ffffff;
  --ink:       #1b241e;
  --ink-soft:  #4a564d;
  --line:      #e1e8e0;

  /* Type */
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Scale */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 38, 28, 0.06), 0 1px 1px rgba(20, 38, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 38, 28, 0.08), 0 2px 6px rgba(20, 38, 28, 0.05);
  --shadow-lg: 0 20px 48px rgba(20, 38, 28, 0.14), 0 4px 12px rgba(20, 38, 28, 0.06);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--forest-900);
}

h1 { font-size: clamp(2.4rem, 4vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--sage-400);
  border-radius: 2px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ---------- Color fields ---------- */
.field-cream  { background: var(--cream); }
.field-mint   { background: var(--mint-50); }
.field-forest { background: var(--forest-900); color: var(--mint-100); }
.field-forest h2, .field-forest h3, .field-forest h1 { color: var(--white); }
.field-forest p { color: #c9d8ca; }
.field-white  { background: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
}
.btn-primary {
  background: var(--sage-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--sage-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-outline {
  background: transparent;
  border-color: var(--sage-400);
  color: var(--sage-600);
}
.btn-outline:hover { background: var(--mint-100); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 248, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--forest-900);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--sage-400), var(--forest-700));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.05rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-links a { color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--forest-900); border-color: var(--sage-400); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 10px 28px 22px; gap: 14px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, var(--mint-50) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  top: 22px; left: 22px; right: -22px; bottom: -22px;
  background: linear-gradient(155deg, var(--sage-300), var(--forest-700));
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero-art {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(20,38,28,0) 45%, rgba(15,28,20,0.55) 100%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  z-index: 2;
  left: -22px; bottom: 30px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 20px 22px;
  max-width: 240px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero-badge .badge-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--sage-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.hero-badge span { display: block; font-weight: 800; color: var(--forest-900); font-size: 1.08rem; margin-top: 4px; }
@media (max-width: 560px) {
  .hero-visual::before { top: 14px; left: 14px; right: -14px; bottom: -14px; }
  .hero-badge { left: 14px; bottom: -26px; max-width: calc(100% - 60px); }
}

/* ---------- Stat / feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--mint-100);
  color: var(--sage-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* Callout box */
.callout {
  border-radius: var(--radius-md);
  padding: 26px 28px;
  border: 1px solid var(--sage-300);
  background: var(--mint-50);
  position: relative;
}
.callout-forest {
  background: var(--forest-800);
  border-color: var(--forest-700);
  color: var(--mint-100);
}
.callout-forest h3, .callout-forest strong { color: var(--white); }
.callout-forest p { color: #cfdccf; }

.callout ul { margin: 0; padding-left: 1.2em; }
.callout li { margin-bottom: 10px; color: var(--ink-soft); }
.callout li:last-child { margin-bottom: 0; }
.callout li strong { color: var(--forest-900); }
.callout-forest li strong { color: var(--white); }
.callout-forest li { color: #cfdccf; }

/* Quote */
.quote-card {
  background: var(--forest-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: "“";
  position: absolute;
  top: -30px; left: 20px;
  font-size: 12rem;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.quote-card p { color: #e3ecdf; font-size: 1.4rem; font-weight: 500; position: relative; z-index: 1; }
.quote-attr { font-family: var(--font-display); font-weight: 700; color: var(--sage-300); margin-top: 18px; }

/* Section heading block */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Photo bands */
.photo-band { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.photo-band img { width: 100%; object-fit: cover; display: block; }
.photo-band-wide { aspect-ratio: 21 / 7; }
.photo-band-wide img { height: 100%; }
@media (max-width: 720px) { .photo-band-wide { aspect-ratio: 4 / 3; } }

/* ---------- Shop ---------- */
.shop-note {
  border-radius: var(--radius-md);
  background: var(--mint-50);
  border: 1px dashed var(--sage-300);
  padding: 18px 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 40px;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.shop-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
}
.shop-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shop-item .thumb { aspect-ratio: 3/4; background: var(--mint-50); display: flex; align-items: center; justify-content: center; padding: 10px; }
.shop-item img { max-height: 100%; width: auto; margin: 0 auto; object-fit: contain; }
.shop-item .cta { padding: 10px 12px; font-size: 0.78rem; font-weight: 700; font-family: var(--font-display); color: var(--sage-600); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }

/* ---------- Forms ---------- */
.field-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
textarea.field-input { min-height: 140px; resize: vertical; }
.field-input:focus { outline: 2px solid var(--sage-400); outline-offset: 1px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; color: var(--forest-800); }
.field-forest .form-row label { color: var(--mint-100); }
.field-forest .field-input { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: var(--white); }
.field-forest .field-input::placeholder { color: #9db69f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: #b9cabb; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 70px 0 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-display); color: var(--white); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid a { display: block; color: #b9cabb; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1.2rem; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #7f9782;
}
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a { width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.social-row a:hover { background: rgba(255,255,255,0.1); }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.small { font-size: 0.88rem; }
.pill {
  display: inline-block;
  background: var(--mint-100);
  color: var(--sage-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 8px 8px 0;
}
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
