/* ==========================================================================
   Kulu Greens — global styles
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #1d2b26;
  --muted: #66706b;
  --paper: #f5f0e8;
  --white: #fffdf9;
  --green: #52715b;
  --deep: #234333;
  --lime: #cfe053;
  --orange: #e98b58;
  --line: #d8d8c9;
  --shadow: 0 20px 50px rgba(30, 47, 37, .13);
  --page-shadow: 0 14px 30px rgba(29, 43, 38, .08);
  --radius: 14px;
  --radius-lg: 22px;

  /* Rooted harvest palette — bark and root tones that ground the page */
  --bark: #8a6b4f;
  --root: #c9b79c;
  --moss: #3f5c49;
  --leaf-soft: #b6c98a;
  --vein: rgba(82, 113, 91, .28);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol, menu { list-style: none; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.5 'DM Sans', sans-serif;
}

button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--orange); }

.shell { width: min(1180px, calc(100% - 64px)); margin: auto; }

/* Leaves must never take a click away from the content underneath. */
body { overflow-x: clip; }

/* ---------- Header ---------- */
.topbar {
  --bar-bg: rgba(35, 67, 51, .96);
  --bar-fg: #f5f0e8;
  --bar-muted: rgba(245, 240, 232, .72);
  --bar-line: rgba(245, 240, 232, .18);
  position: sticky;
  /* A definite offset keeps the sticky bar pinned to the viewport edge; with
     `top: 0` it was resolving against a flex item and drifting mid-page. */
  top: 12px;
  z-index: 7;
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1280px, calc(100% - 64px));
  margin: auto;
  color: var(--bar-fg);
  background: var(--bar-bg);
  border-bottom: 1px solid var(--bar-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(23, 44, 34, .14);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition: background-color .35s ease, box-shadow .35s ease;
}

.topbar.scrolled {
  background: rgba(35, 67, 51, .78);
  box-shadow: 0 10px 28px rgba(23, 44, 34, .18);
}

/* Near the footer the bar releases so it never covers the last heading. */
.topbar.bar-parked {
  position: static;
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.7px;
  color: var(--bar-fg);
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand-word { letter-spacing: -0.7px; }

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  font: 700 9px/1.2 DM Sans, sans-serif;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .8);
  border: 1px solid rgba(245, 240, 232, .3);
  border-radius: 999px;
  padding: 3px 7px;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.brand:hover .home-pill {
  color: var(--lime);
  border-color: rgba(207, 224, 83, .55);
  background: rgba(245, 240, 232, .08);
  transform: translateX(3px);
}

.brand-mark {
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--lime);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: Fraunces, serif;
  font-size: 18px;
}

.brand-accent { color: var(--orange); }

.topbar .brand-mark { background: var(--lime); color: var(--deep); }

/* The accessible page title duplicates the visual wordmark, which is already
   shown in .brand-name. Left unstyled it rendered at the default 32px, wrapped
   onto two lines, and blew out the sticky header on phones. */
.brand-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  justify-self: center;
  margin: 0;
  color: var(--bar-muted);
  font-size: 14px;
}

/* The details wrapper keeps the mobile menu keyboard accessible without JS. */
.site-nav { position: relative; justify-self: center; }
.site-nav > .mobile-nav-toggle { display: none; }
.site-nav > .mobile-nav-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.site-nav:not([open]) > .desktop-nav { display: flex; }

.desktop-nav a:hover { color: var(--bar-fg); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.topbar > .brand { justify-self: start; }
.topbar > .primary-button { justify-self: end; }

.topbar .primary-button {
  background: var(--lime);
  color: var(--deep);
  padding: 13px 20px;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(24, 27, 25, .22);
}

.topbar .primary-button:hover {
  background: var(--white);
  color: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24, 27, 25, .28);
}

.location-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  color: var(--bar-fg);
  text-align: left;
}

.location-pill small,
.location-pill strong { display: block; font-size: 10px; line-height: 1.2; }
.location-pill strong { font-size: 12px; }
.pin { font-size: 23px; color: var(--orange); }
.chevron { font-size: 17px; margin-left: 5px; }

.cart-button {
  border-left: 1px solid var(--line);
  padding: 5px 0 5px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.cart-button b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: var(--lime);
  border-radius: 50%;
  font-size: 11px;
}

.cart-icon { font-size: 21px; }

.account-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 7px;
  border: 1px solid var(--bar-line);
  border-radius: 999px;
  color: var(--bar-fg);
  background: rgba(245, 240, 232, .06);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.account-button:hover { background: rgba(245, 240, 232, .14); border-color: rgba(245, 240, 232, .42); }
.account-button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.account-avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--lime); color: var(--deep); font-weight: 700; }
.account-avatar svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.account-label-narrow { display: none; }

.restaurant-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto 34px;
  padding: 28px clamp(22px, 4vw, 40px);
  border-radius: var(--radius-lg);
  color: var(--paper);
  background: var(--deep);
}
.restaurant-promo .eyebrow { margin-bottom: 5px; color: var(--lime); }
.restaurant-promo h2 { color: var(--white); font: 700 clamp(23px, 3vw, 32px)/1.1 Fraunces, serif; }
.restaurant-promo p:not(.eyebrow) { margin-top: 7px; color: rgba(245, 240, 232, .78); font-size: 13px; }
.restaurant-promo .primary-button { flex: 0 0 auto; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  align-items: center;
  gap: 40px;
  padding: 20px 0 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 10.5px;
  color: var(--orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

/* A hand-drawn leaf replaces the flat rule before every eyebrow. */
.eyebrow-line {
  width: 30px;
  height: 18px;
  display: inline-block;
  flex: none;
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'%3E%3Cpath d='M1 9h28' stroke='%2352715b' stroke-width='1.2' stroke-linecap='round' stroke-opacity='.55'/%3E%3Cpath d='M20 9c0-5-3.4-8-8-8 0 5 3.4 8 8 8z' fill='%2352715b' fill-opacity='.85'/%3E%3Cpath d='M12 9c0 4 2.6 6.4 6.4 6.4C18.4 11.4 15.8 9 12 9z' fill='%23b6c98a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 18px;
}

.eyebrow.light .eyebrow-line {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'%3E%3Cpath d='M1 9h28' stroke='%23cfe053' stroke-width='1.2' stroke-linecap='round' stroke-opacity='.45'/%3E%3Cpath d='M20 9c0-5-3.4-8-8-8 0 5 3.4 8 8 8z' fill='%23cfe053' fill-opacity='.9'/%3E%3Cpath d='M12 9c0 4 2.6 6.4 6.4 6.4C18.4 11.4 15.8 9 12 9z' fill='%23e4f07a' fill-opacity='.8'/%3E%3C/svg%3E");
}

.hero h1,
.section-heading h2,
.service-band h2,
.tracking h2,
.modal h2 {
  font: 700 clamp(45px, 5.1vw, 76px) / 0.98 Fraunces, serif;
  letter-spacing: -2.5px;
  margin: 0;
  color: var(--deep);
}


  max-width: 435px;
  color: var(--muted);
  margin: 26px 0;
}

.hero-actions { display: flex; align-items: center; gap: 24px; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 15px 18px;
  font-weight: 700;
  font-size: 13px;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.primary-button:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 43, 38, .18);
}

.primary-button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.play-button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-weight: 600;
  font-size: 12px;
}

