/* ==========================================================================
   Motambe Area Farmers — main stylesheet
   Plain CSS, no build step. Sections:
   1. Tokens   2. Base   3. Layout   4. Header/nav   5. Buttons & UI
   6. Hero & page hero   7. Sections & cards   8. Prices   9. Media slots
   10. Forms   11. Footer   12. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --cocoa-950: #1c110b;
  --cocoa-900: #2a1a11;
  --cocoa-800: #3d2618;
  --cocoa-700: #573621;
  --cocoa-600: #74482b;

  --pod-700: #8f3a12;
  --pod-600: #b04a17;
  --pod-500: #c9611f;
  --pod-100: #f8e3d3;

  --leaf-900: #13291d;
  --leaf-800: #1b3a29;
  --leaf-700: #23503a;
  --leaf-600: #2e6849;
  --leaf-100: #e1ece4;

  --gold-500: #c99a3c;
  --gold-400: #dbb25a;
  --gold-100: #f6ecd4;

  --paper: #faf6ef;
  --sand-50: #f5efe4;
  --sand-100: #ece3d3;
  --sand-200: #ddd0ba;

  --ink: #1f1a16;
  --ink-soft: #4f463f;
  --ink-muted: #756a60;
  --line: rgba(42, 26, 17, 0.1);

  --font-sans: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", "Open Sans", ui-sans-serif, system-ui, sans-serif;

  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow: 0 1px 2px rgba(42, 26, 17, 0.05), 0 8px 24px -12px rgba(42, 26, 17, 0.12);
  --container: 78rem;
  --gutter: 1rem;
  --header-h: 4rem;
}
@media (min-width: 640px) { :root { --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2rem; --header-h: 4.5rem; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
figure { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold-400); color: var(--cocoa-950); }
:focus-visible { outline: 2px solid var(--pod-500); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 100;
  background: #fff; color: var(--ink); padding: 0.6rem 1rem; border-radius: 0.5rem; font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 5rem; } }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }
.section--sand { background: var(--sand-50); }
.section--dark { background: var(--cocoa-950); color: var(--sand-100); }
.section--leaf { background: var(--leaf-900); color: var(--sand-100); }
.section--dark h2, .section--dark h3, .section--leaf h2, .section--leaf h3 { color: var(--paper); }
.section--tight { padding-block: 3rem; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--reverse > :first-child { order: 2; }
}
.stack > * + * { margin-top: 1rem; }

/* Headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pod-600);
}
.section--dark .eyebrow, .section--leaf .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--gold-400); }
.heading { max-width: 44rem; }
.heading--center { margin-inline: auto; text-align: center; }
.heading h2 { margin-top: 0.75rem; font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
.heading .lead { margin-top: 1rem; }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--ink-soft); }
.section--dark .lead, .section--leaf .lead { color: var(--sand-200); }
.heading + * { margin-top: 2.5rem; }

/* Prose (articles, long-form text) */
.prose { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.8; max-width: 44rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 1.6rem; color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 1.25rem; color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--pod-700); text-underline-offset: 3px; }

