/* Farming Wagon — one stylesheet for every page.
   Colours, type and layout follow design-tokens-web.md (Round B, direction A).
   Phone layout first; one breakpoint, at 900px, switches to the desktop layout. */

/* ---------- 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: 500;
  font-display: swap;
  src: url(assets/fonts/mukta-500-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;
}

/* ---------- Tokens ---------- */

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

  --serif: 'Eczar', serif;
  --sans: 'Mukta', sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace; /* placeholder tags only */

  --header-h: 60px;
  --px: 20px;          /* side padding */
  --content: 1248px;   /* content width on desktop */
}
@media (min-width: 900px) {
  :root {
    --header-h: 72px;
    --px: clamp(32px, 6.6667vw, 96px); /* 96px at 1440px and wider */
  }
}

/* Layout settings set on one element must not leak into the blocks inside it. */
@property --s { syntax: '*'; inherits: false; }
@property --sd { syntax: '*'; inherits: false; }
@property --g { syntax: '*'; inherits: false; }
@property --gd { syntax: '*'; inherits: false; }
@property --cols { syntax: '*'; inherits: false; }
@property --h { syntax: '*'; inherits: false; }
@property --hd { syntax: '*'; inherits: false; }
@property --pt { syntax: '*'; inherits: false; }
@property --pb { syntax: '*'; inherits: false; }
@property --pt-d { syntax: '*'; inherits: false; }
@property --pb-d { syntax: '*'; inherits: false; }
@property --op { syntax: '*'; inherits: false; }
@property --opd { syntax: '*'; inherits: false; }
@property --n { syntax: '*'; inherits: false; }
@property --fcols { syntax: '*'; inherits: false; }

/* ---------- Base ---------- */

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper-cream);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; }
a { color: var(--field-green); }
[id] { scroll-margin-top: var(--header-h); }
b, strong { font-weight: 600; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Colour helpers */
.bg-page { background: var(--paper-cream); }
.bg-white { background: var(--white); }
.bg-soft { background: var(--oil-cream); }
.bg-green { background: var(--field-green); }
.bg-yellow { background: var(--adeep-yellow); }
.c-white { color: var(--white) !important; }
.c-cream { color: var(--paper-cream) !important; }
.c-ink { color: var(--ink) !important; }

/* ---------- Layout ---------- */

/* Sections: padding comes from --pt/--pb (phone) and --pt-d/--pb-d (desktop). */
.sec { padding: var(--pt, 44px) var(--px) var(--pb, 44px); }
.wrap { max-width: var(--content); margin: 0 auto; }
@media (min-width: 900px) {
  .sec { padding: var(--pt-d, 72px) var(--px) var(--pb-d, 72px); }
}

/* Columns: one column on phones, --cols from 900px. */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--g, 24px);
  align-items: start;
}
@media (min-width: 900px) {
  .cols { grid-template-columns: var(--cols); gap: var(--gd, 32px); }
}

.stack { display: flex; flex-direction: column; gap: var(--s, 12px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s, 12px); }
@media (min-width: 900px) {
  .stack, .row { gap: var(--sd, var(--s, 12px)); }
}

/* ---------- Type ---------- */

.eyebrow {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-gold);
}
.eyebrow--light { color: var(--oil-gold-light); }
.eyebrow--ink { color: var(--ink); }

.h1, .h2, .h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--field-green);
}
.h1 { font-size: 40px; line-height: 1.02; text-wrap: balance; }
.h2 { font-size: 32px; line-height: 1.05; text-wrap: balance; }
.h3 { font-size: 22px; line-height: 1.15; }
.hi { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.4; color: var(--ink); }
.p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.45; color: var(--ink); }
@media (min-width: 900px) {
  .h1 { font-size: 60px; }
  .h2 { font-size: 44px; }
  .h3 { font-size: 26px; }
  .hi { font-size: 22px; }
  .p { font-size: 17px; max-width: 680px; }
}