.play {
  width: 29px;
  height: 29px;
  border: 1px solid var(--deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  padding-left: 2px;
}

.hero-note {
  display: flex;
  gap: 10px;
  margin-top: 34px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.note-check {
  color: var(--deep);
  border: 1px solid var(--green);
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
}

.hero-note strong { color: var(--ink); }

.hero-visual {
  height: 480px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
}

/* The slides sit on their own layer: their heights differ, and a compressed
   fixed-height slide would otherwise paint over proactively ahead of its fade. */
.hero-slide-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1d2b26;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* Only the visible slide may swallow clicks. Hidden siblings stay in the
     layout and would otherwise sit on top of the active video's own surface. */
  pointer-events: none;
}

.hero-slide-image.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.hero-slide-link > .is-active { pointer-events: auto; }

/* Play/pause and mute for the reel. Placed above the slide link so they receive
   the click instead of navigating, and kept off the native control strip so the
   two never overlap. */
.hero-video-toggle {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 253, 249, .22);
  border-radius: 100%;
  color: var(--white);
  background: rgba(29, 43, 38, .72);
  box-shadow: 0 6px 18px rgba(15, 25, 20, .28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}

/* Bottom-left keeps clear of the reel's dark upper-right, where the pill
   would otherwise disappear into the dark backdrop. */
#heroVideoMute { left: 16px; bottom: 16px; }
#heroVideoToggle { left: 62px; bottom: 16px; }

.hero-video-toggle:hover { background: rgba(29, 43, 38, .88); }
.hero-video-toggle:active { transform: scale(.94); }

.hero-video-toggle:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.hero-video-toggle svg { grid-area: 1 / 1; }
.hero-video-toggle .icon-play,
.hero-video-toggle .icon-sound { display: none; }
.hero-video-toggle.is-off .icon-pause,
.hero-video-toggle.is-off .icon-muted { display: none; }
.hero-video-toggle.is-off .icon-play,
.hero-video-toggle.is-off .icon-sound { display: block; }

.hero-slide-link:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: -6px;
}

.hero-stamp { pointer-events: none; }

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 43, 38, 0) 52%, rgba(29, 43, 38, .38));
  pointer-events: none;
  /* Below the leaves (z-index 3-4) so they never get muddied by the scrim. */
  z-index: 2;
}

.produce-card {
  position: absolute;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 2;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 10px;
}

.produce-card strong {
  display: block;
  font-size: 14px;
  color: var(--deep);
  margin-top: 2px;
}

.produce-emoji { font-size: 86px; line-height: 1; margin-bottom: 6px; }
.produce-main { width: 210px; left: 26px; bottom: 26px; transform: rotate(-4deg); }
.produce-small { width: 150px; right: 26px; bottom: 104px; transform: rotate(5deg); }
.produce-small .produce-emoji { font-size: 55px; }

.hero-stamp {
  position: absolute;
  z-index: 3;
  right: 24px;
  top: 100px;
  border: 1px solid var(--green);
  border-radius: 50%;
  height: 100px;
  width: 100px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--deep);
  font-size: 20px;
  line-height: .9;
  font-weight: 700;
  transform: rotate(10deg);
}

.hero-stamp small {
  font: 10px/1 DM Sans, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leaf {
  position: absolute;
  background: #779461;
  z-index: 1;
  border-radius: 100% 0 100% 0;
  transform: rotate(40deg);
}

.leaf-one { width: 110px; height: 45px; left: 10px; bottom: 85px; }
.leaf-two {
  width: 70px;
  height: 30px;
  right: 15px;
  bottom: 130px;
  transform: rotate(120deg);
}

/* ---------- Trusted band ---------- */
.trusted {
  /* Organic, hand-ruled edges instead of straight hairlines. */
  border-top: 0;
  border-bottom: 0;
  position: relative;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3C120 1 210 5 330 3S540 1 660 3.4 880 5.6 990 2.6 1140 1.4 1200 3' stroke='%2352715b' stroke-opacity='.3' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3C120 5 210 1 330 3S540 5 660 2.6 880 .4 990 3.4 1140 4.6 1200 3' stroke='%2352715b' stroke-opacity='.3' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top center, bottom center;
  background-size: 100% 6px, 100% 6px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a938d;
  font-size: 11px;
}

.trusted b { color: var(--deep); }
.trusted-rule { height: 22px; width: 1px; background: var(--line); }

/* ---------- Market / shop ---------- */
.market { padding: 74px 0 92px; }

/* A vine grows along the base of each section heading. */
.section-heading > div { position: relative; }

.section-heading > div::after {
  content: '';
  display: block;
  width: min(260px, 60%);
  height: 10px;
  margin-top: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6C40 2 70 9 100 6S160 2 190 6.5 240 8 258 5' stroke='%2352715b' stroke-opacity='.45' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M40 5c-1-4 1-6 5-7 1 4-1 6-5 7z' fill='%23b6c98a'/%3E%3Cpath d='M120 6c4-1 6 1 7 5-4 1-6-1-7-5z' fill='%2352715b' fill-opacity='.6'/%3E%3Cpath d='M205 6c-1-4 1-6 5-7 1 4-1 6-5 7z' fill='%23b6c98a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.3, .6, .3, 1) .1s;
}

html.reveal-ready [data-reveal]:not(.revealed) .section-heading > div::after { transform: scaleX(0); }

.heading-center > div::after { margin-left: auto; margin-right: auto; }

/* On the dark journey band the vine switches to lime. */
.service-band .section-heading > div::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6C40 2 70 9 100 6S160 2 190 6.5 240 8 258 5' stroke='%23cfe053' stroke-opacity='.5' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M40 5c-1-4 1-6 5-7 1 4-1 6-5 7z' fill='%23cfe053' fill-opacity='.7'/%3E%3Cpath d='M120 6c4-1 6 1 7 5-4 1-6-1-7-5z' fill='%23e4f07a' fill-opacity='.6'/%3E%3Cpath d='M205 6c-1-4 1-6 5-7 1 4-1 6-5 7z' fill='%23cfe053' fill-opacity='.7'/%3E%3C/svg%3E");
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.section-heading.market-heading {
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.heading-center {
  display: block;
  text-align: center;
}

.heading-center .eyebrow { justify-content: center; }

.heading-center .primary-button { margin-top: 32px; }

.market-bottom-cta {
  display: block;
  width: fit-content;
  margin: 46px auto 0;
}

.section-heading h2,
.tracking h2 { font-size: 48px; }

.heading-tools { display: flex; gap: 9px; }

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 12px 14px;
  width: 300px;
  border-bottom: 1px solid var(--line);
}
...
.search input { background: none; border: 0; outline: 0; width: 100%; font-size: 14px; }

.filter-button {
  background: var(--white);
  padding: 0 14px;
  font-size: 12px;
  color: var(--deep);
}

.filter-button span { font-size: 20px; margin-left: 10px; }

.market-filter-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  flex: 1 1 100%;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--page-shadow);
}

.market-filter-panel label { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; color: var(--muted); font-size: 11px; font-weight: 600; }
.market-filter-panel label input,
.market-filter-panel label select { grid-column: 1 / -1; width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--ink); }
.market-filter-panel label span { color: var(--muted); font-weight: 400; }
.market-filter-panel .link-button { min-height: 39px; white-space: nowrap; }
.market-result-count { margin: 0 0 14px; color: var(--muted); font-size: 12px; }

