/* ==========================================================================
   Nilkanth Farm: main stylesheet
   --------------------------------------------------------------------------
   1. Design tokens
   2. Base & typography
   3. Layout helpers
   4. Buttons & links
   5. Header & navigation
   6. Hero (home) & page hero (inner pages)
   7. Shared sections & decorative elements
   8. Home page sections
   9. Product cards, catalogue & modal
   10. About / Farming page sections
   11. Contact page
   12. Footer, back-to-top, lightbox, 404
   13. Motion
   Breakpoint adjustments live in responsive.css
   ========================================================================== */

/* 1. Design tokens -------------------------------------------------------- */
:root {
  /* Brand palette (derived from the official logo) */
  --green: #079B24;
  --leaf: #35B90C;
  --deep: #086B27;
  --deeper: #064A1C;
  --sun: #FFD500;
  --sun-soft: #FFF4BF;
  --cream: #F8F9F0;
  --cream-2: #EFF2E2;
  --white: #FFFFFF;
  --earth: #8B6846;
  --earth-soft: #F4EEE6;

  /* Neutrals tinted towards the brand green */
  --ink: #142217;
  --text: #3F4E42;
  --muted: #6A776C;
  --line: rgba(8, 107, 39, 0.12);
  --line-strong: rgba(8, 107, 39, 0.22);
  --error: #B3261E;

  /* Typography */
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(6, 50, 20, 0.05), 0 4px 14px rgba(6, 50, 20, 0.05);
  --shadow-md: 0 18px 40px -18px rgba(6, 60, 24, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(4, 50, 18, 0.38);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base & typography ---------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; }

/* The heading font has no italic, so accent words use colour only */
h1 em,
h2 em,
h3 em {
  font-style: normal;
  color: var(--green);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--deep); }

ul { margin: 0; padding: 0; list-style: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--sun); color: var(--ink); }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--deep);
  color: var(--white);
  border-radius: var(--r-pill);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* 3. Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--pattern {
  background-color: var(--cream);
  background-image: url('../images/decor/leaf-pattern.svg');
  background-size: 140px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-head p { font-size: 1.075rem; color: var(--muted); }
.section-head--left { margin-left: 0; text-align: left; }

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  text-align: left;
}
.section-head--split > div { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow .icon { width: 1.25em; height: 1.25em; color: var(--leaf); }
.eyebrow--light { color: var(--sun); }
.eyebrow--light .icon { color: var(--sun); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.split--reverse .split__media { order: 2; }
.split__content > .btn,
.split__content > .btn-row { margin-top: 1.75rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 4. Buttons & links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--white);
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85em 1.6em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-pill);
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(6, 70, 25, 0.45);
}
.btn:active { transform: translateY(0); }
.btn .icon-arrow-right { transition: transform 0.25s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(4px); }

.btn--primary:hover { --btn-bg: var(--deep); }

.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--deeper); }
.btn--sun:hover { --btn-bg: #FFE14D; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--deep);
  --btn-border: var(--line-strong);
}
.btn--outline:hover { --btn-bg: var(--deep); --btn-fg: var(--white); --btn-border: var(--deep); }

.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--deep); --btn-border: var(--white); }

.btn--whatsapp { --btn-bg: var(--green); }
.btn--whatsapp:hover { --btn-bg: var(--deep); }

.btn--sm { min-height: 42px; padding: 0.6em 1.05em; font-size: 0.85rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--deep);
}
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 5. Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(6, 60, 24, 0.45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: auto;
  height: 58px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--deep); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current='page'] { color: var(--deep); font-weight: 600; }
.nav-link[aria-current='page']::after { transform: scaleX(1); background: var(--sun); }

.nav-cta { min-height: 46px; padding-inline: 1.35em; }

.nav-mobile-extras { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--deep);
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6. Hero (home) --------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 860px);
  padding-block: clamp(80px, 10vw, 140px) clamp(140px, 14vw, 200px);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 44, 16, 0.86) 0%, rgba(4, 44, 16, 0.6) 40%, rgba(4, 44, 16, 0.22) 70%, rgba(4, 44, 16, 0.18) 100%),
    linear-gradient(0deg, rgba(4, 44, 16, 0.55) 0%, rgba(4, 44, 16, 0) 40%);
}

.hero__content { max-width: 660px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.6rem;
  padding: 0.5em 1.1em 0.5em 0.6em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
}
.hero__eyebrow .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  color: var(--deeper);
  background: var(--sun);
  border-radius: 50%;
}

