/* ==========================================================================
   Sridhatri Agri Sciences
   Palette sampled from the supplied photography. Type: Archivo (variable).
   ========================================================================== */

@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin.woff2) format("woff2-variations"), url(../fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext.woff2) format("woff2-variations"), url(../fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ground: #F1E9D8;
  --paper: #F8F3E8;
  --field: #FFFDF8;
  --ink: #2A2113;
  --text: #4A3D2C;
  --muted: #7A6B57;
  --line: rgba(42, 33, 19, .14);
  --line-strong: rgba(42, 33, 19, .26);

  --canopy: #2B2E17;
  --canopy-2: #363A1E;
  --on-dark: #EFE6D2;
  --on-dark-muted: #BDB396;
  --line-dark: rgba(239, 230, 210, .16);

  --haldi: #D9780F;
  --haldi-deep: #A85A08;
  --haldi-tint: #F4DDB6;
  --leaf: #5E6B20;
  --leaf-tint: #E2E4C4;
  --sun: #F0B43C;

  --r-panel: 32px;
  --r-media: 20px;
  --r-small: 14px;

  --inset: 12px;
  --gap: 12px;
  --pad: clamp(1.375rem, 5vw, 4.5rem);
  --wrap: 80rem;
  --header-h: 84px;
  --page-max: 1920px;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 900px) {
  :root { --inset: 16px; --gap: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.022em;
  line-height: 1.06;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 5.25rem); line-height: 1.0; letter-spacing: -.03em; font-variation-settings: "wdth" 116; }
