/* ==========================================================
   VARDHMAN WHEAT PRODUCTS — HOMEPAGE PROTOTYPE
   Vanilla CSS · no frameworks · CSS custom properties
   ========================================================== */

/* FONTS-BEGIN (self-hosted, files in /fonts) */
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/albert-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/albert-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/albert-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nothing You Could Do"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nothing-you-could-do-latin-400-normal.woff2") format("woff2"); }
/* FONTS-END */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --green-900: #123F2A;
  --green-700: #1E5A3A;
  --green-100: #EAF2E8;
  --cream: #F8F3E8;
  --offwhite: #FFFDF8;
  --gold: #C99A3D;
  --gold-light: #E8C979;
  --gold-deep: #A4761C;           /* gold for small text on light bg (contrast) */
  --text: #17352A;
  --muted: #68736C;
  --line: #E6DCC6;                /* subtle beige border */
  --white: #fff;

  /* type */
  --font-head: "Gloock", Georgia, "Times New Roman", serif;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-hand: "Nothing You Could Do", "Segoe Script", cursive;

  /* layout */
  --maxw: 1280px;
  --pad: 72px;
  --header-h: 80px;
  --section-y: clamp(56px, 7vw, 100px);

  /* look */
  --shadow: 0 8px 30px rgba(20, 50, 30, .06);
  --shadow-hover: 0 16px 40px rgba(20, 50, 30, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1199px) { :root { --pad: 48px; } }