.hero h1 { color: var(--white); margin-bottom: 0.45em; }
.hero h1 em {
  display: inline-block;
  color: var(--sun);
}

.hero__text {
  max-width: 560px;
  margin-bottom: 2.25rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

/* Recognition line under the hero buttons */
.hero__honours {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}
.hero__honours li { display: flex; align-items: center; gap: 10px; }
.hero__honours .icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  color: var(--sun);
  background: rgba(255, 213, 0, 0.14);
  border: 1px solid rgba(255, 213, 0, 0.55);
  border-radius: 50%;
}

.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  width: 100%;
}
.hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.3rem); }

/* Product showcase: real pack photos fanned over the logo's sunburst */
.showcase {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 0.92;
  margin-left: auto;
}
.showcase__sun {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 92%;
  opacity: 0.55;
  translate: -50% -50%;
}
.showcase__glow {
  position: absolute;
  inset: 18% 14%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 0, 0.45) 0%, rgba(255, 213, 0, 0) 70%);
  filter: blur(10px);
}
.showcase__item {
  --rot: 0deg;
  position: absolute;
  z-index: 2;
  display: block;
  padding: 7px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 60px -24px rgba(3, 30, 10, 0.65), 0 8px 18px -10px rgba(3, 30, 10, 0.4);
  rotate: var(--rot);
  transition: rotate 0.45s var(--ease), scale 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.showcase__item:hover,
.showcase__item:focus-visible {
  z-index: 6;
  rotate: 0deg;
  scale: 1.05;
  box-shadow: 0 40px 70px -24px rgba(3, 30, 10, 0.7);
}
.showcase__item--main { left: 31%; top: 2%; width: 38%; aspect-ratio: 2 / 3; z-index: 4; }
.showcase__item--left { left: 1%; top: 17%; width: 34%; aspect-ratio: 0.9; --rot: -8deg; --float-delay: -2s; }
.showcase__item--right { right: 1%; top: 13%; width: 34%; aspect-ratio: 0.9; --rot: 7deg; --float-delay: -4s; }
.showcase__item--small-left { left: 13%; bottom: 1%; width: 25%; aspect-ratio: 1; z-index: 5; --rot: 6deg; --float-delay: -1s; }
.showcase__item--small-right { right: 11%; bottom: 0; width: 25%; aspect-ratio: 1; z-index: 5; --rot: -6deg; --float-delay: -3s; }

.showcase__seal {
  position: absolute;
  top: -2%;
  right: 4%;
  z-index: 7;
  display: grid;
  place-items: center;
  align-content: center;
  width: clamp(92px, 9vw, 118px);
  aspect-ratio: 1;
  padding: 10px;
  text-align: center;
  color: var(--deeper);
  background: var(--sun);
  border: 3px dashed rgba(6, 74, 28, 0.35);
  outline: 5px solid var(--sun);
  border-radius: 50%;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.45);
  rotate: -12deg;
}
.showcase__seal .icon { width: 22px; height: 22px; margin-bottom: 2px; }
.showcase__seal strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1;
}
.showcase__seal span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase__caption {
  position: absolute;
  min-height: 44px;
  left: 50%;
  bottom: -11%;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--white);
  background: rgba(4, 44, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  translate: -50% 0;
  transition: background-color 0.3s var(--ease);
}
.showcase__caption:hover { color: var(--white); background: rgba(4, 44, 16, 0.75); }
.showcase__caption .icon { color: var(--sun); }



/* Curved section dividers */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  pointer-events: none;
}
/* Waves overlap the next section by 2px so no hairline gap shows at any zoom level */
.wave--bottom { bottom: -2px; }
.wave--top { top: -2px; transform: rotate(180deg); }
.wave path { fill: currentColor; }
.wave--white { color: var(--white); }
.wave--cream { color: var(--cream); }
.wave--deep { color: var(--deep); }
.wave--footer { color: var(--deeper); }