.household-repeat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: -36px;
  margin-bottom: 74px;
  padding: 30px 34px;
  background: #e6eadb;
  border-left: 4px solid var(--lime);
}
.household-repeat h2 { color: var(--deep); font: 700 clamp(26px, 3vw, 36px)/1.05 Fraunces, serif; }
.household-repeat p:not(.eyebrow) { max-width: 620px; margin-top: 9px; color: var(--muted); font-size: 13px; }
.household-repeat .eyebrow { margin-bottom: 8px; }
.household-repeat .primary-button { flex: none; }

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-tab {
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: .2s;
}

.category-tab.active,
.category-tab:hover {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}

.market-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  grid-column: 1 / -1;
}

.category-badge {
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 14px;
  min-width: 118px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(35, 67, 51, .08);
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.category-badge-icon {
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(35, 67, 51, .16));
}

.category-badge-label {
  text-align: center;
  font-weight: 700;
}

.category-badge:hover {
  transform: translateY(-2px);
  color: var(--deep);
  border-color: var(--deep);
}

.category-badge.active {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.category-badge.pairs-highlight {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 16px;
  padding-right: 0;
}

.product-item {
  background: var(--white);
  position: relative;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--page-shadow);
  transition: transform .25s, box-shadow .25s;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-item.inactive {
  opacity: 1;
}

.product-item.sold-out {
  opacity: 0.6;
}


.product-info { padding: 14px 15px 16px; }
.product-info small { font-size: 10px; color: var(--muted); }
.product-info h3 { font-size: 14px; margin: 4px 0 10px; color: var(--deep); }

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price { font-weight: 700; font-size: 14px; }
.price .unit { font-weight: 500; font-size: 12px; color: var(--muted); }

.product-actions { padding: 0 14px 14px; }

.primary-button.small {
  padding: 8px 12px;
  font-size: 12px;
}

/* Quantity stepper on the product card: pick the amount, then Add. */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 8px 0 0 0;
  border: 1px solid rgba(82, 113, 91, .35);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 0;
  background: rgba(82, 113, 91, .08);
  color: var(--green);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.qty-btn:hover:not(:disabled) { background: rgba(82, 113, 91, .18); }
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-btn:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

.qty-value {
  min-width: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}

.product-in-cart {
  margin: 6px 0 0 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
}

.product-in-cart[hidden] { display: none; }

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  height: 230px;
  background: #e2e7cf;
  display: grid;
  place-items: center;
  font-size: 78px;
  position: relative;
  overflow: hidden;
}

.product-item:nth-child(3n) .product-image { background: #f1ddbc; }
.product-item:nth-child(4n) .product-image { background: #dfd9cd; }

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  box-sizing: border-box;
  z-index: 2;
  transform: scale(1);
  transition: transform .45s ease;
  filter: saturate(.94) contrast(1.02);
}

/* Botanical packaging: a soft leaf-shaped top-right corner instead of a plain rectangle. */
.product-image {
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(255, 253, 249, .85), rgba(255, 253, 249, 0) 62%),
    linear-gradient(180deg, #f7f4ea 0%, #eef0dd 100%);
  border-bottom: 1px solid rgba(35, 67, 51, .07);
}

.product-item:nth-child(3n) .product-image {
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(255, 253, 249, .85), rgba(255, 253, 249, 0) 62%),
    linear-gradient(180deg, #faf6ec 0%, #f3e7d1 100%);
}

.product-item:nth-child(4n) .product-image {
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(255, 253, 249, .85), rgba(255, 253, 249, 0) 62%),
    linear-gradient(180deg, #f7f4ec 0%, #e8e4d4 100%);
}

/* The product plate itself gets the leaf cut, so the photo edge reads organic. */
.product-item.img-fit .product-image img {
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
  background: transparent;
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--white);
  border-bottom-left-radius: 26px;
  z-index: 4;
  pointer-events: none;
  transition: width .3s ease, height .3s ease;
}

.product-item:hover .product-image::before {
  width: 34px;
  height: 34px;
}

.product-item:hover .product-image img { transform: scale(1.07); }

.product-emoji {
  position: relative;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(35, 67, 51, .16));
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%2352715b' stroke-width='.7' stroke-opacity='.22'%3E%3Cpath d='M2 98 C30 74 60 44 98 4'/%3E%3Cpath d='M20 80 C34 84 48 80 56 68'/%3E%3Cpath d='M36 66 C50 70 64 64 72 52'/%3E%3Cpath d='M52 50 C66 54 78 46 86 34'/%3E%3Cpath d='M28 72 C26 60 32 48 42 40'/%3E%3Cpath d='M44 58 C42 46 48 34 58 26'/%3E%3Cpath d='M60 42 C58 30 64 20 74 12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 190px 190px;
  background-position: right -20px bottom -10px;
  background-repeat: no-repeat;
}

.stock-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--lime);
  color: var(--deep);
  font-size: 9px;
  padding: 5px 7px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .4px;
}

.stock-tag.sold-out-tag {
  z-index: 5;
  max-width: calc(100% - 24px);
  background: rgba(255, 255, 255, .94);
  color: var(--deep);
  border: 1px solid rgba(35, 67, 51, .16);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.product-info { padding: 14px 15px 16px; }
.product-info small { font-size: 10px; color: var(--muted); }
.product-info h3 { font-size: 14px; margin: 4px 0 10px; color: var(--deep); }

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price { font-weight: 700; font-size: 14px; }
.price .unit { font-weight: 500; font-size: 12px; color: var(--muted); }

.add-button {
  position: relative;
  overflow: hidden;
  width: 29px;
  height: 29px;
  background: var(--deep);
  color: var(--white);
  border-radius: 50%;
  font-size: 19px;
  line-height: 1;
  transition: background .2s, color .2s, transform .2s;
}

.add-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, transparent 35%, var(--lime) 50%, transparent 65%);
  transform: skewX(-20deg);
  transition: left .45s ease;
}

.add-button:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.add-button:hover::before { left: 120%; }

.add-button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.empty-state { text-align: center; padding: 50px; color: var(--muted); }

/* ---------- Service band ---------- */
.service-band {
  background: var(--deep);
  color: var(--white);
  padding: 82px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.light { color: var(--lime); }
.service-band h2 { color: var(--white); font-size: 52px; }

.journey-combined .journey-top { margin-top: 52px; }
.journey-combined .journey-top .section-heading { align-items: center; }
.journey-combined .journey-top h3 { color: var(--white); font: 700 clamp(28px, 3vw, 38px)/1.1 Fraunces, serif; }
.journey-combined .journey-top h3 em { color: var(--lime); }
.journey-combined .journey-top .link-button { color: var(--lime); }
.journey-combined .journey-grid { margin-top: 24px; }

.service-list { border-top: 1px solid rgba(255, 255, 255, .2); }

.service-item {
  display: flex;
  gap: 25px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.service-number { color: var(--lime); font: 18px Fraunces, serif; }
.service-item strong { font-size: 15px; }
.service-item p { margin: 5px 0 0; color: #b4c3b8; font-size: 12px; }

/* ---------- Tracking ---------- */
.tracking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  padding: 90px 0;
}

.tracking p:not(.eyebrow) { color: var(--muted); max-width: 390px; }
.tracking-form { align-self: end; }

.tracking-form label,
.modal label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}

.tracking-input {
  display: flex;
  border-bottom: 1px solid var(--deep);
  padding-bottom: 8px;
}

.tracking-input input { border: 0; outline: 0; background: none; flex: 1; color: var(--ink); }
.tracking-input button { font-weight: 700; color: var(--deep); }

.tracking-form small,
.form-note {
  display: block;
  margin-top: 14px;
  color: var(--green);
  font-size: 11px;
}

#trackingSignIn { margin-top: 14px; }

#trackingResults { margin-top: 28px; }

.track-results {
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--lime);
}