/* Text link with an arrow */
.link {
  font-weight: 600;
  font-size: 16px;
  color: var(--field-green);
  text-decoration: none;
  border-bottom: 1.5px solid var(--field-green);
  padding-bottom: 1px;
}
.link--white { color: var(--white); border-bottom-color: var(--white); }
/* Plain underlined link (maps) */
.maplink { font-weight: 600; font-size: 16px; color: var(--field-green); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  background: var(--field-green);
  color: var(--white);
  border: 0;
  border-radius: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
@media (min-width: 900px) {
  .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
}
.btn--hero { background: var(--white); color: var(--field-green); }
.btn--hero2 { background: transparent; color: var(--white); border: 1.5px solid rgba(250, 246, 236, 0.7); }
.btn--outline { background: transparent; color: var(--field-green); border: 1.5px solid var(--field-green); }
.btn--later { background: transparent; color: var(--ink); border: 1.5px dashed rgba(34, 32, 28, 0.5); }

/* ---------- Placeholders (preview only; none may go live) ---------- */

.ph {
  background: #FFF0A8;
  border: 1px dashed #8A5B00;
  padding: 0 5px;
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
}
.photo-tbc {
  background: #D9D4C7;
  border: 2px dashed rgba(34, 32, 28, 0.4);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
  padding: 12px;
}
.ph-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 7px;
}

/* Bottle cut-out on its own cream ground */
.bottle {
  position: relative;
  background: var(--paper-cream);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: var(--h);
}
.bottle img { max-height: 100%; max-width: 100%; width: auto; height: 100%; object-fit: contain; }
@media (min-width: 900px) {
  .bottle { height: var(--hd, var(--h)); }
}

/* Photos */
.img { width: 100%; height: auto; object-fit: cover; object-position: var(--op, 50% 50%); }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-16-10 { aspect-ratio: 16 / 10; }
.r-1 { aspect-ratio: 1; }
@media (min-width: 900px) {
  .img { object-position: var(--opd, var(--op, 50% 50%)); }
  .rd-4-3 { aspect-ratio: 4 / 3; }
  .rd-3-2 { aspect-ratio: 3 / 2; }
}
.caption { margin-top: 8px; font-size: 14px; }
/* Fixed height from --h (phone) and --hd (desktop) */
.hset { height: var(--h); }
@media (min-width: 900px) {
  .hset { height: var(--hd, var(--h)); }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  box-sizing: border-box;
  background: var(--paper-cream);
  border-bottom: 1px solid rgba(34, 32, 28, 0.15);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.site-header__logo img { height: 28px; width: auto; }
.site-header__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.site-header__wa {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  background: var(--field-green);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

/* Desktop nav with two dropdowns that open on hover and keyboard focus (CSS only) */
.nav { display: none; }
.nav__list { display: flex; gap: 28px; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__top {
  display: block;
  white-space: nowrap;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}
.nav__item[data-active] > .nav__top { border-bottom: 2px solid var(--field-green); padding-bottom: 2px; }
.nav__menu {
  display: none;
  position: absolute;
  left: -20px;
  top: calc(100% + 24px);
  margin: 0;
  padding: 10px 0;
  list-style: none;
  width: 300px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(34, 32, 28, 0.2);
  box-shadow: 0 8px 24px rgba(34, 32, 28, 0.15);
}
/* Invisible bridge so the menu stays open while the pointer moves down to it */
.nav__item--menu:hover::after { content: ''; position: absolute; left: -20px; right: -20px; top: 100%; height: 26px; }
.nav__item--menu:hover > .nav__menu,
.nav__item--menu:focus-within > .nav__menu { display: block; }
.nav__menu a {
  display: block;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--oil-cream); }

/* Phone menu: a plain <details> element */
.menu > summary {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
  cursor: pointer;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span { display: block; width: 22px; height: 2px; background: var(--ink); }
.menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: var(--white);
  border-bottom: 1px solid rgba(34, 32, 28, 0.15);
  box-shadow: 0 8px 24px rgba(34, 32, 28, 0.15);
}
.menu__group {
  padding: 14px 20px 6px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-gold);
}
.menu__panel a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 32, 28, 0.1);
}