/* Inner page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 46vw, 500px);
  padding-block: 80px clamp(110px, 11vw, 150px);
  color: var(--white);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 44, 16, 0.84) 0%, rgba(4, 44, 16, 0.55) 55%, rgba(4, 44, 16, 0.25) 100%);
}
.page-hero__content { max-width: 720px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4.1rem); margin-bottom: 0.35em; }
.page-hero h1 em { color: var(--sun); }
.page-hero p { max-width: 600px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, 0.88); }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.92); }
.breadcrumb a:hover { color: var(--sun); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: 0.7; }
.breadcrumb [aria-current] { color: var(--sun); }

/* 7. Shared sections & decorative elements -------------------------------- */
.decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.decor--sprig {
  width: clamp(90px, 10vw, 150px);
  aspect-ratio: 1 / 2;
  background: url('../images/decor/sprig.svg') center / contain no-repeat;
  opacity: 0.1;
}
.decor--sun {
  aspect-ratio: 1;
  background: url('../images/decor/sunburst.svg') center / contain no-repeat;
}
.section > .container { position: relative; z-index: 1; }

/* Framed photography */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: 400px 400px var(--r-lg) var(--r-lg); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 5 / 4; }

.media-stack { position: relative; padding: 0 0 48px 0; }
.media-stack__sun {
  position: absolute;
  top: -8%;
  left: -12%;
  width: 72%;
  opacity: 0.55;
  z-index: 0;
}
.media-stack .frame--arch { position: relative; z-index: 1; width: 82%; }
.media-stack__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 46%;
  aspect-ratio: 1;
  border: 8px solid var(--white);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-stack__inset img { width: 100%; height: 100%; object-fit: cover; }

.media-badge {
  position: absolute;
  left: -12px;
  bottom: 6px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.media-badge .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  color: var(--deeper);
  background: var(--sun);
  border-radius: 50%;
}

/* Small feature list with icons */
.point-list {
  display: grid;
  gap: 18px;
  margin-top: 2rem;
}
.point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.point__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--green);
  background: var(--cream-2);
  border-radius: 50%;
}
.point__icon .icon { width: 22px; height: 22px; }
.point h3 {
  margin: 2px 0 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}
.point p { font-size: 0.95rem; color: var(--muted); }

.check-list { display: grid; gap: 14px; margin-top: 1.5rem; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  padding: 4px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

/* Brand marquee */
.marquee {
  position: relative;
  padding-block: 26px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  justify-content: center;
}
.marquee__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px clamp(20px, 3vw, 40px);
  padding-inline: var(--gutter);
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-style: normal;
  color: var(--deep);
  white-space: nowrap;
}
.marquee .icon { width: 22px; height: 22px; color: var(--sun); fill: var(--sun); }

/* Call-to-action band */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px);
  border-radius: clamp(24px, 3vw, 36px);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(5, 64, 24, 0.92) 0%, rgba(7, 110, 36, 0.78) 100%);
}
.cta-band .decor--sun {
  top: -32%;
  right: -10%;
  width: clamp(240px, 34vw, 460px);
  opacity: 0.2;
}
.cta-band__content { position: relative; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.25rem); }
.cta-band h2 em { color: var(--sun); }
.cta-band p { margin: 0 auto 2.25rem; max-width: 560px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.88); }
.cta-band .btn-row { justify-content: center; }

/* 8. Home page sections ---------------------------------------------------- */
.welcome .decor--sprig { right: 2%; top: 10%; }

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4.3;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--r-lg);
  color: var(--white);
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.category-card:hover {
  color: var(--white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.category-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.category-card:hover .category-card__img { transform: scale(1.07); }
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(4, 44, 16, 0.94) 0%, rgba(4, 44, 16, 0.6) 38%, rgba(4, 44, 16, 0) 68%),
    linear-gradient(180deg, rgba(4, 44, 16, 0.5) 0%, rgba(4, 44, 16, 0) 22%);
}
.category-card__num {
  position: absolute;
  top: 22px;
  left: 26px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: normal;
  color: var(--sun);
}
.category-card__count {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
}
.category-card h3 { margin-bottom: 0.35em; font-size: 1.6rem; color: var(--white); }
.category-card p {
  margin-bottom: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sun);
}
.category-card__link .icon { transition: transform 0.3s var(--ease); }
.category-card:hover .category-card__link .icon { transform: translateX(5px); }