h2 { font-size: clamp(1.95rem, 3.7vw, 3.35rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-variation-settings: "wdth" 106; letter-spacing: -.012em; line-height: 1.18; }
h4 { font-size: 1.0625rem; font-variation-settings: "wdth" 104; letter-spacing: -.005em; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--text); max-width: 46ch; }
.small { font-size: .9rem; color: var(--muted); }
.kicker { display: block; font-size: .95rem; font-weight: 600; color: var(--haldi-deep); margin-bottom: 14px; letter-spacing: 0; }
.panel.dark .kicker, .on-dark .kicker, .kicker.light { color: var(--sun); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { left: 16px; }

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

/* ---------- Layout ---------- */
main { display: flex; flex-direction: column; gap: var(--gap); padding: 0 var(--inset); }
.panel {
  position: relative;
  border-radius: var(--r-panel);
  background: var(--paper);
  overflow: hidden;
  overflow: clip;
}
.panel.ground { background: transparent; }
.panel.tint { background: var(--haldi-tint); }
.panel.leafy { background: var(--leaf-tint); }
.panel.dark, .on-dark { background: var(--canopy); color: var(--on-dark); }
.panel.dark h1, .panel.dark h2, .panel.dark h3, .panel.dark h4,
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #FBF5E8; }
.panel.dark .lead, .on-dark .lead { color: var(--on-dark); }
.panel.dark .small, .on-dark .small { color: var(--on-dark-muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.wrap.tight { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.15fr .85fr; }
  .split.wide-right { grid-template-columns: .85fr 1.15fr; }
  .split.top { align-items: start; }
}

.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 48.75rem; }
.section-head.row { max-width: none; }
@media (min-width: 900px) {
  .section-head.row { grid-template-columns: 1fr 1fr; align-items: end; gap: 72px; }
}

.media { border-radius: var(--r-media); overflow: hidden; background: #D9C8A6; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 16 / 10; }
.media.square { aspect-ratio: 1; }
.media.land { aspect-ratio: 4 / 3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 3.125rem; padding: 0 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--haldi); color: #1F1608; }
.btn-primary:hover { background: #E88A22; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #3D311E; }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.on-dark .btn-line, .hero .btn-line { border-color: rgba(251, 245, 232, .55); color: #FBF5E8; }
.on-dark .btn-line:hover, .hero .btn-line:hover { border-color: #FBF5E8; }
.btn-wa { background: #1E9E51; color: #fff; }
.btn-wa:hover { background: #17863F; }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  color: var(--ink); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--haldi); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--haldi-deep); }
.panel.dark .text-link, .on-dark .text-link { color: #FBF5E8; text-decoration-color: var(--sun); }
.panel.dark .text-link:hover { color: var(--sun); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); padding: 0 var(--inset); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h); max-width: 1480px; margin: 0 auto; padding: 0 clamp(4px, 1.5vw, 18px);
}
.brand img { height: 2.875rem; width: auto; }
.nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a.top {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink);
  transition: background-color .15s;
}
.nav a.top:hover { background: rgba(42, 33, 19, .07); }
.nav a.top[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav .caret { width: 10px; height: 10px; opacity: .7; }
.nav li { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 8px;
  display: grid; opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; }
.submenu a { padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-size: .96rem; }
.submenu a:hover { background: var(--ground); }
.submenu a span { display: block; font-size: .84rem; color: var(--muted); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions .btn { min-height: 2.875rem; padding: 0 1.25rem; font-size: .95rem; }
.burger {
  display: none; align-items: center; gap: 10px; height: 46px; padding: 0 18px;
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer; font-weight: 600;
}
.burger i { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.burger i::before { top: -6px; } .burger i::after { top: 6px; }

@media (max-width: 1120px) {
  .nav, .header-actions .btn-line { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .header-actions .btn-primary { display: none; }
  .brand img { height: 38px; }
  .site-header .bar { height: 72px; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--canopy); color: var(--on-dark);
  display: flex; flex-direction: column; padding: 20px var(--pad) 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; height: 52px; margin-bottom: 28px; }
.mobile-menu .mm-top img { height: 38px; width: auto; }
.mobile-menu .close {
  height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-dark);
  background: transparent; color: var(--on-dark); font-weight: 600; cursor: pointer;
}
.mobile-menu nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 700; font-variation-settings: "wdth" 112;
  letter-spacing: -.02em; text-decoration: none; color: #FBF5E8;
}
.mobile-menu nav a[aria-current="page"] { color: var(--sun); }
.mobile-menu .sub { display: flex; gap: 18px; flex-wrap: wrap; padding: 10px 0 16px; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .sub a { font-size: 1.02rem; font-weight: 500; border: 0; padding: 4px 0; color: var(--on-dark-muted); }
.mobile-menu .actions { margin-top: auto; padding-top: 32px; }
.mobile-menu .actions .btn { flex: 1 1 200px; }

/* ---------- Home hero ---------- */
.hero { min-height: clamp(580px, 86vh, 860px); display: flex; align-items: flex-end; background: #3B3A1C; }
.hero picture, .hero .hero-img { position: absolute; inset: 0; }
.hero .hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(26, 22, 9, .7) 0%, rgba(26, 22, 9, .3) 40%, rgba(26, 22, 9, 0) 70%),
    linear-gradient(to right, rgba(26, 22, 9, .5) 0%, rgba(26, 22, 9, .18) 45%, rgba(26, 22, 9, 0) 70%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--pad) clamp(36px, 6vw, 72px);
  display: grid; gap: 28px; align-items: end;
}
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1fr auto; } }
.hero h1 { color: #FFF8EA; max-width: 13ch; }
.hero .actions { margin-top: 36px; }
@media (min-width: 1000px) { .hero .actions .btn { min-height: 56px; padding: 0 30px; font-size: 1.05rem; } }
.hero .lead { color: #EDE3CC; margin-top: 22px; max-width: 40ch; }
.hero-place { color: #E6DBC2; font-size: .95rem; text-align: left; max-width: 22ch; }
@media (min-width: 1000px) { .hero-place { text-align: right; } }

.page-hero { min-height: clamp(520px, 82vh, 780px); display: flex; align-items: flex-end; background: #3B3A1C; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 9, .76) 0%, rgba(26, 22, 9, .3) 50%, rgba(26, 22, 9, .05) 80%);
}
.page-hero .hero-inner { grid-template-columns: 1fr; }
.page-hero h1 { color: #FFF8EA; max-width: 16ch; font-size: clamp(2.3rem, 4.4vw, 4rem); }
.page-hero img.bg { object-position: 62% 35%; }
.page-hero .lead { color: #EDE3CC; margin-top: 18px; }

/* single orchestrated load moment */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-img, .page-hero img.bg { animation: settle 2.2s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: .15s; }
  @keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof > div { padding: clamp(22px, 3vw, 36px) clamp(18px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.proof > div:nth-child(odd) { border-right: 1px solid var(--line); }
.proof > div:nth-child(-n+2) { border-top: 0; }
.proof h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); margin-bottom: 6px; }
.proof p { font-size: .95rem; color: var(--muted); }
@media (min-width: 900px) {
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof > div { border-top: 0; border-right: 1px solid var(--line); }
  .proof > div:last-child { border-right: 0; }
}

/* ---------- Positioning ---------- */
.two-lists { display: grid; gap: 36px; }
@media (min-width: 700px) { .two-lists { grid-template-columns: 1fr 1fr; gap: 40px; } }
.two-lists h3 { margin-bottom: 14px; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.on-dark .plain-list li { border-color: var(--line-dark); }

/* ---------- Crop tiles (home) ---------- */
.crops { display: grid; gap: var(--gap); }
@media (min-width: 800px) { .crops { grid-template-columns: 1fr 1fr; } }
.crop {
  display: grid; grid-template-rows: auto 1fr; background: var(--paper);
  border-radius: var(--r-panel); overflow: hidden; text-decoration: none; color: inherit;
}
.crop .media { border-radius: 0; aspect-ratio: 5 / 4; }
.crop .crop-body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.crop .figure { font-weight: 700; font-variation-settings: "wdth" 112; color: var(--haldi-deep); font-size: 1.05rem; }
.crop .go { margin-top: 10px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--haldi); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.crop:hover .go { color: var(--haldi-deep); }

/* ---------- Traceability record ---------- */
.trace-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) {
  .trace-grid { grid-template-columns: 1fr 1fr; gap: 88px; align-items: stretch; }
  .record { position: sticky; top: calc(var(--header-h) + 28px); }
}
.trace-head h2 { max-width: 14ch; }
.trace-head .lead { color: var(--on-dark); }
.record {
  margin-top: 0; background: var(--paper); color: var(--text);
  border-radius: 24px; padding: 22px 24px 18px; max-width: 520px;
}
.record-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.record-head strong { font-size: 1.05rem; color: var(--ink); font-variation-settings: "wdth" 108; }
.record-count { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.record-count b { color: var(--haldi-deep); font-size: 1.15rem; }
.record ol { list-style: none; margin: 0; padding: 0; }
.record li {
  display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem;
}
.record li:last-child { border-bottom: 0; }
.record li .dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background-color .25s, border-color .25s; }
.record li .k { color: var(--muted); transition: color .25s; }
.record li .v { position: relative; color: transparent; font-weight: 600; text-align: right; transition: color .35s; }
.record li .v::before { content: ""; position: absolute; right: 0; top: 50%; width: 72px; height: 7px; margin-top: -3.5px; border-radius: 4px; background: var(--line); }
.record li.on .dot { background: var(--leaf); border-color: var(--leaf); }
.record li.on .k { color: var(--ink); }
.record li.on .v { color: var(--ink); }
.record li.on .v::before { display: none; }
.record li.now .dot { background: var(--haldi); border-color: var(--haldi); }
.record li.now .v { color: var(--haldi-deep); }

.trace-wrap { position: relative; }
.trace-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.trace-steps::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line-dark); }
.trace-wrap .fill { z-index: 1; position: absolute; left: 19px; top: 8px; width: 2px; height: 0; background: var(--sun); transition: height .35s ease-out; }
.trace-steps li { position: relative; padding: 0 0 0 64px; min-height: 150px; }
.trace-steps li:last-child { min-height: 0; }
.trace-steps .n { z-index: 2;
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--canopy); border: 2px solid var(--line-dark);
  font-size: .85rem; font-weight: 700; color: var(--on-dark-muted); font-variant-numeric: tabular-nums;
  transition: background-color .25s, border-color .25s, color .25s;
}
.trace-steps li.on .n { border-color: var(--sun); color: #FBF5E8; }
.trace-steps li.now .n { background: var(--sun); color: var(--canopy); border-color: var(--sun); }
.trace-steps h3 { padding-top: 6px; color: #FBF5E8; }
.trace-steps p { margin-top: 8px; color: var(--on-dark-muted); max-width: 40ch; transition: color .25s; }
.trace-steps li.now p { color: var(--on-dark); }
.trace-steps .rec { display: none; margin-top: 10px; font-size: .88rem; color: var(--sun); font-weight: 600; }
.trace-note { margin-top: 40px; font-size: .92rem; color: var(--on-dark-muted); max-width: 52ch; }
@media (max-width: 999px) {
  .record { display: none; }
  .trace-steps li { min-height: 0; padding-bottom: 34px; }
  .trace-steps .rec { display: block; }
}

/* ---------- Markets ---------- */
.markets { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 8px; }
.markets span {
  font-size: clamp(1.6rem, 3.6vw, 3.1rem); font-weight: 700; font-variation-settings: "wdth" 114;
  letter-spacing: -.025em; color: var(--ink); line-height: 1.15;
}
.markets span:not(:last-child)::after { content: "/"; color: var(--haldi); font-weight: 400; margin: 0 .38em; }

/* ---------- Feature band (image + copy) ---------- */
.band { display: grid; }
.band .media { border-radius: 0; min-height: 320px; }
.band .band-copy { padding: clamp(32px, 5vw, 80px) var(--pad); display: grid; gap: 20px; align-content: center; }
@media (min-width: 900px) {
  .band { grid-template-columns: 1fr 1fr; }
  .band.flip .media { order: 2; }
  .band .media { min-height: 520px; }
}

/* ---------- CTA panel ---------- */
.cta-panel .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .cta-panel .wrap { grid-template-columns: 1.2fr .8fr; align-items: end; } .cta-panel .actions { justify-content: flex-end; } }
.cta-panel h2 { max-width: 18ch; }
.cta-panel .lead { margin-top: 16px; }

/* ---------- Story / quote ---------- */
.quote {
  margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.2rem); line-height: 1.25; font-weight: 600;
  font-variation-settings: "wdth" 108; letter-spacing: -.015em; color: var(--ink); max-width: 30ch;
}
.quote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .7; color: var(--haldi); margin-bottom: 10px; font-weight: 700; }
.on-dark .quote { color: #FBF5E8; }
.prose p + p { margin-top: 16px; }
.prose { max-width: 60ch; }

.promise { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.promise li {
  display: grid; gap: 8px 40px; padding: 28px 0; border-top: 1px solid var(--line-strong);
}
.promise li:last-child { border-bottom: 1px solid var(--line-strong); }
.promise .n { font-size: 1rem; font-weight: 700; color: var(--haldi-deep); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .promise li { grid-template-columns: 80px 1fr 1.3fr; align-items: baseline; }
}

.values { display: grid; gap: 0; }
.values > div { padding: 26px 0; border-top: 1px solid var(--line-dark); }
.values h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.values p { color: var(--on-dark-muted); max-width: 34ch; }
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Value chain (sticky image swap) ---------- */
.chain-grid { display: grid; gap: 40px; }
.chain-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-media); overflow: hidden; background: #D9C8A6; }
.chain-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.chain-frame img.on { opacity: 1; }
.chain-frame .cap {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600;
}
.chain-steps ol { list-style: none; margin: 0; padding: 0; }
.chain-steps li { padding: 30px 0; border-top: 1px solid var(--line-strong); transition: opacity .3s; }
.chain-steps li .n { display: block; font-size: .95rem; font-weight: 700; color: var(--haldi-deep); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.chain-steps li p { margin-top: 8px; max-width: 42ch; }
.chain-steps li .inline-media { display: none; }
@media (min-width: 1000px) {
  .chain-grid { grid-template-columns: .95fr 1.05fr; gap: 88px; align-items: start; }
  .chain-media { position: sticky; top: calc(var(--header-h) + 28px); }
  .chain-steps li { min-height: 30vh; opacity: .38; }
  .chain-steps li.now { opacity: 1; }
  .chain-steps li:last-child { min-height: 0; }
}
@media (max-width: 999px) {
  .chain-media { display: none; }
  .chain-steps li .inline-media { display: block; margin-top: 18px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; }
  .chain-steps li .inline-media img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Products ---------- */
.tabs-bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--ground); padding: 10px 0; }
@media (max-width: 560px) { :root { --header-h: 72px; } }
.tabs {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
}
.tabs [role="tab"] {
  min-height: 46px; padding: 0 26px; border-radius: 999px; border: 0; background: transparent;
  font-weight: 600; cursor: pointer; color: var(--muted); transition: background-color .15s, color .15s;
}
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs [role="tab"]:hover:not([aria-selected="true"]) { color: var(--ink); }
.tab-panel { display: flex; flex-direction: column; gap: var(--gap); }
.tab-panel[hidden] { display: none; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid var(--line-strong); }
.stats div { padding: 18px 16px 0 0; }
.stats b {
  display: block; white-space: nowrap; font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 700; font-variation-settings: "wdth" 115;
  letter-spacing: -.03em; color: var(--ink); line-height: 1.05; font-variant-numeric: tabular-nums;
}
.stats span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.4; }

/* curcumin chart */
.cc { border-top: 1px solid var(--line-strong); }
.cc-axis, .cc-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(0, 2.2fr) 84px; gap: 20px; align-items: center; }
.cc-axis { padding: 12px 0; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cc-axis .scale { display: flex; justify-content: space-between; }
.cc-group { padding: 26px 0 8px; font-weight: 700; color: var(--ink); font-size: .98rem; border-bottom: 1px solid var(--line); }
.cc-row {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  text-align: left; cursor: pointer; transition: background-color .15s;
}
.cc-row:hover { background: rgba(217, 120, 15, .06); }
.cc-name { font-weight: 600; color: var(--ink); line-height: 1.25; }
.cc-name small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.cc-track {
  position: relative; height: 14px; border-radius: 999px;
  background: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px calc(100% / 6)), rgba(42, 33, 19, .05);
}
.cc-track i {
  position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--haldi);
  left: calc(var(--a) / 12 * 100%); width: calc((var(--b) - var(--a)) / 12 * 100%);
}
.cc-row.gi-top .cc-track i { background: var(--haldi-deep); }
.cc-val { font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.cc-more { padding: 4px 0 18px; font-size: .95rem; max-width: 70ch; border-bottom: 1px solid var(--line); }
.cc-more[hidden] { display: none; }
.cc-row[aria-expanded="true"] { border-bottom-color: transparent; }
@media (max-width: 700px) {
  .cc-axis { display: none; }
  .cc-row { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .cc-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ginger table */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: transparent; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--text);
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.vtable { border-top: 1px solid var(--line-strong); }
.vrow { display: grid; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.vrow[hidden] { display: none; }
.vrow .nm { font-weight: 700; color: var(--ink); font-variation-settings: "wdth" 106; }
.vrow .rg { color: var(--muted); font-size: .95rem; }
.vrow .ch { font-size: .98rem; }
.vrow .gi { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--haldi-tint); color: var(--haldi-deep); font-size: .75rem; font-weight: 700; vertical-align: 2px; }
@media (min-width: 800px) { .vrow { grid-template-columns: 1fr .9fr 2.2fr; align-items: baseline; } }
.vcount { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* forms gallery */
.forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 18px; }
.forms figure { margin: 0; }
.forms .tile { border-radius: 18px; overflow: hidden; background: #F1EBE2; }
.forms img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; }
.forms figcaption { margin-top: 10px; font-size: .92rem; line-height: 1.35; color: var(--ink); font-weight: 500; }
@media (min-width: 1100px) { .forms { grid-template-columns: repeat(5, 1fr); } }

/* applications */
.apps { display: grid; column-gap: 48px; }
.apps > div { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.apps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.apps p { color: var(--muted); font-size: .96rem; }
@media (min-width: 700px) { .apps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .apps { grid-template-columns: repeat(3, 1fr); } }

/* quality + accordion */
.commit { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 48px; }
.commit li { padding: 16px 0; border-top: 1px solid var(--line-dark); line-height: 1.45; }
@media (min-width: 800px) { .commit { grid-template-columns: 1fr 1fr; } }
.certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.certs span { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-dark); font-weight: 600; font-size: .92rem; color: #FBF5E8; }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 24px; max-width: 64ch; }

/* ---------- Farmers journey ---------- */
.season { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.season li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-strong); align-items: baseline; }
.season li:last-child { border-bottom: 1px solid var(--line-strong); }
.season .n { font-weight: 700; color: var(--leaf); font-variant-numeric: tabular-nums; }
.season h3 { font-size: 1.2rem; }
.season p { color: var(--muted); font-size: .96rem; margin-top: 4px; }
@media (min-width: 1000px) {
  .season { grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line-strong); }
  .season li { grid-template-columns: 1fr; border-top: 0; border-bottom: 0 !important; border-left: 1px solid var(--line-strong); padding: 22px 18px 8px; }
  .season li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Contact ---------- */
.audiences { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .audiences { grid-template-columns: 1fr 1fr; } }
.audience { padding: clamp(28px, 4vw, 52px); }
.audience h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.audience .lead { margin-top: 12px; }
.audience .plain-list { margin-top: 24px; }

.form-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .form-grid { grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: start; } }
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--haldi-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-small);
  border: 1.5px solid var(--line-strong); background: var(--field); color: var(--ink);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232A2113' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--haldi); box-shadow: 0 0 0 3px rgba(217, 120, 15, .22); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field.invalid input, .field.invalid select { border-color: #B23A1B; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 6px; }
.form-foot .small { max-width: 40ch; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--r-small); font-weight: 500; }
.form-status.err { display: block; background: #F6D9CE; color: #6E200A; }
.form-done { display: none; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--leaf-tint); }
.form-done h3 { margin-bottom: 10px; }
.form-done .actions { margin-top: 22px; }

.contact-card { display: grid; gap: 26px; }
.contact-card h3 { font-size: 1.05rem; color: var(--muted); font-weight: 600; font-variation-settings: "wdth" 100; letter-spacing: 0; margin-bottom: 6px; }
.contact-card a { text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--haldi-deep); }
.contact-card address { font-style: normal; line-height: 1.55; }
.contact-card .big a { font-size: 1.3rem; font-variation-settings: "wdth" 108; letter-spacing: -.01em; display: block; }

/* ---------- Legal pages ---------- */
.legal .prose { max-width: 70ch; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }

/* ---------- Footer ---------- */
.site-footer { padding: var(--gap) var(--inset) var(--inset); }
.site-footer .panel { background: var(--canopy); color: var(--on-dark); }
.foot-top { display: grid; gap: 40px; }
@media (min-width: 1000px) { .foot-top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 48px; } }
.foot-brand img { height: 52px; width: auto; }
.foot-brand p { margin-top: 18px; color: var(--on-dark-muted); max-width: 30ch; }
.foot-col h3 { font-size: .95rem; color: var(--on-dark-muted); font-weight: 600; font-variation-settings: "wdth" 100; letter-spacing: 0; margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: #FBF5E8; }
.foot-col a:hover { color: var(--sun); }
.foot-col address { font-style: normal; color: var(--on-dark); line-height: 1.55; font-size: .96rem; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px;
  margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-size: .88rem; color: var(--on-dark-muted);
}
.foot-bottom a { color: var(--on-dark); }
.foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px;
  border-radius: 999px; background: #1E9E51; color: #fff; text-decoration: none; font-weight: 600;
}
.wa-float:hover { background: #17863F; }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

/* utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Home forms strip ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strip figure { margin: 0; }
.strip .tile { border-radius: 18px; overflow: hidden; background: #F1EBE2; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; }
.strip figcaption { margin-top: 9px; font-size: .9rem; color: var(--ink); font-weight: 500; }
@media (min-width: 800px) { .strip { grid-template-columns: repeat(6, 1fr); gap: 18px; } }
.crops-head { padding: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px) clamp(20px, 3vw, 32px); }

@media (max-width: 480px) { .stats b { font-size: 1.55rem; } .stats div { padding-right: 10px; } }

/* ---------- Home hero on phones: headline and two actions only ---------- */
@media (max-width: 700px) {
  .hero { min-height: 540px; min-height: 76svh; }
  .hero .lead, .hero-place { display: none; }
  .hero::after {
    background: linear-gradient(to top, rgba(26, 22, 9, .9) 0%, rgba(26, 22, 9, .7) 40%, rgba(26, 22, 9, .25) 70%, rgba(26, 22, 9, 0) 88%);
  }
  .hero .hero-img { object-position: 50% 30%; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); max-width: 11ch; }
  .hero-inner { padding-bottom: 26px; gap: 0; }
  .hero .actions { margin-top: 26px; gap: 10px; }
  .hero .actions .btn { flex: 1 1 100%; min-height: 52px; }
}