@media (min-width: 900px) {
  .site-header__inner {
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 var(--px);
    gap: 40px;
  }
  .site-header__logo img { height: 36px; }
  .site-header__end { gap: 24px; }
  .site-header__wa { height: auto; min-height: 48px; padding: 0 22px; font-size: 16px; }
  .nav { display: block; }
  .menu { display: none; }
}
/* Between 900px and 1200px the full header only just fits: tighten it */
@media (min-width: 900px) and (max-width: 1199px) {
  .site-header__inner { gap: 16px; padding: 0 32px; }
  .site-header__logo img { height: 30px; }
  .nav__list { gap: 14px; }
  .nav__top { font-size: 15px; }
  .site-header__wa { padding: 0 16px; font-size: 15px; }
}

/* ---------- Breadcrumb ---------- */

.crumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px var(--px);
  font-size: 14px;
  color: var(--ink);
}
.crumb a { color: var(--field-green); text-decoration: none; }
.crumb__sep { opacity: 0.5; }
@media (min-width: 900px) {
  .crumb { padding: 16px max(var(--px), calc((100% - var(--content)) / 2)); }
}

/* ---------- Heroes ---------- */

.strip { height: 4px; background: var(--oil-gold); }

/* Field Green hero: text, then a photo (beside it on desktop) */
.hero { background: var(--field-green); color: var(--white); }
.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--hg, 12px);
  padding: var(--hpt, 28px) 20px 24px;
}
.hero__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__media .img { height: var(--mh, 300px); }
@media (min-width: 900px) {
  .hero__grid { display: grid; grid-template-columns: var(--hcols, 1.1fr 1fr); min-height: var(--hmin, 520px); }
  .hero__text {
    justify-content: center;
    gap: var(--hgd, 16px);
    padding: 56px 56px 56px max(var(--px), calc((100vw - var(--content)) / 2));
  }
  .hero__buttons { gap: 12px; margin-top: 6px; }
  .hero__media .img { height: 100%; min-height: var(--hmin, 520px); }
  /* Photo fills the column at the height of the text beside it (at least --hmin), whatever its own shape */
  .hero--fit .hero__media { position: relative; }
  .hero--fit .hero__media .img { position: absolute; inset: 0; min-height: 0; }
}

/* Label over the kohlu loop */
.media { position: relative; }
.badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 32, 28, 0.85);
  color: var(--white);
  font-size: 13px;
  padding: 6px 10px;
}
.badge--16 { left: 16px; bottom: 16px; }

/* ---------- Cards and blocks ---------- */

.card {
  background: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card--rule { border-top: 3px solid var(--oil-gold); }
.card--rule-yellow { border-top: 3px solid var(--adeep-yellow); }
.card--soft { background: var(--oil-cream); }
.card__end { margin-top: auto; padding-top: 6px; }
.card__foot { padding-top: 6px; }
@media (min-width: 900px) {
  .card { padding: 24px 26px; }
}

/* Big numbers (proof strip) */
.numbers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.numbers__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid rgba(250, 246, 236, 0.35);
}
.numbers__n { font-family: var(--serif); font-weight: 700; font-size: 48px; line-height: 1; color: var(--white); }
.numbers__l { font-size: 16px; line-height: 1.4; color: var(--paper-cream); }
.numbers--light .numbers__n { color: var(--field-green); }
.numbers--light .numbers__l { color: var(--ink); }
@media (min-width: 900px) {
  .numbers { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 48px; }
  .numbers__item { padding: 0; border-top: 0; }
  .numbers__n { font-size: 64px; }
}

