/* ================================================================
   HAQ FRESH MILK — Design System v2
   Brand: White (#FFFFFF) · Deep Forest (#002B18) · Raw Cream (#FFF5E2)
   Accent: Silage Gold (#D4AF37) · Text: Charcoal (#181818)
================================================================ */

/* ── Tokens ───────────────────────────────────────────────────── */
:root {
  --white: #FFFFFF;
  --cream: #FFF5E2;
  --cream-soft: #FDFAF3;
  --forest: #002B18;
  --forest-mid: #004D2C;
  --forest-lite: #006E3A;
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --charcoal: #181818;
  --ink: #2A2A2A;
  --muted: #4B5563;
  --line: rgba(0, 43, 24, .12);
  --line-soft: rgba(0, 43, 24, .07);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .13);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --sp-xs: clamp(.25rem, .5vw, .5rem);
  --sp-sm: clamp(.5rem, 1vw, .75rem);
  --sp-md: clamp(1rem, 1.8vw, 1.5rem);
  --sp-lg: clamp(1.5rem, 3vw, 2.5rem);
  --sp-xl: clamp(2.5rem, 5vw, 4.5rem);
  --sp-2xl: clamp(4rem, 8vw, 8rem);

  --h1: clamp(42px, 6vw, 88px);
  --h2: clamp(40px, 5vw, 64px);
  --h3: clamp(26px, 3vw, 38px);
  --h4: clamp(18px, 2vw, 24px);
  --body: clamp(15px, 1.2vw, 17px);
  --small: clamp(12px, 1vw, 14px);

  --ease: cubic-bezier(.22, .9, .31, 1);
  --ease2: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
  --container: min(1200px, calc(100dvw - 48px));
}

/* ── Reset ────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* CRITICAL: Removed scroll-behavior: smooth as it conflicts with GSAP ScrollTrigger */
  scroll-behavior: auto !important; 
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--forest-lite) transparent;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--body);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* iOS Thinner Font Fix */
@supports (-webkit-touch-callout: none) {
  body {
    -webkit-text-stroke: 0.15px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--forest-lite);
  border-radius: 4px;
}

::selection {
  background: rgba(0, 110, 58, .15);
}

/* ── Accessibility ────────────────────────────────────────────── */
.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--cream);
  border: 1px solid var(--line);
  transform: translateY(-200%);
  clip: rect(0 0 0 0);
  transition: transform .25s var(--ease), clip 0s .25s;
  z-index: 9999;
  font-size: 13px;
  font-weight: 600;
}

.skip:focus {
  transform: translateY(0);
  clip: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--forest-lite);
  outline-offset: 3px;
  border-radius: 4px;
}



/* ── Loading Screen ───────────────────────────────────────────── */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-screen__content {
  text-align: center;
  color: var(--white);
}

.loading-screen__logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  animation: logoBob 1.2s var(--ease2) infinite alternate;
}

.loading-screen__logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.loading-screen__text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .5px;
}

  .loading-screen__subtext {
  font-size: 13px;
  opacity: .7;
  margin-top: 6px;
}

@keyframes logoBob {
  from {
    transform: translateY(8px);
  }

  to {
    transform: translateY(-8px);
  }
}

/* ── Page transition wipe ─────────────────────────────────────── */
.wipe {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--forest);
  transform: translateY(-105%);
  pointer-events: none;
  display: grid;
  place-items: center;
}

.hf-transition .wipe {
  transform: translateY(0);
}

.wipe.is-enter {
  animation: wipeIn .6s var(--ease) both;
}

.wipe.is-leave {
  animation: wipeOut .6s var(--ease) both;
}

@keyframes wipeIn {
  from {
    transform: translateY(105%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes wipeOut {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-105%);
  }
}

.wipe__logo {
  width: 80px;
  height: 80px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .15);
  display: grid;
  place-items: center;
  animation: logoBob 1.2s var(--ease2) infinite alternate;
}

.wipe__logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* ── Custom cursor (desktop only) ────────────────────────────── */
@media (pointer:fine) {
  .cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--forest);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: width .25s var(--ease), height .25s var(--ease), opacity .2s;
    will-change: transform;
  }

  .cursor.is-hovering {
    width: 40px;
    height: 40px;
    opacity: .5;
  }
}

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 48px);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
  gap: 24px;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, .98);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Glass only on non-touch devices for performance */