/* Why choose us */
.why {
  position: relative;
  padding-block: calc(var(--section) + 40px);
  background-color: var(--deep);
  background-image:
    radial-gradient(ellipse at 85% 10%, rgba(53, 185, 12, 0.35), transparent 55%),
    url('../images/decor/leaf-pattern-light.svg');
  background-size: auto, 140px;
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}
.why h2 { color: var(--white); }
.why h2 em { color: var(--sun); }
.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.why__intro p { font-size: 1.075rem; }
.why__photo {
  margin-top: 2rem;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feature {
  padding: clamp(28px, 3vw, 40px);
  background: var(--deep);
  transition: background-color 0.35s var(--ease);
}
.feature:hover { background: #0A7A2D; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.4rem;
  color: var(--sun);
  border: 1.5px solid rgba(255, 213, 0, 0.55);
  border-radius: 50%;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.feature:hover .feature__icon { background: var(--sun); color: var(--deeper); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { color: var(--white); font-size: 1.35rem; }
.feature p { font-size: 0.95rem; line-height: 1.65; }

/* Farming teaser mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  aspect-ratio: 1 / 0.95;
}
.mosaic__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.mosaic__item:first-child { grid-row: span 2; border-radius: 200px 200px var(--r-md) var(--r-md); }
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.mosaic__item:hover img { transform: scale(1.06); }

.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.75rem;
}
.theme-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.theme-tag .icon { color: var(--leaf); }

.quote-line {
  margin: 1.75rem 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--sun);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--deep);
}

/* 9. Product cards ------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.product-card__media {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  padding: 14px;
  border: 0;
  background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, var(--cream) 55%, var(--cream-2) 100%);
  cursor: zoom-in;
}
.product-card__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.035); }

.product-card__zoom {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover .product-card__zoom,
.product-card__media:focus-visible .product-card__zoom { opacity: 1; transform: none; }

.pack-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--deeper);
  background: var(--sun);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.35);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.product-card__category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--earth);
}
.product-card__category::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}
.product-card__title {
  margin-bottom: 0.4em;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink);
}
.product-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}
.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.product-card__actions .btn { padding-inline: 0.6em; }

/* Missing image fallback */
.img-fallback {
  max-width: 46% !important;
  opacity: 0.35;
  filter: grayscale(0.4);
  border-radius: 0 !important;
}
.has-fallback { position: relative; }
.has-fallback::after {
  content: 'Image coming soon';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.featured-foot { margin-top: clamp(36px, 4vw, 56px); text-align: center; }

/* Catalogue toolbar */
.catalogue { padding-top: 0; }

.catalogue-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  padding-block: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.catalogue-toolbar__row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search {
  position: relative;
  flex: 0 1 360px;
}
.search > .icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 50px;
  font-size: 0.95rem;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search input::placeholder { color: var(--muted); }
.search input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 185, 12, 0.15);
}
.search input::-webkit-search-cancel-button { display: none; }
.search__clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text);
  background: var(--cream-2);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
}
.search__clear[hidden] { display: none; }
.search__clear:hover { background: var(--deep); color: var(--white); }

.filter-chips {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 3px;
}
.filter-chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 46px;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--green); color: var(--deep); }
.chip[aria-pressed='true'] {
  color: var(--white);
  background: var(--deep);
  border-color: var(--deep);
}
.chip__count {
  min-width: 24px;
  padding: 1px 7px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  color: var(--deep);
  background: var(--cream-2);
  border-radius: var(--r-pill);
}
.chip[aria-pressed='true'] .chip__count { color: var(--deeper); background: var(--sun); }

.catalogue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}
.catalogue-meta strong { color: var(--ink); }
.clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--deep);
  background: none;
  border: 0;
}
.clear-filters[hidden] { display: none; }
.clear-filters:hover { color: var(--green); text-decoration: underline; }

.catalogue-results { padding-top: clamp(36px, 4vw, 56px); }

.catalogue-group + .catalogue-group { margin-top: clamp(56px, 6vw, 88px); }
.catalogue-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.catalogue-group__title { display: flex; align-items: center; gap: 18px; }
.catalogue-group__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  color: var(--green);
  background: var(--cream-2);
  border-radius: 50%;
}
.catalogue-group__icon .icon { width: 26px; height: 26px; }
.catalogue-group h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.catalogue-group__head p { margin: 4px 0 0; font-size: 0.95rem; color: var(--muted); }
.catalogue-group__count {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--earth);
}

.empty-state {
  max-width: 520px;
  margin: 40px auto;
  padding: 48px 32px;
  text-align: center;
  background: var(--cream);
  border-radius: var(--r-lg);
}
.empty-state .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  padding: 16px;
  color: var(--green);
  background: var(--white);
  border-radius: 50%;
}
.empty-state h2 { font-size: 1.6rem; }
.empty-state p { color: var(--muted); margin-bottom: 1.5rem; }

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  background: var(--cream);
  border-radius: var(--r-md);
}
.note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--earth); }
.catalogue-note { margin-top: clamp(48px, 5vw, 72px); }