/* Key–value list with gold rules */
.kv { display: flex; flex-direction: column; border-bottom: 1px solid var(--oil-gold); }
.kv__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--oil-gold);
  font-size: 16px;
  line-height: 1.5;
}
@media (min-width: 900px) {
  .kv__row { grid-template-columns: 260px 1fr; gap: 24px; }
}

/* Numbered steps with a gold top rule */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.steps__item { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 3px solid var(--oil-gold); }
.steps__n { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1; color: var(--field-green); }
.steps__t { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.15; color: var(--field-green); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; }
  .steps__t { font-size: 21px; }
}

/* Document card (PDFs, licence) */
.doc {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 16px 18px;
  border: 1px solid rgba(34, 32, 28, 0.12);
}
.doc__icon {
  width: 48px;
  height: 62px;
  flex-shrink: 0;
  background: var(--paper-cream);
  border: 1px solid rgba(34, 32, 28, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
}
.doc__text { display: flex; flex-direction: column; gap: 3px; }
.doc__text b { font-size: 16px; }
.doc__text span { font-size: 14px; }

/* Questions: native <details>, no script */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--oil-gold); }
.faq details { border-bottom: 1px solid var(--oil-gold); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--field-green);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: '–'; }
.faq__a { padding: 0 0 16px; font-size: 16px; line-height: 1.5; }
@media (min-width: 900px) {
  .faq summary { font-size: 18px; }
}

/* adeep logos side by side */
.adeep-logos { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.adeep-logos img { width: auto; height: var(--lh); }
.adeep-logos img + img { height: var(--lh2); }
@media (min-width: 900px) {
  .adeep-logos { gap: var(--lgd, 18px); }
  .adeep-logos img { height: var(--lhd); }
  .adeep-logos img + img { height: var(--lhd2); }
}

/* Facts row with the black mark */
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: 15px; color: var(--ink); }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts img { height: 14px; width: auto; }
@media (min-width: 900px) {
  .facts { gap: 10px 28px; font-size: 16px; }
}

/* Outlined chips */
.chip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--field-green);
  font-weight: 600;
  font-size: 15px;
  color: var(--field-green);
}

/* Home page pieces */
.steps-line { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-weight: 600; font-size: 15px; color: var(--field-green); }
.steps-line__arrow { opacity: 0.5; }
.people-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 6px; }
.people-row div { display: flex; flex-direction: column; }
.people-row b { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--field-green); }
.people-row span { font-size: 14px; }
.lab-tests { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.lab-tests > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--oil-gold); }
.lab-tests span { font-size: 15px; }
.lab-tests b { font-size: 15px; color: var(--field-green); text-align: right; }
.doc--soft { background: var(--oil-cream); border: 0; }
.doc--soft .doc__icon { width: 44px; height: 56px; background: var(--white); }
.doc--soft .doc__text { gap: 2px; }
.outlet { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.outlet__title { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--field-green); }
.maplink--15 { font-size: 15px; }
@media (min-width: 900px) {
  .lab-tests { grid-template-columns: repeat(3, 1fr); gap: 14px 24px; }
  .lab-tests > div { flex-direction: column; justify-content: flex-start; gap: 2px; padding: 12px 0; }
  .lab-tests b { font-size: 17px; text-align: left; }
  .outlet { grid-template-columns: 180px 1fr; }
}

/* adeep page pieces */
.oil-card { background: var(--white); display: flex; flex-direction: column; }
.oil-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--oil-gold); }
.packs { align-items: end; } /* pack names line up when one pack has no photo */
.pack-name { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--field-green); }
.mini-card { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; background: var(--white); padding: 14px; }
@media (min-width: 900px) {
  .oil-card__body { padding: 22px 24px 24px; }
  .pack-name { font-size: 24px; }
  .mini-card { grid-template-columns: 140px 1fr; }
}