@media (hover: hover) {
  .nav.is-scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, .96);
  }
}

.nav__logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  transition: filter .35s var(--ease);
}

.nav__links {
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  font-size: 14px;
  font-weight: 500;
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  color: var(--forest);
  transition: color .35s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__links a:hover {
  color: var(--forest-mid);
}

/* --- Nav Specifics: Transparent Top State --- */
.nav.nav--transparent:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav.nav--transparent:not(.is-scrolled) .nav__links a {
  color: var(--white);
}

.nav.nav--transparent:not(.is-scrolled) .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav.nav--transparent:not(.is-scrolled) .nav__menu span {
  background: var(--white);
}

.nav__cta {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  background: var(--forest);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--forest-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 43, 24, .25);
}

.nav__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: background .2s;
}

.nav__menu:hover {
  background: var(--line-soft);
}

.nav__menu span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, background .35s;
}

/* Mobile nav overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.nav__overlay.is-open {
  transform: translateX(0);
}

.nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background .2s;
  z-index: 10;
}

.nav__close:hover {
  background: rgba(255, 255, 255, .2);
}

.nav__overlay-inner {
  display: flex;
  flex-direction: column;
  padding: 96px 40px 48px;
  gap: 8px;
  height: 100%;
}

.nav__overlay-inner a {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  font-family: "DM Serif Display", Georgia, serif;
  color: rgba(255, 255, 255, .8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: color .2s, padding-left .2s;
}

.nav__overlay-inner a:hover {
  color: var(--gold);
  padding-left: 12px;
}

.nav__overlay-inner .button {
  margin-top: auto;
}

.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 889;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav__backdrop.is-visible {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 900px) {

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__menu {
    display: flex;
  }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
  min-height: 48px;
  position: relative;
  isolation: isolate;
}

.button--primary {
  background: var(--forest);
  color: var(--white);
}

.button--primary:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 43, 24, .3);
}

.button--ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.button--ghost:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

.button--gold {
  background: var(--gold);
  color: var(--forest);
}

.button--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, .35);
}

.button--white {
  background: var(--white);
  color: var(--forest);
}

.button--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.button:active {
  transform: translateY(0) !important;
}

/* ── Typography helpers ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--forest-lite);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
}

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--forest-lite);
}

.display {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: var(--h1);
  line-height: 1.08;
  color: var(--forest);
  letter-spacing: -.02em;
}

h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: var(--h2);
  line-height: 1.12;
  color: var(--forest);
  letter-spacing: -.015em;
}

h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: var(--h3);
  line-height: 1.25;
  color: var(--forest);
}

h4 {
  font-size: var(--h4);
  font-weight: 600;
  color: var(--forest);
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink);
  max-width: 52ch;
  line-height: 1.7;
}

.mini {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-heading {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 14px;
  line-height: 1.3;
  color: var(--forest);
  font-weight: 400;
}

strong {
  font-weight: 700;
}

/* ── Layout primitives ────────────────────────────────────────── */
.container {
  width: var(--container);
  margin: 0 auto;
}

.section-y {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}

.chapter {
  width: var(--container);
  margin: 0 auto;
  padding: var(--sp-xl) 0;
}

