/* ==========================================================================
   VALAMAN GROWERS – PREMIUM VEGETABLE GARDENING STYLESHEET
   Botanical E-Commerce, 3D Physics Experience & Interactive Nursery Platform
   ========================================================================== */

:root {
  /* Botanical Palette */
  --forest: #132517;
  --forest-2: #1B3520;
  --forest-dark: #0D1910;
  --leaf: #77A943;
  --leaf-dark: #2F591B;
  --leaf-light: #9CE05A;
  --cream: #F8F6EC;
  --cream-2: #EFE9D7;
  --paper: #FCFAF2;
  --ink: #142116;
  --ink-2: #38463A;
  --mute: #6E7C70;
  --soil: #795438;
  --harvest: #D97724;
  --border: rgba(20, 33, 22, 0.12);
  --border-light: rgba(248, 246, 236, 0.15);

  /* Dimensions & Spacing */
  --g: clamp(16px, 5vw, 72px);
  --r: 22px;
  --r-sm: 14px;
  --r-pill: 9999px;

  /* Typography */
  --sans: "Plus Jakarta Sans", "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Easing */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

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

html {
  background: var(--cream);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

body.locked {
  overflow: hidden;
}

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

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

img, video, canvas {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--leaf);
  color: #fff;
}

/* Botanical Monospace Tag */
.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Main Layout & Canvas Layers */
main {
  position: relative;
  z-index: 2;
}

#ribbonCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   LOADER: BOTANICAL GERMINATION SCREEN
   ========================================================================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--g);
}

#loader .stack-seed {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.loader-glyph {
  width: 72px;
  height: 72px;
  position: relative;
}

.loader-glyph svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.8;
}

.loader-sprout-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--leaf);
  border-radius: 50%;
  top: 0;
  right: 0;
  box-shadow: 0 0 20px var(--leaf);
  animation: sproutPulse 1.8s infinite;
}

@keyframes sproutPulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.7; }
}

#loader .lcount {
  position: absolute;
  right: var(--g);
  bottom: 32px;
  font-family: var(--sans);
  font-size: clamp(80px, 13vw, 180px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
  display: flex;
  overflow: hidden;
  height: 1em;
}

#loader .lcount .dg {
  display: block;
  height: 1em;
  overflow: hidden;
  width: .6em;
  text-align: center;
}

#loader .lcount .dg i {
  display: block;
  font-style: normal;
  transition: transform .32s var(--ease);
  line-height: 1;
}

#loader .lnote {
  position: absolute;
  left: var(--g);
  bottom: 44px;
  color: rgba(248, 246, 236, 0.65);
}

#loader .lnote b {
  color: var(--leaf-light);
  font-weight: 600;
}

#loader .lwipe {
  position: absolute;
  inset: 0;
  background: var(--leaf);
  transform: scaleY(0);
  transform-origin: 50% 100%;
}

/* ==========================================================================
   FIXED CHROME & NAVIGATION HEADER
   ========================================================================== */
.chrome {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  height: 110px;
  padding: 34px var(--g) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  transition: color .4s, transform .7s var(--ease), background .4s;
}

.chrome.hid {
  transform: translateY(-130%);
}

.chrome > * {
  pointer-events: auto;
}

/* Wordmark & Circular Emblem */
.wm {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.03em;
  line-height: 1;
}

.emblem-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform .4s var(--ease), background .3s;
}

.wm:hover .emblem-icon {
  transform: rotate(20deg) scale(1.05);
  background: var(--leaf-dark);
}

.wm-text {
  display: flex;
  flex-direction: column;
}

.wm-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--forest);
}

.wm-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--leaf-dark);
  font-weight: 600;
}

