/* ==========================================================
   Mana Cacao — site styles (v2)
   Palette taken from the packaging: jungle black, gold, ivory
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #0f1916;
  --jungle: #172b25;
  --moss: #23392f;
  --gold: #c39b52;
  --gold-soft: #e2c98f;
  --ivory: #f5efe4;
  --paper: #fbf8f2;
  --ink: #1d1a15;
  --muted: #6a6253;
  --line: rgba(29,26,21,0.12);
  --line-dark: rgba(226,201,143,0.18);
  --serif: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --bar-h: 38px;
  --head-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--head-h) + 12px); }
body { font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: 0.005em; }
.h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: 1rem; }
.h3 { font-size: 1.35rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.kicker { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 0.9rem; }
.on-dark { color: var(--ivory); }
.on-dark .lead, .on-dark p { color: rgba(245,239,228,0.78); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.95rem 1.7rem; font-family: var(--sans); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.03em; text-decoration: none; border: 1px solid transparent; border-radius: 999px; transition: background 0.2s, color 0.2s, border-color 0.2s; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-dark { background: var(--forest); color: var(--ivory); }
.btn-dark:hover { background: var(--moss); }
.btn-ghost { border-color: rgba(245,239,228,0.45); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.text-link { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.text-link:hover { color: var(--gold); }
.on-dark .text-link { color: var(--gold-soft); }

/* ---------- Announcement + header ---------- */
.ship-bar { position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 101; background: var(--forest); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; letter-spacing: 0.06em; padding: 0 1rem; text-align: center; }
.ship-bar strong { font-weight: 500; color: var(--ivory); }
.site-header { position: fixed; top: var(--bar-h); left: 0; right: 0; height: var(--head-h); z-index: 100; background: rgba(251,248,242,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand span { font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.04em; }
.brand span b { font-weight: 400; color: var(--gold); }
.menu { display: flex; align-items: center; gap: 1.9rem; }
.menu a { text-decoration: none; font-size: 0.93rem; color: var(--ink); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--gold); }
.menu .btn { padding: 0.7rem 1.35rem; color: var(--ivory); }
.menu .btn:hover { color: var(--ivory); }
.menu-toggle { display: none; background: none; border: 0; padding: 0.4rem; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }
main { padding-top: calc(var(--bar-h) + var(--head-h)); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu { position: fixed; top: calc(var(--bar-h) + var(--head-h)); left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line); display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .menu .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
}
@media (max-width: 600px) {
  :root { --head-h: 62px; --bar-h: 34px; }
  .wrap { padding: 0 1.25rem; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 1.25rem; }
  .ship-bar { font-size: 0.74rem; letter-spacing: 0.03em; }
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.bg-ivory { background: var(--ivory); }
.bg-forest { background: var(--forest); }
.bg-jungle { background: var(--jungle); }
@media (max-width: 600px) { .section { padding: 4.2rem 0; } .section-head { margin-bottom: 2.2rem; } }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(120% 90% at 85% 10%, var(--moss) 0%, var(--forest) 60%); color: var(--ivory); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { margin-bottom: 1.3rem; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero .lead { color: rgba(245,239,228,0.8); margin-bottom: 2rem; font-size: 1.12rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.hero-proof { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: rgba(245,239,228,0.75); }
.stars { color: var(--gold); letter-spacing: 0.12em; font-size: 1rem; }
.hero-media img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 2rem; padding-bottom: 3.5rem; }
  .hero-media { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--ivory); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); }
.trust li { padding: 1.5rem 0.8rem; text-align: center; font-size: 0.9rem; color: var(--ink); border-left: 1px solid var(--line); line-height: 1.35; }
.trust li:first-child { border-left: 0; }
.trust li b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--jungle); margin-bottom: 0.15rem; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(3, 1fr); } .trust li:nth-child(4) { border-left: 0; } .trust li:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust ul { grid-template-columns: repeat(2, 1fr); } .trust li { border-left: 0 !important; border-top: 1px solid var(--line); } .trust li:nth-child(even) { border-left: 1px solid var(--line) !important; } .trust li:nth-child(-n+2) { border-top: 0; } }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.product-media { background: var(--ivory); height: 340px; display: flex; align-items: center; justify-content: center; padding: 1.8rem; }
.product-media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,0.18)); }
@media (max-width: 600px) { .product-media { height: 300px; } }
.product-media.placeholder { background: linear-gradient(160deg, var(--jungle), var(--forest)); color: var(--gold-soft); font-family: var(--serif); font-size: 1.3rem; text-align: center; }
.badge { position: absolute; top: 1rem; left: 1rem; background: var(--forest); color: var(--gold-soft); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; padding: 0.35rem 0.75rem; border-radius: 999px; }
.badge.muted { background: #e8e2d6; color: var(--muted); }
.product-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.product-meta { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.9rem; }
.product-price { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.9rem; }
.product-price s { color: var(--muted); font-weight: 400; margin-left: 0.4rem; font-size: 0.95rem; }
.product-desc { font-size: 0.94rem; color: var(--muted); margin-bottom: 1.2rem; flex: 1; }
.product-buy { min-height: 52px; }
.product-alt { font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem; }
.product-alt a { color: var(--muted); }
.btn-disabled { background: #e8e2d6; color: var(--muted); cursor: not-allowed; justify-content: center; width: 100%; }
.shop-foot { margin-top: 2rem; font-size: 0.92rem; color: var(--muted); text-align: center; }
.shop-foot a { color: var(--ink); }
@media (max-width: 900px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .products { grid-template-columns: 1fr; } }

/* ---------- Split blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; border-radius: 6px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.4rem; } .split.reverse > :first-child { order: 0; } .split-media img { max-height: 460px; } }

.steps-list { list-style: none; counter-reset: s; margin: 2rem 0; display: grid; gap: 1.3rem; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; }
.steps-list li::before { content: counter(s); width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--jungle); font-family: var(--serif); font-size: 1.15rem; display: flex; align-items: center; justify-content: center; }
.steps-list b { display: block; font-weight: 500; margin-bottom: 0.1rem; }
.steps-list span { color: var(--muted); font-size: 0.95rem; }
.link-row { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; }

/* ---------- Compare ---------- */
.compare-img { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.compare-img img { width: 100%; height: auto; }
.compare-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.compare-points h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.compare-points p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 800px) { .compare-points { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---------- Benefits (dark) ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.benefit { background: var(--forest); padding: 2.4rem 2rem; }
.benefit h3 { color: var(--gold-soft); font-size: 1.4rem; margin-bottom: 0.7rem; }
.benefit p { color: rgba(245,239,228,0.75); font-size: 0.97rem; }
.fine { font-size: 0.82rem; color: rgba(245,239,228,0.55); margin-top: 1.8rem; text-align: center; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2rem 1.8rem; display: flex; flex-direction: column; }
.review h3 { font-size: 1.2rem; margin: 0.8rem 0 0.7rem; }
.review blockquote { color: var(--muted); font-size: 0.97rem; flex: 1; margin-bottom: 1.2rem; }
.review figcaption { font-size: 0.88rem; border-top: 1px solid var(--line); padding-top: 0.9rem; display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.review figcaption span { color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Founder ---------- */
.founder-photos { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; align-items: end; }
.founder-photos figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.founder-photos figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; }
.founder-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.35; color: var(--jungle); margin: 0 0 1.6rem; }
.founder-text p { color: var(--muted); margin-bottom: 1.05rem; }
.signature { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-top: 1.4rem; }
.signature span { display: block; font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }

/* ---------- Origin banner ---------- */
.origin { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: var(--ivory); overflow: hidden; }
.origin > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.origin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,25,22,0) 20%, rgba(15,25,22,0.88) 100%); }
.origin .wrap { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: 4rem; width: 100%; }
.origin-text { max-width: 620px; }
.origin-text p { color: rgba(245,239,228,0.85); }

/* ---------- Guide cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.9rem 1.7rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.card span { color: var(--muted); font-size: 0.94rem; flex: 1; }
.card em { font-style: normal; font-size: 0.88rem; font-weight: 500; color: var(--gold); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Wholesale band ---------- */
.band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.band p { max-width: 560px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1rem; font-size: 0.9rem; color: rgba(245,239,228,0.8); }
.checks li::before { content: "✓"; color: var(--gold); margin-right: 0.45rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(245,239,228,0.75); padding: 4.5rem 0 2rem; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.foot-grid h4 { font-family: var(--sans); font-weight: 500; color: var(--ivory); font-size: 0.92rem; margin-bottom: 1rem; }
.foot-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.foot-grid a { text-decoration: none; color: rgba(245,239,228,0.75); }
.foot-grid a:hover { color: var(--gold-soft); }
.foot-brand p { margin-top: 1rem; max-width: 300px; }
.foot-brand .brand { color: var(--ivory); }
.foot-bottom { padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(245,239,228,0.5); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Article pages ---------- */
.page-hero { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 3.5rem 0 3rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 0.4rem; }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { margin-top: 1rem; }
.article { max-width: 760px; margin: 0 auto; padding: 3.5rem 2rem 5rem; }
.article-hero { margin-bottom: 2.6rem; }
.article-hero img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 6px; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.8rem 0 1rem; }
.article h3 { font-size: 1.3rem; margin: 1.8rem 0 0.6rem; }
.article p, .article li { font-size: 1.04rem; line-height: 1.8; }
.article p { margin-bottom: 1.15rem; }
.article ul, .article ol { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.article li { margin-bottom: 0.5rem; }
.article li::marker { color: var(--gold); }
.article strong { font-weight: 500; }
.article a { color: var(--jungle); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article .lede { font-family: var(--serif); font-size: 1.45rem; line-height: 1.5; color: var(--jungle); margin-bottom: 2rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0.8rem 0 1.6rem; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 560px; }
.guide-table th, .guide-table td { text-align: left; padding: 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.guide-table th { font-weight: 500; background: var(--ivory); }
.guide-table td:first-child { font-weight: 500; color: var(--jungle); }
.guide-note { background: var(--ivory); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; font-size: 0.93rem !important; color: var(--muted); border-radius: 0 6px 6px 0; }
.recipe-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 8px; padding: 2rem 2rem 1rem; margin-bottom: 2.4rem; }
.recipe-card h2 { margin-top: 0; }
.recipe-meta { font-size: 0.9rem !important; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--serif); font-size: 1.22rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.8rem 0 0; color: var(--muted); }
.article-cta { background: var(--forest); color: var(--ivory); border-radius: 8px; padding: 2.2rem; margin-top: 3.5rem; display: grid; grid-template-columns: 130px 1fr; gap: 1.8rem; align-items: center; }
.article-cta img { width: 130px; filter: drop-shadow(0 14px 18px rgba(0,0,0,0.4)); }
.article-cta h2 { margin: 0 0 0.5rem !important; color: var(--ivory); font-size: 1.6rem !important; }
.article-cta p { color: rgba(245,239,228,0.78); font-size: 0.97rem !important; margin-bottom: 1.2rem !important; }
.article-cta .btn { text-decoration: none; color: var(--forest); }
.related { margin-top: 3.5rem; }
.related h2 { margin-top: 0 !important; font-size: 1.5rem !important; }
.related ul { list-style: none; padding: 0 !important; }
.related li { border-bottom: 1px solid var(--line); margin: 0 !important; }
.related a { display: block; padding: 0.85rem 0; text-decoration: none; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.related a:hover { color: var(--gold); }
@media (max-width: 600px) { .article { padding: 2.4rem 1.25rem 4rem; } .article-cta { grid-template-columns: 1fr; } .article-cta img { width: 100px; } .recipe-card { padding: 1.4rem 1.2rem 0.6rem; } }

/* ---------- Wholesale page ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 560px; }
.price-table th, .price-table td { padding: 1.05rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.price-table th { background: var(--ivory); font-weight: 500; }
.price-table tr.best td { background: #fbf4e4; }
.price-table .tag { background: var(--forest); color: var(--gold-soft); font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: 999px; margin-left: 0.5rem; white-space: nowrap; }
.form { background: var(--jungle); border-radius: 8px; padding: 2.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; margin: 1.8rem 0; }
.form-grid .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.85rem; color: rgba(245,239,228,0.8); margin-bottom: 0.4rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 0.95rem; padding: 0.8rem 0.95rem; border-radius: 6px; border: 1px solid var(--line-dark); background: rgba(255,255,255,0.06); color: var(--ivory); }
.form select option { color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-note { font-size: 0.85rem; color: rgba(245,239,228,0.6); margin-top: 1rem; }
@media (max-width: 600px) { .form { padding: 1.8rem 1.3rem; } .form-grid { grid-template-columns: 1fr; } }
