/* TribHills — From the Hills to Your Table */

:root {
  --color-bg: #f8fbf9;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-surface: #eef6f1;
  --color-bg-deep: #e2f0e8;
  --color-bg-canopy: #f0f7f3;
  --color-border: rgba(45, 120, 80, 0.12);
  --color-border-strong: rgba(45, 120, 80, 0.22);

  --color-text: #1a3d2a;
  --color-text-muted: #4a6b58;
  --color-text-subtle: #7a9588;

  --color-accent: #2d7a52;
  --color-accent-light: #4caf78;
  --color-accent-dark: #1e5c3a;
  --color-brown: #8b6914;
  --color-brown-light: #a67c3a;
  --color-gold: #2d7a52;
  --color-gold-soft: rgba(76, 175, 120, 0.12);
  --color-pepper: #3e2723;
  --color-forest: #1a3d2a;
  --color-mist: rgba(76, 175, 120, 0.08);
  --color-mist-strong: rgba(76, 175, 120, 0.14);
  --color-cream: #ffffff;
  --color-green-glow: rgba(76, 175, 120, 0.18);
  --color-green-soft: #e8f5ec;
  --color-green-mid: #d4edda;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 12px rgba(30, 80, 50, 0.08);
  --shadow-md: 0 8px 28px rgba(30, 80, 50, 0.1);
  --shadow-lg: 0 20px 48px rgba(30, 80, 50, 0.12);
  --shadow-glow: 0 0 40px rgba(76, 175, 120, 0.15);
  --shadow-gold: 0 4px 20px rgba(45, 122, 82, 0.12);

  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 80px;
  --container-max: 1200px;
  --container-narrow: 800px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(76, 175, 120, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 70%, rgba(200, 230, 210, 0.4), transparent 50%),
    radial-gradient(ellipse 40% 30% at 100% 40%, rgba(212, 237, 218, 0.35), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fbf9 40%, #f0f7f3 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* Typography */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { color: var(--color-text-muted); }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.section--canopy {
  background: linear-gradient(180deg, #f0f7f3 0%, #ffffff 100%);
}

.section--mist {
  background: linear-gradient(180deg, #e8f5ec 0%, #f8fbf9 50%, #ffffff 100%);
}

.section--glen {
  background: linear-gradient(180deg, #ffffff 0%, #eef6f1 50%, #f8fbf9 100%);
}

.section--canopy::before,
.section--mist::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--color-green-glow), transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

/* Navigation */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__logo-img {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.footer .nav__logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer .nav__logo-img {
  height: 110px;
  width: auto;
  max-width: 380px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 450;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}

.nav__link--active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.nav__cta {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-fast);
  border-radius: 1px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #2d7a52 0%, #3d9a68 50%, #2d7a52 100%);
  color: #ffffff;
  box-shadow: var(--shadow-sm), var(--shadow-gold);
  border: none;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  background: linear-gradient(135deg, #358f5f 0%, #4caf78 50%, #358f5f 100%);
}

.btn--outline {
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent-dark);
  background: rgba(255, 255, 255, 0.8);
}

.btn--outline:hover {
  border-color: var(--color-accent-dark);
  background: var(--color-green-soft);
}

.btn--upcoming {
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-subtle);
  background: var(--color-mist);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.8;
}

.btn--ghost {
  color: var(--color-accent);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}

.btn--ghost:hover {
  border-bottom-color: var(--color-accent);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 28, 22, 0.82) 0%, rgba(18, 34, 26, 0.55) 50%, rgba(15, 28, 22, 0.88) 100%),
    linear-gradient(90deg, rgba(15, 28, 22, 0.88) 0%, rgba(22, 42, 32, 0.4) 55%, rgba(15, 28, 22, 0.2) 100%),
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(90, 158, 114, 0.12), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
  max-width: 720px;
}

.hero .brand-tagline {
  color: #d4b86a;
}

.hero .brand-tagline::before {
  background: #d4b86a;
}

.hero__title {
  margin-bottom: var(--space-md);
  color: #f5f0e8;
}

.hero__title em {
  font-style: italic;
  color: #d4b86a;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  color: #d4b86a !important;
  margin-bottom: var(--space-sm);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(232, 240, 234, 0.88);
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.hero .btn--outline {
  border-color: rgba(212, 184, 106, 0.45);
  color: #f5f0e8;
  background: rgba(255, 255, 255, 0.06);
}

.hero .btn--outline:hover {
  border-color: #d4b86a;
  background: rgba(212, 184, 106, 0.12);
  color: #ffffff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(212, 184, 106, 0.2);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: #f5f0e8;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(184, 205, 192, 0.85);
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(184, 205, 192, 0.75);
  animation: float 2.5s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, #d4b86a, transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page Hero (inner pages) */

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-md);
  overflow: hidden;
}