/* ---------- Phones: heroes run edge to edge, rounded only at the bottom ---------- */
@media (max-width: 700px) {
  .hero, .page-hero {
    margin-left: calc(-1 * var(--inset));
    margin-right: calc(-1 * var(--inset));
    border-radius: 0 0 28px 28px;
  }
}

/* ---------- Phones: footer runs edge to edge, rounded only at the top ---------- */
@media (max-width: 700px) {
  .site-footer { padding: var(--gap) 0 0; }
  .site-footer .panel { border-radius: 28px 28px 0 0; }
  .site-footer .wrap { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}


/* ==========================================================================
   Laptops and monitors
   One content column (--wrap) shared by header, hero and every section.
   Type and spacing scale up on large screens via the root size; heroes
   size themselves to the screen height so the next section always peeks in.
   Phones (700px and below) are untouched by this block.
   ========================================================================== */

/* scale the whole system on big screens */
@media (min-width: 1600px) { html { font-size: 106.25%; } :root { --header-h: 92px; } }
@media (min-width: 1920px) { html { font-size: 112.5%; }  :root { --header-h: 96px; } }
@media (min-width: 2400px) { html { font-size: 118.75%; } :root { --header-h: 100px; } }

/* ultra-wide: stop stretching, centre the page */
.site-header, main, .site-footer { max-width: var(--page-max); margin-inline: auto; }

@media (min-width: 701px) {
  /* header aligns to the same column as the content below it */
  .site-header .bar { max-width: var(--wrap); padding: 0 var(--pad); }

  /* home hero: fills the screen minus header, leaves a sliver of the next section */
  .hero {
    min-height: 520px;
    height: calc(100vh - var(--header-h) - var(--inset) - 3rem);
    height: calc(100svh - var(--header-h) - var(--inset) - 3rem);
    max-height: min(1080px, 75vw);
  }
  .hero-inner { padding-bottom: clamp(2rem, min(6vw, 8vh), 5rem); }
  /* headline sized by width AND height, so short laptops never get a wall of text */
  .hero h1 { max-width: 15.5ch; font-size: clamp(2.6rem, min(5.2vw, 8.6vh), 5.75rem); }

  .page-hero {
    min-height: 520px;
    height: calc(100vh - var(--header-h) - var(--inset) - 3rem);
    height: calc(100svh - var(--header-h) - var(--inset) - 3rem);
    max-height: min(980px, 70vw);
  }
  .page-hero h1 { font-size: clamp(2.4rem, min(4.4vw, 7.6vh), 4.75rem); }

  /* home crop tiles sit in the content column instead of running edge to edge */
  .crops-head, .crops { padding-inline: calc(max(0px, (100% - var(--wrap)) / 2) + var(--pad)); }
}

@media (min-width: 1200px) { .crop .media { aspect-ratio: 3 / 2; } }

/* mid-size laptops: the floating WhatsApp button covers it, keep the header uncluttered */
@media (min-width: 1121px) and (max-width: 1359px) { .header-actions .btn-line { display: none; } }

/* keep reading lines comfortable inside wide panels */
@media (min-width: 900px) { .audience > * { max-width: 36rem; } }

/* traceability on phones and tablets: same spacing as before the heading moved */
@media (max-width: 999px) {
  .trace-head { margin-bottom: 48px; }
  .trace-sticky { display: none; }
}

/* ==========================================================================
   Column alignment for full-width blocks (laptops and monitors)
   Photos still bleed to the panel edge; text snaps to the shared column.
   --col-offset = distance from a panel's edge to the content column.
   ========================================================================== */
@media (min-width: 701px) {
  /* credibility strip */
  .proof { padding-inline: calc(max(0px, (100% - var(--wrap)) / 2) + var(--pad)); }
  .proof > div:nth-child(odd)  { padding-left: 0; }
  .proof > div:nth-child(even) { padding-right: 0; }

  /* products crop switch */
  .tabs-bar { padding-inline: calc(max(0px, (100% - var(--wrap)) / 2) + var(--pad)); }
}
@media (min-width: 900px) {
  .proof > div { padding-left: clamp(18px, 2.4vw, 32px); padding-right: clamp(18px, 2.4vw, 32px); }
  .proof > div:first-child { padding-left: 0; }
  .proof > div:last-child  { padding-right: 0; }

  /* half-image bands: text column meets the shared edge, photo keeps bleeding */
  .band { container-type: inline-size; }
  .band .band-copy { padding-left: var(--pad); padding-right: calc(max(0px, (100cqw - var(--wrap)) / 2) + var(--pad)); }
  .band.flip .band-copy { padding-left: calc(max(0px, (100cqw - var(--wrap)) / 2) + var(--pad)); padding-right: var(--pad); }

  /* contact: domestic / global panels */
  .audiences { container-type: inline-size; }
  .audiences > .audience:first-child { padding-left: calc(max(0px, (100cqw - var(--wrap)) / 2) + var(--pad)); }
  .audiences > .audience:last-child  { padding-right: calc(max(0px, (100cqw - var(--wrap)) / 2) + var(--pad)); }
}

/* product stats on phones: the first figure (e.g. 35–40%) is the widest, give it room */
@media (max-width: 560px) {
  .stats { grid-template-columns: 1.45fr 1fr 1fr; column-gap: 18px; }
  .stats div { padding-right: 0; }
  .stats b { font-size: clamp(1.2rem, 6.4vw, 1.55rem); }
}

/* FPO band: keep the elderly member at the scale in frame when the photo is cropped */
.band .media.fpo img { object-position: 30% 50%; }
/* Farmers hero: the group walks in the upper right; keep them in view */
.page-hero img.bg { object-position: 58% 22%; }

/* Credibility strip, desktop: even padding on every cell (fixes text touching the dividers) */
@media (min-width: 900px) {
  .proof > div:nth-child(odd),
  .proof > div:nth-child(even) { padding-left: clamp(20px, 2.4vw, 36px); padding-right: clamp(20px, 2.4vw, 36px); }
  .proof > div:first-child { padding-left: 0; }
  .proof > div:last-child { padding-right: 0; }
}
