/* Farming Wagon — shared styles for index.html and 404.html.
   Colours and type follow design-tokens.md. One breakpoint, at 900px. */

/* ---------- Fonts ----------
   Eczar and Mukta, self-hosted (SIL Open Font License, see assets/fonts/OFL-*.txt).
   Same files and character ranges Google Fonts serves. Eczar is one variable file per
   character set; Mukta is one file per weight. The browser fetches only the ones a page uses. */

@font-face {
  font-family: 'Eczar';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/fonts/eczar-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: 'Eczar';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/fonts/eczar-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/mukta-400-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: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/mukta-600-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: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/mukta-700-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: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/mukta-400-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/mukta-600-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

:root {
  --field-green: #1F4A2C;
  --paper-cream: #FAF6EC;
  --ink: #22201C;
  --adeep-yellow: #FFD500;
  --oil-gold: #C98B0A;
  --deep-gold: #8A5B00;
  --leaf-green: #6FA83E;
  --kraft: #C9A57B;
  --white: #FFFFFF;

  --serif: 'Eczar', serif;
  --sans: 'Mukta', sans-serif;

  /* Height of the sticky header: two rows on phones, one row from 900px. */
  --header-h: 127px;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper-cream);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--field-green); text-decoration: none; }
a:hover { color: var(--ink); }

section { scroll-margin-top: var(--header-h); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
  box-sizing: border-box;
}

/* ---------- Shared type ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-gold);
}
.eyebrow--light { color: var(--paper-cream); }
.eyebrow__hi {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}
.eyebrow__hi--ink { color: var(--ink); }

.h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 42px;
  line-height: 1.02;
  text-wrap: balance;
}

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.04;
}
.h2--balance { text-wrap: balance; }
.h2--green { color: var(--field-green); }

/* Hindi line under a headline */
.hi-line {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
}
.hi-line--light { color: var(--paper-cream); }

.title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  color: var(--field-green);
}
.title--sm { font-size: 22px; }
.title--lg { font-size: 26px; }

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}

.caption { font-size: 14px; }

b { font-weight: 600; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  box-sizing: border-box;
  background: var(--field-green);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}
.btn:hover { color: var(--white); }
.btn--start { align-self: flex-start; margin-top: 4px; }
.btn--md { min-height: 46px; padding: 0 20px; margin-top: 6px; }
.btn--light {
  min-height: 48px;
  padding: 0 22px;
  margin-top: 0;
  background: var(--white);
  color: var(--field-green);
  font-size: 16px;
}
.btn--light:hover { color: var(--field-green); }

.wa-sticky {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  min-height: 48px;
  padding: 0 20px;
  border: 1.5px solid var(--paper-cream);
  box-shadow: 0 4px 14px rgba(34, 32, 28, 0.3);
}