.page-hero + .section {
  padding-top: var(--space-md);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 242, 0.85) 50%, var(--color-bg) 100%),
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(200, 230, 210, 0.3), transparent 70%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.page-hero__content h1 {
  margin-bottom: var(--space-sm);
}

/* Product Hero with full-visibility background image */
.product-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95; /* Show the product image clearly */
}

.product-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 33, 24, 0.9) 0%, rgba(15, 33, 24, 0.5) 60%, rgba(15, 33, 24, 0.1) 100%);
}

.product-hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.product-hero__content h1 {
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.product-hero__content .brand-tagline {
  color: #d4b86a;
}

.product-hero__content .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Product Gallery Row */
.product-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  margin-top: var(--space-md);
}

.product-gallery-row__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-gallery-row__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-gallery-row__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-gallery-row__item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .product-gallery-row {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .product-gallery-row__item {
    aspect-ratio: 16 / 9;
  }
}

/* Cards */

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-md);
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-sm);
}

.card__location svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

/* Grid */

.grid {
  display: grid;
  gap: var(--space-md);
}

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

/* Why Us / Features */

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

.feature {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.feature:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
}

/* Split layout */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.split__badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  color: var(--color-text-muted);
}

.split__badge strong {
  display: block;
  color: var(--color-accent-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* Timeline / Journey */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-border), transparent);
}

.timeline__item {
  position: relative;
  padding-left: 80px;
  padding-bottom: var(--space-xl);
}

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

.timeline__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-green-soft);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  z-index: 1;
}

.timeline__content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.timeline__image {
  aspect-ratio: 21/9;
  overflow: hidden;
}

.timeline__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline__body {
  padding: var(--space-md) var(--space-lg);
}

.timeline__body h3 {
  margin-bottom: var(--space-xs);
}

.timeline__body p {
  margin-bottom: var(--space-sm);
}

.timeline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.timeline__tag {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-green-soft);
  color: var(--color-accent-dark);
  border: 1px solid var(--color-border);
}

/* Journey steps (horizontal on desktop) */

.journey-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
  position: relative;
}

.journey-steps--5 {
  grid-template-columns: repeat(5, 1fr);
}

.journey-steps--7 {
  grid-template-columns: repeat(7, 1fr);
}

.journey-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--color-border-strong);
  z-index: 0;
}

.journey-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.journey-step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  border-radius: var(--radius-full);
  background: var(--color-bg-card);
  border: 2px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-accent);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.journey-step:hover .journey-step__num {
  border-color: var(--color-accent);
  background: var(--color-green-soft);
  box-shadow: var(--shadow-glow);
}

.journey-step h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Farmers */

.farmer-card {
  text-align: center;
}

.farmer-card .card__image {
  aspect-ratio: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.farmer-card .card__image img {
  object-fit: cover;
  object-position: center 25%;
  width: 100%;
  height: 100%;
}

.farmer-spotlight__photo img {
  object-position: center 20%;
}

.farmer-card .card__body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.farmer-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.farmer-card--more {
  border-style: dashed;
  border-color: var(--color-border);
  background: var(--color-bg);
}

.farmer-card__placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--color-green-soft) 0%, var(--color-bg-card) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px dashed var(--color-border);
}

.farmer-card__plus {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  border: 2px dashed var(--color-accent);
  color: var(--color-accent);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 68px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
}

.farmer-card__years {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text-subtle);
}

/* Buy / QR */

.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.product-showcase {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product-showcase::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(76, 175, 120, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.product-showcase__image {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: #f8fbf9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.12);
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.product-gallery {
  cursor: pointer;
}

.product-showcase__image.product-gallery:hover img,
.product-showcase__image.product-gallery:focus-within img {
  transform: scale(1.16);
}

.product-gallery img {
  display: block;
  min-width: 100%;
  min-height: 100%;
}

.card__image.product-gallery {
  aspect-ratio: 1;
  background: #f8fbf9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__image.product-gallery img {
  object-fit: cover;
  object-position: center center;
  min-width: 100%;
  min-height: 100%;
  transform: scale(1.1);
}

.card__image.product-gallery:hover img {
  transform: scale(1.14);
}

.product-showcase h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
}

.product-showcase__price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-sm);
}

.product-showcase__desc {
  font-size: 0.9rem;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-md);
}

.qr-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.qr-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.qr-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.qr-card__code {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-md);
  padding: var(--space-sm);
  background: #fff;
  border-radius: var(--radius-md);
}