/* Product details modal */
.modal {
  width: min(1020px, calc(100% - 32px));
  max-width: none;
  max-height: min(88vh, 760px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(4, 36, 14, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* The row is pinned to the modal height so the text column scrolls on its own
   and the product photo can fill the whole left panel. */
.modal__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  height: min(88vh, 760px);
}
.modal__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--cream-2);
}
.modal__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Blurred copy of the photo, shown behind tall photos that are displayed whole */
.modal__media .modal__media-bg {
  opacity: 0;
  filter: blur(26px) saturate(1.15);
  transform: scale(1.25);
  transition: opacity 0.3s var(--ease);
}
.modal__media.is-contain .modal__media-bg { opacity: 0.9; }
.modal__media.is-contain img[data-modal-img] {
  object-fit: contain;
  padding: 18px;
  filter: drop-shadow(0 22px 30px rgba(3, 30, 10, 0.35));
}
.modal__media img.img-fallback {
  inset: 25%;
  width: 50%;
  height: 50%;
  object-fit: contain;
}
.modal__media .pack-badge { top: 24px; left: 24px; font-size: 0.85rem; padding: 7px 14px; }
.modal__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 3.5vw, 48px);
  overflow-y: auto;
}
/* Let the column scroll instead of squashing its contents */
.modal__body > * { flex-shrink: 0; }
.modal__body h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.4em; }
.modal__desc { font-size: 1rem; line-height: 1.75; }
.modal__facts {
  display: grid;
  gap: 1px;
  margin: 1.5rem 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.modal__fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  font-size: 0.9rem;
  background: var(--white);
}
.modal__fact span { color: var(--muted); }
.modal__fact strong { color: var(--ink); font-weight: 600; text-align: right; }
.modal__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 0.5rem; }

.modal__close,
.modal__nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal__close { top: 16px; right: 16px; }
.modal__close:hover,
.modal__nav:hover { background: var(--deep); color: var(--white); }
.modal__close:hover { transform: rotate(90deg); }
.modal__nav { bottom: 20px; }
.modal__nav--prev { left: 20px; }
.modal__nav--next { left: 76px; }
.modal__nav[hidden] { display: none; }

/* 10. About / Farming page sections -------------------------------------- */
.glance {
  margin-top: 2rem;
  padding: 24px 26px;
  background: var(--cream);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.glance h3 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--earth);
}
.glance dl { display: grid; gap: 12px; margin: 0; }
.glance div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; font-size: 0.93rem; }
.glance dt { font-weight: 600; color: var(--ink); }
.glance dd { margin: 0; color: var(--text); }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
}
.vm-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.vm-card--deep {
  color: rgba(255, 255, 255, 0.85);
  background: var(--deep) url('../images/decor/leaf-pattern-light.svg');
  background-size: 140px;
  border-color: var(--deep);
}
.vm-card--deep h2 { color: var(--white); }
.vm-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  color: var(--deeper);
  background: var(--sun);
  border-radius: 50%;
}
.vm-card__icon .icon { width: 28px; height: 28px; }
.vm-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.vm-card__statement {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-style: normal;
  line-height: 1.55;
}
.vm-card--deep .vm-card__statement { color: var(--white); }
.vm-card .check-list { margin-top: 1.25rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value {
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 0.35s var(--ease);
}
.value:hover { background: var(--cream); }
.value__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  color: var(--green);
  background: var(--cream-2);
  border-radius: 16px;
  transition: transform 0.35s var(--ease);
}
.value:hover .value__icon { transform: rotate(-8deg) scale(1.05); }
.value__icon .icon { width: 24px; height: 24px; }
.value h3 { font-size: 1.3rem; }
.value p { font-size: 0.95rem; color: var(--muted); }