/* ---------- Two-column blocks ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px 56px;
  align-items: end;
}
.split--center { align-items: center; }
.split--start { align-items: start; gap: 32px 56px; }

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Photos that are shorter on phones */
.ph {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper-cream);
  border-bottom: 1px solid rgba(34, 32, 28, 0.15);
}
.site-header__inner {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
}
.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.site-header__logo img {
  display: block;
  height: 36px;
  width: auto;
}
.site-nav {
  order: 3;
  flex: 1 1 100%;
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 44px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-header__wa { margin-left: auto; flex-shrink: 0; }

/* ---------- Hero ---------- */

.hero { background: var(--field-green); color: var(--white); }
.hero__inner {
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px 56px;
  align-items: center;
}
.hero__text {
  padding: 52px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__hi { font-size: 21px; }
.hero__intro {
  margin: 4px 0 0;
  max-width: 540px;
  color: var(--paper-cream);
}
.hero__intro b { color: var(--white); }
.hero__img {
  display: block;
  width: 100%;
  height: 260px;
  max-height: 640px;
  object-fit: cover;
  object-position: 70% 30%;
}
.gold-rule { height: 4px; background: var(--oil-gold); }

/* ---------- How can we help? ---------- */

.ways { background: var(--paper-cream); }
.ways__inner {
  padding: 40px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ways__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.way {
  background: var(--white);
  border-top: 3px solid var(--oil-gold);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.way--adeep { border-top-color: var(--adeep-yellow); }
.way p {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Mission and values ---------- */

.mission { background: var(--white); }
.mission__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 56px;
  align-items: start;
}
.mission__panel {
  background: var(--field-green);
  color: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mission__panel .h2 { line-height: 1.06; }
.mission__text {
  margin: 6px 0 0;
  color: var(--paper-cream);
}
.mission__text-hi {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper-cream);
  text-wrap: pretty;
}
.values {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.value__icon {
  height: 26px;
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
}
.value__head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.value__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: var(--field-green);
}
.value__name-hi {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
}
.value__text {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Seed ---------- */

.seed { background: var(--kraft); }
.seed__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.seed__mark {
  height: 40px;
  width: auto;
  align-self: flex-start;
}
.seed .h2 { margin-top: 8px; }
.seed__points {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px 56px;
}
.seed__point {
  border-top: 2px solid var(--field-green);
  padding-top: 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: var(--field-green);
}

/* ---------- Plant ---------- */

.plant { background: var(--paper-cream); }
.plant__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 40px;
}
.number {
  border-top: 2px solid var(--oil-gold);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.number__value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: var(--field-green);
}
.number__label { font-size: 15px; }
.video {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video__box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--field-green);
  overflow: hidden;
}
.video__box video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video .caption { line-height: 1.4; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps li { display: flex; gap: 16px; }
.steps__num {
  min-width: 30px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--field-green);
}
.steps__text { font-size: 16px; line-height: 1.5; }
.plant__photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

/* ---------- Lab ---------- */

.lab { background: var(--white); }
.lab__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.lab__intro { margin-top: 6px; }
.lab__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 50% 62%;
}
.lab-cards {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.lab-card {
  background: var(--paper-cream);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lab-card__name { font-weight: 600; font-size: 15px; }
.lab-card__value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  color: var(--field-green);
}
.lab-card__note { font-size: 14px; line-height: 1.4; }
.lab-table {
  display: table;
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  line-height: 1.35;
}
.lab-table thead tr { color: var(--field-green); }
.lab-table th {
  text-align: left;
  padding: 6px 8px 6px 0;
  border-bottom: 2px solid var(--field-green);
  font-weight: 600;
}
.lab-table td {
  padding: 9px 8px 9px 0;
  border-bottom: 1px solid var(--oil-gold);
  vertical-align: top;
}
.lab-table td + td { white-space: nowrap; }
.lab-table td span { font-size: 13px; }
.lab__also {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}
.lab__foot {
  border-top: 1.5px solid var(--oil-gold);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 15px;
  line-height: 1.5;
}
.lab__foot a { font-weight: 600; }

/* ---------- Products ---------- */

.adeep-band { background: var(--adeep-yellow); }
.adeep-band__inner {
  padding: 48px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px 56px;
  align-items: center;
}
.adeep-band__head { gap: 14px; }
.adeep-band__logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.adeep-band__logos img { width: auto; }
.adeep-band__latin { height: 64px; }
.adeep-band__devanagari { height: 50px; }
.adeep-points { display: flex; flex-direction: column; }
.adeep-point {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.adeep-point:last-child { border-bottom: 1px solid var(--ink); }
.adeep-point img { height: 16px; width: auto; }

.products__body { background: var(--paper-cream); }
.products__inner {
  padding: 56px 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product .title { margin-top: 6px; line-height: 1.15; }
.product__hi {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
}
.product p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.product__sizes {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--field-green);
}
.pack-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.3;
}
.pack-table thead tr { color: var(--field-green); }
.pack-table th {
  padding: 8px 6px;
  border-bottom: 2px solid var(--field-green);
  font-weight: 600;
}
.pack-table th:first-child { text-align: left; padding: 8px 0; }
.pack-table td {
  text-align: center;
  border-bottom: 1px solid var(--oil-gold);
  color: var(--field-green);
  font-weight: 700;
}
.pack-table td:first-child {
  text-align: start;
  padding: 10px 0;
  color: inherit;
  font-weight: 400;
}
.other-oils {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
}
.other-oils span {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
}
.spot {
  background: var(--white);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spot__hi {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
}
.spot__row {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--oil-gold);
}
.spot__num {
  min-width: 22px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--field-green);
}
.spot__text { font-size: 15px; line-height: 1.5; }
.spot__text span { font-family: var(--serif); font-weight: 500; }

/* ---------- Work with us ---------- */

.work { background: var(--white); }
.work__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper-cream);
  padding: 0 0 24px;
}
.work-card__img {
  display: block;
  height: 160px;
  width: 100%;
  object-fit: cover;
}
.work-card__label {
  height: 160px;
  background: var(--kraft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-card__label div {
  width: 120px;
  height: 80px;
  border: 2px dashed var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-card__body {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.work-card__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.work-card__body ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Contact and footer ---------- */

.contact { background: var(--field-green); color: var(--white); }
/* Extra space at the bottom on phones so the floating button never covers the footer. */
.contact__inner {
  padding: 72px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px 56px;
  align-items: start;
}
.contact__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--paper-cream);
}
.contact__details a,
.contact__details a:hover { color: var(--white); }
.contact__phone {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}
.contact__email { font-weight: 600; font-size: 19px; }
.contact__address {
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
}
.contact__map {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact__photo {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 50% 60%;
}
.contact .caption { color: var(--paper-cream); }

.footer {
  border-top: 1px solid rgba(250, 246, 236, 0.35);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  align-items: flex-end;
}
.footer__legal {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--paper-cream);
}
.footer__legal span { white-space: nowrap; }
.footer__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer__nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}
.footer__nav a,
.footer__nav a:hover { color: var(--paper-cream); }
.footer__logo { height: 34px; width: auto; }

/* ---------- 404 page ---------- */

.page-404 {
  display: flex;
  flex-direction: column;
}
.notfound { flex: 1; }
.notfound__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.notfound .h1 { color: var(--field-green); }
.page-404__footer { background: var(--field-green); color: var(--white); }
.page-404__footer .wrap { padding: 32px 24px; }
.page-404__footer .footer { border-top: 0; padding-top: 0; }

/* ---------- 900px and up ---------- */

@media (min-width: 900px) {
  :root { --header-h: 69px; }

  .h1 { font-size: 60px; }
  .h2 { font-size: 46px; }

  .site-nav { order: 0; flex: 1 1 auto; }

  .hero__text { padding: 88px 0; }
  .hero__img { height: 100%; min-height: 340px; }

  .ph { height: 240px; }
  .contact__photo { height: 360px; }

  .lab-cards { display: grid; }
  .lab-table { display: none; }

  .contact__inner { padding-bottom: 32px; }
}