/* 4. Header & navigation ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 2.25rem; height: 2.25rem; flex-shrink: 0; }
.brand__logo-img { height: 2.5rem; width: auto; }
.brand__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1; color: var(--cocoa-950); letter-spacing: -0.01em; }
.brand__sub { display: block; margin-top: 0.2rem; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pod-600); line-height: 1; }
.brand--light .brand__name { color: var(--paper); }
.brand--light .brand__sub { color: var(--gold-400); }

.nav { display: none; }
@media (min-width: 1100px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.8rem; border: 0; border-radius: 999px; background: none;
  font: inherit; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; cursor: pointer; transition: color 0.15s;
}
.nav__link:hover, .nav__toggle:hover, .nav__item:focus-within > .nav__toggle { color: var(--pod-700); }
.nav__link[aria-current="page"], .nav__toggle.is-current { color: var(--pod-700); }
.nav__toggle svg { width: 0.8rem; height: 0.8rem; transition: transform 0.15s; }
.nav__menu {
  position: absolute; top: 100%; left: 0; padding-top: 0.5rem;
  visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nav__item:hover > .nav__menu, .nav__item:focus-within > .nav__menu, .nav__item.is-open > .nav__menu {
  visibility: visible; opacity: 1; transform: none;
}
.nav__menu ul { list-style: none; width: 18rem; padding: 0.5rem; background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 20px 40px -16px rgba(42, 26, 17, 0.25); }
.nav__menu a { display: block; padding: 0.6rem 0.85rem; border-radius: 0.65rem; text-decoration: none; }
.nav__menu a:hover { background: var(--sand-50); }
.nav__menu strong { display: block; font-size: 0.92rem; color: var(--ink); }
.nav__menu span { display: block; font-size: 0.8rem; color: var(--ink-muted); }
.nav__menu a[aria-current="page"] strong { color: var(--pod-700); }

.btn.header-cta { display: none; }
@media (min-width: 1100px) { .btn.header-cta { display: inline-flex; } }

.menu-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-right: -0.5rem; border: 0; border-radius: 999px;
  background: none; color: var(--cocoa-900); cursor: pointer;
}
.menu-button svg { width: 1.6rem; height: 1.6rem; }
.menu-button .icon-close { display: none; }
.menu-button[aria-expanded="true"] .icon-open { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1100px) { .menu-button { display: none; } }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  overflow-y: auto; background: var(--paper); border-top: 1px solid var(--line);
  padding: 1.5rem 0 3rem;
}

.mobile-nav__group + .mobile-nav__group { margin-top: 1.5rem; }
.mobile-nav__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.mobile-nav ul { list-style: none; margin-top: 0.4rem; }
.mobile-nav li + li { border-top: 1px solid rgba(42, 26, 17, 0.06); }
.mobile-nav a { display: flex; align-items: center; min-height: 3rem; font-size: 1.1rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--pod-700); }
.mobile-nav__actions { display: grid; gap: 0.75rem; margin-top: 2rem; }

/* 5. Buttons & UI ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.35rem; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn--primary { background: var(--pod-600); color: #fff; box-shadow: 0 1px 2px rgba(143, 58, 18, 0.25); }
.btn--primary:hover { background: var(--pod-700); }
.btn--dark { background: var(--cocoa-900); color: var(--paper); }
.btn--dark:hover { background: var(--cocoa-800); }
.btn--ghost { border-color: rgba(42, 26, 17, 0.18); color: var(--cocoa-900); background: transparent; }
.btn--ghost:hover { border-color: rgba(42, 26, 17, 0.45); background: rgba(42, 26, 17, 0.03); }
.btn--light { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: transparent; }
.btn--light:hover { background: rgba(255, 255, 255, 0.1); }
.btn--sm { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.95rem; color: var(--pod-700); text-decoration: none;
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.15s; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--dark .link-arrow, .section--leaf .link-arrow { color: var(--gold-400); }

.pending {
  border: 1px dashed rgba(201, 154, 60, 0.75); background: rgba(246, 236, 212, 0.8);
  color: var(--cocoa-700); border-radius: 0.3rem; padding: 0.05rem 0.4rem; font-size: 0.92em;
}
.section--dark .pending, .site-footer .pending { background: rgba(219, 178, 90, 0.12); color: var(--gold-400); }

.check-list { list-style: none; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.75rem; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: 0.25rem;
  background: var(--leaf-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10.5 4 4 8-9' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10.5 4 4 8-9' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--dark .check-list li, .section--leaf .check-list li { color: var(--sand-100); }
.section--dark .check-list li::before, .section--leaf .check-list li::before { background: var(--gold-400); }

.badge {
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
  padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.7rem; font-weight: 600;
}
.badge--live, .badge--official { background: var(--leaf-100); color: var(--leaf-800); }
.badge--live::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--leaf-600); }
.badge--manual { background: var(--sand-100); color: var(--cocoa-800); }
.badge--demo { background: var(--gold-100); color: var(--cocoa-800); box-shadow: inset 0 0 0 1px rgba(201, 154, 60, 0.6); }
.tag { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--sand-100); color: var(--cocoa-800); font-size: 0.75rem; font-weight: 600; }

.notice {
  display: flex; gap: 0.75rem; padding: 1rem 1.1rem; border-radius: 1rem;
  border: 1px solid rgba(201, 154, 60, 0.5); background: rgba(246, 236, 212, 0.85); color: var(--cocoa-900);
  font-size: 0.95rem;
}
.notice svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.15rem; color: var(--gold-500); }
.notice--info { border-color: rgba(46, 104, 73, 0.3); background: var(--leaf-100); }
.notice--info svg { color: var(--leaf-600); }

/* 6. Hero & page hero ------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--cocoa-950); color: var(--sand-100); }
.hero__inner { position: relative; display: grid; gap: 2.5rem; padding-block: 3.5rem 4rem; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 4rem; padding-block: 5.5rem 6rem; } }
.hero h1 { margin-top: 1.1rem; color: var(--paper); font-size: clamp(2.4rem, 6.4vw, 4.4rem); line-height: 1.03; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero .lead { margin-top: 1.4rem; color: var(--sand-200); max-width: 36rem; }
.hero .btn-row { margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; font-size: 0.88rem; color: var(--sand-200); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta svg { width: 1rem; height: 1rem; color: var(--gold-400); }

.pattern { position: absolute; inset: 0; pointer-events: none; color: #fff; opacity: 0.045; }
.pattern svg { width: 100%; height: 100%; }

.page-hero { position: relative; overflow: hidden; background: var(--cocoa-950); color: var(--sand-100); }
.page-hero__inner { position: relative; padding-block: 2.5rem 3.5rem; }
@media (min-width: 640px) { .page-hero__inner { padding-block: 3.5rem 5rem; } }
.page-hero h1 { margin-top: 1rem; max-width: 52rem; color: var(--paper); font-size: clamp(2.2rem, 5.5vw, 3.75rem); line-height: 1.05; }
.page-hero .lead { margin-top: 1.25rem; max-width: 44rem; color: var(--sand-200); }
.page-hero .btn-row { margin-top: 2rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; font-size: 0.85rem; color: rgba(221, 208, 186, 0.7); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumb [aria-current] { color: var(--sand-100); }
.breadcrumb + .eyebrow { margin-top: 2rem; }

/* 7. Sections & cards -------------------------------------------------------- */
.card { position: relative; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (min-width: 640px) { .card { padding: 1.75rem; } }
.card h3 { font-size: 1.2rem; font-weight: 600; }
.card p { margin-top: 0.6rem; color: var(--ink-soft); }
.card .icon { margin-bottom: 1.1rem; }
.card--link { transition: box-shadow 0.2s, border-color 0.2s; }
.card--link:hover { box-shadow: var(--shadow); border-color: rgba(42, 26, 17, 0.18); }
.card--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--dark { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.card--dark h3 { color: var(--paper); }
.card--dark p { color: var(--sand-200); }

.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 0.8rem; background: var(--pod-100); color: var(--pod-700);
}
.icon svg { width: 1.35rem; height: 1.35rem; }
.icon--leaf { background: var(--leaf-100); color: var(--leaf-700); }
.icon--gold { background: var(--gold-100); color: var(--cocoa-700); }
.card--dark .icon { background: rgba(219, 178, 90, 0.14); color: var(--gold-400); }

.feature h3 { margin-top: 1rem; font-size: 1.15rem; font-weight: 600; }
.feature p { margin-top: 0.5rem; color: var(--ink-soft); }

/* Offer cards (what we do) */
.offer { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.offer .media { border-radius: 0; aspect-ratio: 16 / 10; }
.offer__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
@media (min-width: 640px) { .offer__body { padding: 1.9rem; } }
.offer__body h3 { font-size: 1.5rem; }
.offer__body > p { margin-top: 0.75rem; color: var(--ink-soft); }
.offer__body .check-list { margin-top: 1.25rem; }
.offer__body .link-arrow { margin-top: auto; padding-top: 1.5rem; }

/* Numbered steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--pod-500); line-height: 1;
}
.steps h3 { margin-top: 0.9rem; font-size: 1.15rem; font-weight: 600; }
.steps p { margin-top: 0.5rem; color: var(--ink-soft); }
.section--dark .steps li { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.section--dark .steps p { color: var(--sand-200); }
.section--dark .steps li::before { color: var(--gold-400); }

/* Regulation list */
.reg-list { display: grid; gap: 1rem; list-style: none; }
.reg {
  display: grid; gap: 0.35rem 1.5rem; padding: 1.4rem 1.5rem;
  border: 1px solid var(--line); border-left: 4px solid var(--leaf-600); border-radius: var(--radius-sm); background: #fff;
}
@media (min-width: 900px) { .reg { grid-template-columns: 17rem 1fr; } }
.reg__ref { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.3; }
.reg__ref small { display: block; margin-top: 0.3rem; font-family: var(--font-sans); font-weight: 500; font-size: 0.8rem; color: var(--ink-muted); }
.reg__body p { color: var(--ink-soft); }
.reg__body p + p { margin-top: 0.5rem; }
.reg__body .how { color: var(--leaf-800); font-weight: 500; }
.reg__body .how::before { content: "How we comply: "; font-weight: 700; }

/* Institutions */
.inst { padding: 1.4rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.inst abbr { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; text-decoration: none; color: var(--pod-700); }
.inst h3 { margin-top: 0.3rem; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
.inst p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--ink-soft); }

/* Fact table / definition list */
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.facts div { display: grid; gap: 0.25rem; padding: 1rem 1.25rem; }
@media (min-width: 640px) { .facts div { grid-template-columns: 14rem 1fr; gap: 1.5rem; } }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-soft); }