/* Live Botanical Ticker */
.ticker {
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  height: 38px;
  padding: 0 16px;
  border-radius: 40px;
  background: rgba(252, 250, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(19, 37, 23, 0.05);
}

.ticker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  flex: none;
  box-shadow: 0 0 0 0 rgba(119, 169, 67, 0.6);
  animation: pulseGreen 2.2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(119, 169, 67, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(119, 169, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(119, 169, 67, 0); }
}

.ticker .tw {
  height: 18px;
  overflow: hidden;
  position: relative;
  width: 320px;
}

.ticker .tw span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--ink-2);
  transition: transform .8s var(--ease), opacity .8s;
}

/* Chrome CTA & Actions */
.cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.talk-btn {
  height: 44px;
  padding: 0 20px 0 16px;
  border-radius: var(--r-pill);
  background: var(--forest);
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform .5s var(--ease), background .3s;
  box-shadow: 0 4px 18px rgba(19, 37, 23, 0.15);
}

.talk-btn:hover {
  background: var(--leaf-dark);
  transform: translateY(-2px);
}

.talk-btn .wa-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.talk-btn .ar {
  display: inline-block;
  transition: transform .5s var(--ease);
}

.talk-btn:hover .ar {
  transform: translate(2px, -2px);
}

/* Menu Toggle Button */
.mbtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: background .3s, transform .6s var(--ease);
  box-shadow: 0 4px 14px rgba(19, 37, 23, 0.08);
}

.mbtn .g4 {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  gap: 4px;
  transition: transform .6s var(--ease);
}

.mbtn .g4 i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--forest);
  transition: transform .5s var(--ease), border-radius .5s;
}

.mbtn:hover .g4 i:nth-child(1) { transform: translate(-1px, -1px); }
.mbtn:hover .g4 i:nth-child(4) { transform: translate(1px, 1px); }

body.menu-open .mbtn .g4 {
  transform: rotate(45deg);
}

body.menu-open .mbtn .g4 i {
  border-radius: 50%;
  background: var(--leaf);
}

/* Popover Navigation Menu */
#menu {
  position: fixed;
  z-index: 49;
  top: 90px;
  right: var(--g);
  width: min(450px, calc(100vw - 2 * var(--g)));
  background: var(--paper);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 30px 80px -20px rgba(19, 37, 23, 0.3);
  border: 1px solid var(--border);
  transform-origin: 100% 0;
  transform: scale(.92) translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform .55s var(--ease), opacity .35s, visibility 0s .55s;
}

body.menu-open #menu {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform .55s var(--ease), opacity .25s, visibility 0s;
}

#menu .tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#menu .tile {
  position: relative;
  height: 130px;
  border-radius: 14px;
  background: var(--cream);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background .35s, color .35s;
}

#menu .tile b {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.03em;
  line-height: 1.1;
}

#menu .tile .mono {
  color: var(--mute);
  font-size: 11px;
}

#menu .tile:hover {
  background: var(--forest);
  color: var(--cream);
}

#menu .tile:hover .mono {
  color: var(--leaf-light);
}

#menu .contact-box {
  margin-top: 10px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--cream);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#menu .contact-box .phone-num {
  font-size: 19px;
  font-weight: 700;
  color: var(--leaf-light);
  letter-spacing: .02em;
}

/* ==========================================================================
   SCROLL PROGRESS GAUGE (Modern Web Guidance Compliant)
   ========================================================================== */
.gauge {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  color: var(--forest);
  transition: color .4s, opacity .4s;
  pointer-events: none;
}

.gauge .trk {
  width: 3px;
  height: 64px;
  background: rgba(19, 37, 23, 0.15);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.gauge .trk i {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--leaf);
  transform-origin: 50% 0;
  transform: scaleY(0);
}