@media (max-width: 1024px) { :root { --pad: 36px; --header-h: 72px; } }
@media (max-width: 640px)  { :root { --pad: 20px; --header-h: 68px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol, dl, dd, p, h1, h2, h3 { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 1em; height: 1em; }

/* ---------- 3. Type helpers ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 700; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow--line { display: flex; align-items: center; gap: 10px; }
.eyebrow--line .icon { color: var(--gold); }

.h2 {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(30px, 3.5vw, 48px); line-height: 1.12; letter-spacing: 0;
  color: var(--green-900);
  margin-top: 16px;
}
.h2--light { color: #fff; }

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 10px;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--green-900); color: #fff; }
.btn--primary:hover { background: #0B2B1C; }
.btn--ghost { background: #fff; color: var(--green-900); border-color: rgba(18, 63, 42, .35); }
.btn--ghost:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--cream); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 14.5px; font-weight: 600; color: var(--green-900);
  padding-bottom: 3px; border-bottom: 1.5px solid var(--gold);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 50, 30, .08); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height .3s; }
.site-header.is-scrolled .site-header__inner { height: calc(var(--header-h) - 12px); }

.brand { display: block; flex: none; }
.brand__logo { width: 140px; aspect-ratio: 240 / 92; height: auto; transition: width .3s; }
.site-header.is-scrolled .brand__logo { width: 122px; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: clamp(18px, 2vw, 32px); }
.nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--green-700); }
.nav__link.is-active { color: var(--green-900); font-weight: 600; }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border-radius: 10px; place-items: center; color: var(--green-900); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1180px) {
  .site-header__inner { gap: 16px; }
  .site-header__cta { margin-left: auto; }
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: block;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 30px rgba(20, 50, 30, .08);
    padding: 8px var(--pad) 28px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--green-700); }
}
@media (max-width: 560px) {
  .site-header__cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav__cta { display: inline-flex; width: 100%; margin-top: 22px; }
  .brand__logo { width: 124px; }
  .site-header.is-scrolled .brand__logo { width: 112px; }
}

/* ---------- 6. Sections (shared) ---------- */
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--offwhite { background: var(--offwhite); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head__text { max-width: 640px; }
.section-head__lead { margin-top: 18px; max-width: 560px; font-size: clamp(15px, 1.3vw, 16.5px); color: var(--muted); }
@media (max-width: 720px) {
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* scroll reveal (kept subtle) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--offwhite) 0%, var(--cream) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: clamp(540px, 42vw, 620px);
}
.hero__content { max-width: 640px; padding-block: 64px; }
.hero__title {
  margin-top: 26px;
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(38px, 4.2vw, 62px); line-height: 1.08; letter-spacing: 0;
  color: var(--green-900);
}
.hero__line { display: block; }
.hero__line--gold { color: var(--gold-deep); }
.hero__lead { margin-top: 26px; max-width: 500px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: #3B4F45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__visual { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: 32% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36%), linear-gradient(180deg, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 36%), linear-gradient(180deg, #000 84%, transparent 100%);
  mask-composite: intersect;
}
.hero__tagline {
  position: absolute; top: 9%; right: 12%;
  font-family: var(--font-hand); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1;
  color: #1F2A22; transform: rotate(-6deg); text-align: left;
}

@media (min-width: 861px) { .hero__line { white-space: nowrap; } }

/* the one orchestrated page-load moment */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.js .hero__rise { opacity: 0; animation: rise .7s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.js .hero__visual { animation: fade 1s ease both; }

@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero__inner { order: 1; min-height: 0; }
  .hero__content { padding-block: 44px 10px; }
  .hero__visual { position: relative; order: 2; width: 100%; height: clamp(250px, 62vw, 380px); }
  .hero__visual img {
    object-position: 40% 55%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34%);
    mask-image: linear-gradient(180deg, transparent 0, #000 34%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .hero__tagline { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) { .hero__actions .btn { width: 100%; } }

/* ---------- 8. Trust strip ---------- */
.trust { background: #fff; border-block: 1px solid var(--line); }
.trust__list { display: flex; justify-content: space-between; align-items: center; min-height: 92px; }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.trust__item + .trust__item { padding-left: clamp(18px, 3vw, 44px); border-left: 1px solid var(--line); }
.trust__icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--green-700); }
.trust__icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.trust__text { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text); }
@media (max-width: 900px) {
  .trust__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; padding-block: 10px; }
  .trust__item + .trust__item { padding-left: 0; border-left: 0; }
  .trust__item { padding: 14px 0; }
  .trust__icon .icon { width: 30px; height: 30px; }
}
@media (max-width: 640px) {
  .trust__item { gap: 10px; }
  .trust__icon { width: 34px; height: 34px; }
  .trust__icon .icon { width: 28px; height: 28px; }
  .trust__text { font-size: 13px; }
  .trust__text br { display: none; }
}

/* ---------- 9. Products ---------- */
.carousel { position: relative; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-card__media {
  position: relative; display: block; aspect-ratio: 1 / 1.08;
  background: linear-gradient(180deg, #FBF7EC 0%, #F3ECD9 100%);
}
.product-card__media img {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 56px); height: calc(100% - 48px); object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(50, 35, 10, .28));
  transition: transform .4s var(--ease);
}
.product-card:hover .product-card__media img { transform: translate(-50%, -50%) scale(1.03); }
.product-card__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 20px; }
.product-card__text { display: block; }
.product-card__name { display: block; font-family: var(--font-head); font-weight: 400; font-size: 20px; line-height: 1.2; color: var(--green-900); }
.product-card__desc { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.product-card__go {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--green-900);
  transition: background-color .25s, color .25s, border-color .25s;
}
.product-card:hover .product-card__go { background: var(--green-900); border-color: var(--green-900); color: #fff; }

.carousel__btn { display: none; }

@media (max-width: 1024px) {
  .product-grid {
    display: flex; gap: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad) * -1); padding: 8px var(--pad) 26px; scroll-padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-grid > li { flex: 0 0 clamp(228px, 58vw, 290px); scroll-snap-align: start; }
  .js .product-grid > .reveal { opacity: 1; transform: none; }
  .carousel__btn {
    position: absolute; top: 34%; z-index: 3; display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--green-900);
    box-shadow: 0 6px 20px rgba(20, 50, 30, .16); transition: opacity .2s;
  }
  .carousel__btn:disabled { opacity: 0; pointer-events: none; }
  .carousel__btn--prev { left: -14px; }
  .carousel__btn--next { right: -14px; }
}
@media (max-width: 640px) { .carousel__btn { display: none; } }

/* ---------- 10. Quality You Can Trust ---------- */
.quality { overflow: hidden; }
.quality__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 40px; }
.quality__lead { margin-top: 18px; max-width: 460px; font-size: clamp(15px, 1.3vw, 16.5px); color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 42px; }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.feature__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700); border: 1px solid rgba(30, 90, 58, .18);
}
.feature__icon .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.feature__text { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); }

.quality__media { position: relative; margin-right: calc((100vw - min(100vw - 2 * var(--pad), var(--maxw))) / -2); }
.quality__media img {
  width: 100%; height: clamp(300px, 29vw, 410px); object-fit: cover;
  border-radius: 999px 0 0 999px;
}
.badge-seal {
  position: absolute; left: -30px; top: 10%; z-index: 2;
  display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F3DE9E, #DDBB6B);
  border: 3px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 26px rgba(120, 85, 20, .22);
  font-family: var(--font-head); font-weight: 400; font-size: 15.5px; line-height: 1.2; text-align: center; color: var(--green-900);
}