.track-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.track-results-head h2 {
  color: var(--deep);
  font: 700 30px/1.05 Fraunces, serif;
  margin: 0;
}

.status-badge {
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.track-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.track-summary div { display: flex; flex-direction: column; gap: 3px; }
.track-summary small { color: var(--muted); font-size: 10px; }
.track-summary strong { color: var(--deep); font-size: 13px; }

.track-cancel { margin-top: 18px; }
.track-cancel-note { font-size: 13px; color: var(--muted); }
.track-cancel-note a { color: var(--green); }

.track-items { margin: 0 0 18px; }

.track-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.track-item strong { color: var(--deep); }

.track-timeline { list-style: none; margin: 0; padding: 0; }

.track-timeline li {
  position: relative;
  padding: 0 0 22px 26px;
}

.track-timeline li:last-child { padding-bottom: 0; }

.track-timeline li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.track-timeline li:last-child::before { display: none; }

.track-timeline i {
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--line);
}

.track-timeline li.done i { background: var(--green); border-color: var(--green); }

.track-timeline li.current i {
  background: var(--lime);
  border-color: var(--deep);
  box-shadow: 0 0 0 4px rgba(82, 113, 91, .15);
}

.track-timeline strong { display: block; color: var(--deep); font-size: 14px; }
.track-timeline small { color: var(--muted); font-size: 11px; }
.track-timeline p { color: var(--muted); font-size: 12px; margin: 4px 0 0; }

.track-auth { margin-top: 6px; }
.track-auth small { font-size: 12px; color: var(--muted); }
.track-auth strong { color: var(--deep); }

.track-box #trackingSignIn { display: block; }



.impact-panel {
  background: var(--deep);
  color: var(--white);
  padding: 30px;
  align-self: start;
  position: relative;
  padding-bottom: 36px;
}

.impact-panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background: repeating-linear-gradient(
    120deg,
    rgba(119, 148, 97, .08) 0 6px,
    transparent 6px 12px
  );
  pointer-events: none;
  z-index: 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px 20px;
  margin-top: 34px;
}

.impact-grid strong {
  display: block;
  color: var(--lime);
  font: 700 38px/1 Fraunces, serif;
}

.impact-grid span {
  display: block;
  color: #b4c3b8;
  font-size: 11px;
  margin-top: 5px;
}

.team-block {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-grid article {
  position: relative;
  background: var(--white);
  padding: 0;
  border-bottom: 2px solid var(--lime);
  overflow: hidden;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dce2ce;
  color: var(--deep);
  font: 600 20px Fraunces, serif;
  margin-bottom: 16px;
}

.team-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
  border: none;
  box-shadow: none;
  margin: 0;
  transition: transform .25s, box-shadow .25s;
}

.team-grid article:hover .team-photo {
  transform: scale(1.07);
  box-shadow: 0 0 0 4px rgba(207, 224, 83, .45);
}

.team-grid strong,
.team-grid small { display: block; }
.team-grid strong { color: #fff; font-size: 14px; position: absolute; left: 10px; bottom: 22px; text-shadow: 0 1px 4px rgba(0,0,0,.7); z-index: 2; }
.team-grid small { color: #fff; font-size: 11px; margin-top: 0; position: absolute; left: 10px; bottom: 6px; text-shadow: 0 1px 4px rgba(0,0,0,.7); z-index: 2; }

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: #e6eadb;
  padding: 84px 0;
}

.testimonial-heading { align-items: end; }
.testimonial-heading > p {
  max-width: 250px;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 8px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.testimonial-grid blockquote {
  margin: 0;
  background: var(--white);
  padding: 22px;
  min-height: 255px;
  display: flex;
  flex-direction: column;
}

.quote-mark { color: var(--orange); font: 700 48px/0.7 Fraunces, serif; }

.testimonial-grid blockquote p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}

.testimonial-grid blockquote footer {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.testimonial-grid blockquote footer > div { min-width: 0; }

.testimonial-grid blockquote footer strong,
.testimonial-grid blockquote footer small { display: block; }
.testimonial-grid blockquote footer strong { color: var(--deep); font-size: 12px; }
.testimonial-grid blockquote footer small { color: var(--muted); font-size: 10px; margin-top: 3px; }

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--lime);
  font: 600 11px Fraunces, serif;
  flex: none;
}

.testimonial-heading h2 { margin-bottom: 0; }

/* ---------- Home market preview ---------- */
.home-market-preview {
  margin-top: 42px;
  padding: 28px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 2px solid var(--lime);
}

.home-market-preview > span { font-size: 38px; }
.home-market-preview div { margin-left: auto; max-width: 360px; }
.home-market-preview strong { color: var(--deep); font-size: 15px; }
.home-market-preview p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }

/* ---------- Journey strip ---------- */
.journey { padding: 82px 0 96px; }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.journey-grid figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 290px;
  margin: 0;
}

.journey-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.journey-grid figure:hover img { transform: scale(1.05); }

.journey-grid figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 15px;
  background: linear-gradient(transparent, rgba(29, 43, 38, .8));
  color: var(--white);
}

.journey-grid strong {
  display: block;
  font: 700 16px/1.2 Fraunces, serif;
}

.journey-grid small { color: #e6eee8; font-size: 11px; margin-top: 4px; display: block; }

/* ---------- Newsletter strip ---------- */
.newsletter-shell { background: #e2e7cf; }

.news-banner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 40px;
  align-items: center;
  padding: 46px 0;
}

.news-copy h2 {
  font: 700 clamp(34px, 3.4vw, 52px) / 1 Fraunces, serif;
  letter-spacing: -2px;
  color: var(--deep);
  margin: 0 0 12px;
}

.news-copy p:not(.eyebrow) { color: var(--muted); font-size: 13px; max-width: 420px; }

.news-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.news-form input {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
  outline: none;
}

.news-form input:focus { border-color: var(--green); }

.news-form .primary-button { white-space: nowrap; }

.news-form small { width: 100%; color: var(--green); font-size: 11px; }

/* ---------- Follow band (tracking + newsletter, homepage) ---------- */
.follow-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 108px 0 96px;
  align-items: stretch;
  scroll-margin-top: 120px;
  /* At the absolute bottom of the page the browser cannot scroll further, so
     the band is pinned where it lands. Drop the panels to clear the sticky bar
     (~92px) rather than growing the page. */
  padding-top: 108px;
  padding-bottom: 136px;
}

.tracking-panel,
.news-panel {
  border-radius: var(--radius-lg);
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
}

.tracking-panel { background: #eef1e2; gap: 34px; }
.news-panel { background: #e2e7cf; gap: 30px; justify-content: space-between; }

.tracking-panel h2,
.news-panel .news-copy h2 {
  font: 700 clamp(34px, 3.3vw, 50px) / 1.05 Fraunces, serif;
  letter-spacing: -2px;
  color: var(--deep);
  margin: 0 0 12px;
}

.tracking-panel h2 em,
.news-panel .news-copy h2 em { color: var(--lime); }

.tracking-panel > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  max-width: 400px;
}

.tracking-form { margin-top: auto; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: #dce2ce;
  border-top: 1px solid rgba(35, 67, 51, .1);
  padding: 68px 0 32px;
  /* Room below the sticky bar when the footer is a scroll target. */
  scroll-margin-top: 120px;
}

/* Roots anchor the page. They draw themselves outward from the trunk when the
   footer first comes into view, so the site feels grown rather than stacked. */
.footer-roots {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: min(1700px, 165%);
  height: 340px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  color: rgba(35, 67, 51, .5);
  opacity: 0;
}

.footer-roots path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 1800);
  stroke-dashoffset: var(--len, 1800);
  transition: stroke-dashoffset 2.4s cubic-bezier(.25, .6, .25, 1) var(--root-delay, 0s);
}