/* ==========================================================================
   SECTION 1: HERO & 3D VEGETABLE PHYSICS STAGE
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  padding: 110px var(--g) 0;
}

.win {
  position: relative;
  height: calc(100% - 72px);
  border-radius: var(--r);
  background: var(--forest);
  overflow: hidden;
  transform-origin: 50% 40%;
  box-shadow: 0 20px 60px -15px rgba(19, 37, 23, 0.25);
}

.win canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

.win .still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .8s var(--ease);
}

.win.live .still {
  opacity: 0;
  pointer-events: none;
}

.win .corner-badge {
  position: absolute;
  left: 24px;
  top: 22px;
  color: rgba(248, 246, 236, 0.7);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.win .corner-badge b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  display: inline-block;
}

.win .hint {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.win .hint span {
  height: 32px;
  padding: 0 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  background: rgba(248, 246, 236, 0.12);
  color: rgba(248, 246, 236, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.win .hint span b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
  margin-right: 8px;
}

/* SVG Notch Cut-Away for Headline Tab */
.tab {
  position: absolute;
  left: var(--g);
  bottom: 72px;
  padding: 24px 34px 0 0;
  pointer-events: none;
  z-index: 3;
}

.tab h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(34px, 4.3vw, 68px);
  line-height: .96;
  letter-spacing: -.045em;
  color: var(--ink);
}

.tab h1 em {
  font-style: normal;
  color: var(--leaf-dark);
}

.tab .subtext {
  max-width: 440px;
  margin-top: 14px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.45;
  color: var(--ink-2);
}

.tab .hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  pointer-events: auto;
}

.btn-primary {
  height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--leaf-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform .4s var(--ease), background .3s;
  box-shadow: 0 6px 20px rgba(47, 89, 27, 0.25);
}

.btn-primary:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

.btn-secondary {
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--forest);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .4s var(--ease), background .3s, border-color .3s;
}

.btn-secondary:hover {
  border-color: var(--leaf);
  color: var(--leaf-dark);
  transform: translateY(-2px);
}

/* Bottom Meta Row under Window */
.hrow {
  position: absolute;
  left: var(--g);
  right: var(--g);
  bottom: 0;
  height: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid var(--border);
}

.hrow > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hrow > div:nth-child(2) { justify-content: center; }
.hrow > div:nth-child(3) { justify-content: center; }
.hrow > div:last-child { justify-content: flex-end; }

.hrow .sprout-icon {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--leaf);
}

.hrow .scroll-down {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hrow .scroll-down i {
  display: block;
  width: 10px;
  height: 14px;
  position: relative;
  overflow: hidden;
}

.hrow .scroll-down i::before {
  content: "↓";
  position: absolute;
  left: 0;
  top: 0;
  font-style: normal;
  animation: scrollDownBounce 1.6s var(--ease) infinite;
}

@keyframes scrollDownBounce {
  0% { transform: translateY(-100%); }
  50% { transform: none; }
  100% { transform: translateY(100%); }
}

/* Reveal Transitions */
.ln {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.ln > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
}

.in .ln > span {
  transform: none;
}

.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}

.in .fade, .fade.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   SECTION 2: OUR STORY & BOTANICAL RIBBON
   ========================================================================== */
.stmt {
  position: relative;
  padding: 22vh var(--g) 20vh;
}

.big-headline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(48px, 9vw, 136px);
  line-height: .98;
  letter-spacing: -.05em;
  color: var(--forest);
}

.big-headline .indent-line {
  padding-left: clamp(20px, 16vw, 240px);
  display: block;
}

.big-headline em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--leaf-dark);
  font-weight: 400;
}

.stmt-cols {
  display: grid;
  grid-template-columns: 48fr 52fr;
  margin-top: clamp(48px, 9vh, 100px);
  gap: 40px;
}

.stmt-txt {
  max-width: 620px;
}

.lead-p {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
}

.lead-p + .lead-p {
  margin-top: 1.2em;
}

/* Quality Pillars Row in Story */
.story-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--border);
}

.pillar-item .p-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--leaf-dark);
  flex-shrink: 0;
}

.pillar-item .p-text h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.pillar-item .p-text p {
  font-size: 12px;
  color: var(--mute);
  margin-top: 2px;
}

/* Floating Rider Card for Growth Ribbon */
.rider {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3;
  width: clamp(240px, 25vw, 360px);
  aspect-ratio: 16/11;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  box-shadow: 0 30px 60px -25px rgba(19, 37, 23, 0.45);
  background: #2a3d2e;
}

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