.photo-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 16px;
}
.photo-strip figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
}
.photo-strip figure:nth-child(even) { margin-top: 48px; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.photo-strip figure:hover img { transform: scale(1.06); }

/* Principles (farming) */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.principle {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.principle:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.principle__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: normal;
  line-height: 1;
  color: var(--cream-2);
}
.principle .value__icon { background: var(--sun-soft); color: var(--deep); }
.principle h3 { font-size: 1.35rem; }
.principle p { font-size: 0.95rem; color: var(--muted); }

/* Process steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed var(--line-strong);
}
.step { position: relative; text-align: center; }
.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.4rem;
  color: var(--white);
  background: var(--green);
  border: 6px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong);
}
.step__icon .icon { width: 30px; height: 30px; }
.step__icon::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--deeper);
  background: var(--sun);
  border-radius: 50%;
}
.step h3 { font-size: 1.25rem; }
.step p { font-size: 0.93rem; color: var(--muted); max-width: 260px; margin-inline: auto; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--r-md);
  background: var(--cream-2);
  cursor: zoom-in;
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 44, 16, 0.75) 0%, rgba(4, 44, 16, 0) 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item figcaption,
.gallery__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: normal;
  text-align: left;
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after,
.gallery__item:focus-visible::after,
.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption { opacity: 1; transform: none; }

/* 11. Contact page ------------------------------------------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card h3 {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--earth);
}
.contact-card p {
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: anywhere;
}
/* Two tap-to-call numbers stacked in the Call Us card */
.contact-card__phones a { display: block; width: fit-content; color: var(--ink); }
.contact-card__phones a:hover { color: var(--green); }
.contact-card .link-arrow { margin-top: auto; padding-block: 10px; margin-bottom: -10px; font-size: 0.9rem; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.form-card {
  padding: clamp(28px, 4vw, 52px);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-card > p { color: var(--muted); }

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 2rem;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.field label .req { color: var(--green); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  font-size: 0.97rem;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field select {
  max-width: 100%;
  text-overflow: ellipsis;
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23086B27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 185, 12, 0.15);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
  background-color: #FFF8F7;
}
.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--error);
}
.field__error .icon { width: 15px; height: 15px; }
.field.has-error .field__error { display: flex; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}
.form-foot .note { flex: 1 1 100%; margin: 0; }

.form-success {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 18px 20px;
  color: var(--deep);
  background: #EEF8E9;
  border: 1px solid rgba(7, 155, 36, 0.3);
  border-radius: var(--r-md);
}
.form-success[hidden] { display: none; }
.form-success .icon { width: 24px; height: 24px; color: var(--green); }
.form-success p { margin: 4px 0 0; font-size: 0.92rem; color: var(--text); }

.side-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 44px);
  color: rgba(255, 255, 255, 0.85);
  background: var(--deep) url('../images/decor/leaf-pattern-light.svg');
  background-size: 140px;
  border-radius: var(--r-lg);
}
.side-panel .decor--sun { top: -90px; right: -90px; width: 260px; opacity: 0.22; }
.side-panel h2 { position: relative; color: var(--white); font-size: clamp(1.6rem, 2.4vw, 2rem); }
.side-panel > p { position: relative; }
.side-panel .btn { position: relative; margin-top: 0.75rem; }
.side-panel__list {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.side-panel__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.93rem; }
.side-panel__list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--sun); }
.side-panel__list strong { display: block; color: var(--white); font-weight: 600; }
.side-panel__list a { display: block; width: fit-content; color: rgba(255, 255, 255, 0.9); }
.side-panel__list a:hover { color: var(--sun); }
.side-panel .social { position: relative; margin-top: 2rem; }

.map-wrap {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--cream) url('../images/decor/leaf-pattern.svg');
  background-size: 140px;
}
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; }
.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 400px;
  padding: 32px;
  text-align: center;
}
.map-placeholder .icon {
  width: 72px;
  height: 72px;
  padding: 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(7, 155, 36, 0.12), 0 0 0 24px rgba(7, 155, 36, 0.06);
  margin-bottom: 18px;
}
.map-placeholder h3 { margin: 0; font-size: 1.5rem; }
.map-placeholder p { max-width: 420px; color: var(--muted); }

/* Social icons */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.25s var(--ease);
}
.social a:hover { color: var(--deeper); background: var(--sun); border-color: var(--sun); transform: translateY(-3px); }
.social .icon { width: 19px; height: 19px; }