/* Data table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; }
.table thead th { background: var(--sand-50); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.table tbody tr + tr td, .table tbody tr + tr th { border-top: 1px solid var(--line); }
.table td { color: var(--ink-soft); }
.table .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: 3rem 1.5rem; border-radius: 2rem; background: var(--leaf-900); color: var(--sand-100); }
@media (min-width: 640px) { .cta-band { padding: 3.5rem 3rem; } }
.cta-band__inner { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: var(--paper); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.cta-band p { margin-top: 1rem; color: var(--sand-200); font-size: 1.1rem; }

/* Articles */
.article-card { display: flex; flex-direction: column; }
.article-card__meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--ink-muted); }
.article-card h3 { margin-top: 1rem; font-size: 1.25rem; line-height: 1.3; }
.article-card h3 a { text-decoration: none; }
.article-card p { flex: 1; }
.article-card .link-arrow { margin-top: 1.25rem; }
.article-header__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; font-size: 0.9rem; color: var(--sand-200); }
.article-header__meta .tag { background: rgba(255, 255, 255, 0.1); color: var(--sand-100); }

/* Stat / highlight strip */
.strip { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 768px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip > div { padding: 1.4rem 1.5rem; background: #fff; }
.strip strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.strip span { display: block; margin-top: 0.3rem; font-size: 0.92rem; color: var(--ink-soft); }

/* Document download */
.doc-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.doc-card__icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 4.25rem; border-radius: 0.5rem; background: var(--pod-100); color: var(--pod-700); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; }
.doc-card__text { flex: 1; min-width: 12rem; }
.doc-card__text h3 { font-size: 1.15rem; font-weight: 600; }
.doc-card__text p { margin-top: 0.25rem; color: var(--ink-soft); font-size: 0.95rem; }

/* 8. Prices ---------------------------------------------------------------- */
.price-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.price-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.4rem; background: var(--sand-50); border-bottom: 1px solid var(--line); }
.price-card__head h3 { font-size: 1.3rem; font-weight: 600; }
.price-card__head p { font-size: 0.88rem; color: var(--ink-muted); }
.price-card__dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--pod-500); flex-shrink: 0; }
.price-card__main { padding: 1.3rem 1.4rem 1rem; }
.price-card__label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.price-card__label > span:first-child { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pod-700); }
.price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.9rem; margin-top: 0.5rem; }
.price-value { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.5rem; }
.price-value__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 7vw, 3rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-value__unit { font-weight: 500; color: var(--ink-muted); }
.price-value--sm .price-value__num { font-size: 1.35rem; }
.price-value--sm .price-value__unit { font-size: 0.8rem; }
.price-value__none { font-weight: 500; color: var(--ink-muted); }
.price-source { margin-top: 0.4rem; font-size: 0.78rem; color: var(--ink-muted); }
.price-source a { text-underline-offset: 2px; }
.price-note { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.price-card__chart { margin-top: 0.9rem; }
.price-card__rows { margin: auto 0 0; border-top: 1px solid var(--line); }
.price-row { display: grid; gap: 0.3rem; padding: 0.95rem 1.4rem; }
.price-row + .price-row { border-top: 1px solid rgba(42, 26, 17, 0.06); }
.price-row__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.price-row__value { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin: 0; }
.change { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.change--up { color: var(--leaf-700); }
.change--down { color: var(--pod-700); }
.change--flat { color: var(--ink-muted); }
.change__arrow { font-size: 0.6rem; }

.chart { width: 100%; }
.chart svg { width: 100%; }
.chart figcaption { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.4rem; font-size: 0.75rem; color: var(--ink-muted); }

/* Compact ticker used in the hero */
.ticker { border-radius: var(--radius); background: rgba(250, 246, 239, 0.98); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); overflow: hidden; }
.ticker__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.ticker__head p { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pod-700); }
.ticker__head a { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.ticker__head a:hover { color: var(--pod-700); }
.ticker__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; }
.ticker__row + .ticker__row { border-top: 1px solid rgba(42, 26, 17, 0.06); }
.ticker__name { font-weight: 600; }
.ticker__name small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--ink-muted); }
.ticker__price { text-align: right; }
.ticker__price .price-value { justify-content: flex-end; margin-top: 0; }
.ticker__price .price-value__num { font-size: 1.6rem; }
.ticker__foot { padding: 0.8rem 1.25rem; background: var(--sand-50); font-size: 0.78rem; color: var(--ink-muted); }
.ticker .badge { margin-top: 0.25rem; }

