/* SUNLEAF Smart Farm Ltd
   Built to not look generated: one wide grotesque, real farm photography, one shape taken
   from the logo (the rooster arc as a single large corner), red only on full stops and
   small marks, no icon tiles, no floating badge cards, no decorative blobs.
   Colour balance: white 60, blue 25, navy 10, red 5. No green, no yellow. */

:root {
  --blue: #0057B8;
  --navy: #003B7A;
  --red: #E91E3D;
  --white: #FFFFFF;
  --light: #F7F9FC;
  --ink: #172033;
  --muted: #56627A;
  --hairline: #E1E7F0;
  --rule: #C9D4E4;
  --blue-soft: #E8F0FA;
  --on-navy-muted: rgba(255, 255, 255, .74);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --arc: clamp(72px, 12vw, 180px);   /* the rooster arc: one big corner, never all four */
  --r: 6px;                          /* every other corner stays tight */

  /* Fluid frame: fills phones to 4K screens. Text keeps a readable measure via max-width in ch. */
  --container: 2000px;
  --gutter: clamp(18px, 4.6vw, 112px);
  --content: calc(min(100vw, var(--container)) - 2 * var(--gutter));
  --section: clamp(64px, 8.5vw, 168px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: clamp(16px, calc(.42vw + 10.4px), 20px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; line-height: 1.05; font-stretch: 112%; letter-spacing: -.02em; }
p { margin: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* Section labels: Swahili first, English beside it. Replaces the dot + UPPERCASE eyebrow. */
.label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 22px; font-size: 15px; }
.label [lang="sw"] { font-weight: 700; color: var(--blue); font-stretch: 112%; }
.label span:not([lang]) { color: var(--muted); }
.section--navy .label [lang="sw"] { color: #9cc3f0; }
.order .label [lang="sw"] { color: #fff; }
.section--navy .label span:not([lang]), .order .label span:not([lang]) { color: var(--on-navy-muted); }
.eyebrow { display: block; margin-bottom: 20px; font-size: 15px; font-weight: 700; color: var(--blue); font-stretch: 112%; }
.section--navy .eyebrow { color: #9cc3f0; }

.h1 { font-size: clamp(38px, 5.6vw, 104px); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.h2 { font-size: clamp(28px, 3.3vw, 64px); font-weight: 800; letter-spacing: -.03em; }
.h3 { font-size: clamp(19px, 1.25vw, 26px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.stop { font-style: normal; color: var(--red); margin-left: -.04em; }
.stop--c { color: inherit; }
.order .stop, .cta .stop { color: #fff; }
.lede { font-size: clamp(16.5px, 1.15vw, 22px); color: var(--muted); max-width: 56ch; margin-top: 20px; }
.section--navy .lede { color: var(--on-navy-muted); }
.accent { color: var(--blue); }
.section-head { max-width: 52rem; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.slogan { font-style: italic; font-weight: 600; color: var(--navy); }

/* The logo shape */
.arc { border-radius: var(--arc) var(--r) var(--r) var(--r); overflow: hidden; }

/* Buttons: sentence case, no tracking, tight corners */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: var(--r);
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font: 700 16px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { --bg: var(--navy); --bd: var(--navy); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--outline { --bg: transparent; --fg: var(--blue); }
.btn--outline:hover { --bg: var(--blue); --bd: var(--blue); }
.btn--red { --bg: var(--red); --bd: var(--red); }
.btn--red:hover { --bg: #c8102e; --bd: #c8102e; }
.btn--white { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--white:hover { --bg: transparent; --bd: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.45); }
.btn--ghost-light:hover { --bg: #fff; --bd: #fff; color: var(--navy); }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--blue);
              border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--navy .link-arrow { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--hairline); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 10px 13px; color: var(--ink); font-size: 15.5px; font-weight: 600; position: relative; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--blue); }
.nav__links a[aria-current="page"]::before {
  content: ""; position: absolute; left: 50%; top: 2px; width: 7px; height: 7px; margin-left: -3px; background: var(--red);
  border-radius: 7px 7px 1px 7px; /* a tiny comb */
}
.nav__toggle { display: none; width: 48px; height: 48px; border: 0; background: none; color: var(--navy); cursor: pointer; }
.nav__toggle svg { width: 28px; height: 28px; }
.nav__cta { flex: none; }
@media (max-width: 1120px) { .nav__links a { padding: 10px 8px; font-size: 14.5px; } }
@media (max-width: 980px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px var(--gutter) 40px;
    display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { font-size: 26px; font-weight: 800; font-stretch: 112%; padding: 14px 0; border-bottom: 1px solid var(--hairline); color: var(--navy); }
  .nav__links a[aria-current="page"]::before { left: auto; right: 0; top: 50%; margin-top: -3px; }
  .nav__menu .btn { width: 100%; }
}
@media (min-width: 981px) { .nav__menu { display: flex; } .nav__menu .btn { display: none; } }

/* ---------- Home: hero ---------- */
.hero { padding: clamp(28px, 4vw, 60px) 0 0; }
.hero__title { font-size: max(30px, min(calc(var(--content) / 8.8), 13.5vh)); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.hero__title > span { display: block; white-space: nowrap; }
.hero__aside { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: end; margin-top: clamp(28px, 3.5vw, 44px); }
.hero__aside .lede { margin-top: 0; font-size: clamp(16.5px, 1.2vw, 23px); max-width: 46ch; }
.hero__aside .btn-row { margin-top: 0; justify-content: flex-end; }
.hero__slogan { margin-top: 14px; font-size: 17px; }
.hero__media { margin-top: clamp(32px, 4vw, 52px); position: relative; }
.hero__media img { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; object-position: center 40%; }
.hero__caption { position: absolute; right: 0; bottom: 0; background: #fff; padding: 12px 0 0 18px; font-size: 14px; color: var(--muted); border-top-left-radius: var(--r); }
.facts-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--hairline); margin: 0; }
.facts-rail > div { padding: 26px 24px 30px 0; }
.facts-rail > div + div { padding-left: 24px; border-left: 1px solid var(--hairline); }
.facts-rail dt { font-size: 14px; color: var(--muted); }
.facts-rail dd { margin: 6px 0 0; font-weight: 700; color: var(--navy); font-size: 18px; font-stretch: 108%; line-height: 1.3; }
.facts-rail a { color: var(--navy); }
.facts-rail a:hover { color: var(--blue); }
@media (max-width: 900px) {
  .hero__aside { grid-template-columns: 1fr; }
  .hero__aside .btn-row { justify-content: flex-start; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .hero__caption { position: static; padding: 10px 0 0; background: none; }
  .facts-rail { grid-template-columns: 1fr 1fr; }
  .facts-rail > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-rail > div:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 480px) {
  .hero__aside .btn { flex: 1 1 100%; }
  .facts-rail { grid-template-columns: 1fr; }
  .facts-rail > div, .facts-rail > div + div { padding: 18px 0; border-left: 0; }
  .facts-rail > div + div { border-top: 1px solid var(--hairline); }
}

/* ---------- Home: welcome (video + portrait) ---------- */
.welcome { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.welcome__media { position: relative; margin: 0; padding-bottom: 16%; }
.welcome__video { width: 80%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--hairline); }
.welcome__portrait { position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; object-fit: cover; border: 8px solid var(--light); border-radius: var(--r); }
.welcome__media figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 52%; }
@media (max-width: 900px) { .welcome { grid-template-columns: 1fr; } }

/* ---------- Home: why choose (spec sheet, no cards, no icons) ---------- */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.why__photo { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.why__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.why__photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.spec { list-style: none; margin: 48px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.spec li { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.spec h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; }
.spec p { color: var(--muted); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why__photo { position: static; } .why__photo img { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .spec li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Products as egg trays ---------- */
.trays { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.tray { display: flex; flex-direction: column; padding: 32px 28px 36px 0; }
.tray + .tray { padding-left: 28px; border-left: 1px solid var(--rule); }
.tray__count { display: flex; align-items: baseline; gap: 8px; }
.tray__count b { font-size: clamp(56px, 5.6vw, 120px); font-weight: 800; font-stretch: 118%; letter-spacing: -.05em; line-height: .9; color: var(--blue); }
.tray__count span { font-weight: 700; color: var(--navy); }
.tray__art { margin: 28px 0 24px; height: clamp(150px, 11vw, 280px); display: flex; align-items: flex-end; }
.tray__art svg { width: 100%; max-width: clamp(230px, 16vw, 420px); height: auto; max-height: 100%; }
.tray h3 { font-size: clamp(19px, 1.25vw, 26px); }
.tray p { color: var(--muted); font-size: clamp(15.5px, .95vw, 19px); margin: 8px 0 24px; flex: 1; }
.tray .btn { align-self: flex-start; }
.tray--bulk .tray__count b { color: var(--navy); }
@media (max-width: 1100px) {
  .trays { grid-template-columns: 1fr 1fr; }
  .tray:nth-child(3) { padding-left: 0; border-left: 0; }
  .tray:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .trays { grid-template-columns: 1fr; }
  .tray, .tray + .tray { padding: 28px 0 32px; border-left: 0; }
  .tray + .tray { border-top: 1px solid var(--rule); }
  .tray__art { height: auto; }
}
.center-cta { display: flex; margin-top: 40px; }

/* ---------- Home: farm photos ---------- */
.farm-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 48px; }
.farm-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
.farm-grid figure { margin: 0; display: flex; flex-direction: column; min-height: 0; }
.farm-grid img { width: 100%; object-fit: cover; flex: 1; min-height: 0; }
.farm-grid .f1 img { aspect-ratio: 4 / 3; }
.farm-grid .f2 { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.farm-grid .f2 img { height: 100%; }
.farm-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) {
  .farm-head { grid-template-columns: 1fr; }
  .farm-grid { grid-template-columns: 1fr; }
  .farm-grid .f2 { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .farm-grid .f2 img { aspect-ratio: 1; }
}

/* ---------- Home: smart farming (real equipment, not icons) ---------- */
.smart-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proof figure { margin: 0; }
.proof img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.proof figure:first-child img { border-radius: var(--arc) var(--r) var(--r) var(--r); }
.proof h3 { margin-top: 20px; font-size: 21px; }
.proof p { color: var(--on-navy-muted); font-size: 15.5px; margin-top: 8px; }
.proof small { display: block; margin-top: 10px; font-size: 13.5px; color: #9cc3f0; }
@media (max-width: 980px) { .proof { grid-template-columns: 1fr 1fr; row-gap: 40px; } .smart-head { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } .proof img { aspect-ratio: 4 / 3; } }

/* ---------- Home: commitment ---------- */
.commitment { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.commitment p { color: var(--muted); font-size: 19px; }
.commitment__img { margin-top: clamp(40px, 5vw, 64px); }
.commitment__img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
@media (max-width: 860px) { .commitment { grid-template-columns: 1fr; } .commitment__img img { aspect-ratio: 4 / 3; } }

/* ---------- Order builder (replaces the generic CTA band) ---------- */
.order { background: var(--blue); color: #fff; }
.order__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.order h2 { color: #fff; }
.order .lede { color: rgba(255,255,255,.86); }
.order__phone { display: inline-block; margin-top: 28px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; font-stretch: 112%; color: #fff; }
.order__phone:hover { color: #fff; opacity: .85; }
.order__slogan { margin-top: 20px; font-style: italic; font-weight: 600; color: rgba(255,255,255,.9); }
.order__alt { margin-top: 28px; }
.order__alt a { color: #fff; border-bottom: 2px solid rgba(255,255,255,.5); font-weight: 700; }
.builder { background: #fff; color: var(--ink); border-radius: var(--arc) var(--r) var(--r) var(--r); padding: clamp(28px, 4vw, 44px); padding-top: clamp(44px, 5vw, 60px); }
.builder fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.builder legend, .builder .lbl { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; padding: 0; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label { display: grid; place-items: center; gap: 2px; min-height: 66px; padding: 8px; border: 2px solid var(--hairline); border-radius: var(--r); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.sizes label b { font-size: 24px; font-weight: 800; font-stretch: 112%; color: var(--navy); line-height: 1; }
.sizes label span { font-size: 12.5px; color: var(--muted); }
.sizes label:hover { border-color: var(--rule); }
.sizes input:checked + label { border-color: var(--blue); background: var(--blue-soft); }
.sizes input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.builder__row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: end; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--hairline); border-radius: var(--r); }
.stepper button { width: 46px; height: 50px; border: 0; background: none; font: 700 22px var(--font); color: var(--blue); cursor: pointer; }
.stepper button:hover { background: var(--light); }
.stepper input { width: 52px; height: 50px; border: 0; text-align: center; font: 800 20px var(--font); color: var(--navy); -moz-appearance: textfield; background: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.builder input[type="text"] { width: 100%; height: 54px; padding: 0 14px; border: 2px solid var(--hairline); border-radius: var(--r); font: 400 16px var(--font); color: var(--ink); }
.builder input[type="text"]:focus { outline: none; border-color: var(--blue); }
.bubble { margin: 24px 0 0; padding: 16px 18px 28px; background: #E7F1FB; border-radius: 4px 14px 14px 14px; position: relative; font-size: 15.5px; color: var(--ink); white-space: pre-line; }
.bubble::after { content: "Your WhatsApp message"; position: absolute; right: 14px; bottom: 7px; font-size: 12px; color: var(--muted); }
.builder .btn { width: 100%; margin-top: 18px; }
@media (max-width: 900px) { .order__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sizes { grid-template-columns: 1fr 1fr; } .builder__row { grid-template-columns: 1fr; } }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.map { overflow: hidden; aspect-ratio: 16 / 11; background: var(--hairline); border-radius: var(--r); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 2px solid var(--navy); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-list .icon { display: none; }
.contact-list small { display: block; font-size: 14px; color: var(--muted); }
.contact-list a, .contact-list strong { color: var(--navy); font-weight: 800; font-size: 20px; font-stretch: 108%; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 80px 0 32px; font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 34ch; }
.footer__slogan { color: #fff; font-style: italic; font-weight: 600; margin-top: 16px; }
.site-footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-navy-muted); }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer__bottom .dot { color: var(--red); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Floating WhatsApp: plain, no fake notification dot. Corner echoes the comb. */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 28px 28px 6px 28px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 15px; box-shadow: 0 6px 20px rgba(0,59,122,.28); transition: background .2s;
}
.wa-float::after { content: none; }
.wa-float:hover { background: var(--navy); color: #fff; }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float { padding: 0; width: 56px; justify-content: center; } .wa-float span { display: none; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); background: var(--light); border-bottom: 1px solid var(--hairline); }
.page-hero .h1 { font-size: clamp(40px, 6.4vw, 88px); max-width: 15ch; letter-spacing: -.04em; line-height: .95; }
.page-hero .lede { font-size: clamp(17px, 1.6vw, 20px); }
.page-hero__arcs, .hero__arcs, .cta__arcs { display: none; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--muted); }
.prose .lede { margin-top: 20px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.frame { overflow: hidden; background: var(--hairline); border-radius: var(--r); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 4.6; border-radius: var(--arc) var(--r) var(--r) var(--r); }
.frame--wide { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Functional icons only (contact details) */
.icon { width: 44px; height: 44px; border-radius: var(--r); background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.icon svg { width: 22px; height: 22px; }

/* Plain columns in place of feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.feature { padding: 30px 28px 8px 0; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--rule); }
.feature p { color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 24px 0; border-left: 0; }
  .feature + .feature { border-top: 1px solid var(--rule); }
}

.pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--navy); }
.pair__item { padding: 40px 40px 8px 0; }
.pair__item + .pair__item { padding-left: 40px; border-left: 1px solid var(--rule); }
.pair__item p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.pair__item .h2 { font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } .pair__item, .pair__item + .pair__item { padding: 32px 0 8px; border-left: 0; } .pair__item + .pair__item { border-top: 1px solid var(--rule); } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.value { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--rule); }
.value:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--rule); }
.value .num { display: none; }
.value h3 { font-size: 24px; font-weight: 800; }
.value p { color: var(--muted); margin-top: 10px; font-size: 16px; }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .value:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule); }
}
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .value:nth-child(even) { padding-left: 0; border-left: 0; } .value { padding: 26px 0; } }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 4px 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.timeline .when { grid-row: span 2; font-weight: 700; color: var(--blue); }
.timeline li.is-now .when { color: var(--red); }
.timeline li.is-next .when { color: var(--muted); }
.timeline p { color: var(--muted); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; } .timeline .when { grid-row: auto; } }

.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pd + .pd { margin-top: clamp(64px, 8vw, 112px); }
.pd--reverse > :first-child { order: 2; }
.pd__media .frame { aspect-ratio: 5 / 4; }
.pd__media .frame--art { background: var(--light); display: grid; place-items: center; padding: 12%; }
.pd__media .frame--art svg { height: auto; }
.pd__qty { font-weight: 700; color: var(--red); }
.pd h2 { color: var(--blue); margin-top: 8px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; border-top: 2px solid var(--navy); }
.facts li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.facts span { color: var(--muted); }
.facts strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } .pd--reverse > :first-child { order: 0; } .facts li { grid-template-columns: 110px 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; padding: 0; }
.chips li { padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--hairline); font-weight: 600; font-size: 15px; color: var(--navy); }
.section--navy .chips li { border-color: rgba(255,255,255,.25); color: #fff; }

.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.chapter + .chapter { margin-top: clamp(72px, 9vw, 120px); }
.chapter:nth-child(even) > :first-child { order: 2; }
.chapter .frame { aspect-ratio: 4 / 3.3; }
.chapter:nth-child(odd) .frame { border-radius: var(--arc) var(--r) var(--r) var(--r); }
.chapter .num { font-weight: 700; color: var(--red); }
.chapter h2 { margin-top: 8px; }
.chapter ul { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.chapter ul li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; } .chapter:nth-child(even) > :first-child { order: 0; } }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process .thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); margin-bottom: 16px; background: rgba(255,255,255,.08); }
.process li:first-child .thumb { border-radius: 64px var(--r) var(--r) var(--r); }
.process .thumb img { width: 100%; height: 100%; object-fit: cover; }
.process .step { font-size: 14px; font-weight: 700; color: #9cc3f0; }
.process .step::before { content: "Step " counter(list-item); }
.process h3 { color: #fff; margin-top: 4px; font-size: 19px; }
.process p { color: var(--on-navy-muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 980px) { .process { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } .process .thumb { aspect-ratio: 16 / 9; } }

.topics { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--navy); }
.topic { padding: 36px 40px 40px 0; border-bottom: 1px solid var(--rule); }
.topic:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--rule); }
.topic .h3 { font-size: 26px; font-weight: 800; }
.topic p { color: var(--muted); margin-top: 12px; }
.topic ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.topic ul li { padding: 6px 12px; border: 1px solid var(--hairline); border-radius: var(--r); font-size: 15px; font-weight: 600; color: var(--navy); }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr; } .topic:nth-child(even) { padding-left: 0; border-left: 0; } .topic { padding-right: 0; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: var(--r); border: 2px solid var(--hairline); background: #fff; font: 600 15px var(--font); color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--rule); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin: 0 0 20px; position: relative; cursor: zoom-in; display: block; }
.gallery__item img { width: 100%; height: auto; border-radius: var(--r); background: var(--hairline); }
.gallery__item figcaption { padding: 8px 2px 0; color: var(--muted); font-size: 14px; }
.gallery__item[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,18,36,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; width: auto; border-radius: var(--r); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: #fff; font-weight: 600; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: var(--r); border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; border-top: 2px solid var(--navy); }
.c-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.c-card small { display: block; font-size: 14px; color: var(--muted); }
.c-card strong, .c-card a.big { display: block; color: var(--navy); font-size: 20px; font-weight: 800; font-stretch: 108%; margin-top: 2px; }
.c-card .btn { margin-top: 14px; }
.form { background: var(--light); border-radius: var(--arc) var(--r) var(--r) var(--r); padding: clamp(28px, 4vw, 48px); padding-top: clamp(48px, 6vw, 72px); }
.form h2 { font-size: 32px; }
.form .lede { margin-top: 8px; font-size: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--navy); }
.field label span { color: var(--red); }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r); border: 2px solid var(--hairline); background: #fff; font: 400 16px var(--font); color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.form .btn { margin-top: 28px; }
.form__status { margin-top: 16px; font-weight: 600; color: var(--blue); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

.strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.strip h2 { color: #fff; max-width: 20ch; }
.strip .btn-row { margin-top: 0; }
.cta { background: var(--blue); color: #fff; }
.cta h2 { color: #fff; }

/* Motion: things fade in once, nothing slides around */
.reveal { opacity: 0; transition: opacity .9s var(--ease); }
.reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transition: none; }
  * { transition-duration: .01ms !important; }
}
.frame.arc { border-radius: var(--arc) var(--r) var(--r) var(--r); }

/* =====================================================================
   Phone layer (most SUNLEAF visitors). Order of information on a phone:
   who we are, see the real farm, how to order, what we sell (swipe),
   why trust us, then the order builder. The order action is always one
   thumb away in the bottom bar.
   ===================================================================== */
.swipe-hint, .nav__contact, .mbar { display: none; }

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .brand img { height: 38px; }
  .wa-float { display: none; }

  /* Bottom action bar: WhatsApp first, call second */
  .mbar {
    display: grid; grid-template-columns: 1fr auto; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--hairline);
    box-shadow: 0 -6px 20px rgba(23,32,51,.06);
    transform: translateY(110%); transition: transform .25s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: var(--r); font-weight: 700; font-size: 16px; }
  .mbar__wa { background: var(--blue); color: #fff; }
  .mbar__wa:hover { color: #fff; }
  .mbar__call { padding: 0 20px; border: 2px solid var(--hairline); color: var(--navy); }
  .mbar svg { width: 22px; height: 22px; }

  /* Menu: big links, phone number, then WhatsApp */
  .nav__contact { display: grid; gap: 2px; }
  .nav__contact span { font-size: 14px; color: var(--muted); }
  .nav__contact a { font-size: 22px; font-weight: 800; font-stretch: 112%; color: var(--navy); }
  .nav__links a { font-size: 24px; padding: 12px 0; }

  /* Hero: headline, the real farm, then the words and the action */
  .hero { padding-top: 20px; }
  .hero .container { display: flex; flex-direction: column; }
  .hero__title { order: 1; }
  .hero__media { order: 2; margin-top: 20px; }
  .hero__aside { order: 3; margin-top: 20px; gap: 18px; }
  .facts-rail { order: 4; }
  .hero__media img { aspect-ratio: 4 / 3.1; }
  .hero__caption { font-size: 13px; padding-top: 8px; }
  .hero__aside .btn-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .hero__aside .btn { width: 100%; }
  .hero__aside .btn--outline { border: 0; background: none; min-height: 48px; padding: 0; justify-content: flex-start; color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
  .hero__aside .btn--outline:hover { color: var(--navy); }
  .hero__slogan { display: none; } /* it lives in the facts rail and footer on phones */

  .facts-rail { grid-template-columns: 1fr; margin-top: 12px; border-top: 1px solid var(--hairline); }
  .facts-rail > div, .facts-rail > div + div, .facts-rail > div:nth-child(3) {
    display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 14px 0; border-left: 0; border-top: 0;
  }
  .facts-rail > div + div { border-top: 1px solid var(--hairline); }
  .facts-rail dd { margin: 0; font-size: 16px; }

  /* Rhythm */
  .section-head { margin-bottom: 28px; }
  .label { margin-bottom: 14px; font-size: 14px; }
  .lede { margin-top: 14px; }
  .btn-row { margin-top: 24px; }

  /* Swipe rows for products and proof photos */
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
  .swipe-hint::after { content: ""; width: 28px; height: 2px; background: var(--rule); }
  .section--navy .swipe-hint { color: var(--on-navy-muted); }
  .trays, .proof {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding: 0 var(--gutter); border-top: 0;
  }
  .trays::-webkit-scrollbar, .proof::-webkit-scrollbar { display: none; }
  .tray, .tray + .tray, .tray:nth-child(3), .tray:nth-child(n+3) {
    flex: 0 0 80%; scroll-snap-align: start; background: #fff; padding: 20px 18px 22px;
    border: 1px solid var(--hairline); border-top: 3px solid var(--navy); border-radius: var(--r);
  }
  .tray__count b { font-size: 56px; }
  .tray__art { height: 118px; margin: 16px 0 14px; }
  .tray__art svg { max-height: 118px; }
  .tray .btn { width: 100%; }
  .center-cta { margin-top: 24px; }
  .proof figure { flex: 0 0 78%; scroll-snap-align: start; }
  .proof img, .proof figure:first-child img { aspect-ratio: 4 / 5; }
  .smart-head { margin-bottom: 28px; gap: 0; }

  /* Welcome: the video carries it, the portrait steps aside */
  .welcome__media { padding-bottom: 0; }
  .welcome__video { width: 100%; }
  .welcome__portrait { display: none; }
  .welcome__media figcaption { max-width: none; }

  /* Why: short photo, tight spec rows */
  .why__photo img { aspect-ratio: 16 / 10; }
  .why__photo figcaption { display: none; }
  .spec { margin-top: 24px; }
  .spec li { padding: 18px 0; }

  .farm-head { margin-bottom: 24px; gap: 16px; }
  .farm-grid figcaption { font-size: 13px; }
  .commitment p { font-size: 17px; }
  .commitment__img img { aspect-ratio: 4 / 3; }

  /* Order builder */
  .order__phone { font-size: 28px; margin-top: 18px; }
  .order__alt { margin-top: 16px; }
  .builder { padding: 30px 18px 20px; border-radius: 56px var(--r) var(--r) var(--r); }
  .sizes { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .sizes label { min-height: 60px; padding: 6px 2px; }
  .sizes label b { font-size: 20px; }
  .sizes label span { font-size: 11.5px; }
  .builder__row { grid-template-columns: 1fr; gap: 16px; }
  .stepper { width: 100%; justify-content: space-between; }
  .stepper button { width: 64px; }

  .map { aspect-ratio: 4 / 3; }

  /* Footer: brand on top, links and contact side by side */
  .site-footer { padding: 56px 0 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { margin-top: 40px; flex-direction: column; gap: 6px; }

  /* Inner pages */
  .page-hero { padding: 28px 0 32px; }
  .crumbs { margin-bottom: 14px; font-size: 13px; }
  .chapter + .chapter, .pd + .pd { margin-top: 56px; }
  .pd__media .frame--art { aspect-ratio: 16 / 9; padding: 6% 16%; }
  .pd__media .frame--art svg { max-height: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 20px; padding: 0 var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 14px; }
  .gallery__item figcaption { font-size: 12.5px; padding-top: 6px; }
  .process { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .process .thumb { aspect-ratio: 1; }
  .strip { gap: 20px; }
  .strip .btn-row { width: 100%; }
  .strip .btn { flex: 1 1 100%; }
}

/* Tablet: two columns where it reads well */
@media (min-width: 761px) and (max-width: 1100px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .hero__media img { aspect-ratio: 16 / 9; }
}

/* Tablet and desktop: the hero is one screen. Headline and intro on top, the real farm fills
   whatever height is left, so the photo is always visible on load at any screen size. */
@media (min-width: 761px) {
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; padding-bottom: 0; }
  .hero > .container { flex: 1; display: flex; flex-direction: column; }
  .hero__media { flex: 1 1 0; position: relative; min-height: max(240px, 30vh); margin-bottom: 0; }
  .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .hero__caption { bottom: 0; z-index: 1; }
  .facts-rail { margin-top: 0; }
}

/* Landscape desktop: the intro and buttons sit in the free space beside the headline,
   so the farm photo gets the height. Headline size leaves at least 420px for them. */
@media (min-width: 1200px) {
  .hero > .container { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: clamp(32px, 3vw, 72px); }
  .hero__title { grid-column: 1; grid-row: 1; font-size: max(30px, min(calc(var(--content) / 8.8), calc((var(--content) - 420px) / 8.8), 12.5vh)); }
  .hero__aside { grid-column: 2; grid-row: 1; align-self: end; margin-top: 0; grid-template-columns: 1fr; gap: 20px; padding-bottom: .4em; }
  .hero__aside .btn-row { justify-content: flex-start; }
  .hero__media { grid-column: 1 / -1; grid-row: 2; }
  .facts-rail { grid-column: 1 / -1; grid-row: 3; }
}

/* Jump row: quick way into long pages (product sizes, farm chapters). Sticks under the header. */
.jump { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--hairline);
        -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.jump__row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.jump__row::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: baseline; gap: 6px; min-height: 42px; align-items: center; padding: 0 16px;
          border: 2px solid var(--hairline); border-radius: var(--r); color: var(--navy); font-weight: 600; font-size: 15px; white-space: nowrap; }
.jump a b { font-weight: 800; font-stretch: 112%; color: var(--blue); }
.jump a:hover, .jump a.is-here { border-color: var(--blue); background: var(--blue-soft); }
[id] { scroll-margin-top: calc(var(--header-h) + 72px); }

/* Inner pages on a phone */
@media (max-width: 760px) {
  .page-hero { padding: 22px 0 26px; }
  .page-hero .crumbs { display: none; }               /* the header already says where you are */
  .page-hero .h1 { font-size: clamp(32px, 9.4vw, 40px); max-width: none; line-height: 1; }
  .page-hero .lede { font-size: 16.5px; margin-top: 12px; }
  .jump__row { padding-top: 8px; padding-bottom: 8px; }
  .jump a { min-height: 40px; padding: 0 13px; font-size: 14.5px; }

  .frame--tall { aspect-ratio: 16 / 11; border-radius: 64px var(--r) var(--r) var(--r); }
  .split { gap: 24px; }
  .prose p { font-size: 16px; }

  /* Product: name first, then the drawing, then the facts and the button */
  .pd { display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 0; }
  .pd > div:not(.pd__media) { display: contents; }
  .pd__qty { order: 1; }
  .pd h2 { order: 2; margin-bottom: 14px; }
  .pd > .pd__media, .pd--reverse > .pd__media { order: 3; }
  .pd .lede { order: 4; }
  .pd .facts { order: 5; margin-top: 18px; }
  .pd .btn-row { order: 6; }
  .pd .btn-row .btn { width: 100%; }
  .facts li { padding: 11px 0; font-size: 15px; }

  /* About */
  .pair__item { padding-top: 26px; }
  .pair__item p { font-size: 16.5px; }
  .values { grid-template-columns: 1fr 1fr; }
  .value, .value:not(:nth-child(3n+1)), .value:nth-child(even) { padding: 20px 14px 20px 0; border-left: 0; }
  .value:nth-child(even) { padding: 20px 0 20px 14px; border-left: 1px solid var(--rule); }
  .value h3 { font-size: 19px; }
  .value p { font-size: 14.5px; margin-top: 6px; }
  .timeline li { padding: 18px 0; }

  /* Farm chapters: shorter photos, tighter text */
  .chapter { gap: 18px; }
  .chapter .frame { aspect-ratio: 16 / 10.5; }
  .chapter:nth-child(odd) .frame { border-radius: 64px var(--r) var(--r) var(--r); }
  .chapter + .chapter { margin-top: 44px; }
  .chapter ul { margin-top: 14px; }
  .chapter ul li { padding: 8px 0; font-size: 15.5px; }

  /* Smart farming topics: tighter chips */
  .topic { padding: 26px 0 28px; }
  .topic .h3 { font-size: 22px; }
  .topic ul { gap: 6px; margin-top: 14px; }
  .topic ul li { padding: 5px 10px; font-size: 14px; }

  /* Contact: WhatsApp card leads, the form follows */
  .contact-grid { gap: 36px; }
  .c-card { padding: 18px 0; gap: 14px; }
  .c-card strong, .c-card a.big { font-size: 19px; }
  .c-card .btn { width: 100%; }
  .form { padding: 36px 18px 22px; border-radius: 56px var(--r) var(--r) var(--r); }
  .form h2 { font-size: 26px; }
  .map[style] { aspect-ratio: 4 / 3 !important; }
}

/* =====================================================================
   SUNLEAF hen (mascot.js). Paper cut, two full body poses: side (moving)
   and front (stopping, landing, laying). She turns like a card on a stick.
   Pivots use view-box coordinates so every joint bends where it should.
   ===================================================================== */
html, body { overflow-x: clip; }  /* she flies in from off screen; never let that widen the page */

.hen { --size: 104px; width: var(--size); aspect-ratio: 120 / 110; position: relative; flex: none; }
.hen__flip { position: absolute; inset: 0; transition: transform .09s ease-in; }
.hen.is-turning .hen__flip { transform: scaleX(.12); }
.hen.is-flip .hen__flip { transform: scaleX(-1); }
.hen.is-flip.is-turning .hen__flip { transform: scaleX(-.12); }
.hen__pose { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: none; }
.hen[data-view="side"] .hen__pose--side, .hen[data-view="front"] .hen__pose--front { display: block; }
.hen__shadow { fill: #172033; opacity: .13; transform-box: view-box; transform-origin: 60px 104px; }
.hen__leg path, .hen__fleg path { stroke: #D79A68; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.hen__pose * { transform-box: view-box; }
.hen__leg--a { transform-origin: 56px 80px; }
.hen__leg--b { transform-origin: 70px 80px; }
.hen__body { transform-origin: 62px 82px; }          /* hip: the body tips forward around it */
.hen__head { transform-origin: 46px 42px; }          /* neck */
.hen__wing { transform-origin: 60px 58px; }
.hen__fbody, .hen__flegs { transform-origin: 60px 101px; }
.hen__fhead { transform-origin: 60px 46px; }
.hen__fwing--l { transform-origin: 40px 56px; }
.hen__fwing--r { transform-origin: 80px 56px; }
.hen__eye { transform-box: fill-box; transform-origin: center; animation: hen-blink 4.6s infinite; }

/* side view: walk */
.hen[data-state="walk"] .hen__leg--a { animation: hen-leg var(--step, .3s) ease-in-out infinite alternate; }
.hen[data-state="walk"] .hen__leg--b { animation: hen-leg var(--step, .3s) ease-in-out infinite alternate-reverse; }
.hen[data-state="walk"] .hen__body { animation: hen-bob var(--step, .3s) ease-in-out infinite alternate; }
.hen[data-state="walk"] .hen__head { animation: hen-nod calc(var(--step, .3s) * 2) ease-in-out infinite; }
/* side view: hop (fast scroll) */
.hen[data-state="hop"] .hen__flip { animation: hen-hop var(--hop, .42s) cubic-bezier(.3, .6, .4, 1) infinite; }
.hen[data-state="hop"] .hen__wing { animation: hen-flap .12s ease-in-out infinite alternate; }
.hen[data-state="hop"] .hen__leg { transform: rotate(32deg) scaleY(.72); }
.hen[data-state="hop"] .hen__shadow { animation: hen-shadow var(--hop, .42s) ease-in-out infinite; }
.hen.is-flip[data-state="hop"] .hen__flip { animation-name: hen-hop-flip; }
/* side view: peck at the ground (whole body tips forward around the hip, tail goes up) */
.hen[data-view="side"][data-state="peck"] .hen__body { animation: hen-peck-side 1.1s ease-in-out infinite; }
.hen[data-view="side"][data-state="peck"] .hen__head { animation: hen-peck-head 1.1s ease-in-out infinite; }
/* fly (side and front) */
.hen[data-state="fly"] .hen__wing { animation: hen-flap .14s ease-in-out infinite alternate; }
.hen[data-state="fly"] .hen__leg { transform: rotate(30deg) scaleY(.72); }
.hen[data-state="fly"] .hen__fwing--l { animation: hen-flap-l .14s ease-in-out infinite alternate; }
.hen[data-state="fly"] .hen__fwing--r { animation: hen-flap-r .14s ease-in-out infinite alternate; }
.hen[data-state="fly"] .hen__flegs { transform: scaleY(.7); }
/* front view: land, peck at her feet, lay, idle */
.hen[data-state="land"] .hen__fbody, .hen[data-state="land"] .hen__flegs { animation: hen-land-squash .32s ease-out both; }
.hen[data-view="front"][data-state="peck"] .hen__fhead { animation: hen-peck-front 1s ease-in-out infinite; }
.hen[data-view="front"][data-state="peck"] .hen__fbody { animation: hen-lean-front 1s ease-in-out infinite; }
.hen[data-state="lay"] .hen__fbody { animation: hen-squat .75s ease-in-out both; }
.hen[data-state="lay"] .hen__fhead { animation: hen-squat-head .75s ease-in-out both; }
.hen[data-state="lay"] .hen__fwing--l { transform: rotate(16deg); }
.hen[data-state="lay"] .hen__fwing--r { transform: rotate(-16deg); }
.hen[data-view="front"][data-state="idle"] .hen__fhead { animation: hen-tilt 5s ease-in-out infinite; }
.hen[data-view="side"][data-state="idle"] .hen__head { animation: hen-look 5s ease-in-out infinite; }

@keyframes hen-leg { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes hen-bob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }
@keyframes hen-nod { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-2.5px); } }
@keyframes hen-hop { 0%, 100% { transform: translateY(0) scaleY(.94); } 12% { transform: translateY(0) scaleY(1.04); } 50% { transform: translateY(-30px) rotate(-6deg); } 88% { transform: translateY(0) scaleY(1); } }
@keyframes hen-hop-flip { 0%, 100% { transform: scaleX(-1) translateY(0) scaleY(.94); } 12% { transform: scaleX(-1) scaleY(1.04); } 50% { transform: scaleX(-1) translateY(-30px) rotate(-6deg); } 88% { transform: scaleX(-1) translateY(0); } }
@keyframes hen-shadow { 0%, 100% { transform: scale(1); opacity: .13; } 50% { transform: scale(.6); opacity: .06; } }
@keyframes hen-peck-side { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-62deg); } 33% { transform: rotate(-55deg); } 41% { transform: rotate(-63deg); } 49% { transform: rotate(-56deg); } 70% { transform: rotate(-6deg); } }
@keyframes hen-peck-head { 0%, 100% { transform: rotate(0); } 25%, 49% { transform: rotate(-28deg); } 70% { transform: rotate(0); } }
@keyframes hen-peck-front { 0%, 100% { transform: none; } 25% { transform: translateY(54px) scale(1.06); } 33% { transform: translateY(47px) scale(1.05); } 41% { transform: translateY(55px) scale(1.06); } 70% { transform: translateY(6px); } }
@keyframes hen-lean-front { 0%, 100% { transform: none; } 25%, 45% { transform: translateY(5px) scaleY(.88); } }
@keyframes hen-flap { from { transform: rotate(0); } to { transform: rotate(-42deg); } }
@keyframes hen-flap-l { from { transform: rotate(0); } to { transform: rotate(58deg); } }
@keyframes hen-flap-r { from { transform: rotate(0); } to { transform: rotate(-58deg); } }
@keyframes hen-land-squash { 0% { transform: scaleY(.8) scaleX(1.08); } 60% { transform: scaleY(1.04) scaleX(.98); } 100% { transform: none; } }
@keyframes hen-squat { 0% { transform: none; } 35%, 75% { transform: translateY(4px) scaleY(.9) scaleX(1.05); } 100% { transform: none; } }
@keyframes hen-squat-head { 0% { transform: none; } 35%, 75% { transform: translateY(9px); } 100% { transform: none; } }
@keyframes hen-tilt { 0%, 60%, 100% { transform: rotate(0); } 68%, 80% { transform: rotate(10deg); } 88% { transform: rotate(-7deg); } }
@keyframes hen-look { 0%, 60%, 100% { transform: rotate(0); } 68%, 80% { transform: rotate(9deg); } 86% { transform: rotate(-5deg); } }
@keyframes hen-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* arriving and leaving */
.hen.is-landing { animation: hen-land 1s cubic-bezier(.2, .8, .3, 1.12) both; }
@keyframes hen-land { from { translate: 90px -260px; rotate: 10deg; opacity: 0; } 20% { opacity: 1; } to { translate: 0 0; rotate: 0deg; } }
.hen.is-shoo, .hen-stage.is-leaving .hen { animation: hen-leave .9s ease-in both; pointer-events: none; }
@keyframes hen-leave { to { translate: 150px -330px; rotate: -10deg; opacity: 0; } }

/* eggs: drop under her, then roll to their place */
.hen-egg { display: block; width: 22px; pointer-events: auto; animation: hen-egg .8s cubic-bezier(.3, .7, .3, 1) both; transform-origin: 50% 70%; }
.hen-egg svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 1.5px 1.5px rgba(23,32,51,.25)); }
.hen-egg:hover { transform: translateY(-3px) rotate(-6deg); transition: transform .2s; }
.hen-egg:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 50%; }
@keyframes hen-egg { 0% { transform: translate(var(--from, 0px), -16px) scale(.35); opacity: 0; } 30% { transform: translate(var(--from, 0px), 0) scale(1); opacity: 1; } 42% { transform: translate(var(--from, 0px), -4px); } 100% { transform: translate(0, 0) rotate(var(--roll, 0deg)); } }

/* stages: she stands on a section edge with her eggs */
.has-hen { position: relative; }
.hen-stage { position: absolute; right: var(--gutter); bottom: 0; z-index: 5; display: flex; align-items: flex-end; gap: 2px; pointer-events: none; }
.hen-stage .hen { pointer-events: auto; cursor: pointer; margin-bottom: -4px; }
.hen-stage--footer { bottom: 100%; }
.hen-stage--footer .hen { cursor: default; }
.hen-nest { display: flex; gap: 5px; align-items: flex-end; padding-bottom: 1px; }
.hen-note { position: absolute; right: calc(100% + 10px); bottom: 8px; margin: 0; padding: 6px 12px; background: #fff; border: 1px solid var(--hairline);
            border-radius: 10px 10px 2px 10px; color: var(--navy); font-size: 13.5px; font-weight: 600; white-space: nowrap;
            box-shadow: 0 4px 14px rgba(23,32,51,.08); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.hen-note.is-on { opacity: 1; transform: none; }
.hero__media.has-hen .hen-stage { right: clamp(16px, 2vw, 40px); }
.hero__media.has-hen .hero__caption { right: auto; left: 0; padding: 12px 18px 0 0; border-radius: 0 var(--r) 0 0; }

/* the lane: a short strip of ground on top of the floating WhatsApp button */
.hen-lane { position: fixed; right: 18px; bottom: 76px; z-index: 59; height: 120px; width: 260px; pointer-events: none; transition: opacity .35s, translate .35s; }
/* her ground: a slim paper perch running along the top of the WhatsApp button */
.hen-lane::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 6px 6px 2px 6px; background: var(--navy);
                   box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(23,32,51,.18); z-index: -1; }
.hen-lane.is-away { opacity: 0; translate: 0 18px; }
.hen-lane.is-away * { pointer-events: none !important; }
.hen-lane .hen { --size: 84px; position: absolute; right: 0; bottom: 2px; pointer-events: auto; cursor: pointer;
                 transform: translateX(calc(var(--x, 0) * -1px)); }
.hen-lane .hen-egg { position: absolute; bottom: 5px; width: 20px; }

@media (min-width: 1024px) {
  .hen-stage .hen { --size: clamp(120px, 9vw, 180px); }
  .hen-stage .hen-egg { width: clamp(26px, 1.9vw, 36px); }
  .hen-stage--footer .hen { --size: clamp(110px, 7.5vw, 150px); }
}
@media (max-width: 1023px) {
  .hen { --size: 66px; }
  .hen-egg { width: 16px; }
  .hero.has-hen { padding-bottom: 70px; }
  .page-hero.has-hen { padding-bottom: 74px; }
  .hen-stage--footer .hen-note { right: calc(100% + 8px); bottom: 2px; width: 150px; white-space: normal; line-height: 1.3; padding: 6px 10px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hen, .hen *, .hen-egg { animation: none !important; transition: none !important; }
}

/* =====================================================================
   CMS additions: quality highlight, certificates, photo row, form states
   ===================================================================== */
.qhome { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.qhome__points { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.qhome__points li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); position: relative; font-weight: 600; color: var(--navy); }
.qhome__points li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 15px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--egg, #E7B183); }
.qhome__media { margin: 0; }
.qhome__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.qhome__cert { object-fit: contain !important; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r); padding: 4%; box-shadow: 0 18px 40px rgba(23,32,51,.10); }
.qhome__media figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .qhome { grid-template-columns: 1fr; } }

.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.photo-row img.arc { border-radius: 64px var(--r) var(--r) var(--r); }
.photo-row figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .photo-row { grid-template-columns: 1fr 1fr; } }

.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.cert { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 0; border-top: 2px solid var(--navy); align-items: start; }
.cert__doc { display: block; border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; background: #fff; aspect-ratio: 3 / 4; }
.cert__doc img { width: 100%; height: 100%; object-fit: contain; }
.cert__doc:hover { border-color: var(--blue); }
.cert__pdf { display: grid; place-content: center; text-align: center; height: 100%; font-weight: 800; font-size: 28px; color: var(--red); font-stretch: 112%; background: var(--light); }
.cert__pdf small { display: block; font-size: 13px; color: var(--blue); font-weight: 700; margin-top: 6px; }
.cert__issuer { color: var(--blue); font-weight: 700; margin-top: 4px; }
.cert__meta { margin: 14px 0; display: grid; gap: 6px; }
.cert__meta div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 15px; }
.cert__meta dt { color: var(--muted); }
.cert__meta dd { margin: 0; font-weight: 700; color: var(--navy); }
.cert p { color: var(--muted); }
@media (max-width: 560px) { .cert { grid-template-columns: 1fr; } .cert__doc { max-width: 220px; } .cert__meta div { grid-template-columns: 120px 1fr; } }

.spec--wide { margin-top: 0; }
.spec--wide li { grid-template-columns: 1fr 2fr; }
.tray__art img { width: 100%; max-height: 100%; object-fit: contain; }
.tray__price { font-weight: 800; color: var(--navy); margin: -12px 0 20px !important; }
.c-card__note { font-size: 14px; color: var(--muted); margin-top: 4px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin-top: 18px; padding: 12px 14px; border-left: 3px solid var(--red); background: #fff; color: #9b1028; font-weight: 600; }
.form__alt { margin-top: 14px; font-size: 15px; color: var(--muted); }
.form__alt a { font-weight: 700; }
.form__done { padding: 24px 0; }
.form__done .h2 { font-size: clamp(28px, 3vw, 40px); }
.form .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.cta .lede { color: rgba(255,255,255,.86); }

.hen.is-waiting { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- phones: typing never zooms, taps answer at once */
html { -webkit-tap-highlight-color: transparent; }
a, button, label, select, summary { touch-action: manipulation; }
@media (max-width: 980px), (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea { font-size: max(16px, 1em); }
}

/* ---------------------------------------------------------------- contact form states */
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: var(--red); }
.field.has-err label { color: var(--red); }
.field__err { margin: 0; color: #B0132F; font-size: 14px; font-weight: 600; }
.form__error { margin-top: 16px; padding: 12px 14px; border-radius: var(--r); background: #FDEEF1; color: #B0132F; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-bad { padding: 12px 14px; border-radius: var(--r); background: #FDEEF1; color: #B0132F; }
.btn.is-busy { pointer-events: none; gap: 10px; }
.btn.is-busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: btn-spin .7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.form[aria-busy="true"] .fields { opacity: .6; transition: opacity .2s; }
.form__done:focus { outline: none; }

/* phone menu open: the page behind does not move */
html.menu-open body { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
html.menu-open { overscroll-behavior: none; }
.nav__menu { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
html.menu-open .mbar, html.menu-open .hen { visibility: hidden; }
html.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; border-color: var(--hairline); }