.qr-card__code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-card h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.qr-card p {
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.platform-badge--amazon {
  background: rgba(255, 153, 0, 0.15);
  color: #c67600;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.platform-badge--flipkart {
  background: rgba(40, 116, 240, 0.12);
  color: #1a6fd4;
  border: 1px solid rgba(40, 116, 240, 0.25);
}

/* CTA Banner */

.cta-banner {
  background: linear-gradient(135deg, #e8f5ec 0%, #d4edda 40%, #c8e6d4 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2,
.cta-banner p {
  color: var(--color-text);
}

.cta-banner p {
  color: var(--color-text-muted);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76, 175, 120, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 230, 210, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner .btn--primary {
  background: linear-gradient(135deg, #2d7a52, #3d9a68);
  color: #ffffff;
}

.cta-banner .btn--primary:hover {
  background: linear-gradient(135deg, #358f5f, #4caf78);
  color: #ffffff;
}

.cta-banner__text h2 {
  margin-bottom: var(--space-xs);
}

.cta-banner__text p {
  max-width: 480px;
}

/* Footer */

.footer {
  background: linear-gradient(180deg, #f0f7f3 0%, #e8f5ec 100%);
  border-top: 1px solid var(--color-border);
  padding: var(--space-2xl) 0 var(--space-lg);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 175, 120, 0.35), rgba(45, 122, 82, 0.25), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand p {
  margin-top: var(--space-sm);
  max-width: 320px;
  font-size: 0.9rem;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.footer__links li {
  margin-bottom: var(--space-xs);
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-text-subtle);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-subtle);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-green-soft);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Decorative */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: var(--space-md) auto;
}

/* Mobile nav overlay */

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--space-3xl) var(--space-md) var(--space-xl);
  gap: var(--space-md);
  overflow-y: auto;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-text);
}

.nav__mobile-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.5rem;
  color: var(--color-text-muted);
  padding: var(--space-xs);
}

/* Responsive */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .journey-steps { grid-template-columns: repeat(3, 1fr); }
  .journey-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 3.5rem;
  }

  .nav__links { display: none; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: flex; }

  .split,
  .buy-grid,
  .grid--2,
  .grid--3,
  .features {
    grid-template-columns: 1fr;
  }

  .grid--4 { grid-template-columns: 1fr; }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer .nav__logo-img {
    height: 96px;
    max-width: 320px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .qr-section {
    grid-template-columns: 1fr;
  }

  .timeline::before { left: 20px; }
  .timeline__item { padding-left: 60px; }
  .timeline__marker { width: 44px; height: 44px; font-size: 1rem; }

  .hero__scroll { display: none; }
}

@media (min-width: 769px) {
  .nav__cta--mobile-only { display: none; }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .nav__links { gap: 0.65rem; }
  .nav__link { font-size: 0.76rem; }
  .nav__logo-img { height: 56px; max-width: 220px; }
}

/* Brand tagline */
.brand-tagline {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: var(--space-sm) 0;
  white-space: nowrap;
  max-width: none !important;
}

/* Trust indicators */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.trust-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.trust-item:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.trust-item__icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.trust-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
}

/* Blog cards */
.blog-card .card__body {
  padding: var(--space-lg);
}

.blog-card__date {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-xs);
}

.blog-card__excerpt {
  margin: var(--space-sm) 0 var(--space-md);
  font-size: 0.9rem;
}

/* Batch traceability */
.batch-detail {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.batch-detail__header {
  padding: var(--space-lg);
  background: linear-gradient(135deg, #e8f5ec 0%, #d4edda 100%);
  border-bottom: 1px solid var(--color-border);
}

.batch-detail__header h1 {
  font-size: 1.75rem;
  color: var(--color-accent-dark);
  margin-bottom: 4px;
}

.batch-detail__header p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.batch-detail__body {
  padding: var(--space-lg);
}

.batch-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-md);
}

.batch-row:last-child {
  border-bottom: none;
}

.batch-row__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  flex-shrink: 0;
}

.batch-row__value {
  text-align: right;
  color: var(--color-text);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.contact-list li {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2px;
}

.contact-list a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

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

/* Content prose */
.prose h2 {
  margin: var(--space-xl) 0 var(--space-sm);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: var(--space-md);
}

.prose blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-gold);
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-md);
  margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Product first scroll */
.product-first {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--color-green-soft);
  color: var(--color-accent-dark);
  border: 1px solid var(--color-border);
}

/* Farmer spotlight */
.farmer-spotlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.farmer-spotlight__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.farmer-spotlight__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.farmer-spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-sm) 0 var(--space-md);
}