.price-loading { padding: 2rem; text-align: center; color: var(--ink-muted); }
.price-error { padding: 1.25rem; border-radius: var(--radius-sm); background: var(--pod-100); color: var(--pod-700); }

/* 9. Media slots (images uploaded to /images, with illustrated fallback) ---- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background-color: var(--sand-100);
  aspect-ratio: 4 / 3;
}
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 9; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media figcaption { position: absolute; right: 0.75rem; bottom: 0.75rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: rgba(255, 255, 255, 0.9); font-size: 0.72rem; }

/* 10. Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.8rem; color: var(--ink-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border: 1px solid rgba(42, 26, 17, 0.2); border-radius: 0.75rem;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.textarea { min-height: 8rem; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--pod-500); box-shadow: 0 0 0 3px rgba(201, 97, 31, 0.18); }
.form-status { font-size: 0.92rem; color: var(--leaf-800); }

.contact-list { display: grid; gap: 1rem; list-style: none; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list span, .contact-list a { color: var(--ink-soft); }

/* 11. Footer --------------------------------------------------------------- */
.site-footer { background: var(--cocoa-950); color: var(--sand-200); }
.site-footer__top { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: 1.2fr 2fr; gap: 4rem; } }
.site-footer__about p { margin-top: 1.25rem; max-width: 24rem; color: rgba(221, 208, 186, 0.8); }
.site-footer address { margin-top: 1.5rem; font-style: normal; font-size: 0.92rem; line-height: 1.8; }
.site-footer address a { text-decoration: none; }
.site-footer address a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-cols h2 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }
.footer-cols ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.6rem; }
.footer-cols a { font-size: 0.95rem; color: rgba(221, 208, 186, 0.85); text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__bottom .container { display: flex; flex-direction: column; gap: 0.5rem; padding-block: 1.5rem; font-size: 0.8rem; color: rgba(221, 208, 186, 0.65); }
@media (min-width: 768px) { .site-footer__bottom .container { flex-direction: row; justify-content: space-between; } }

/* 12. Utilities ------------------------------------------------------------ */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.text-muted { color: var(--ink-muted); }
.text-small { font-size: 0.875rem; }
.center { text-align: center; }
.max-prose { max-width: 44rem; }
.js-only { display: none; }
.has-js .js-only { display: revert; }
.has-js .no-js { display: none; }

/* Uploadable logo: /images/brand/logo.png replaces the drawn mark once uploaded */
.brand__fallback { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__logo-img { display: none; height: 2.9rem; width: auto; max-width: 11rem; }
@media (min-width: 1024px) { .brand__logo-img { height: 3.4rem; max-width: 13rem; } }
.brand--has-logo .brand__logo-img { display: block; }
.brand--has-logo .brand__fallback { display: none; }

/* Hero background photo: /images/home/hero.jpg */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28, 17, 11, 0.96) 25%, rgba(28, 17, 11, 0.6) 70%, rgba(28, 17, 11, 0.45)); }