.chapter__header {
  margin-bottom: var(--sp-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chapter__header p.label {
  margin-bottom: 12px;
}

.chapter__header h2 {
  max-width: 30ch;
  margin-bottom: 16px;
  text-align: center;
  font-size: clamp(32px, 5vw, 64px);
}

.chapter__header .lede {
  max-width: 55ch;
  text-align: center;
  font-size: clamp(15px, 1.4vw, 19px);
}

/* Pill/tag */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.pill[aria-pressed="true"],
.pill:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

/* Glass utility */
.glass {
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .6);
}

@media (hover: hover) {
  .glass {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

@media (max-width:767px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  /* Fix for horizontal overlap on product pages */
  .u-flex-align-center.u-gap-xl {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 32px !important;
  }
}

@media (min-width:768px) and (max-width:1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding-top: var(--nav-h);
  overflow: hidden;
  position: relative;
}

/* Soft radial green halo in background */
.hero::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 5%;
  width: clamp(400px, 55vw, 800px);
  height: clamp(400px, 55vw, 800px);
  background: radial-gradient(circle, rgba(0, 110, 58, .10) 0%, rgba(0, 43, 24, .04) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: var(--container);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px) 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.hero__content .eyebrow {
  margin-bottom: 8px;
  display: inline-flex;
  align-self: flex-start;
}

.hero__content .display {
  margin-bottom: 4px;
}

.hero__content .lede {
  margin-bottom: 8px;
}

.hero__header-mobile-only {
  display: none;
}

.hero__header-desktop-only {
  display: block;
}

.hero__header-desktop-only .eyebrow {
  margin-bottom: 8px;
  display: inline-flex;
  align-self: flex-start;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__img-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  /* Glass encasing effect */
  background: rgba(255, 255, 255, .15);
  border-radius: var(--r-xl);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    0 4px 6px rgba(0, 43, 24, .05),
    0 20px 40px rgba(0, 43, 24, .12);
  border: 1px solid rgba(255, 255, 255, .4);
  overflow: hidden;
  padding: 0;

  /* Glass only on non-touch devices */
  @media (hover: hover) {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 10px 30px rgba(0, 43, 24, .15));
  transform-origin: center bottom;
  border-radius: 0;
  display: block;
}

/* Floating cream card - compact, wider */
.hero__card {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  width: min(92%, 420px);
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.85);

  /* Glass only on non-touch devices */
  @media (hover: hover) {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
  }
}

.hero__card .mini {
  margin-bottom: 4px;
  text-align: center;
  font-size: 11px;
}

.hero__card h3,
.hero__card .mini-heading {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
  text-align: center;
}

.hero__stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.hero__stat-grid .mini {
  margin-bottom: 2px;
  text-align: center;
  display: block;
  font-size: 10px;
}

.hero__stat-grid strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--forest);
}

/* Scroll indicator */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: var(--sp-md) 0 var(--sp-lg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.scroll-hint__line {
  width: 24px;
  height: 48px;
  border: 2px solid var(--forest);
  border-radius: 12px;
  position: relative;
  background: transparent;
}

/* Animated arrow inside the scroll container */
.scroll-hint__line::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: translateX(-50%) rotate(45deg);
  animation: scrollArrowBounce 1.5s ease-in-out infinite;
}

@keyframes scrollArrowBounce {

  0%,
  100% {
    top: 10px;
    opacity: 1;
  }

  50% {
    top: 26px;
    opacity: 0.4;
  }
}

@media (max-width:900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--sp-md) 0;
  }

  .hero__header-desktop-only {
    display: none;
  }

  .hero__header-mobile-only {
    display: flex;
    flex-direction: column;
    text-align: center;
    order: 1;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
  }

  .hero__header-mobile-only h1 {
    font-size: clamp(38px, 10vw, 54px);
    line-height: 1.1;
    margin-top: 12px;
  }

  .hero__header-mobile-only .eyebrow {
    align-self: center;
  }

  .hero__content {
    align-items: center;
    order: 3;
    margin-top: 16px;
  }

  .hero__visual {
    order: 2;
    margin-bottom: 0;
  }

  .hero__img-wrap {
    max-width: 340px;
  }

  .hero__card {
    bottom: 8px;
    width: 95%;
    padding: 8px 12px;
  }

  .hero__card .mini {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .hero__card h3,
  .hero__card .mini-heading {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .hero__stat-grid {
    gap: 6px;
  }

  .hero__stat-grid strong {
    font-size: 12px;
  }

  .cta-row {
    justify-content: center;
  }
}

/* ── Marquee strip ────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  background: var(--forest);
  padding: 20px 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.marquee__item {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--white);
  /* Urdu text */
  font-family: "Noto Nastaliq Urdu", "Amiri", "Noto Naskh Arabic", Arial, sans-serif;
  padding: 0 32px;
  white-space: nowrap;
  line-height: 1.8;
}

.marquee__dot {
  color: var(--gold);
  font-size: 12px;
  padding: 0 8px;
}

@keyframes marqueeScroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion:reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ── Product cards ────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 43, 24, .2);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 43, 24, .03), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card--featured {
  background: var(--cream);
  border-color: rgba(212, 175, 55, .3);
}