.farmer-spotlight__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-accent-dark);
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-md);
  margin: var(--space-md) 0;
}

/* Batch strip */
.batch-strip {
  background: linear-gradient(135deg, #e8f5ec 0%, #f0f7f3 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.batch-strip__id {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent-dark);
  font-weight: 600;
}

.batch-strip__details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.batch-strip__details strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  font-weight: 600;
  margin-bottom: 2px;
}

/* Origin QR flow */
.origin-welcome {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

.origin-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.origin-flow__step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.origin-flow__step:hover,
.origin-flow__step--active {
  background: var(--color-green-soft);
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.origin-flow__num {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

@media (max-width: 768px) {
  .farmer-spotlight { grid-template-columns: 1fr; }
  .farmer-spotlight__photo { max-height: 320px; aspect-ratio: 4/3; }
  .batch-strip { flex-direction: column; text-align: center; }
  .batch-strip__details { justify-content: center; }
}

/* Narrative architecture */
.story-intent {
  background: var(--color-green-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

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

.story-intent__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.story-intent__text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.story-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin: var(--space-lg) 0;
}

.story-path__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.story-path__step:hover,
.story-path__step--active {
  background: var(--color-green-soft);
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.story-path__arrow {
  color: var(--color-text-subtle);
  font-size: 0.85rem;
}

.story-continue {
  text-align: center;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}

.story-continue__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-sm);
}

.journey-steps--6 {
  grid-template-columns: repeat(6, 1fr);
}

.premium-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: var(--space-xl) auto var(--space-2xl);
  padding: 0 var(--space-md);
}

.premium-timeline__line {
  position: absolute;
  top: 15px; /* Center with the 30px dots */
  left: var(--space-md);
  right: var(--space-md);
  height: 2px;
  background: var(--color-border-strong);
  z-index: 1;
}

.premium-timeline__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  flex: 1;
}

.premium-timeline__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 3px solid var(--color-accent);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-timeline__dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: all var(--transition-base);
}

.premium-timeline__step:hover .premium-timeline__dot {
  transform: scale(1.2);
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-glow);
}

.premium-timeline__step:hover .premium-timeline__dot::after {
  background: var(--color-accent-light);
}

.premium-timeline__label {
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: center;
  transition: color var(--transition-fast);
}

.premium-timeline__step:hover .premium-timeline__label {
  color: var(--color-text);
}

/* Active/Highlight for the last step (TribHills) */
.premium-timeline__step:last-child .premium-timeline__dot {
  border-color: var(--color-brown);
  background: var(--color-green-soft);
}
.premium-timeline__step:last-child .premium-timeline__dot::after {
  background: var(--color-brown);
}
.premium-timeline__step:last-child:hover .premium-timeline__dot {
  border-color: var(--color-brown-light);
}
.premium-timeline__step:last-child:hover .premium-timeline__dot::after {
  background: var(--color-brown-light);
}

/* Mobile responsive timeline (Vertical) */
@media (max-width: 768px) {
  .premium-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xl);
  }

  .premium-timeline__line {
    top: 15px;
    bottom: 15px;
    left: calc(var(--space-lg) + 14px); /* Center with dots on mobile */
    width: 2px;
    height: calc(100% - 30px);
    right: auto;
  }

  .premium-timeline__step {
    flex-direction: row;
    gap: var(--space-md);
    align-items: center;
    width: 100%;
    flex: none;
  }

  .premium-timeline__label {
    margin-top: 0;
    text-align: left;
    font-size: 0.95rem;
  }
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.community-stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.community-stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-accent-dark);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.community-stat__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.batch-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.batch-card {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.batch-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.batch-card__id {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-sm);
}

.batch-hero {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-xl);
  background: linear-gradient(180deg, var(--color-green-soft) 0%, transparent 100%);
}

.batch-hero__id {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-accent-dark);
  line-height: 1;
  margin: var(--space-sm) 0;
}

.batch-journey {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
}