/* Videos: files in /videos/ or YouTube links listed in data/videos.json */
.video { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--cocoa-950); }
.video__frame video, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: var(--cocoa-950); }
.video__body { padding: 1.25rem 1.4rem 1.4rem; }
.video__body h3 { font-size: 1.15rem; font-weight: 600; }
.video__body p { margin-top: 0.4rem; color: var(--ink-soft); }
.video-feature .video__frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.price-grid--single { grid-template-columns: minmax(0, 1fr) !important; max-width: 40rem; }

/* Live price ticker (below the header on every page) */
.ticker-bar { overflow: hidden; background: var(--cocoa-900); color: var(--sand-100); font-size: 0.85rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ticker-bar__loading { padding: 0.55rem 1rem; color: rgba(236, 227, 211, 0.75); }
.ticker-bar__track { display: flex; width: max-content; }
.ticker-bar__list { display: flex; flex-shrink: 0; list-style: none; }
.ticker-bar__list li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1.75rem; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.ticker-bar__label { color: var(--gold-400); font-weight: 600; }
.ticker-bar strong { color: #fff; font-variant-numeric: tabular-nums; }
.ticker-bar__muted { color: rgba(236, 227, 211, 0.6); font-style: italic; }
.ticker-bar__live { padding: 0.05rem 0.4rem; border-radius: 999px; background: rgba(143, 214, 165, 0.15); color: #8fd6a5; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; }
.ticker-bar .change--up { color: #8fd6a5; }
.ticker-bar .change--down { color: #f3a07a; }
.ticker-bar .change--flat { color: var(--sand-200); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-bar__list[aria-hidden="true"] { display: none; } }
.ticker__row .price-value__num { font-size: 1.35rem; }
.ticker__row:first-of-type .price-value__num { font-size: 1.75rem; }

/* Mobile header: quick link to live prices (hidden on desktop, where the nav has "Market prices") */
.header-prices {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto;
  min-height: 2.5rem; padding: 0.4rem 0.85rem; border-radius: 999px;
  background: var(--pod-600); color: #fff; font-size: 0.85rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 6px -2px rgba(143, 58, 18, 0.5);
}
.header-prices:hover, .header-prices:focus-visible { background: var(--pod-700); }
.header-prices__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #b9f5c9; box-shadow: 0 0 0 0 rgba(143, 214, 165, 0.6); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 214, 165, 0.6); } 70% { box-shadow: 0 0 0 6px rgba(143, 214, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 214, 165, 0); } }
@media (prefers-reduced-motion: reduce) { .header-prices__dot { animation: none; } }
@media (min-width: 1100px) { .header-prices { display: none; } }
.site-header__inner { gap: 0.75rem; }
@media (min-width: 1100px) { .site-header__inner { gap: 1.5rem; } }

.hero__motto { margin-top: 0.6rem; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--gold-400); }
.footer-motto { margin-top: 1rem !important; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--sand-100) !important; }
.footer-motto span { display: block; font-family: var(--font-sans); font-style: normal; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }

/* Live chart (TradingView widget) */
.live-chart { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.live-chart .tradingview-widget-container { height: 420px; }
@media (min-width: 768px) { .live-chart .tradingview-widget-container { height: 480px; } }
.live-chart__note { padding: 0.75rem 1.1rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-muted); }


/* =========================================================================
   Design refresh: plainer typography, green & brown gradients, slideshow,
   drop-down mobile menu
   ========================================================================= */
:root {
  --grad-brand: linear-gradient(135deg, #2a1a11 0%, #3d2618 45%, #1b3a29 100%);
  --grad-soft: linear-gradient(135deg, #3d2618 0%, #23503a 100%);
}
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.12; }
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.15; }
.heading h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.eyebrow { gap: 0; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--leaf-700); }
.price-value__num { font-family: var(--font-display); font-weight: 600; }

/* Buttons: green primary, brown secondary */
.btn--primary { background: var(--leaf-700); box-shadow: none; }
.btn--primary:hover { background: var(--leaf-800); }
.btn { border-radius: 0.5rem; }

/* Gradients */
.page-hero, .section--dark, .site-footer { background: var(--grad-brand); }
.section--leaf, .cta-band { background: var(--grad-soft); }
.cta-band { border-radius: var(--radius); }
.ticker-bar { background: linear-gradient(90deg, #2a1a11 0%, #1b3a29 100%); }

/* Numbered steps: small circles instead of large decorative numbers */
.steps li::before {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--leaf-100); color: var(--leaf-800);
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 700;
  content: counter(step);
}
.section--dark .steps li::before { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Home: background photo slideshow */
.hero { background: #2a1a11; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { background: linear-gradient(100deg, rgba(42, 26, 17, 0.92) 0%, rgba(42, 26, 17, 0.72) 45%, rgba(27, 58, 41, 0.55) 100%); }
@media (max-width: 1023px) { .hero__shade { background: linear-gradient(180deg, rgba(42, 26, 17, 0.78) 0%, rgba(27, 58, 41, 0.88) 100%); } }
.hero__dots { position: absolute; left: 50%; bottom: 1rem; z-index: 2; display: flex; gap: 0.5rem; transform: translateX(-50%); }
.hero__dot { width: 0.65rem; height: 0.65rem; padding: 0; border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 50%; background: transparent; cursor: pointer; }
.hero__dot.is-active { background: #fff; }
.hero__inner { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }

/* Header buttons */
.header-prices { background: var(--leaf-700); box-shadow: none; border-radius: 0.5rem; }
.header-prices:hover, .header-prices:focus-visible { background: var(--leaf-800); }
.menu-button {
  width: auto; height: 2.5rem; margin-right: 0; gap: 0.4rem; padding: 0 0.75rem;
  border: 1px solid rgba(42, 26, 17, 0.25); border-radius: 0.5rem;
  font: inherit; font-size: 0.85rem; font-weight: 600;
}
.menu-button svg { width: 1.2rem; height: 1.2rem; }

/* Mobile menu: drop-down panel under the header, page stays visible behind */
.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0; bottom: auto; z-index: 49;
  max-height: min(70vh, 34rem); overflow-y: auto; padding: 1rem 0 1.25rem;
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 3px solid var(--leaf-700);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.35);
}
.mobile-nav[hidden], .mobile-nav__backdrop[hidden] { display: none; }
.mobile-nav__backdrop { position: fixed; inset: var(--header-h) 0 0 0; z-index: 48; background: rgba(28, 17, 11, 0.45); }
.mobile-nav__group + .mobile-nav__group { margin-top: 1rem; }
.mobile-nav a { min-height: 2.6rem; font-size: 1rem; }
.mobile-nav__label { color: var(--leaf-700); }
.mobile-nav__actions { grid-template-columns: 1fr 1fr; margin-top: 1.25rem; }
.footer-motto { font-style: normal; font-family: var(--font-display); }
.menu-button svg { flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; }
/* On phones the hero shows the photos; prices are in the ticker and the "Live prices" button */
@media (max-width: 1023px) { .hero .ticker { display: none; } .hero__inner { padding-bottom: 4.5rem; } }
.price-call { margin-top: 0.6rem; font-size: 1.05rem; color: var(--ink); }
.price-call a { color: var(--leaf-700); font-weight: 700; }
@media (max-width: 420px) {
  .brand__logo-img { height: 2.3rem; max-width: 8.6rem; }
  .header-prices { padding: 0.4rem 0.6rem; font-size: 0.8rem; gap: 0.35rem; }
  .menu-button { padding: 0 0.55rem; font-size: 0.8rem; }
  .site-header__inner { gap: 0.5rem; }
}


/* Ticker: stays under the header on every page; swipe or drag to scroll */
.ticker-bar {
  position: sticky; top: var(--header-h); z-index: 45;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  cursor: grab; user-select: none;
}
.ticker-bar::-webkit-scrollbar { display: none; }
.ticker-bar.is-dragging { cursor: grabbing; }
.ticker-bar a { color: inherit; }
html { scroll-padding-top: calc(var(--header-h) + 3.5rem); }

/* Home: swipeable, automatic slider. Each slide has its own message and button */
.hero-slider { position: relative; background: #2a1a11; color: var(--sand-100); }
.hero-slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hero-slider__track::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; overflow: hidden;
  display: flex; align-items: center; min-height: clamp(380px, 58vh, 520px);
}
.hero-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(42, 26, 17, 0.9) 0%, rgba(42, 26, 17, 0.65) 50%, rgba(27, 58, 41, 0.45) 100%); }
@media (max-width: 767px) { .hero-slide__shade { background: linear-gradient(180deg, rgba(42, 26, 17, 0.55) 0%, rgba(27, 58, 41, 0.9) 100%); } }
.hero-slide__content { position: relative; z-index: 1; padding-block: 3rem 4.5rem; }
.hero-slide__content > * { max-width: 40rem; }
.hero-slide .eyebrow { color: var(--gold-400); }
.hero-slide__title { margin-top: 0.75rem; color: #fff; font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.12; }
.hero-slide .lead { margin-top: 1rem; color: var(--sand-100); font-size: 1.05rem; }
.hero-slide .btn-row { margin-top: 1.5rem; }
.hero-slider__nav {
  position: absolute; top: 50%; z-index: 2; display: none; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem;
  align-items: center; justify-content: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); color: #fff; cursor: pointer;
}
.hero-slider__nav:hover { background: rgba(255, 255, 255, 0.32); }
.hero-slider__nav svg { width: 1.2rem; height: 1.2rem; }
.hero-slider__nav--prev { left: 1rem; }
.hero-slider__nav--next { right: 1rem; }
@media (min-width: 1024px) { .hero-slider__nav { display: inline-flex; } }
.hero-slider .hero__dots { bottom: 1.25rem; }

/* Regional farm-gate prices */
.region-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.region-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.region-card__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.region-card__head h3 { font-size: 1.25rem; }
.region-card__label { margin-top: 0.25rem; font-size: 0.88rem; color: var(--ink-muted); }
.region-card .price-value__num { font-size: 2rem; }
.region-card__xaf { margin-top: 0.4rem; font-size: 0.92rem; color: var(--ink-soft); }

/* No white strip after the footer: when a phone "bounces" past the end of the page,
   the browser shows the html background, so give it the footer's dark colour. */
html { background: var(--cocoa-950); overscroll-behavior-y: none; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); }
#main { flex: 1 0 auto; }
.site-footer { margin-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }

/* Mobile menu: compact panel that drops down on the right, one font, clear states */
.mobile-nav {
  left: auto; right: var(--gutter); top: calc(100% + 0.4rem);
  width: min(19rem, calc(100vw - 2 * var(--gutter)));
  max-height: min(75vh, 36rem); padding: 0.5rem;
  border: 1px solid var(--line); border-top: 3px solid var(--leaf-700); border-radius: 0.75rem;
  box-shadow: 0 18px 40px -12px rgba(28, 17, 11, 0.45);
}
.mobile-nav .container { padding: 0; }
.mobile-nav, .mobile-nav a, .mobile-nav__label { font-family: var(--font-sans); }
.mobile-nav__group + .mobile-nav__group { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--line); }
.mobile-nav__label {
  padding: 0.5rem 0.75rem 0.2rem; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted);
}
.mobile-nav ul { margin-top: 0; }
.mobile-nav li + li { border-top: 0; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  min-height: 2.6rem; padding: 0.5rem 0.75rem; border-radius: 0.5rem;
  font-size: 0.95rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.mobile-nav a::after { content: "\203A"; font-size: 1.1rem; line-height: 1; color: var(--ink-muted); }
.mobile-nav a:hover, .mobile-nav a:focus-visible, .mobile-nav a:active { background: #cfe3d5; color: var(--leaf-900); }
.mobile-nav a:hover::after, .mobile-nav a:focus-visible::after { color: var(--leaf-700); }
.mobile-nav a[aria-current="page"] { background: var(--leaf-700); color: #fff; font-weight: 600; }
.mobile-nav a[aria-current="page"]::after { color: #fff; }
.mobile-nav__actions { display: grid; grid-template-columns: 1fr; gap: 0.5rem; margin-top: 0.5rem; padding: 0.5rem 0.25rem 0.25rem; border-top: 1px solid var(--line); }
.mobile-nav__actions .btn { min-height: 2.75rem; justify-content: center; }
.mobile-nav__actions .btn::after { content: none; }
.mobile-nav__actions .btn--primary { color: #fff; }
.mobile-nav__actions .btn--primary:hover { background: var(--leaf-800); color: #fff; }
.mobile-nav__actions .btn--ghost:hover { background: var(--sand-50); color: var(--ink); }
.menu-button[aria-expanded="true"] { background: var(--leaf-700); border-color: var(--leaf-700); color: #fff; }

/* Header + live price ticker: one bar pinned to the top of every page while scrolling */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-top .site-header { position: relative; top: auto; }
.site-top .ticker-bar { position: relative; top: auto; }
html { scroll-padding-top: 7.5rem; }

/* Floating share bar: middle of the left edge, small, can be tucked away */
.share-bar {
  position: fixed; left: 0; top: 50%; z-index: 40; transform: translateY(-50%);
  display: flex; align-items: center;
  transition: transform 0.25s ease;
}
.share-bar__list {
  display: grid; gap: 0.35rem; list-style: none; padding: 0.4rem;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); border-left: 0;
  border-radius: 0 0.6rem 0.6rem 0; box-shadow: 0 6px 18px -8px rgba(28, 17, 11, 0.35);
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 0.45rem;
  color: #fff; cursor: pointer; text-decoration: none; transition: transform 0.15s, filter 0.15s;
}
.share-btn svg { width: 1.15rem; height: 1.15rem; }
.share-btn:hover, .share-btn:focus-visible { transform: scale(1.08); filter: brightness(1.08); }
.share-btn--facebook { background: #0866ff; }
.share-btn--whatsapp { background: #25d366; }
.share-btn--tiktok { background: #000; }
.share-btn--email { background: var(--cocoa-700); }
.share-btn--copy { background: var(--leaf-700); }
.share-bar__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.1rem; height: 2.4rem; padding: 0; margin-left: -1px; border: 1px solid var(--line); border-left: 0;
  border-radius: 0 0.4rem 0.4rem 0; background: rgba(255, 255, 255, 0.92); color: var(--ink-muted); cursor: pointer;
}
.share-bar__toggle svg { width: 0.8rem; height: 0.8rem; transition: transform 0.25s; }
.share-bar.is-collapsed { transform: translate(calc(-100% + 1.1rem), -50%); }
.share-bar.is-collapsed .share-bar__toggle svg { transform: rotate(180deg); }
@media (max-width: 640px) {
  .share-btn { width: 1.95rem; height: 1.95rem; }
  .share-btn svg { width: 1rem; height: 1rem; }
  .share-bar__list { padding: 0.3rem; gap: 0.3rem; }
}
@media print { .share-bar, .to-top { display: none; } }

/* Back to top */
.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
  background: var(--leaf-700); color: #fff; cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(28, 17, 11, 0.5);
}
.to-top:hover, .to-top:focus-visible { background: var(--leaf-800); }
.to-top svg { width: 1.2rem; height: 1.2rem; }
.to-top[hidden] { display: none; }

.share-toast {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 60; transform: translateX(-50%);
  max-width: calc(100vw - 2rem); padding: 0.6rem 1rem; border-radius: 0.5rem;
  background: var(--cocoa-900); color: #fff; font-size: 0.9rem; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.share-toast[hidden] { display: none; }
.share-bar__toggle { order: 2; }
.share-bar__list { order: 1; }

/* Live world cocoa price chart (own feed) */
.live-card { position: relative; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (min-width: 640px) { .live-card { padding: 1.5rem 1.75rem; } }
.live-card__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.live-card__label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pod-700); }
.live-card__sub { margin-top: 0.2rem; font-size: 0.85rem; color: var(--ink-muted); }
.live-card__ranges { display: inline-flex; gap: 0.25rem; padding: 0.2rem; border-radius: 0.6rem; background: var(--sand-50); }
.live-card__range { min-width: 2.6rem; min-height: 2.2rem; padding: 0 0.6rem; border: 0; border-radius: 0.45rem; background: transparent; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.live-card__range:hover { background: #cfe3d5; color: var(--leaf-900); }
.live-card__range.is-active { background: var(--leaf-700); color: #fff; }
.live-card__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.5rem; margin-top: 1rem; }
.live-card__big { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3rem); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.live-card__unit { color: var(--ink-muted); font-weight: 500; }
.live-card__second { font-size: 1.05rem; color: var(--ink-soft); }
.live-card__second strong { color: var(--ink); font-size: 1.3rem; }
.live-card__period { margin-top: 0.5rem; font-size: 0.88rem; font-weight: 600; }
.live-card__plot { position: relative; margin-top: 0.75rem; }
.live-card__plot svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.live-card__tip { position: absolute; top: 0; padding: 0.35rem 0.55rem; border-radius: 0.4rem; background: var(--cocoa-900); color: #fff; font-size: 0.8rem; line-height: 1.35; white-space: nowrap; pointer-events: none; }
.live-card__foot { margin-top: 0.75rem; font-size: 0.78rem; color: var(--ink-muted); }
.live-card__empty { padding: 0.5rem 0; }

/* Share bar sits a little lower */
.share-bar { top: 62%; }