.card__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__top .mini {
  color: var(--gold);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--forest);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card p {
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
  font-size: 14px;
}



.card .button {
  align-self: flex-start;
  margin-top: auto;
}

/* ── Bento grid (products page) ──────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}

.bento__item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.bento__item--large {
  grid-column: span 4;
  grid-row: span 2;
}

.bento__item--wide {
  grid-column: span 6;
}

.bento__item--med {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__item--sm {
  grid-column: span 3;
}

@media (max-width:900px) {

  .bento,
  .bento__item--large,
  .bento__item--wide,
  .bento__item--med,
  .bento__item--sm {
    grid-column: span 6;
  }
}

/* ── Scroll Storytelling (Text Drop + Parallax Images) ──────────────── */
.story-scroll {
  background: var(--forest);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 15vh, 200px) 0;
  perspective: 2000px;
}

.story-scroll__container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
}

.text-drop__line {
  display: block;
  text-align: center;
  width: 100%;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(40px, 9vw, 120px);
  line-height: 1.2;
  font-weight: 400;
  white-space: nowrap;
  color: var(--white);
  transform-origin: 50% 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: rotateX(0) translateZ(0); /* Default to flat for performance */
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .text-drop__line {
    font-size: clamp(32px, 12vw, 64px);
    white-space: normal;
    padding: 0 20px;
    mix-blend-mode: normal !important;
    color: var(--white);
    transform: none !important;
    opacity: 0.25;
  }

  .text-drop__img-box {
    width: 45vw !important;
    opacity: 0.2 !important;
  }

  .text-drop__img-box:nth-child(odd) {
    left: 5% !important;
    right: auto !important;
  }

  .text-drop__img-box:nth-child(even) {
    right: 5% !important;
    left: auto !important;
  }
}

.text-drop__img-box {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  border-radius: var(--r-lg);
  transition: opacity 0.5s;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.text-drop__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image positions - balanced throughout the scroll */
.text-drop__img-box:nth-child(1) {
  top: 5%;
  left: 5%;
  width: 25vw;
  max-width: 350px;
  aspect-ratio: 1;
}

.text-drop__img-box:nth-child(2) {
  top: 25%;
  right: 5%;
  width: 22vw;
  max-width: 320px;
  aspect-ratio: 3/4;
}

.text-drop__img-box:nth-child(3) {
  top: 55%;
  left: 8%;
  width: 28vw;
  max-width: 400px;
  aspect-ratio: 4/3;
}

.text-drop__img-box:nth-child(4) {
  top: 75%;
  right: 10%;
  width: 24vw;
  max-width: 340px;
  aspect-ratio: 1;
}

@media (max-width: 900px) {
  .text-drop__img-box {
    width: 45vw !important;
    opacity: 0.2 !important;
  }

  .text-drop__img-box:nth-child(odd) {
    left: 5% !important;
    right: auto !important;
  }

  .text-drop__img-box:nth-child(even) {
    right: 5% !important;
    left: auto !important;
  }
}

/* ── Farm gallery ─────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}

.gallery__item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery__item:nth-child(2) {
  grid-column: span 5;
}

.gallery__item:nth-child(3) {
  grid-column: span 5;
}

.gallery__item:nth-child(4) {
  grid-column: span 6;
}

.gallery__item:nth-child(5) {
  grid-column: span 6;
}

/* Last gallery item (OUR FARM bottom image) - full width */
.gallery__item:nth-child(6) {
  grid-column: span 12;
  grid-row: span 1;
  min-height: 280px;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    margin-bottom: 40px;
    gap: 8px;
  }

  .gallery__item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .gallery__item:nth-child(1),
  .gallery__item:nth-child(6) {
    grid-column: span 2 !important;
    aspect-ratio: 16 / 9; /* Adjusted for better fit */
    min-height: auto !important; /* Fix: Reset min-height to prevent it forcing width via aspect-ratio */
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr 1fr; /* Keep 2x2 for vibe even on small screens */
    grid-auto-rows: auto;
  }
}

/* Contact grid helper for mobile */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start; /* Standardized to start for form alignment */
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 43, 24, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
}