@media (max-width: 960px) {
  .quality__inner { grid-template-columns: 1fr; gap: 44px; }
  .quality__media { margin-right: 0; }
  .quality__media img { height: clamp(240px, 52vw, 380px); border-radius: 22px; }
  .badge-seal { left: auto; right: 14px; top: -34px; width: 104px; height: 104px; font-size: 14px; }
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; margin-top: 32px; }
}

/* ---------- 11. About + factory ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; }
.about__media { position: relative; min-height: 400px; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__panel {
  display: flex; align-items: center; background: var(--green-900); color: #fff;
  padding: clamp(44px, 6vw, 92px) max(var(--pad), calc((100vw - var(--maxw)) / 2)) clamp(44px, 6vw, 92px) clamp(32px, 5vw, 76px);
}
.about__panel-inner { max-width: 520px; }
.about__text { margin: 22px 0 32px; font-size: clamp(15px, 1.2vw, 16px); line-height: 1.75; color: rgba(255, 255, 255, .84); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 0; aspect-ratio: 16 / 10; }
  .about__panel { padding: 48px var(--pad) 56px; }
}

/* ---------- 12. Stats ---------- */
.stats { background: var(--cream); border-bottom: 1px solid var(--line); }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: 34px 16px; text-align: center; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats__value { font-family: var(--font-head); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--green-900); }
.stats__label { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) {
  .stats__list { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 24px 12px; }
  .stats__item:nth-child(3) { border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- 13. Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
.step { --circle: 136px; position: relative; text-align: center; padding: 0 18px; }
.step__img {
  position: relative; display: block; width: var(--circle); height: var(--circle); margin: 0 auto 22px; border-radius: 50%;
  border: 4px solid #fff; box-shadow: 0 0 0 1.5px var(--gold), var(--shadow);
}
.step__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.step__num {
  position: absolute; top: -6px; left: -6px; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-deep); color: #fff; font-size: 13.5px; font-weight: 700; border: 2px solid var(--cream);
}
.step__title { font-family: var(--font-head); font-weight: 400; font-size: 19px; line-height: 1.25; color: var(--green-900); }
.step__desc { margin: 8px auto 0; max-width: 220px; font-size: 14px; line-height: 1.55; color: var(--muted); }
/* connector: thin gold line + small arrow between circles */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: calc(var(--circle) / 2); left: calc(50% + var(--circle) / 2 + 26px); width: calc(100% - var(--circle) - 52px); height: 1px; background: var(--gold);
}
.step:not(:last-child)::before {
  content: ""; position: absolute; top: calc(var(--circle) / 2); left: 100%; width: 9px; height: 9px; z-index: 1;
  border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold);
  transform: translate(-70%, -50%) rotate(45deg);
}
@media (max-width: 960px) {
  .step { --circle: 112px; padding: 0 12px; }
  .step__title { font-size: 17px; }
}
/* mobile: vertical timeline */
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; margin-top: 0; }
  .step { --circle: 84px; display: grid; grid-template-columns: 84px 1fr; gap: 0 22px; align-items: start; text-align: left; padding: 0 0 34px; }
  .step:last-child { padding-bottom: 0; }
  .step__img { margin: 0; border-width: 3px; }
  .step__num { width: 28px; height: 28px; font-size: 12.5px; }
  .step__text { padding-top: 10px; }
  .step__desc { margin: 6px 0 0; max-width: 420px; }
  .step:not(:last-child)::before { display: none; }
  .step:not(:last-child)::after { top: 92px; bottom: 6px; left: 41.5px; width: 1px; height: auto; }
}

/* ---------- 14. Quality & hygiene (purity) ---------- */
.purity { position: relative; overflow: hidden; background: var(--offwhite); }
.purity__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(340px, 30vw, 430px); padding-block: 56px; }
.purity__content { max-width: 520px; }
.purity__text { margin: 20px 0 30px; max-width: 480px; font-size: clamp(15px, 1.3vw, 16.5px); color: var(--muted); }
.purity__visual { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.purity__visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0, #000 42%);
}
.note-card {
  position: absolute; right: max(var(--pad), calc((100vw - var(--maxw)) / 2)); bottom: 18%;
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(20, 50, 30, .14);
  font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--green-900);
}
.note-card .icon { width: 26px; height: 26px; color: var(--green-700); }
@media (max-width: 860px) {
  .purity { display: flex; flex-direction: column; }
  .purity__inner { min-height: 0; padding-block: 52px 30px; }
  .purity__visual { position: relative; order: 2; width: 100%; height: clamp(240px, 58vw, 340px); }
  .purity__visual img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
    mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  }
  .note-card { right: var(--pad); bottom: 22px; }
}