.rider .rl {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  font-size: 11px;
}

/* ==========================================================================
   SECTION 3: SHOP BY CATEGORY (The 4 Pillars from the Poster)
   ========================================================================== */
.categories-sec {
  position: relative;
  padding: 16vh var(--g) 16vh;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}

.sec-title {
  font-weight: 500;
  font-size: clamp(38px, 5.2vw, 76px);
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--forest);
}

.sec-title sup {
  font-family: var(--mono);
  font-size: 14px;
  vertical-align: top;
  color: var(--leaf-dark);
  margin-left: 8px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(19, 37, 23, 0.2);
  border-color: var(--leaf);
}

.cat-media {
  position: relative;
  aspect-ratio: 4/3.2;
  overflow: hidden;
  background: var(--cream-2);
}

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

.cat-card:hover .cat-media img {
  transform: scale(1.06);
}

.cat-num {
  position: absolute;
  top: 14px;
  left: 14px;
  height: 28px;
  padding: 0 10px;
  border-radius: 20px;
  background: rgba(252, 250, 242, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  font-size: 11px;
}

.cat-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  transform: scale(0) rotate(-45deg);
  transition: transform .5s var(--ease), background .3s;
}

.cat-card:hover .cat-chip {
  transform: scale(1) rotate(0);
  background: var(--leaf-dark);
}

.cat-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.cat-body h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--forest);
  line-height: 1.2;
}

.cat-body p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 8px;
  line-height: 1.45;
}

.cat-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cat-explore {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--leaf-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-explore i {
  display: inline-block;
  transition: transform .4s var(--ease);
}

.cat-card:hover .cat-explore i {
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION 4: POPULAR VEGETABLE COLLECTION (Grid / Index Switcher)
   ========================================================================== */
.work {
  position: relative;
  padding: 16vh var(--g) 16vh;
}

.whead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.whead .r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.whead .blurb {
  max-width: 320px;
  text-align: right;
  color: var(--ink-2);
  line-height: 1.5;
}

/* Toggle Switch */
.tog {
  display: flex;
  background: var(--paper);
  border-radius: 44px;
  padding: 4px;
  position: relative;
  border: 1px solid var(--border);
}

.tog button {
  position: relative;
  z-index: 1;
  height: 38px;
  padding: 0 20px;
  border-radius: 38px;
  font-size: 13px;
  font-weight: 600;
  transition: color .4s;
}

.tog button.on {
  color: var(--paper);
}

.tog .kn {
  position: absolute;
  top: 4px;
  left: 4px;
  height: 38px;
  border-radius: 38px;
  background: var(--forest);
  transition: transform .55s var(--ease), width .55s var(--ease);
}

/* Staggered 12-Column Grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 30px;
  row-gap: 80px;
  align-items: start;
}

.prod-grid .pc {
  grid-column: span 7;
}

.prod-grid .pc:nth-child(4n+2),
.prod-grid .pc:nth-child(4n+3) {
  grid-column: span 5;
  margin-top: 80px;
}

.prod-grid .pc:nth-child(4n+2) .im,
.prod-grid .pc:nth-child(4n+3) .im {
  aspect-ratio: 5/5.5;
}

.pc {
  display: block;
  position: relative;
}

.pc .im {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-2);
  box-shadow: 0 14px 40px -15px rgba(19, 37, 23, 0.15);
  clip-path: inset(12% 0 0 0 round var(--r));
  transition: clip-path 1.3s var(--ease);
}

.pc.in .im {
  clip-path: inset(0 0 0 0 round var(--r));
}

.pc.wide .im {
  aspect-ratio: 16/11;
}

.pc .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}

.pc:hover .im img {
  transform: scale(1.02);
}

.pc .chip {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--leaf-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  transform: scale(0) rotate(-45deg);
  transition: transform .55s var(--ease);
}

.pc:hover .chip {
  transform: none;
}

.pc .idx {
  position: absolute;
  left: 18px;
  top: 18px;
  height: 30px;
  padding: 0 12px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  background: rgba(252, 250, 242, 0.92);
  backdrop-filter: blur(8px);
}

.pc .tags {
  margin-top: 20px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
}

.pc h3 {
  margin-top: 6px;
  font-weight: 500;
  font-size: clamp(26px, 2.7vw, 40px);
  letter-spacing: -.04em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--forest);
  transition: gap .5s var(--ease);
}

.pc h3 .ar {
  display: inline-block;
  width: 0;
  overflow: hidden;
  color: var(--leaf-dark);
  transition: width .5s var(--ease);
}

.pc:hover h3 .ar {
  width: .9em;
}

.pc .desc-line {
  margin-top: 8px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.4;
}

.pc .card-action {
  margin-top: 14px;
}

.wa-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 38px;
  background: var(--paper);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  transition: background .3s, color .3s, border-color .3s;
}

.pc:hover .wa-card-btn {
  background: var(--leaf-dark);
  color: #fff;
  border-color: var(--leaf-dark);
}

/* Index View (Ruled List) */
.index {
  display: none;
  border-top: 1px solid var(--border);
}

.work.list .prod-grid {
  display: none;
}

.work.list .index {
  display: block;
}

.irow {
  display: grid;
  grid-template-columns: 80px 1.6fr 1fr 140px;
  align-items: center;
  height: 94px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: color .3s;
  padding: 0 16px;
}

.irow b {
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 36px);
  letter-spacing: -.04em;
  color: var(--forest);
  transition: transform .6s var(--ease), color .3s;
}

.irow .mono:last-child {
  text-align: right;
  color: var(--leaf-dark);
  font-weight: 600;
}

.irow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -1px;
  background: var(--forest);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .5s var(--ease);
  z-index: -1;
  border-radius: 10px;
}