.section-creamy {
  background: var(--cream-soft);
  width: 100%;
  padding: var(--sp-2xl) clamp(24px, 8vw, 120px);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
}

/* --- Utilities --- */
.u-text-center { text-align: center !important; }
.u-text-right  { text-align: right !important; }
.u-text-left   { text-align: left !important; }
.u-text-white  { color: var(--white) !important; }
.u-text-gold   { color: var(--gold) !important; }
.u-text-ink    { color: var(--ink) !important; }
.u-text-forest { color: var(--forest) !important; }
.u-text-muted  { color: var(--muted) !important; }
.u-text-white-muted { color: rgba(255, 255, 255, 0.6) !important; }

.u-text-display-sm { font-size: clamp(36px, 5vw, 56px) !important; }
.u-text-display-xs { font-size: clamp(32px, 5vw, 48px) !important; }
.u-text-display-xxs { font-size: clamp(24px, 3.5vw, 36px) !important; }
.u-text-sm { font-size: 14px !important; }
.u-text-sm-16 { font-size: 16px !important; }
.u-text-xs-spaced { font-size: 12px !important; letter-spacing: 0.5px !important; }
.u-desktop-only { display: flex !important; }
@media (max-width: 600px) {
  .u-desktop-only { display: none !important; }
}

.u-full-width { width: 100% !important; }
.u-max-container { max-width: var(--container) !important; margin-left: auto; margin-right: auto; }
.u-max-none { max-width: none !important; }
.u-max-20ch { max-width: 20ch !important; }
.u-max-800 { max-width: 800px !important; }
.u-max-700 { max-width: 700px !important; }
.u-max-640 { max-width: 640px !important; }
.u-margin-auto { margin-left: auto !important; margin-right: auto !important; }
.u-margin-0 { margin: 0 !important; }

.u-flex-column { display: flex !important; flex-direction: column !important; }
.u-flex-column-center { display: flex !important; flex-direction: column !important; align-items: center !important; }
.u-flex-align-center { display: flex !important; align-items: center !important; }
.u-flex-center { display: flex !important; align-items: center !important; justify-content: center !important; }

.u-grid-2 { display: grid !important; grid-template-columns: 1fr 1fr !important; }
.u-gap-sm { gap: 12px !important; }
.u-gap-xl { gap: var(--sp-xl) !important; }

.u-cursor-default { cursor: default !important; }

.u-mt-auto { margin-top: auto !important; }
.u-mt-xs { margin-top: 8px !important; }
.u-mt-sm { margin-top: var(--sp-sm) !important; }
.u-mt-md { margin-top: var(--sp-md) !important; }
.u-mt-lg { margin-top: var(--sp-lg) !important; }
.u-mt-xl { margin-top: var(--sp-xl) !important; }

.u-mb-xs { margin-bottom: 8px !important; }
.u-mb-sm { margin-bottom: var(--sp-sm) !important; }
.u-mb-md { margin-bottom: var(--sp-md) !important; }
.u-mb-lg { margin-bottom: var(--sp-lg) !important; }
.u-mb-xl { margin-bottom: var(--sp-xl) !important; }

/* --- Specific Helpers --- */
.section-y-full {
  padding: var(--sp-2xl) clamp(20px, 8vw, 120px);
}

.section-stats {
  width: 100%;
  padding: var(--sp-xl) clamp(20px, 4vw, 48px);
}

.section-dark {
  background: var(--forest);
  width: 100%;
  padding: var(--sp-2xl) clamp(20px, 8vw, 120px);
}

.card__icon--large-forest {
  font-size: 24px !important;
  background: var(--forest) !important;
}

.panel--dark {
  background: var(--forest) !important;
  border-color: transparent !important;
}

.button--whatsapp-contact {
  font-size: 16px !important;
  padding: 16px 32px !important;
  justify-content: center !important; /* Centered for better balance */
  gap: 12px !important;
}

.stats--flat {
  border: none !important;
  padding: 0 !important;
}

.chapter__header--spaced {
  position: relative;
  padding: 80px 0 40px;
}

.marquee__track--slow {
  animation-duration: 40s !important;
}

.story-scroll__cta {
  margin-top: 80px;
  position: relative;
  z-index: 101;
  text-align: center;
}