.footer-roots path.thick { stroke-width: 4.2; color: rgba(35, 67, 51, .72); }
.footer-roots path.mid { stroke-width: 2.2; color: rgba(35, 67, 51, .5); }
.footer-roots path.fine { stroke-width: 1.2; color: rgba(35, 67, 51, .42); }

.footer.roots-drawn .footer-roots,
.footer-roots.roots-drawn { opacity: 1; }
.footer.roots-drawn .footer-roots path,
.footer-roots.roots-drawn path { stroke-dashoffset: 0; }

/* Hairline roots that sprout from the footer's top edge, tying it to the page. */
.footer::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 26px;
  background: linear-gradient(to top, rgba(35, 67, 51, .3), rgba(35, 67, 51, 0));
  z-index: 1;
  pointer-events: none;
}

.footer .footer-inner,
.footer .footer-bottom { position: relative; z-index: 2; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr .9fr .9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 260px;
  margin: 14px 0;
}

.phone-link {
  color: var(--deep);
  font-weight: 700;
  font-size: 15px;
}

.footer-column > strong {
  display: block;
  color: var(--deep);
  font-size: 13px;
  margin-bottom: 18px;
}

.footer-column > a {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  margin: 10px 0;
}

.social-links,
.payment-links { display: flex; gap: 8px; flex-wrap: wrap; }

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #b9c4b7;
  border-radius: 50%;
  color: var(--deep);
  transition: background .2s, color .2s, transform .2s;
}

.social-links a:hover { background: var(--deep); color: var(--lime); transform: translateY(-2px); }

.payment-links span {
  display: grid;
  place-items: center;
  min-width: 66px;
  height: 38px;
  padding: 0 10px;
  background: var(--white);
  color: var(--deep);
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pay-mpesa { background: #43b02a !important; border-color: #43b02a !important; color: #fff !important; letter-spacing: .5px; }
.pay-cod { background: #e98b58 !important; border-color: #e98b58 !important; color: #fff !important; letter-spacing: .5px; }

.payment-column small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 12px;
}

.contact-column a:first-of-type {
  margin-top: 14px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #c6cfbd;
  padding-top: 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11.5px;
}

.footer-link-grid { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link-grid a { color: var(--muted); font-size: 13.5px; }
.footer-link-grid a:hover,
.footer-column > a:hover,
.phone-link:hover { color: var(--orange); }

/* ---------- Floating buttons ---------- */
.bug-report-button {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 8;
  padding: 11px 15px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(35, 67, 51, .2);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.cart-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 8;
  border: 1px solid var(--deep);
  border-radius: 999px;
  padding: 12px 14px;
  background: var(--lime);
  box-shadow: 0 10px 24px rgba(35, 67, 51, .2);
  font-weight: 700;
}

.cart-float b {
  background: var(--deep);
  color: var(--white);
}

.scroll-button {
  position: fixed;
  right: 28px;
  bottom: 72px;
  z-index: 8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--lime);
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(35, 67, 51, .2);
}

.scroll-up-button {
  position: fixed;
  right: 28px;
  bottom: 124px;
  z-index: 8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(35, 67, 51, .2);
}

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  z-index: 10;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(430px, 100%);
  background: var(--white);
  transform: translateX(100%);
  transition: transform .35s;
  display: flex;
  flex-direction: column;
  padding: 35px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
}

.cart-drawer.open { transform: translateX(0); }

.drawer-header { display: flex; justify-content: space-between; }
.drawer-header h2 { font: 700 31px Fraunces, serif; color: var(--deep); margin: 0; }

.close-button { font-size: 28px; color: var(--muted); height: 30px; }
.cart-items { flex: 1; overflow: auto; padding: 25px 0; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.cart-item-emoji { font-size: 38px; background: #e4eac6; padding: 8px; }
.cart-item-info { flex: 1; }
.cart-item-info strong { display: block; font-size: 13px; }
.cart-item-info small { color: var(--muted); font-size: 10px; }

.qty-controls { display: flex; align-items: center; gap: 7px; }
.qty-controls button { background: var(--paper); width: 22px; height: 22px; border-radius: 50%; }

.cart-footer { border-top: 1px solid var(--line); padding-top: 22px; }
.summary-row { display: flex; justify-content: space-between; margin: 7px 0; font-size: 13px; }
.delivery-row { color: var(--muted); font-size: 11px; }
.delivery-row small { display: block; }
/* Free-delivery progress line in the cart drawer. Without this rule the label
   and the "0/5000 KES" counter run together with no separation. */
.delivery-progress-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 2px;
  font-size: 11px;
  color: var(--muted);
}
.delivery-progress-bar > span:last-child { color: var(--deep); font-weight: 600; white-space: nowrap; }
.delivery-progress-bar #deliveryProgress { color: var(--green); }
.full { width: 100%; margin-top: 20px; }

/* ---------- Scrim, modal, toast ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(29, 43, 38, .35);
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}

.scrim.visible { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed;
  z-index: 11;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  width: min(430px, calc(100% - 32px));
  background: var(--white);
  padding: 38px;
  box-shadow: var(--shadow);
}

.modal:not([hidden]) { display: block; }
.modal .close-button { position: absolute; right: 24px; top: 23px; }
.modal h2 { font-size: 42px; }
.modal > p:not(.eyebrow) { color: var(--muted); font-size: 13px; margin: 20px 0 25px; }
.modal label { margin-bottom: 17px; }

.modal input {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  padding: 11px;
  margin-top: 6px;
  outline-color: var(--green);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.check-row input {
  display: inline-block;
  width: auto;
  margin: 0;
  flex: none;
  accent-color: var(--green);
}

.auth-intro {
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0 25px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.auth-tab {
  flex: 1;
  padding: 10px 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font: 600 12px DM Sans, sans-serif;
  color: var(--muted);
  cursor: pointer;
}

.auth-tab.active {
  color: var(--deep);
  border-bottom-color: var(--green);
}

.link-button {
  display: block;
  margin-top: 12px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--green);
  font: 600 12px DM Sans, sans-serif;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 20;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--deep);
  color: white;
  padding: 13px 18px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Roots & leaves animations ---------- */

/* Scroll reveals. The .reveal-ready flag is added by app.js only once the
   observer is wired up, so content can never be stranded invisible if the
   script fails, throws, or never runs. */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.2, .6, .3, 1), transform .75s cubic-bezier(.2, .6, .3, 1);
}