/* ---------- 15. Recipes ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.recipe-card {
  display: block; height: 100%; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.recipe-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.recipe-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.recipe-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.recipe-card:hover .recipe-card__media img { transform: scale(1.06); }
.recipe-card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; font-size: 15.5px; font-weight: 700; color: var(--text); }
.recipe-card__body .icon { color: var(--gold-deep); transition: transform .25s var(--ease); }
.recipe-card:hover .recipe-card__body .icon { transform: translateX(4px); }
@media (max-width: 900px) { .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 420px) { .recipe-card__body { padding: 12px 12px; font-size: 14px; } }

/* ---------- 16. Contact / enquiry CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--green-900); color: #fff; padding-block: clamp(52px, 6vw, 76px); }
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.cta__text { margin: 16px 0 28px; max-width: 460px; color: rgba(255, 255, 255, .8); }
.cta__contacts { display: grid; gap: 24px; }
.contact-row { display: flex; align-items: center; gap: 18px; }
.contact-row__icon {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--green-900); transition: transform .25s var(--ease);
}
.contact-row:hover .contact-row__icon { transform: scale(1.06); }
.contact-row__text { display: flex; flex-direction: column; min-width: 0; }
.contact-row__text strong { font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; overflow-wrap: anywhere; }
.contact-row__text small { font-size: 13.5px; color: rgba(255, 255, 255, .7); }

.cta__wheat { position: absolute; z-index: 1; width: 80px; height: 300px; color: var(--gold-light); opacity: .14; pointer-events: none; }
.cta__wheat--a { left: -8px;  bottom: -58px; transform: rotate(-9deg); }
.cta__wheat--b { left: 62px;  bottom: -96px; transform: rotate(7deg); opacity: .08; }
.cta__wheat--c { right: -6px; bottom: -58px; transform: rotate(9deg); }
.cta__wheat--d { right: 70px; bottom: -100px; transform: rotate(-6deg); opacity: .08; }
@media (max-width: 860px) {
  .cta__inner { grid-template-columns: 1fr; gap: 36px; }
  .cta__wheat--b, .cta__wheat--d { display: none; }
}

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--cream); padding-top: clamp(48px, 5vw, 72px); }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.brand__logo--footer { width: 150px; }
.site-footer__about { margin-top: 20px; max-width: 320px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(18, 63, 42, .3); color: var(--green-900);
  transition: background-color .25s, color .25s, border-color .25s;
}
.social a:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.site-footer__title { font-family: var(--font-head); font-weight: 400; font-size: 18px; color: var(--green-900); margin-bottom: 18px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.site-footer__col a:hover { color: var(--green-900); }
.site-footer__col--contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.site-footer__col--contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-deep); }
.site-footer__col--contact { min-width: 0; }
.site-footer__col--contact a { overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .site-footer__brand, .site-footer__col--contact { grid-column: 1 / -1; }
}

.copyright { background: var(--green-900); color: rgba(255, 255, 255, .82); font-size: 12.5px; }
.copyright__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.copyright__tags { display: flex; flex-wrap: wrap; }
.copyright__tags span + span::before { content: "|"; margin-inline: 14px; opacity: .4; }
@media (max-width: 720px) {
  .copyright__inner { flex-direction: column; text-align: center; }
  .copyright__tags { justify-content: center; }
}

/* ---------- 18. Enquiry modal ---------- */
.enquiry {
  border: 0; padding: 0; border-radius: 18px; color: var(--text); background: #fff;
  width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  box-shadow: 0 30px 80px rgba(10, 30, 20, .35);
}
.enquiry::backdrop { background: rgba(10, 30, 20, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.enquiry[open] { animation: rise .35s var(--ease); }
.enquiry__form { position: relative; padding: 34px clamp(22px, 4vw, 38px) 32px; }
.enquiry__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--green-900); }
.enquiry__close:hover { background: var(--green-100); }
.enquiry__title { margin-top: 14px; font-family: var(--font-head); font-weight: 400; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; color: var(--green-900); }
.enquiry__lead { margin: 8px 0 22px; color: var(--muted); font-size: 15px; }
.enquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; background: var(--offwhite);
  border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(30, 90, 58, .15); }
.field input[aria-invalid="true"] { border-color: #B3402F; }
.enquiry__status { min-height: 22px; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--green-700); }
.enquiry__status.is-error { color: #B3402F; }
@media (max-width: 520px) { .enquiry__grid { grid-template-columns: 1fr; } }

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero__rise { opacity: 1; transform: none; }
}