.product-raw-notice, .honesty-panel {
  margin-top: var(--sp-lg);
  margin-inline: auto; /* Centered */
  padding: 16px 24px;
  background: var(--cream);
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--gold);
  font-size: 13px;
  color: var(--forest);
  max-width: 700px; /* Wider to accommodate single line title */
  text-align: center;
}

.honesty-panel h3 {
  margin-top: 4px;
}

@media (min-width: 900px) {
  .honesty-panel h3 {
    white-space: nowrap;
  }
}

.product-story-img {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 550px;
}

.process-teaser {
  display: flex;
  flex-direction: column; /* Stacked and centered */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-md);
  padding: var(--sp-xl);
  background: var(--forest);
  border-radius: var(--r-xl);
  max-width: 800px;
  margin: var(--sp-lg) auto 0;
  position: relative;
  overflow: hidden;
}

.process-teaser::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.footer__col-note {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  margin-top: 8px;
}

.footer__col-addr {
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  margin-top: 4px;
}

.footer__legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Timeline ─────────────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0;
  padding-bottom: 40px;
  position: relative;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--forest);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--forest);
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline__line {
  flex: 1;
  width: 1px;
  background: var(--line);
  margin-top: 6px;
}

.timeline__content {
  padding-left: 16px;
}

.timeline__content .mini {
  margin-bottom: 6px;
}

.timeline__content h3 {
  margin-bottom: 6px;
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform .45s var(--ease);
  will-change: transform;
}

.testimonials__slide {
  flex: 0 0 100%;
  padding: var(--sp-lg);
  background: var(--cream-soft);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  /* Prevent border-radius deformation during transform */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: subpixel-antialiased;
}

.testimonials__stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonials__text {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  color: var(--forest);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonials__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--forest);
}

.testimonials__loc {
  font-size: 12px;
  color: var(--muted);
}

.testimonials__nav {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .2);
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: background .2s, border-color .2s;
}

.testimonials__btn:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.testimonials__dots {
  display: flex;
  gap: 6px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  transition: background .2s, width .2s;
}

.testimonials__dot.is-active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ── Carousel (farm) ──────────────────────────────────────────── */
.carousel-fullwidth {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.carousel__track {
  display: flex;
  transition: transform .45s var(--ease);
}

.carousel__slide {
  flex: 0 0 100%;
  position: relative;
}

.carousel__slide img {
  width: 100%;
  height: clamp(300px, 45vw, 550px);
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
}

.carousel__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  color: var(--forest);
  display: grid;
  place-items: center;
  pointer-events: all;
  transition: background .2s, transform .2s;
  box-shadow: var(--shadow-sm);
}

.carousel__btn:hover {
  background: var(--white);
  transform: scale(1.08);
}

.carousel__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s, width .2s;
}

.carousel__dot.is-active {
  background: var(--forest);
  width: 24px;
  border-radius: 4px;
}

/* ── Founder / Story ──────────────────────────────────────────── */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.story-section__visual {
  position: relative;
}

.story-section__bg-text {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(80px, 12vw, 180px);
  line-height: 1;
  color: rgba(0, 43, 24, .04);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  font-style: italic;
}

.story-section__img {
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  position: relative;
  z-index: 1;
}

.story-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%; /* Lowered the image within container */
}

.story-section__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.story-section__quote {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--forest);
  font-style: italic;
  padding-left: 24px;
  border-left: 3px solid var(--gold);
  margin: 8px 0;
}

.story-section__sig {
  font-weight: 700;
  color: var(--forest);
  font-size: 14px;
}

@media (max-width:768px) {
  .story-section {
    grid-template-columns: 1fr;
  }

  .story-section__visual {
    order: -1;
  }

  .story-section__img {
    aspect-ratio: 16/9;
  }
}

/* ── CTA Band ─────────────────────────────────────────────────── */
.cta-band {
  background: var(--forest);
  padding: clamp(60px, 8vw, 120px) clamp(20px, 8vw, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: var(--sp-lg);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-band .label {
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--white);
  max-width: 18ch;
  position: relative;
  z-index: 1;
}

.cta-band .lede {
  color: rgba(255, 255, 255, .7);
  max-width: 48ch;
  position: relative;
  z-index: 1;
}

.cta-band__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ── Panel (glass callout) ────────────────────────────────────── */
.panel {
  padding: var(--sp-lg);
  border-radius: var(--r-lg);
  background: var(--cream-soft);
  border: 1px solid var(--line);
}

.panel .mini {
  margin-bottom: 8px;
}

.panel h3 {
  margin-bottom: 8px;
}

/* ── List grid ────────────────────────────────────────────────── */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--line);
}

