*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --soil:     #2c1f0e;
  --soil-2:   #3d2b12;
  --bark:     #5c3d1e;
  --clay:     #8b5e3c;
  --straw:    #c9a96e;
  --kraft:    #c8a472;
  --cream:    #f5f0e8;
  --sage:     #4a6741;
  --sage-lt:  #6b8f5e;
  --moss:     #2d4a26;
  --leaf:     #3d6b32;
  --parchment:#faf6ed;
  --paper:    #fffdf8;
  --border:   #d4c4a8;
  --ink:      #1a1208;
  --ink-2:    #3d2f1a;
  --ink-3:    #7a6548;
  --radius:   6px;
  --radius-lg:16px;
  --max:      1140px;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--moss); }
img { max-width: 100%; display: block; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 300;
  background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

/* NAV */
.site-nav {
  background: var(--soil);
  border-bottom: 3px solid var(--bark);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-brand { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.nav-brand strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.wordmark { font-family: 'Playfair Display', serif; font-weight: 900; letter-spacing: -0.01em; }
.wordmark em { font-style: italic; font-weight: 700; color: var(--straw); }
.nav-brand .wordmark { font-size: 1.35rem; }

.nav-brand span {
  font-size: 0.7rem;
  color: var(--straw);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(245,240,232,0.72);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--cream); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sage); color: var(--cream); }
.btn-primary:hover { background: var(--leaf); color: var(--cream); }
.btn-ghost { border-color: rgba(245,240,232,0.35); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--straw); }

/* HERO */
.hero { position: relative; overflow: hidden; background: var(--soil); color: var(--cream); }

/* Layered gradients + grain stand in for a photo of soil. Swap in a real photo with:
   .hero-soil { background: linear-gradient(rgba(26,15,5,.55), rgba(26,15,5,.75)), url(/images/hero-soil.jpg) center/cover; } */