html.reveal-ready [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

html.reveal-ready [data-reveal-stagger] > * { opacity: 0; }

html.reveal-ready [data-reveal-stagger].revealed > * {
  opacity: 1;
  animation: stagger-in .6s cubic-bezier(.2, .6, .3, 1) backwards;
}

html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(1) { animation-delay: .05s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(2) { animation-delay: .13s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(3) { animation-delay: .21s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(4) { animation-delay: .29s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(5) { animation-delay: .37s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(6) { animation-delay: .45s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(7) { animation-delay: .53s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(8) { animation-delay: .61s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(9) { animation-delay: .69s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(10) { animation-delay: .77s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(11) { animation-delay: .85s; }
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(12) { animation-delay: .93s; }

/* Any card added later (product grid, API render) still gets the stagger */
html.reveal-ready [data-reveal-stagger].revealed > * { animation: stagger-in .6s cubic-bezier(.2, .6, .3, 1) backwards; }

/* Cards injected after the container has already revealed (e.g. the live
   Supabase catalog arriving after the fallback render) must not stay hidden. */
html.reveal-ready [data-reveal-stagger].revealed > *:nth-child(n+13) { animation-delay: 1s; opacity: 1; }

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Eyebrow leaf glyph that grows when its section reveals */
.eyebrow::before {
  content: '';
  width: 9px;
  height: 12px;
  flex: none;
  background: var(--green);
  border-radius: 100% 0 100% 0;
  transform: rotate(45deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1) .12s;
}

.eyebrow.light::before { background: var(--lime); }

html.reveal-ready [data-reveal] .eyebrow::before { transform: rotate(45deg) scale(0); }

html.reveal-ready [data-reveal].revealed .eyebrow::before { transform: rotate(45deg) scale(1); }

/* Hero load-in (plays once on first paint, independent of scroll JS) */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes unfurl {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pop-in {
  0% { opacity: 0; transform: scale(.6) var(--tilt, rotate(0deg)); }
  70% { opacity: 1; transform: scale(1.06) var(--tilt, rotate(0deg)); }
  100% { opacity: 1; transform: scale(1) var(--tilt, rotate(0deg)); }
}

.hero-copy > * { animation: rise-in .75s cubic-bezier(.2, .6, .3, 1) backwards; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .36s; }
.hero-copy > *:nth-child(5) { animation-delay: .5s; }

.hero-photo { animation: unfurl 1.05s cubic-bezier(.2, .6, .3, 1) .05s backwards; }

.produce-main { --tilt: rotate(-4deg); animation: pop-in .6s cubic-bezier(.3, 1.35, .4, 1) .42s backwards; }
.produce-small { --tilt: rotate(5deg); animation: pop-in .6s cubic-bezier(.3, 1.35, .4, 1) .58s backwards; }
.hero-stamp { --tilt: rotate(10deg); animation: pop-in .7s cubic-bezier(.3, 1.35, .4, 1) .78s backwards; }

.trusted { animation: rise-in .85s ease .62s backwards; }

/* ---------- The stem: a plant spine down the page ----------
   Sections that carry a data-stem label get a leaf node on a vertical stem
   drawn in the left gutter. The stem fills with green as you scroll, so the
   structure reads as growth rather than a progress bar. */
.stem {
  display: none;
  top: 0;
  left: 0;
  width: 74px;
  /* Height is set by initStem() to the real document height. A fixed 0..0
     height only spanned one viewport, so the nodes were hundreds of pixels
     apart and the spine vanished after the first screen. */
  height: var(--stem-height, 0);
  pointer-events: none;
  z-index: 3;
}

.stem-line {
  position: absolute;
  top: 84px;
  bottom: 40px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(82, 113, 91, 0) 0%, rgba(82, 113, 91, .55) 4%, rgba(82, 113, 91, .55) 96%, rgba(82, 113, 91, 0) 100%);
}

.stem-fill {
  position: absolute;
  top: 84px;
  left: 50%;
  width: 3px;
  height: 0;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--green), var(--deep));
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(35, 67, 51, .06);
}

.stem-node {
  position: absolute;
  left: 0;
  width: 74px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.stem-node::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 26px;
  margin: -13px 0 0 -10px;
  background: #9fae8c;
  border-radius: 100% 0 100% 0;
  transform: rotate(45deg) scale(.9);
  box-shadow: 0 2px 6px rgba(35, 67, 51, .18);
  transition: background .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}

.stem-node.is-lit::before {
  background: var(--lime);
  transform: rotate(45deg) scale(1.12);
}

.stem-node::after {
  content: attr(data-label);
  position: absolute;
  left: 46px;
  top: 50%;
  transform: translate(-4px, -50%);
  opacity: 0;
  white-space: nowrap;
  font: 700 9px/1 DM Sans, sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--green);
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(245, 240, 232, .92);
  box-shadow: 0 4px 14px rgba(35, 67, 51, .12);
  transition: opacity .3s ease, transform .3s ease;
}

.stem-node.is-lit::after,
.stem:hover .stem-node::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.stemmed { position: relative; }

/* Quiet, fixed leaves drifting up the page so it never sits perfectly still. */
.drift {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.drifter {
  position: absolute;
  bottom: -40px;
  width: 15px;
  height: 19px;
  background: var(--green);
  opacity: 0;
  border-radius: 100% 0 100% 0;
  animation: drift-rise 26s linear infinite;
  will-change: transform, opacity;
}

.drifter.two {
  width: 11px;
  height: 14px;
  background: var(--lime);
  animation-duration: 34s;
  animation-delay: 6s;
}

.drifter.three {
  width: 18px;
  height: 23px;
  background: #779461;
  animation-duration: 42s;
  animation-delay: 13s;
}

@keyframes drift-rise {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  6% { opacity: .32; }
  50% { opacity: .22; }
  92% { opacity: .1; }
  100% { transform: translate3d(26px, -115vh, 0) rotate(220deg); opacity: 0; }
}

/* Rooted soil line at hero base */
.hero-soil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 20px;
  background:
    linear-gradient(to top, rgba(35, 67, 51, .32), rgba(35, 67, 51, 0));
  border-radius: 50% 50% 0 0;
  pointer-events: none;
  z-index: 1;
}

/* Slow grass sway + drifting leaves along the hero photo base */
@keyframes grass-sway {
  0%, 100% { transform: skewX(-1.2deg); }
  50% { transform: skewX(1.2deg); }
}

/* One leaf unfurls first, then its neighbours open out from the same stem line. */
@keyframes unfurl-leaf {
  0% { opacity: 0; transform: rotate(var(--leaf-tilt, 0deg)) scaleY(.04) scaleX(.3); }
  45% { opacity: 1; transform: rotate(calc(var(--leaf-tilt, 0deg) - 4deg)) scaleY(1.06) scaleX(.92); }
  100% { opacity: .9; transform: rotate(var(--leaf-tilt, 0deg)) scaleY(1) scaleX(1); }
}

@keyframes leaf-sway {
  0%, 100% { transform: rotate(var(--leaf-tilt, 0deg)); }
  50% { transform: rotate(calc(var(--leaf-tilt, 0deg) + 3deg)); }
}

.hero-photo::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  background:
    linear-gradient(to top, rgba(35, 67, 51, .28), rgba(35, 67, 51, 0)),
    repeating-linear-gradient(100deg, rgba(35, 67, 51, .32) 0 3px, transparent 3px 14px);
  transform-origin: bottom center;
  animation: grass-sway 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* A single stem rises from the soil, then five leaves unfurl along it in
   sequence. One deliberate moment instead of leaves drifting past forever. */
.hero-stem {
  display: none;
  left: 9%;
  bottom: 0;
  width: 3px;
  height: 66%;
  background: linear-gradient(to top, rgba(255, 253, 249, .95), rgba(255, 253, 249, .55) 70%, rgba(255, 253, 249, 0));
  border-radius: 3px;
  transform-origin: bottom center;
  transform: scaleY(0);
  animation: stem-grow 1s cubic-bezier(.3, .7, .2, 1) .25s forwards;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 1px 3px rgba(20, 35, 25, .45));
}

@keyframes stem-grow {
  from { transform: scaleY(0); opacity: .4; }
  to { transform: scaleY(1); opacity: 1; }
}

/* Hand-drawn leaf shapes: an SVG silhouette with a centre vein, masked by the
   element box so the existing unfurl/sway animations still drive it. */
.hero-leaf {
  position: absolute;
  left: calc(9% - 3px);
  bottom: var(--leaf-y, 40%);
  width: var(--leaf-w, 22px);
  height: calc(var(--leaf-w, 22px) * 1.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60'%3E%3Cpath d='M2 58C2 24 18 2 38 2 38 34 22 58 2 58z' fill='%23b9d44e'/%3E%3Cpath d='M4 57C12 40 24 20 37 4' stroke='%2352715b' stroke-width='1.4' fill='none' stroke-opacity='.75' stroke-linecap='round'/%3E%3Cpath d='M12 44c6-1 11-5 14-11' stroke='%2352715b' stroke-width='1' fill='none' stroke-opacity='.5' stroke-linecap='round'/%3E%3Cpath d='M19 32c5-1 10-5 13-11' stroke='%2352715b' stroke-width='1' fill='none' stroke-opacity='.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 0;
  transform-origin: 0% 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  animation:
    unfurl-leaf .95s cubic-bezier(.2, .7, .2, 1) var(--leaf-delay, 1s) forwards,
    leaf-sway 6.5s ease-in-out calc(var(--leaf-delay, 1s) + 1.1s) infinite;
  filter: drop-shadow(0 3px 8px rgba(20, 35, 25, .35));
}

.hero-leaf::after { display: none; }

/* Leaves alternate sides of the stem as they climb. */
.hero-leaf.h1 { --leaf-y: 20%; --leaf-w: 34px; --leaf-tilt: -32deg; --leaf-delay: .85s; }
.hero-leaf.h2 { --leaf-y: 33%; --leaf-w: 26px; --leaf-tilt: 200deg; --leaf-delay: 1.05s; left: calc(9% + 2px); }
.hero-leaf.h3 { --leaf-y: 46%; --leaf-w: 42px; --leaf-tilt: -24deg; --leaf-delay: 1.25s; }
.hero-leaf.h4 { --leaf-y: 59%; --leaf-w: 30px; --leaf-tilt: 196deg; --leaf-delay: 1.45s; left: calc(9% + 2px); }
.hero-leaf.h5 { --leaf-y: 72%; --leaf-w: 24px; --leaf-tilt: -38deg; --leaf-delay: 1.65s; }

/* Vine draws along the journey heading baseline on reveal */
.vine {
  display: block;
  height: 3px;
  margin-top: 18px;
  position: relative;
  background-image: repeating-linear-gradient(to right, rgba(66, 104, 80, 0) 0 10px, rgba(66, 104, 80, .45) 10px 18px);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.3, .6, .3, 1) .15s;
}

.vine::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -6px;
  width: 13px;
  height: 15px;
  background: var(--lime);
  border-radius: 100% 0 100% 0;
  transform: rotate(45deg);
}

/* Market section vine */
.market .section-heading { position: relative; padding-bottom: 20px; margin-bottom: 20px; }

.market .section-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 2px;
  background: var(--deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.3, .6, .3, 1) .2s;
}

html.reveal-ready [data-reveal].revealed .market .section-heading::after { transform: scaleX(1); }

/* Micro-interactions */
.journey-grid figcaption { transition: transform .4s ease; }
.journey-grid figure:hover figcaption { transform: translateY(-6px); }

.testimonial-grid blockquote:hover .avatar { animation: avatar-pulse 1s ease; }

@keyframes avatar-pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 67, 51, .4); }
  100% { box-shadow: 0 0 0 14px rgba(35, 67, 51, 0); }
}

/* Respect reduced motion: everything collapses to a static, visible state */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* The botanical motion is decoration: drop it rather than flashing a frame. */
  .drift { display: none; }
  .hero-leaf { opacity: .88; animation: none !important; transform: rotate(var(--leaf-tilt, 0deg)); }
  .hero-stem { transform: none; animation: none !important; }
  .footer-roots { opacity: 1; }
  .footer-roots path { stroke-dashoffset: 0; }
}

/* ---------- Media queries ---------- */
@media (max-width: 1100px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stem { display: none; }
}

/* A genuinely narrower viewport than the layout assumes should never be able
   to widen the document: sticky elements size to the page, so this is what
   keeps the header on screen instead of pushing the page sideways. */
html, body { max-width: 100%; }

@media (max-width: 850px) {
  .hero-stem { left: 22px; height: 44%; }
  .hero-leaf { left: calc(22px - 2px); }
  .hero-leaf.h2,
  .hero-leaf.h4 { left: calc(22px + 1px); }
  .footer-roots { width: 210%; height: 240px; }
}

@media (max-width: 850px) {
  .restaurant-promo { width: calc(100% - 32px); align-items: flex-start; flex-direction: column; gap: 18px; }
  .topbar {
    width: calc(100% - 32px);
    /* min-width: 0 stops the sticky bar (a grid item) from growing to fit the
       header actions, which was stretching the whole page past the viewport. */
    min-width: 0;
    max-width: calc(100vw - 32px);
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
  }
  .topbar > .brand { min-width: 0; flex: 0 1 auto; }
  .topbar .brand-name { min-width: 0; }
  .topbar .brand-word { white-space: nowrap; }
  .desktop-nav { display: none; }
  .site-nav { margin-left: auto; flex: 0 0 auto; }
  .site-nav:not([open]) > .desktop-nav { display: none; }
  /* Let the bar's own overflow absorb anything still too wide. */
  .topbar { overflow: hidden; }
  .site-nav > .mobile-nav-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid var(--bar-line);
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--bar-fg);
    font-size: 13px;
    font-weight: 600;
  }
  .site-nav > .mobile-nav-toggle::-webkit-details-marker { display: none; }
  .site-nav[open] > .desktop-nav {
    position: fixed;
    z-index: 100;
    top: 100px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(280px, calc(100vw - 32px));
    padding: 10px;
    color: var(--bar-fg);
    background: var(--deep);
    border: 1px solid var(--bar-line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .site-nav[open] > .desktop-nav a { padding: 10px 12px; border-radius: 8px; }
  .site-nav[open] > .desktop-nav a:hover,
  .site-nav[open] > .desktop-nav a:focus-visible { background: rgba(245, 240, 232, .12); }
  .location-pill { display: none; }
  .shell { width: calc(100% - 16px); }
  .hero { grid-template-columns: 1fr; min-height: unset; padding: 40px 0 10px; }
  .hero-visual { height: 350px; order: -1; }
  .produce-main { left: 16px; bottom: 16px; width: 165px; }
  .produce-small { display: none; }
  .hero-stamp { top: 45px; right: 5%; }
  .hero h1 { font-size: 53px; }
  .hero-text { font-size: 15px; }
  .trusted { height: auto; gap: 15px; padding: 18px 0; flex-wrap: wrap; }
  .trusted-rule { display: none; }
  .trusted span:nth-child(5) { display: none; }
  .market { padding: 60px 0 72px; }
  .section-heading { display: block; }
  .market-filter-panel { margin-top: 12px; }
  .household-repeat { align-items: stretch; flex-direction: column; gap: 18px; margin-top: -44px; padding: 24px; }
  .section-heading h2,
  .tracking h2 { font-size: 40px; }
  .heading-tools { margin-top: 26px; }
  .search { flex: 1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .product-image { height: 180px; font-size: 60px; }
  .product-image img { object-fit: cover; padding: 0; }
  .service-grid,
  .tracking { grid-template-columns: 1fr; gap: 45px; }
  .service-band { padding: 60px 0; }
  .service-band h2 { font-size: 43px; }
  .tracking { padding: 64px 0; }
  .about-section { display: block; padding: 84px 0; }
  .impact-panel { margin-top: 35px; }
  .team-block { margin-top: 50px; }
  .team-grid,
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .track-summary { grid-template-columns: repeat(2, 1fr); }
  .testimonials-section { padding: 62px 0; }
  .journey { padding: 60px 0; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-grid figure { height: 220px; }
  .news-banner { grid-template-columns: 1fr; padding: 40px 0; }
  .follow-band { grid-template-columns: 1fr; padding: 76px 0; }
  .tracking-panel,
  .news-panel { padding: 36px 26px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-image { transition: none; }
}

@media (max-width: 440px) {
  .market-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .market-filter-panel label:nth-child(3),
  .market-filter-panel .link-button { grid-column: 1 / -1; }
  .household-repeat .primary-button { width: 100%; }
  .header-actions { gap: 5px; }
  .cart-button { padding-left: 9px; }
  .account-button { gap: 7px; padding-right: 11px; font-size: 12px; }
  .account-label-wide { display: none; }
  .account-label-narrow { display: inline; }
  .hero h1 { font-size: 47px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .product-info { padding: 11px; }
  .product-info h3 { font-size: 12px; }
  .product-image { height: 160px; font-size: 50px; }
  .product-image img { object-fit: cover; padding: 0; }
  .cart-drawer { padding: 25px 20px; }
  .modal { padding: 30px 24px; }
  .team-grid,
  .testimonial-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .home-market-preview { flex-wrap: wrap; gap: 10px; }
  .home-market-preview div { margin-left: 0; }
  .cart-float { right: 16px; bottom: 16px; }
  .scroll-button { right: 16px; bottom: 64px; }
  /* The scroll toggle already flips to ↑ at the bottom of the page, so on a
     phone the second arrow is redundant and sat on top of the hero copy. */
  .scroll-up-button { display: none; }
}

/* === Product page & card refinements === */
.diagonal-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px 0 3px 0;
  transform: rotate(-20deg);
  white-space: nowrap;
  z-index: 10;
  line-height: 1;
}

.product-quantity-control {
  margin: 8px 0 0 0;
  font-size: 11px;
  color: var(--green);
  background: rgba(82, 113, 91, .1);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.product-combo-price {
  margin: 4px 0 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

/* Make product images more visible and fully contained */
.product-item .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  padding: 0;
}
.poster-order-intro { padding-top: 34px; padding-bottom: 8px; }
.poster-order-intro h1 { margin: 0 0 8px; font-family: var(--font-display, Georgia, serif); font-size: clamp(2rem, 6vw, 3.5rem); }
.poster-order-intro p:last-child { max-width: 38rem; margin-top: 0; color: var(--muted, #687064); }
.poster-order-mode .shop-footer .footer-column:has(.social-links), .poster-order-mode .newsletter-shell { display: none; }

/* Skip to main content link — hidden by default, visible on focus for keyboard users */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--deep);
  color: var(--white);
  padding: 8px 16px;
  z-index: 10000;
  transition: top .2s;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { top: 0; }

/* Match Shop the market button color */
.hero-actions .primary-button, .market .primary-button { background: var(--lime); color: var(--deep); }
.hero-actions .primary-button:hover, .market .primary-button:hover { background: var(--white); color: var(--deep); }

@media (max-width: 768px) {
  .community-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .community-card { padding: 14px !important; }
  .community-card h3 { font-size: 14px !important; margin-bottom: 4px !important; }
  .community-card p { font-size: 11px !important; line-height: 1.4 !important; }
  .community-card a { font-size: 12px !important; }
  .community-card > div:first-child { font-size: 28px !important; margin-bottom: 8px !important; }
}


@media (max-width: 768px) {
  .market { padding-top: 20px; padding-bottom: 20px; }
  .market-heading { margin-bottom: 6px; }
  .market-heading h2 { font-size: 22px; line-height: 1.1; }
  .market-subtitle { display: none; }
  .market-heading .eyebrow { margin-bottom: 4px; }
  .heading-tools { margin-top: 8px; gap: 8px; }
  .category-tabs { margin-top: 8px; gap: 6px; }
  .category-badge { min-width: 86px; padding: 10px 8px; gap: 4px; }
  .category-badge-icon { font-size: 24px; }
  .category-badge-label { font-size: 11px; }
}


@media (max-width: 768px) {
  .category-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
}


/* ---------- Quick Category Side Rail ---------- */
.category-rail {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) translateX(70px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 6px;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(35, 67, 51, 0.18), 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(82, 113, 91, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.category-rail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--deep, #14271c);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
  text-decoration: none;
  line-height: 1;
}

.category-rail-item:hover {
  background: rgba(82, 113, 91, 0.12);
  transform: scale(1.06);
}

.category-rail-item:active {
  transform: scale(0.97);
}

.category-rail-item.active {
  background: var(--lime, #bde354);
  color: var(--deep, #14271c);
  box-shadow: 0 3px 8px rgba(35, 67, 51, 0.15);
}

.category-rail-emoji {
  font-size: 15px;
  line-height: 1;
  display: inline-block;
}

.category-rail-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile responsive tuning for side rail */
@media (max-width: 768px) {
  .category-rail {
    right: 6px;
    padding: 6px 4px;
    gap: 4px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(35, 67, 51, 0.22);
  }
  .category-rail-item {
    padding: 5px 6px;
  }
  .category-rail-label {
    display: none; /* Icon-only on mobile to keep screen uncluttered */
  }
  .category-rail-emoji {
    font-size: 17px;
  }
}

/* ---------- Featured About Spotlight Card & Team Scroll ---------- */
.about-section {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-spotlight-card {
  position: relative;
  background:
    radial-gradient(110% 120% at 90% 10%, rgba(189, 227, 84, 0.15), rgba(189, 227, 84, 0) 50%),
    linear-gradient(135deg, #183324 0%, #0d1f15 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 16px 40px rgba(13, 31, 21, 0.28);
  border: 1px solid rgba(189, 227, 84, 0.25);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}

.about-spotlight-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(189, 227, 84, 0.18), transparent 70%);
  pointer-events: none;
}

.about-intro-content .eyebrow {
  color: var(--lime);
  margin-bottom: 12px;
}

.about-intro-content .eyebrow-line {
  background: var(--lime);
}

.about-intro-content h2 {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 18px 0;
}

.about-intro-content h2 em {
  font-style: italic;
  color: var(--lime);
}

.about-intro-content p {
  color: #d1ddd5;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.about-intro-content p:last-of-type {
  margin-bottom: 22px;
}

.about-spotlight-card .impact-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px 22px;
  backdrop-filter: blur(10px);
}

.about-spotlight-card .impact-panel .eyebrow {
  color: var(--lime);
  margin-bottom: 6px;
}

.about-spotlight-card .impact-grid {
  margin-top: 18px;
  gap: 20px 16px;
}

.about-spotlight-card .impact-grid strong {
  font-size: 32px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .about-spotlight-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 28px;
  }
}
.product-unavailable-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(248, 246, 238, .48);
  pointer-events: none;
}