.irow:hover {
  color: var(--paper);
}

.irow:hover b {
  transform: translateX(14px);
  color: var(--paper);
}

.irow:hover .mono:last-child {
  color: var(--leaf-light);
}

.irow:hover::before {
  transform: none;
}

/* Cursor-Following Peek Card */
.peek {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .3s, transform .5s var(--ease);
  box-shadow: 0 25px 60px -15px rgba(19, 37, 23, 0.4);
}

.peek.on {
  opacity: 1;
  transform: scale(1);
}

.peek img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SECTION 5: GROW YOUR OWN KITCHEN GARDEN (4-Stage Visual Journey)
   ========================================================================== */
.journey-sec {
  position: relative;
  padding: 20vh var(--g) 20vh;
  background: var(--forest);
  color: var(--cream);
  border-radius: calc(var(--r) * 1.5);
  margin: 0 calc(var(--g) * 0.5);
  overflow: hidden;
}

.journey-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.journey-header h2 {
  font-size: clamp(38px, 5.4vw, 84px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .98;
}

.journey-header h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--leaf-light);
}

.journey-header p {
  margin-top: 16px;
  font-size: clamp(16px, 1.2vw, 19px);
  color: rgba(248, 246, 236, 0.75);
}

/* Stage Scrubber Controls */
.journey-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.j-tab {
  height: 46px;
  padding: 0 22px;
  border-radius: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  font-weight: 600;
  transition: background .3s, color .3s, border-color .3s;
}

.j-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.j-tab.active {
  background: var(--leaf);
  color: var(--forest-dark);
  border-color: var(--leaf);
}

/* Journey Interactive Showcase Card */
.journey-card {
  display: grid;
  grid-template-columns: 55fr 45fr;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  overflow: hidden;
  backdrop-filter: blur(16px);
  min-height: 480px;
}

.journey-media {
  position: relative;
  overflow: hidden;
}

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

.journey-content {
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--leaf-light);
  letter-spacing: .08em;
}