/* 12. Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(60px, 7vw, 90px);
  padding-top: clamp(70px, 8vw, 110px);
  color: rgba(255, 255, 255, 0.72);
  background-color: var(--deeper);
  background-image: url('../images/decor/leaf-pattern-light.svg');
  background-size: 140px;
}
.site-footer .wave--top { top: auto; bottom: calc(100% - 2px); transform: none; color: var(--deeper); }
.site-footer--flush { margin-top: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 5vw, 72px);
}
.footer-brand__logo {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 12px 18px;
  background: var(--cream);
  border-radius: 18px;
}
.footer-brand__logo img { width: auto; height: 60px; }
.footer-brand p { max-width: 340px; font-size: 0.95rem; }
.footer-brand .social { margin-top: 1.5rem; }

.footer-col h2 {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  color: var(--white);
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--sun);
  transition: width 0.3s var(--ease);
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { width: 12px; }

.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: #A6E08A; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); overflow-wrap: anywhere; }
.footer-contact__phones a { display: block; width: fit-content; }
.footer-contact a:hover { color: var(--sun); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #A6E08A;
}
.footer-bottom p { margin: 0; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--deeper);
  background: var(--sun);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 30px -12px rgba(4, 44, 16, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top .icon { width: 22px; height: 22px; }

/* Floating WhatsApp button (bottom-left, added by main.js) */
.wa-float {
  position: fixed;
  left: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 90;
  display: flex;
  align-items: center;
  height: 60px;
  min-width: 60px;
  padding: 0 17px;
  color: var(--white);
  background: var(--green);
  border-radius: var(--r-pill);
  box-shadow: 0 14px 30px -10px rgba(4, 44, 16, 0.55);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float__label {
  max-width: 0;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.35s var(--ease), opacity 0.25s var(--ease), margin 0.35s var(--ease);
}
.wa-float:hover,
.wa-float:focus-visible {
  color: var(--white);
  background: var(--deep);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(4, 44, 16, 0.6);
}
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
  max-width: 160px;
  margin-left: 10px;
  opacity: 1;
}

/* Lightbox (farming gallery) */
.lightbox {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(3, 26, 10, 0.88); }
.lightbox figure { margin: 0; }
.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lightbox figcaption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: normal;
  text-align: center;
  color: var(--white);
}
.lightbox .modal__close { top: -60px; right: 0; }
.lightbox .modal__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
.lightbox .modal__nav--prev { left: -23px; }
.lightbox .modal__nav--next { left: auto; right: -23px; }

/* 404 */
.not-found {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-h) - 120px);
  padding-block: 80px 120px;
  text-align: center;
  background: var(--cream) url('../images/decor/leaf-pattern.svg');
  background-size: 140px;
  overflow: hidden;
}
.not-found__mark {
  position: relative;
  width: 150px;
  margin: 40px auto 4rem;
}
.not-found__mark .decor--sun { position: absolute; inset: -40%; width: 180%; opacity: 0.35; }
.not-found__mark img { position: relative; width: 100%; }
.not-found__code {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--earth);
}
.not-found h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.not-found p { max-width: 520px; margin: 0 auto 2rem; font-size: 1.08rem; color: var(--muted); }
.not-found .btn-row { justify-content: center; }

/* 13. Reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Organic emphasis ------------------------------------------------------- */
.organic-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--green);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.35);
}
.organic-badge .icon { width: 13px; height: 13px; }
.organic-badge--inline {
  position: static;
  align-self: flex-start;
  margin-bottom: 14px;
  box-shadow: none;
}

.shloka {
  max-width: 780px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.shloka .icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 1rem;
  color: var(--sun);
}
.shloka__text {
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: normal;
  line-height: 1.4;
  color: var(--deep);
}
.shloka__meaning { font-size: 1rem; color: var(--muted); }

.principles--4 { grid-template-columns: repeat(4, 1fr); }

.ingredient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5rem 0 0;
}

/* Two-photo layout without overlap (About page) */
.media-duo { position: relative; display: grid; gap: 16px; }
.media-duo__sun {
  position: absolute;
  top: -9%;
  left: -9%;
  z-index: 0;
  width: 52%;
  opacity: 0.5;
}
.media-duo__main {
  z-index: 1;
  aspect-ratio: 5 / 4;
  border-radius: 180px 180px var(--r-lg) var(--r-lg);
}
.media-duo__main img { object-position: center 30%; }
.media-duo__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}
.media-duo__small { aspect-ratio: 3 / 2; border-radius: var(--r-md); }
.media-duo__note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px 22px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  background: var(--deep) url('../images/decor/leaf-pattern-light.svg');
  background-size: 140px;
  border-radius: var(--r-md);
}
.media-duo__note .icon { width: 24px; height: 24px; color: var(--sun); }
.media-duo__note strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}