.list-grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.list-grid .mini {
  margin-bottom: 2px;
}

@media (max-width:600px) {
  .list-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x4 on mobile */
    gap: 12px;
  }
}

/* ── Stats row ────────────────────────────────────────────────── */
.stats-section {
  background: radial-gradient(circle at center, #f4fdf8 0%, #ebf7f0 100%);
  border-top: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-md);
  padding: 0;
  width: 100%;
}

.stat__num {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 54px);
  color: var(--forest);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width:600px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .stat__num {
    font-size: 28px;
  }

  .stat__label {
    font-size: 10px;
  }
}

/* ── Floating Bubbles (Why HAQ section) ────────────────────────── */
.bubble-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  z-index: 1;
}

.bubble-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Scattered Positions around the text - Desktop: show all 6 bubbles */
#bubble-silage {
  top: 10%;
  left: 2%;
  animation-name: float-1;
  animation-duration: 3s;
}

#bubble-fresh {
  top: 8%;
  right: 2%;
  animation-name: float-2;
  animation-duration: 3.5s;
}

#bubble-farm {
  top: 50%;
  left: -2%;
  animation-name: float-3;
  animation-duration: 2.8s;
}

#bubble-sealed {
  bottom: 8%;
  right: 2%;
  animation-name: float-4;
  animation-duration: 3.2s;
}

#bubble-trusted {
  top: 45%;
  right: -2%;
  animation-name: float-1;
  animation-duration: 3.1s;
}

#bubble-location {
  bottom: 10%;
  left: 2%;
  animation-name: float-2;
  animation-duration: 3.4s;
}

@keyframes float-1 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(0, 10px);
  }
}

@keyframes float-2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(10px, -5px);
  }
}

@keyframes float-3 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-8px, 8px);
  }
}

@keyframes float-4 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(5px, 12px);
  }
}

/* Tablet and below: Stack bubbles BELOW the text */
@media (max-width: 900px) {
  #why-haq .chapter__header {
    padding: 100px 16px 80px !important;
    position: relative;
    overflow: visible;
  }

  .bubble-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .bubble {
    position: absolute !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    background: var(--white) !important;
    border: 1.5px solid var(--line) !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--forest) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    white-space: nowrap !important;
    width: max-content !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    z-index: 100 !important;
    animation: floatVerticalMobile 3s infinite alternate ease-in-out;
  }

  .bubble-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
  }

  .bubble span {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
  }

  /* Tighter Scattering (Mobile) - pulled closer to text */
  #bubble-silage {
    top: 17%;
    left: 7%;
    bottom: auto !important;
    right: auto !important;
    transform: translate(-20%, -30px);
  }

  #bubble-farm {
    top: 18%;
    right: 12%;
    bottom: auto !important;
    left: auto !important;
    transform: translate(20%, -40px);
  }

  #bubble-sealed {
    bottom: 10%;
    left: 4%;
    top: auto !important;
    right: auto !important;
    transform: translate(-20%, 30px);
  }

  #bubble-trusted {
    bottom: 7%;
    right: 10%;
    top: auto !important;
    left: auto !important;
    transform: translate(20%, 40px);
  }

  /* Hide location and fresh on mobile for simplicity */
  #bubble-fresh,
  #bubble-location {
    display: none !important;
  }

  @keyframes floatVerticalMobile {
    from {
      margin-top: 0;
    }

    to {
      margin-top: 6px;
    }
  }
}