.journey-content h3 {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
  letter-spacing: -.03em;
  margin-top: 14px;
  line-height: 1.1;
}

.journey-content p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(248, 246, 236, 0.8);
}

.stage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item h5 {
  font-size: 11px;
  color: rgba(248, 246, 236, 0.55);
}

.stat-item span {
  font-size: 18px;
  font-weight: 700;
  color: var(--leaf-light);
  margin-top: 4px;
  display: block;
}

/* ==========================================================================
   SECTION 6: WHY CHOOSE VALAMAN GROWERS? (4 Quality Pillars)
   ========================================================================== */
.why-sec {
  position: relative;
  padding: 20vh var(--g) 18vh;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.why-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -15px rgba(19, 37, 23, 0.12);
  border-color: var(--leaf);
}

.why-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--leaf-dark);
  margin-bottom: 24px;
  transition: background .4s, color .4s, transform .4s var(--ease);
}

.why-card:hover .why-badge {
  background: var(--leaf-dark);
  color: #fff;
  transform: scale(1.08);
}

.why-card h4 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--forest);
  line-height: 1.25;
}

.why-card p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 7: FROM OUR NURSERY (Visual Gallery & Lightbox)
   ========================================================================== */
.gallery-sec {
  position: relative;
  padding: 18vh var(--g) 16vh;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.gal-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--cream-2);
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(19, 37, 23, 0.12);
}

.gal-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.gal-item:nth-child(2) { grid-column: span 5; aspect-ratio: 5/5.5; }
.gal-item:nth-child(3) { grid-column: span 4; aspect-ratio: 4/4; }
.gal-item:nth-child(4) { grid-column: span 4; aspect-ratio: 4/4; }
.gal-item:nth-child(5) { grid-column: span 4; aspect-ratio: 4/4; }

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

.gal-item:hover img {
  transform: scale(1.05);
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19, 37, 23, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  opacity: 0;
  transition: opacity .4s;
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

.gal-overlay span {
  font-size: 16px;
  font-weight: 600;
}

/* Fullscreen Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 25, 16, 0.95);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility 0s .4s;
}

#lightbox.on {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility 0s;
}

#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

#lightbox .close-btn {
  position: absolute;
  right: var(--g);
  top: 36px;
  height: 44px;
  padding: 0 20px;
  border-radius: 44px;
  background: var(--paper);
  color: var(--forest);
  font-weight: 600;
  font-size: 14px;
}

/* ==========================================================================
   SECTION 8: VISIT OUR NURSERY (Melnagai, Thanjavur District)
   ========================================================================== */
.visit-sec {
  position: relative;
  padding: 16vh var(--g) 18vh;
}

.visit-card {
  display: grid;
  grid-template-columns: 50fr 50fr;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 1.4);
  overflow: hidden;
  box-shadow: 0 25px 60px -20px rgba(19, 37, 23, 0.15);
}

.visit-info {
  padding: clamp(36px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visit-info h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--forest);
  line-height: 1.05;
}

.location-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loc-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.loc-row .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--leaf-dark);
  flex-shrink: 0;
}

.loc-row h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--forest);
}

.loc-row p {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 2px;
}

.visit-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Map Simulation / Visual */
.visit-map {
  position: relative;
  min-height: 400px;
  background: #E8ECE6;
  overflow: hidden;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  background: #E5E9E1 url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23d0d8cb' fill-opacity='0.4'/%3E%3C/svg%3E");
  display: grid;
  place-items: center;
  padding: 30px;
}

.map-pin-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(19, 37, 23, 0.2);
  text-align: center;
  max-width: 320px;
  position: relative;
}

.map-pin-pulse {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--leaf-dark);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 0 rgba(47, 89, 27, 0.6);
  animation: pulseGreen 2.2s infinite;
}

.map-pin-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--forest);
}

.map-pin-card p {
  font-size: 13px;
  color: var(--mute);
  margin-top: 6px;
}