/* Learn */
.posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); text-decoration: none; color: var(--ink); }
.post-card__body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.post-card__title { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.2; color: var(--field-green); }
.post-card__read { font-weight: 600; font-size: 15px; color: var(--field-green); }
.article { display: flex; flex-direction: column; gap: 18px; }
.ph-lines { display: flex; flex-direction: column; gap: 8px; }
.ph-lines div { height: 14px; background: rgba(34, 32, 28, 0.12); }
.ph-lines div:nth-child(5n+2) { width: 96%; }
.ph-lines div:nth-child(5n+3) { width: 88%; }
.ph-lines div:nth-child(5n+5) { width: 70%; }
.article .lab-box { padding: 20px 22px; }
.recipe-tags { display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; }
.recipe-tags > span { padding: 8px 14px; border: 1.5px solid rgba(34, 32, 28, 0.3); }
.recipe-tags > .recipe-tags__oil { border-color: var(--field-green); color: var(--field-green); font-weight: 600; }
.recipe-list { display: flex; flex-direction: column; gap: 8px; }
.recipe-list > div { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.recipe-list > div > span:first-child { font-family: var(--serif); font-weight: 700; color: var(--field-green); }
/* Privacy: plain text page */
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin: 0; }
.prose .h3 { margin-top: 18px; }
@media (min-width: 900px) {
  .prose { margin: 0 auto 0 max(0px, calc((100% - var(--content)) / 2)); }
}
/* 404 */
.notfound { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; max-width: 720px; min-height: 320px; }
.notfound img { height: 64px; width: auto; }
@media (min-width: 900px) {
  .posts { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .post-card__title { font-size: 21px; }
  .article { max-width: 760px; gap: 24px; }
  .notfound { gap: 20px; min-height: 420px; }
}

/* Where to buy */
.outlet-facts { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }

/* About page */
.show-d { display: none; }
.hero-caption { padding: 8px var(--px) 0; font-size: 14px; }
.values { display: flex; flex-direction: column; }
.values__row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--oil-gold); }
.values__row img { height: 22px; width: auto; margin-top: 2px; }
.values__row > div { display: flex; flex-direction: column; gap: 3px; }
.values__head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.values__head b { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--field-green); }
.values__head span { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.timeline { display: flex; flex-direction: column; }
.timeline__row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--oil-gold); }
.timeline__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--field-green); margin-top: 6px; }
.timeline__row > div { font-size: 16px; line-height: 1.5; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; } /* names line up when some have no photo */
.person { display: flex; flex-direction: column; gap: 8px; }
.person > b { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.15; color: var(--field-green); }
.person > span { font-size: 14px; color: var(--deep-gold); font-weight: 600; letter-spacing: 0.04em; }
.address-block { font-size: 16px; line-height: 1.6; }
.ids { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; }
.ids span { white-space: nowrap; }
@media (min-width: 900px) {
  .show-d { display: inline; }
  .hero-caption { padding: 10px max(var(--px), calc((100% - var(--content)) / 2)) 0; }
  .values__head b { font-size: 20px; }
  .person > b { font-size: 20px; }
  .people { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .fair { max-width: 420px; }
}

/* Quality page */
.tests { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.test { background: var(--white); padding: 18px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--oil-gold); }
.test__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.test__head b { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--field-green); }
.test__head span { font-weight: 600; font-size: 16px; color: var(--field-green); }
.small-mail { color: var(--field-green); font-weight: 600; }
.certs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.certs__next { display: flex; align-items: center; justify-content: center; min-height: 96px; border: 2px dashed rgba(34, 32, 28, 0.35); font-size: 14px; color: var(--ink); padding: 16px; text-align: center; }
.read-more { display: flex; flex-direction: column; gap: 10px; }
.read-more a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--oil-gold); font-weight: 600; font-size: 16px; color: var(--field-green); text-decoration: none; }
@media (min-width: 900px) {
  .tests { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
  .test { padding: 22px 24px; }
  .test__head b { font-size: 22px; }
  .certs { grid-template-columns: 1fr 1fr; }
}

/* Plant: four steps with a photo each */
.step-cards { align-items: end; } /* step texts line up when one step has no photo */
.step-card { display: flex; flex-direction: column; gap: 10px; }
.step-card__text { display: flex; gap: 12px; align-items: flex-start; }
.step-card__text > div { display: flex; flex-direction: column; gap: 4px; }
.step-card__n { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1; color: var(--field-green); }

/* White label: drawn bottle and tin */
.brand-mock { display: flex; align-items: center; justify-content: center; padding: 0 20px 20px; }
.brand-mock__inner { display: flex; align-items: flex-end; justify-content: center; gap: 28.8px; padding: 24px 0; }
.brand-mock__bottle { width: 108px; height: 237.6px; }
.brand-mock__tin { width: 144px; height: 180px; }
@media (min-width: 900px) {
  .brand-mock { padding: 0; }
  .brand-mock__inner { gap: 40px; padding: 40px 0; }
  .brand-mock__bottle { width: 150px; height: 330px; }
  .brand-mock__tin { width: 200px; height: 250px; }
}

/* Product pages */
.product-hero { background: var(--adeep-yellow); padding: 24px var(--px) 32px; }
.product-hero__bottle { margin-bottom: 20px; }
.buy { display: flex; flex-direction: column; }
.buy__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; }
.buy__row {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas: "thumb info" "thumb btn";
  column-gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--oil-gold);
}
.buy__thumb { grid-area: thumb; width: 72px; height: 72px; }
.buy__thumb--tbc { font-size: 9px; padding: 4px; }
.buy__info { grid-area: info; display: flex; flex-direction: column; gap: 4px; }
.buy__info b { font-size: 16px; }
.buy__info > span { font-size: 15px; }
.buy__btn { grid-area: btn; justify-self: start; margin-top: 10px; }
.buy__foot { border-top: 1px solid var(--oil-gold); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rule { height: 1px; background: var(--oil-gold); }
.spot { display: flex; flex-direction: column; }
.spot__row { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--oil-gold); }
.spot__n { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1; color: var(--field-green); }
.spot__en { font-size: 16px; line-height: 1.5; }
.spot__hi { font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.45; grid-column: 2; }
.nutri { background: var(--white); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.nutri > b { font-size: 16px; }
.nutri__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; font-size: 15px; }
.nutri__grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(34, 32, 28, 0.15); }
.label-facts { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.lab-box { background: var(--oil-cream); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.lab-box > b { font-size: 16px; color: var(--field-green); }
.lab-box__list { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.lab-box__link { margin-top: 4px; }
.storage { display: flex; flex-direction: column; gap: 6px; }
.storage > b { font-size: 16px; }
.storage span { font-size: 15.5px; line-height: 1.45; }
.other-oil { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: var(--white); padding: 14px; }
@media (min-width: 900px) {
  .product-hero { padding: 40px var(--px) 48px; }
  .product-hero__grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
  .product-hero__bottle { margin-bottom: 0; }
  .buy__row { grid-template-columns: 92px 1fr 0 auto; grid-template-areas: "thumb info . btn"; column-gap: 20px; }
  .buy__thumb { width: 92px; height: 92px; }
  .buy__info b { font-size: 18px; }
  .buy__btn { margin-top: 0; }
  .spot__row { grid-template-columns: 40px 1fr 1fr; gap: 20px; }
  .spot__hi { grid-column: auto; }
  .nutri { padding: 22px 24px; }
  .nutri__grid { grid-template-columns: 1fr 1fr; }
  .lab-box { padding: 20px 22px; }
  .other-oil { grid-template-columns: 200px 1fr; gap: 28px; padding: 20px; }
}

/* Phone, email and address block */
.contact-lines { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.4; }
.contact-lines__label { font-size: 14px; }
.contact-lines__phone { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--field-green); text-decoration: none; }
.contact-lines__email { font-weight: 600; color: var(--field-green); text-decoration: none; }
.contact-lines__addr { font-size: 15px; line-height: 1.5; }
.contact-lines--big { gap: 14px; }
.contact-lines--big .contact-lines__phone { font-size: 28px; }
.contact-lines--big .contact-lines__addr { font-size: 15.5px; line-height: 1.55; }

/* ---------- Forms ---------- */

.form {
  background: var(--oil-cream);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field__input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(34, 32, 28, 0.35);
  border-radius: 0;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: normal;
  color: var(--ink);
}
textarea.field__input { height: 96px; resize: vertical; }
.field__input::placeholder { color: rgba(34, 32, 28, 0.55); opacity: 1; }
.form__buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__note { font-size: 14px; line-height: 1.45; }
/* Contact page: the chosen need shows in the form */
.field__need { color: rgba(34, 32, 28, 0.55); }
.field__need span { display: none; }
body:has(#need-1:checked) .field__need span:nth-child(1),
body:has(#need-2:checked) .field__need span:nth-child(2),
body:has(#need-3:checked) .field__need span:nth-child(3),
body:has(#need-4:checked) .field__need span:nth-child(4),
body:has(#need-5:checked) .field__need span:nth-child(5),
body:has(#need-6:checked) .field__need span:nth-child(6) { display: inline; }
.needs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.needs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.needs span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--field-green);
  font-weight: 600;
  font-size: 15px;
  color: var(--field-green);
  cursor: pointer;
}
.needs input:checked + span { background: var(--field-green); color: var(--white); }
.needs input:focus-visible + span { outline: 3px solid var(--oil-gold); outline-offset: 2px; }
/* Spam trap: hidden from people, filled in by bots */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Message after sending: shown when the page address ends in #sent or #failed */
.form-msg {
  display: none;
  padding: 14px 16px;
  background: var(--white);
  border-left: 4px solid var(--field-green);
  font-size: 16px;
  line-height: 1.5;
}
.form-msg--fail { border-left-color: var(--oil-gold); }
.form-msg:target { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
@media (min-width: 900px) {
  .form { padding: 28px 30px; }
  .form__fields { grid-template-columns: var(--fcols, repeat(3, minmax(0, 1fr))); }
  textarea.field__input { height: 110px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--field-green);
  color: var(--white);
  /* Extra room at the bottom on phones so the floating WhatsApp button never covers the last lines */
  padding: 40px 20px 92px;
}
.site-footer a { color: var(--white); text-decoration: none; }
.footer { display: flex; flex-direction: column; gap: 28px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand img { height: 34px; width: auto; align-self: flex-start; }
.footer__tag { font-size: 14.5px; line-height: 1.5; color: var(--paper-cream); max-width: 300px; }
.footer__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer__group { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.footer__group b { color: var(--paper-cream); }
.footer__addr { font-size: 14px; line-height: 1.6; color: var(--white); }
.footer__addr b { color: var(--paper-cream); font-size: 15px; }
.footer__bar {
  margin-top: 28px;
  border-top: 1px solid rgba(250, 246, 236, 0.35);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--paper-cream);
}
.footer__ids { display: contents; }
.footer__ids span { white-space: nowrap; }
.footer__legal { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.site-footer .footer__legal a { color: var(--paper-cream); }
@media (min-width: 900px) {
  .site-footer { padding: 56px var(--px) 88px; } /* room for the floating button */
  .footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; gap: 40px; max-width: var(--content); margin: 0 auto; }
  .footer__groups { display: contents; }
  .footer__bar {
    max-width: var(--content);
    margin: 40px auto 0;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .footer__ids { display: flex; gap: 18px; flex-wrap: wrap; }
  .footer__legal { gap: 18px; margin-top: 0; }
}

/* ---------- Floating WhatsApp button ---------- */

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  background: var(--field-green);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 32, 28, 0.25);
}
@media (min-width: 900px) {
  .wa-float { right: 24px; bottom: 24px; }
}

/* Keyboard focus */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, video:focus-visible {
  outline: 3px solid var(--oil-gold);
  outline-offset: 2px;
}