.batch-journey__step {
  text-align: center;
  padding: var(--space-md) var(--space-xs);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.batch-journey__step strong {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.batch-journey__step span {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

.page-scaffold {
  padding: var(--space-xl) 0;
}

.page-scaffold__block {
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  background: var(--color-bg-card);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-style: italic;
}

.voice-card {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.voice-card blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.faq-item {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

@media (max-width: 1024px) {
  .journey-steps--6,
  .journey-steps--7,
  .batch-journey { grid-template-columns: repeat(3, 1fr); }
  .community-stats { grid-template-columns: repeat(2, 1fr); }
  .story-intent__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .journey-steps--6,
  .journey-steps--7,
  .batch-journey { grid-template-columns: repeat(2, 1fr); }
  .community-stats { grid-template-columns: 1fr; }
}

/* Lab Testing Page Styles */

.lab-selector-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  background: var(--color-bg-elevated);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.lab-selector-container label {
  font-weight: 500;
  color: var(--color-text-muted);
}

.lab-select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  background: var(--color-bg-elevated);
  color: var(--color-accent-dark);
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.lab-select:focus {
  box-shadow: 0 0 0 3px var(--color-green-glow);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

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

.lab-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lab-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.lab-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.lab-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text);
  font-weight: 500;
}

.lab-card__badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-green-soft);
  color: var(--color-accent-dark);
  letter-spacing: 0.05em;
}

.lab-card__value-container {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.lab-card__value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
}

.lab-card__unit {
  font-size: 1.1rem;
  color: var(--color-text-subtle);
  font-weight: 500;
}

.lab-card__compare {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: space-between;
}

.lab-card__progress-container {
  height: 6px;
  background: var(--color-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.lab-card__progress-bar {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  width: 0%;
  transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.lab-card__impact {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-bg-canopy);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
  margin-top: auto;
}

.lab-card__impact strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 2px;
}

/* Premium Certificate Replica Layout */
.cert-section {
  background: var(--color-bg-canopy);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  margin-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cert-section::before {
  content: "";
  position: absolute;
  inset: var(--space-sm);
  border: 1px solid var(--color-border-strong);
  border-radius: calc(var(--radius-lg) - var(--space-sm));
  pointer-events: none;
}

.cert-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.cert-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.cert-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  font-weight: 600;
}

.cert-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-lg);
}

@media (max-width: 640px) {
  .cert-details {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

.cert-detail-item {
  display: flex;
  flex-direction: column;
}

.cert-detail-item__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  margin-bottom: 4px;
}

.cert-detail-item__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.cert-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
}

.cert-table th, 
.cert-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.cert-table th {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  background: rgba(45, 120, 80, 0.05);
}

.cert-table td {
  font-size: 0.9rem;
  color: var(--color-text);
}

.cert-table tr:hover td {
  background: rgba(45, 120, 80, 0.02);
}

.cert-table__status {
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cert-table__status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--color-accent-light);
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: var(--space-xl);
}

@media (max-width: 640px) {
  .cert-footer {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    text-align: center;
  }
}

.cert-signatures {
  display: flex;
  gap: var(--space-xl);
}

.cert-signature-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-signature-img {
  height: 48px;
  width: auto;
  opacity: 0.75;
  margin-bottom: var(--space-xs);
}

.cert-signature-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  border-top: 1px solid var(--color-text-subtle);
  padding-top: 4px;
  min-width: 120px;
  text-align: center;
}

.cert-signature-title {
  font-size: 0.7rem;
  color: var(--color-text-subtle);
}

.cert-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.cert-seal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px dashed var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 8px;
  background: rgba(45, 120, 80, 0.03);
  animation: pulse-border 3s infinite;
}

@keyframes pulse-border {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.95; }
}

.cert-seal-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Premium Product Showcase Carousel & Zoom */
.product-showcase-container {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-zoom-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  max-height: 500px;
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease-out;
  transform-origin: center center;
}

/* Nav Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.carousel-nav:hover {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav.prev {
  left: var(--space-md);
}

.carousel-nav.next {
  right: var(--space-md);
}

/* Thumbnails */
.product-thumbnails {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.thumbnail-btn {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-fast);
  opacity: 0.7;
}

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-btn:hover {
  opacity: 0.9;
  border-color: var(--color-border-strong);
}

.thumbnail-btn.active {
  opacity: 1;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .product-zoom-container {
    aspect-ratio: 4/3;
  }
  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Products Grid View for products.html */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  flex: 0 0 calc(33.333% - (var(--space-md) * 2 / 3)); /* 3 cards on desktop */
  scroll-snap-align: start;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

@media (max-width: 1024px) {
  .product-card {
    flex: 0 0 calc(50% - (var(--space-md) / 2)); /* 2 cards on tablet */
  }
}

@media (max-width: 768px) {
  .product-card {
    flex: 0 0 85%; /* 1 full card + peek on mobile */
  }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface);
}

.product-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image-wrapper img {
  transform: scale(1.08);
}

.product-card__tag {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: rgba(26, 61, 42, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.product-card__content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  font-weight: 550;
}

.product-card__price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-sm);
}

.product-card__unit {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  font-weight: 400;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  flex-grow: 1;
  line-height: 1.5;
}

.product-card__meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.8rem;
  color: var(--color-text-subtle);
}

.product-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card .btn {
  width: 100%;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