/* ==========================================================================
   SECTION 9: CONTACT & ROLLING LETTER FOOTER
   ========================================================================== */
.foot {
  position: relative;
  z-index: 3;
  background: var(--forest);
  color: var(--cream);
  padding: 120px var(--g) 40px;
  border-top-left-radius: calc(var(--r) * 1.5);
  border-top-right-radius: calc(var(--r) * 1.5);
  overflow: hidden;
}

.foot-enquiry-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: clamp(30px, 5vw, 60px);
  margin-bottom: 90px;
}

.foot-enquiry-box h3 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  letter-spacing: -.03em;
}

.foot-enquiry-box p {
  color: rgba(248, 246, 236, 0.7);
  margin-top: 8px;
  font-size: 15px;
}

.enquiry-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.chip-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  cursor: pointer;
  transition: all .3s;
}

.chip-btn.selected {
  background: var(--leaf);
  color: var(--forest-dark);
  border-color: var(--leaf);
  font-weight: 600;
}

.enquiry-input-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  max-width: 600px;
}

.enquiry-input-row input {
  flex: 1;
  height: 50px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 22px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.enquiry-input-row input::placeholder {
  color: rgba(248, 246, 236, 0.45);
}

.enquiry-input-row input:focus {
  border-color: var(--leaf);
}

/* Rolling Letter Typography */
.lets {
  display: block;
  margin-top: 28px;
  font-weight: 600;
  font-size: clamp(48px, 11vw, 160px);
  letter-spacing: -.055em;
  line-height: .92;
  white-space: nowrap;
  color: var(--leaf-light);
  cursor: pointer;
}

.lets .ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  height: .98em;
}

.lets .ch > span {
  display: block;
  transition: transform .7s var(--ease);
}

.lets .ch > span::after {
  content: attr(data-c);
  display: block;
  color: #fff;
}

.lets:hover .ch > span {
  transform: translateY(-50%);
}

.lets .ch.sp {
  width: .26em;
}

/* Footer Grid */
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fgrid h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--leaf-light);
  margin-bottom: 18px;
}

.fgrid p, .fgrid a {
  display: block;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(248, 246, 236, 0.8);
  transition: color .3s;
}

.fgrid a:hover {
  color: var(--leaf-light);
}

.fbase {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(248, 246, 236, 0.55);
}

.fbase a {
  color: var(--leaf-light);
}

/* ==========================================================================
   FALLBACKS & RESPONSIVE BREAKPOINTS
   ========================================================================== */
.nogl .win canvas {
  display: none;
}

.nogl .win .still {
  opacity: 1 !important;
}

@media (max-width: 1024px) {
  .ticker { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --r: 16px; }
  .chrome { padding-top: 20px; height: 84px; }
  .talk-btn { display: none; }
  #menu { top: 76px; }
  .hero { padding-top: 84px; height: 100svh; min-height: 560px; }
  .win { height: calc(100% - 64px); }
  .tab { bottom: 64px; padding: 18px 18px 0 0; }
  .tab h1 { font-size: 32px; }
  .hrow { grid-template-columns: 1fr; height: 64px; }
  .hrow > div:nth-child(2), .hrow > div:nth-child(3), .hrow > div:nth-child(4) { display: none; }
  .stmt { padding-top: 14vh; }
  .big-headline .indent-line { padding-left: 0; }
  .stmt-cols { grid-template-columns: 1fr; }
  .story-pillars { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; row-gap: 50px; }
  .prod-grid .pc:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .whead { flex-direction: column; align-items: flex-start; }
  .whead .r { align-items: flex-start; }
  .whead .blurb { text-align: left; }
  .journey-card { grid-template-columns: 1fr; }
  .journey-media { min-height: 280px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gal-item:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4/3; }
  .visit-card { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .enquiry-input-row { flex-direction: column; }
  .lets { font-size: clamp(38px, 12vw, 72px); }
}

@media (prefers-reduced-motion: reduce) {
  .ln > span, .fade {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