.hero-soil {
  position: absolute; inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.07  0 0 0 0 0.02  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 75% 40%, rgba(107,143,94,0.28), transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(139,94,60,0.45), transparent 55%),
    radial-gradient(circle at 50% 120%, #4a3018 0%, transparent 60%),
    linear-gradient(165deg, #1a0f05 0%, #2c1f0e 45%, #1e2a14 100%);
}

.hero-inner {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: 96px 24px 80px;
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 56px; align-items: end;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04; font-weight: 900;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--straw); font-weight: 700; }
.hero-lede { font-size: 1.12rem; color: rgba(245,240,232,0.78); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-facts { list-style: none; display: grid; gap: 14px; }
.hero-facts li {
  display: flex; flex-direction: column;
  padding: 16px 18px;
  border-left: 3px solid var(--sage-lt);
  background: rgba(245,240,232,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.hero-facts strong { font-size: 1rem; }
.hero-facts span { font-size: 0.85rem; color: rgba(245,240,232,0.6); }

/* SECTIONS */
.section { padding: 88px 0; }
.section-alt { background: #f1e9d9; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--moss); color: var(--cream); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.12; font-weight: 700; margin-bottom: 14px;
}
.section-head p { color: var(--ink-3); font-size: 1.05rem; }

/* PRODUCT GRID */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid-sm { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.loading { color: var(--ink-3); }

.product-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 14px 34px -18px rgba(44,31,14,0.45); transform: translateY(-2px); }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(44,31,14,0.28), transparent 60%),
    linear-gradient(180deg, #efe6d4, #e3d5bb);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--soil); color: var(--straw);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
}

/* Kraft-bag illustration, used until real product photos are added */
.bag {
  width: 54%; aspect-ratio: 0.72;
  position: relative;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.22  0 0 0 0 0.1  0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(90deg, #b68f5c 0%, var(--kraft) 18%, #d4b384 50%, var(--kraft) 82%, #ad8653 100%);
  border-radius: 4px 4px 8px 8px;
  box-shadow: 0 18px 22px -14px rgba(26,18,8,0.55), inset 0 -6px 10px rgba(92,61,30,0.15);
  display: flex; flex-direction: column; align-items: center;
  padding: 22% 9% 0;
}
.bag::before {
  /* folded top */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12%;
  background: linear-gradient(180deg, #a57e4c, #bf9a66);
  border-radius: 4px 4px 0 0;
  border-bottom: 1px dashed rgba(44,31,14,0.35);
}
.bag-label {
  width: 100%;
  background: var(--paper);
  border-top: 5px solid var(--band, var(--sage));
  padding: 9% 7%;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 1px 2px rgba(44,31,14,0.2);
}
.bag-label small {
  display: block; font-size: 0.5rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; margin-bottom: 4px;
}
.bag-label b { font-family: 'Playfair Display', serif; font-size: clamp(0.7rem, 1.1vw, 0.92rem); color: var(--ink); display: block; }
.bag-label i { display: block; width: 26px; height: 2px; margin: 6px auto 0; background: var(--band, var(--sage)); }

.product-grid-sm .bag { width: 46%; aspect-ratio: 0.8; padding-top: 26%; }
.product-grid-sm .bag-label b { font-size: clamp(0.62rem, 0.9vw, 0.78rem); }

.product-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.product-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; line-height: 1.2; }
.product-grid-sm .product-body h3 { font-size: 1.02rem; }
.product-tagline { font-size: 0.85rem; font-weight: 600; color: var(--clay); }
.product-desc { font-size: 0.88rem; color: var(--ink-2); }
.product-grid-sm .product-desc { font-size: 0.82rem; }

.product-ingredients { font-size: 0.78rem; color: var(--ink-3); }
.product-ingredients summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.product-ingredients p { margin-top: 6px; }

.product-best { font-size: 0.8rem; color: var(--ink-3); }
.product-best strong { color: var(--ink-2); }
.product-buy { margin-top: auto; padding-top: 10px; }
.btn-outline-sage {
  width: 100%; padding: 9px 14px; font-size: 0.85rem;
  border-color: var(--sage); color: var(--moss); background: transparent;
}
.btn-outline-sage:hover { background: var(--sage); color: var(--cream); }
.product-grid-sm .btn-outline-sage { padding: 7px 10px; font-size: 0.8rem; }

/* APPROACH */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.approach-copy p { color: var(--ink-2); margin-bottom: 14px; font-size: 1.04rem; }
.layers { list-style: none; display: grid; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.layers li { display: flex; gap: 18px; align-items: center; padding: 18px 20px; background: var(--paper); border-bottom: 1px solid var(--border); }
.layers li:last-child { border-bottom: 0; }
.layer-swatch { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -4px 8px rgba(0,0,0,0.25); }
.layers strong { font-size: 1rem; }
.layers p { font-size: 0.88rem; color: var(--ink-3); }

/* CUSTOM / SERVICES */
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.custom-copy p { color: rgba(245,240,232,0.8); margin-bottom: 28px; font-size: 1.04rem; }
.section-dark .btn-primary { background: var(--straw); color: var(--soil); }
.section-dark .btn-primary:hover { background: var(--cream); color: var(--soil); }
.services { list-style: none; display: grid; gap: 2px; }
.services li {
  display: flex; flex-direction: column;
  padding: 16px 20px; background: rgba(245,240,232,0.07);
  border-left: 3px solid var(--straw);
}
.services strong { font-size: 1rem; }
.services span { font-size: 0.88rem; color: rgba(245,240,232,0.65); }

/* HOW TO USE */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.steps li {
  padding: 26px 24px; background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--soil); color: var(--straw);
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem;
}
.steps h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; line-height: 1.25; margin-bottom: 8px; }
.steps p { font-size: 0.9rem; color: var(--ink-3); }

/* REQUEST FORM */
.request { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.request-copy > p { color: var(--ink-2); font-size: 1.04rem; margin-bottom: 26px; }
.request-steps { list-style: none; counter-reset: step; display: grid; gap: 16px; }
.request-steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.request-steps li::before {
  content: counter(step); grid-row: span 2;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--soil); color: var(--straw);
  font-family: 'Playfair Display', serif; font-weight: 700;
}
.request-steps span { font-size: 0.88rem; color: var(--ink-3); }

.request-form { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; margin-bottom: 16px; border: 0; }
.form-field > span, .form-field legend { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.form-field small { font-weight: 400; color: var(--ink-3); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 10px 12px; transition: border-color 0.15s;
}
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(74,103,65,0.15);
}
.form-radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form-radios legend { width: 100%; margin-bottom: 6px; }
.form-radios label { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; cursor: pointer; }
.form-radios input { width: 17px; height: 17px; accent-color: var(--sage); }
.btn-block { width: 100%; }
.btn-nav { padding: 8px 16px; font-size: 0.875rem; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list p { margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; }

/* FOOTER */
.site-footer { background: var(--soil); color: rgba(245,240,232,0.7); padding: 64px 24px 28px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand strong { font-size: 1.5rem; color: var(--cream); display: block; margin-bottom: 10px; }
.footer-brand p { font-size: 0.9rem; max-width: 340px; }
.footer-col h4 { color: var(--straw); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col li { font-size: 0.9rem; }
.footer-col a { color: rgba(245,240,232,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--max); margin: 48px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(245,240,232,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem;
}
.footer-bottom a { color: var(--straw); }

/* LEGAL / POLICY PAGES */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.legal-head { padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.legal-head h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.12; margin-bottom: 12px; }
.legal-head p { color: var(--ink-3); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.legal-toc a {
  font-size: 0.82rem; font-weight: 600; padding: 5px 12px; border-radius: 99px;
  background: var(--paper); border: 1px solid var(--border); color: var(--ink-2);
}
.legal-toc a:hover { border-color: var(--sage); color: var(--moss); }
.legal section { margin-bottom: 32px; }
.legal h2 { font-family: 'Playfair Display', serif; font-size: 1.45rem; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 8px 0 12px; }
.legal-address { font-size: 0.9rem; color: var(--ink-3) !important; }
.legal-links { padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.92rem; }
.site-footer-slim { padding-top: 8px; }
.site-footer-slim .footer-bottom { margin-top: 0; border-top: 0; }

/* SIMPLE PAGES (success) */
.page-center { min-height: calc(100vh - 67px); display: grid; place-items: center; padding: 64px 24px; }
.notice-card {
  max-width: 560px; text-align: center; background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 36px;
}
.notice-card h1 { font-family: 'Playfair Display', serif; font-size: 2.2rem; line-height: 1.15; margin-bottom: 14px; }
.notice-card p { color: var(--ink-2); margin-bottom: 14px; }
.notice-card .btn { margin-top: 12px; }
.notice-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,103,65,0.14); color: var(--sage); }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner, .approach, .custom, .faq, .request { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { padding: 64px 24px 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap, .site-nav { padding-left: 16px; padding-right: 16px; }
  .hero-inner { padding-left: 16px; padding-right: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid-sm .product-body { padding: 14px; }
  .product-grid-sm .product-desc, .product-grid-sm .product-best { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .request-form { padding: 20px 16px; }
  .footer-inner, .steps { grid-template-columns: 1fr; }
  .nav-brand span { display: none; }
}