/* ── Trust strip ──────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: var(--sp-lg) 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  background: var(--white);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--forest);
  color: rgba(255, 255, 255, .7);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 6vw, 80px) clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
}

.footer__brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 15px;
  line-height: 1.6;
  max-width: 30ch;
}

.footer__links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.footer__col .mini {
  color: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
}

.footer__col a {
  display: block;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  padding: 5px 0;
  transition: color .2s;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__powered {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__powered span {
  font-size: 14px;
  letter-spacing: 0.5px;
}

.footer__powered-img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s var(--ease);
}

.footer__powered-img:hover {
  opacity: 1;
}

.footer__bottom a:hover {
  color: var(--gold);
}

@media (max-width:768px) {
  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
    gap: 24px;
  }
}

@media (max-width:480px) {
  .footer__links-grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── GSAP reveal helpers ──────────────────────────────────────── */
.reveal,
.stagger>* {
  opacity: 0;
  transform: translateY(28px);
}

/* Once GSAP fires, it removes these styles inline */

/* ── Inner page hero ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: clamp(380px, 45dvh, 500px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-xl)) clamp(20px, 8vw, 120px) var(--sp-xl);
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.6);
  transform: scale(1.1);
  /* Prevent blurred edges from leaking */
  z-index: 1;
  opacity: 0.85;
}

.page-hero * {
  position: relative;
  z-index: 2;
}

.page-hero .label {
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 700;
}

.page-hero h1 {
  max-width: 25ch;
  color: var(--white);
  font-style: normal;
}

.page-hero h1 em {
  font-style: italic;
  font-family: inherit;
  color: var(--gold-light);
}

.page-hero .lede {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  font-weight: 500;
}

/* ── Delivery sections ────────────────────────────────────────── */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

@media (max-width:600px) {
  .delivery-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contact form ────────────────────────────────────────────── */
/* Removing duplicate .contact-grid definition and media query as it is now moved to the global helpers section */

/* ── Products detail page ─────────────────────────────────────── */
.products-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

@media (max-width:768px) {
  .products-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Process Cards ────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.process-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--line);
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.08);
}

.process-card h3 {
  color: var(--forest);
  margin: 4px 0;
}

.process-card .mini {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .05em;
}

/* Carousel rounding (Already handled above) */

/* Mobile-only full-width carousel */
@media (max-width: 767px) {
  .section-carousel {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
  .section-carousel .carousel-fullwidth {
    border-radius: 0 !important;
  }
  .section-carousel .carousel__slide img {
    border-radius: 0 !important;
  }
}

@media (min-width: 768px) {
  .section-carousel {
    max-width: var(--container);
    margin-inline: auto;
  }
}

/* ── FAQ Accordion ────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  transition: border-color .3s;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--forest);
  font-size: 16px;
}

.faq-question .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  transition: transform .3s var(--ease);
}

.faq-question .icon::before,
.faq-question .icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-question .icon::before {
  width: 14px;
  height: 2px;
}

.faq-question .icon::after {
  width: 2px;
  height: 14px;
  transition: transform .3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}

.faq-answer__inner {
  padding: 0 24px 20px;
  color: var(--ink);
  line-height: 1.6;
}

/* Open state */
.faq-item.is-open {
  border-color: var(--gold);
}

.faq-item.is-open .faq-question .icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion:reduce) {

  .marquee__track,
  .scroll-hint__line,
  .logoBob,
  .wipe.is-enter,
  .wipe.is-leave {
    animation: none !important;
  }

  .card,
  .button,
  .nav__links a {
    transition: none !important;
  }

  .reveal,
  .stagger>* {
    opacity: 1;
    transform: none;
  }
}

/* ── Mini Cards (Products detail) ────────────────────────────── */
.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.mini-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 20px 16px; /* Reduced vertical padding */
  border-radius: var(--r-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s var(--ease), border-color .3s;
  height: auto; /* Allow height reduction */
  min-height: 0;
}

.mini-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mini-card .mini {
  margin-bottom: 0;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.mini-card h4 {
  font-family: "DM Serif Display", serif;
  font-weight: 700;
  font-size: 1.35rem; /* Larger and bold Playfair style */
  color: var(--forest);
  margin-top: 4px;
}

.mini-card p:not(.mini) {
  font-size: 13px;
  line-height: 1.5;
  color: var(--charcoal);
}

@media (max-width: 480px) {
  .mini-card-grid {
    gap: 12px;
  }

  .mini-card {
    padding: 20px 12px;
  }

  .mini-card p:not(.mini) {
    font-size: 12px;
  }
}