/* ==========================================================================
   FRUTVERA BRAND DESIGN SYSTEM & HERO SECTION (FROM SCRATCH)
   ========================================================================== */

/* --- 1. COLOR TOKENS & SYSTEM VARIABLES --- */
:root {
  /* Brand Palette (Extracted directly from logo & brand assets) */
  --color-forest: #16351A;       /* Primary dark green from wordmark */
  --color-olive: #47773B;        /* Secondary green from leaf dots */
  --color-orange: #FBA818;       /* Accent orange from drop splash */
  --color-cream: #FAF3E0;        /* Warm rich cream background */
  --color-card-cream: #F4EEDD;   /* Comfortable warm cream card background */
  --color-forest-dark: #112914;  /* Near-black green (~20% black mix) */
  --color-surface-subtle: #FDFBF5; /* Globally synced subtle light cream */
  --color-white: #FFFFFF;        /* Pure white (used sparingly) */

  /* Layout & Spacing */
  --nav-height-desktop: 76px;
  --nav-height-mobile: 64px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', 'Playfair Display', cursive, serif;

  /* Motion & Transitions */
  --transition-fast: 200ms ease;
  --transition-normal: 300ms ease;
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- 2. GLOBAL RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Firefox Custom Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-olive) var(--color-cream);
  /* Scroll Performance: prevent bounce/overscroll chaining that causes jank */
  overscroll-behavior: none;
}

/* --- CUSTOM SLEEK BRAND SCROLLBAR (WEBKIT) --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(250, 243, 224, 0.6);
  border-left: 1px solid rgba(22, 53, 26, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-olive) 0%, var(--color-forest) 100%);
  border-radius: 999px;
  border: 2px solid rgba(250, 243, 224, 0.8);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-orange) 0%, var(--color-olive) 100%);
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-forest);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  /* Scroll Performance: tell mobile browser only vertical panning needed —
     eliminates touch gesture disambiguation delay (~300ms saved per touch) */
  touch-action: pan-y;
  /* Prevent pull-to-refresh and scroll chaining jank on mobile browsers */
  overscroll-behavior: none;
}

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

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

/* --- 3. MOTION TOGGLE OVERRIDES (GLOBAL RESPECT FOR .motion-off) --- */
.motion-off *,
.motion-off *::before,
.motion-off *::after {
  animation: none !important;
  transition: none !important;
}

.motion-off .blob,
.motion-off .bottle,
.motion-off .scroll-indicator-arrow {
  transform: none !important;
}

/* --- 3b. MOBILE SCROLL PERFORMANCE: Pause bottle/shadow animations during scroll gesture ---
   JS adds .scroll-paused to #bottles-wrap on mobile while scrolling, removes it 200ms after stop.
   Eliminates 6 concurrent animation updates competing with scroll compositing on mobile GPU. */
@media (max-width: 767px) {
  .scroll-paused .bottle,
  .scroll-paused .bottle-shadow {
    animation-play-state: paused;
  }
}


.motion-off .card:hover,
.motion-off .btn-primary:hover {
  transform: none !important;
}

/* --- 3b. LOW-POWER MODE: Reduces secondary animation complexity on weak devices ---
   Applied automatically by JS when deviceMemory < 4 or connection is 2g/3g.
   Hero bottles and text reveals remain IDENTICAL — only background blob drift slows.
   No visual difference on any normal device. */
.low-power .blob {
  animation-duration: 30s !important;
}
.low-power .drift-drop {
  animation-duration: 12s !important;
}
.low-power .wave-front {
  animation-duration: 28s !important;
}
.low-power .wave-back {
  animation-duration: 44s !important;
}

/* --- 3c. CONTAIN DECLARATIONS: Isolate paint regions for compositor efficiency --- */
.blob-container {
  contain: layout style paint;
}
.hero-stage {
  contain: layout style;
  /* Promotes entire bottle stage as one GPU compositor layer.
     Browser caches it as a texture — no repainting during scroll. */
  will-change: transform;
}
.benefit-strip-grid {
  contain: layout style;
}


/* --- 4. BUTTON SYSTEM (Tactile 3D Rounded-Rect Box CTA Component) --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 14px; /* Large rounded-rect shape (Take A Recess 3D style) */
  background-color: var(--color-surface-subtle); /* Subtle Cream face */
  color: var(--color-forest); /* Deep forest green text */
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--color-forest);
  box-shadow: 0 5px 0 var(--color-forest); /* Tactile 3D box offset shadow */
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  user-select: none;
}

.btn-primary:hover {
  transform: translateY(-2px); /* Lifts on hover */
  box-shadow: 0 7px 0 var(--color-forest); /* 3D depth grows */
  background-color: var(--color-surface-subtle);
}

.btn-primary:active {
  transform: translateY(3px); /* 3D press effect */
  box-shadow: 0 2px 0 var(--color-forest);
}

/* --- 5. CARD SYSTEM (Base reusable card styles for sitewide design) --- */
.card {
  background-color: var(--color-surface-subtle);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(22, 53, 26, 0.08);
  transition: transform 280ms ease, box-shadow 280ms ease;
  border: 1px solid rgba(22, 53, 26, 0.06);
}

.card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 12px 28px rgba(22, 53, 26, 0.14);
}

/* --- 6. STICKY NAVIGATION BAR WITH REVEAL ANIMATION & TYPOGRAPHY EFFECTS --- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height-desktop);
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal);
  animation: navSlideDown 550ms cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes navSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-nav.scrolled {
  background-color: var(--color-surface-subtle);
  box-shadow: 0 4px 20px rgba(22, 53, 26, 0.08);
}

.nav-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 20; /* Ensures logo and nav links sit strictly above the wave divider */
}

.logo-link {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 21;
}

.nav-logo {
  height: 48px; /* Enlarged to match right side navigation elements & CTA height */
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* Removes white background cleanly */
  /* Bold filter: gives logo the same visual weight as the font-weight:700 nav links */
  filter: contrast(1.25) saturate(1.15) brightness(0.88);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo-link:hover .nav-logo {
  transform: scale(1.05);
  /* Preserve bold filter + add ambient green glow on hover */
  filter: contrast(1.25) saturate(1.15) brightness(0.88) drop-shadow(0 2px 8px rgba(71, 119, 59, 0.30));
}

/* Desktop Navigation Links - Refined Typography & Animated Underline */
.main-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-anchor {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-forest);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-anchor::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-olive);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-anchor:hover {
  color: var(--color-olive);
}

.nav-anchor:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Navigation Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 1002;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--color-forest);
  border-radius: 4px;
  transition: transform 300ms ease, opacity 300ms ease;
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Premium Glassmorphic Fullscreen Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 184, 123, 0.95) 0%, rgba(79, 150, 67, 0.95) 100%); /* Matching brand green canvas */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999; /* Below header-nav so hamburger toggle remains fully clickable */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.98);
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-sans);
  /* 10% Less Green Canvas Background */
  background: linear-gradient(135deg, #8EC18B 0%, #5BA44F 45%, #88A57F 100%);
  background-attachment: fixed;
  color: var(--color-forest);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.mobile-menu-overlay .nav-anchor {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #122D16; /* Deep forest green for high contrast legibility */
  text-shadow: 0 2px 10px rgba(10, 28, 12, 0.15);
  transition: transform 300ms ease, color 300ms ease;
}

.mobile-menu-overlay .nav-anchor:hover {
  color: var(--color-olive);
  transform: scale(1.05);
}

/* --- 7. HERO SECTION & COOL LUSH FOREST BACKGROUND VISUALS --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 580px;
  max-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height-desktop) + 10px);
  padding-bottom: 30px;
  box-sizing: border-box;
  contain: layout style;
  background: transparent;
  overflow: hidden;
}



/* Zero-Lag Radial Gradient Blobs (No GPU Filter Blurs Required) */
.blob-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(0);
}

/* About Zero-Lag Radial Gradient Blobs */
.blob-aloe-about-1 {
  width: clamp(260px, 30vw, 460px);
  height: clamp(180px, 20vw, 300px);
  top: 10%;
  right: -6%;
  background: radial-gradient(ellipse at center, rgba(71, 119, 59, 0.26) 0%, rgba(71, 119, 59, 0) 70%);
  animation: blobDrift1 13s ease-in-out infinite alternate;
}

.blob-drop-about-1 {
  width: clamp(240px, 26vw, 400px);
  height: clamp(240px, 26vw, 400px);
  top: 45%;
  left: -4%;
  background: radial-gradient(circle at center, rgba(251, 168, 24, 0.25) 0%, rgba(251, 168, 24, 0) 70%);
  animation: blobDrift2 11s ease-in-out infinite alternate;
}

.blob-aloe-about-2 {
  width: clamp(240px, 28vw, 420px);
  height: clamp(160px, 18vw, 280px);
  bottom: 8%;
  right: 20%;
  background: radial-gradient(ellipse at center, rgba(22, 53, 26, 0.24) 0%, rgba(22, 53, 26, 0) 70%);
  animation: blobDrift3 15s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(18px) rotate(5deg); }
}

@keyframes blobDrift2 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(22px) rotate(-6deg); }
}

@keyframes blobDrift3 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(4deg); }
}

/* Scattered Botanical Illustration Overlay (Hero Section Only with Soft Diffused Fade Out) */
.hero-botanical-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* Behind text and bottles */
  opacity: 0.25; /* Increased by 5% to 25% opacity texture */
  background-image: url('../assets/botanical_overlay_aloe_tropical_transparent.png');
  background-size: 600px auto;
  background-position: center;
  background-repeat: repeat;
  /* Smooth mask gradient to diffuse and fade out leaves into About section without any sharp lines */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  /* GPU compositor layer — texture cached separately, not repainted during scroll */
  transform: translateZ(0);
}


/* --- REBUILT PROPORTIONAL SVG TOP WAVE DIVIDER --- */
.hero-top-wave-divider {
  position: absolute;
  top: 0; /* DESKTOP: original value — wave sits behind transparent nav naturally */
  left: 0;
  width: 100%;
  height: clamp(65px, 8vw, 115px);
  overflow: hidden;
  pointer-events: none;
  z-index: 2; /* Sit behind nav content (z-index 1000) and hero text (z-index 5) */
}

.hero-wave-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  will-change: transform;
  transform: translateZ(0);
  animation: heroWaveScroll 16s linear infinite; /* 20% faster waving motion */
}

@keyframes heroWaveScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Content Container */
.hero-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 80px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  position: relative;
  z-index: 5;
}

/* Hero Text Block */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Recess-Style Brand Badge Chip */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: var(--color-surface-subtle);
  border: 1.5px solid rgba(22, 53, 26, 0.18);
  color: #0F2813;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: 0 6px 18px rgba(16, 42, 20, 0.20), 0 2px 6px rgba(35, 75, 40, 0.10);
}

.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-olive);
  display: inline-block;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(5px);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.7rem, 4.86vw, 5.4rem); /* Reduced by 10% */
  font-weight: 800;
  line-height: 1.1;
  color: #122D16; /* Deep forest green */
  margin-bottom: 30px;
  letter-spacing: -0.035em;
  /* Strong high-contrast shadow for low screen brightness legibility */
  text-shadow: 0 2px 14px rgba(10, 28, 12, 0.20), 0 1px 3px rgba(10, 28, 12, 0.12);
}

.hero-title .highlight-olive {
  color: #2D5824; /* Richer, darker olive green for 100% legibility */
  font-weight: 800;
  display: inline-block;
  position: relative;
  text-shadow: 0 1px 12px rgba(10, 28, 12, 0.18);
}

.hero-title .highlight-olive::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(22, 53, 26, 0.45);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(22, 53, 26, 0.30);
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: #0E2A12; /* Deep forest charcoal for 100% legibility */
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(10, 28, 12, 0.10);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0px;
}

/* Hero Trust & Wellness Feature Chips */
.hero-trust-chips {
  display: flex;
  gap: 16px;
  margin-top: 45px;
  flex-wrap: wrap;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background-color: rgba(22, 53, 26, 0.04);
  border: 1px solid rgba(22, 53, 26, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-forest);
}

.trust-chip:hover {
  background-color: var(--color-surface-subtle);
}

.chip-icon {
  font-size: 0.82rem;
}

/* --- 8. LARGER & PROMINENT FLOATING BOTTLE VISUAL STAGE --- */
.hero-stage {
  position: relative;
  height: clamp(360px, 38vw, 520px); /* Stage height — capped at original 520px design height */
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-10%); /* Shifted 10% to the left on desktop */
}

/* Glowing Ambient Aura Disk behind bottles */
.hero-glow-disk {
  position: absolute;
  width: clamp(280px, 30vw, 500px);
  height: clamp(280px, 30vw, 500px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(201, 226, 197, 0.45) 60%, rgba(243, 248, 242, 0) 100%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}

/* Ultra-Luxury All-Fruit Liquid Splash Stage Backdrop */
.hero-splash-wrap {
  position: absolute;
  width: clamp(340px, 40vw, 640px);
  height: clamp(340px, 40vw, 640px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}

.hero-fruit-splash-stage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 15px 35px rgba(22, 53, 26, 0.25)) contrast(1.05);
  animation: heroFruitPulse 7s ease-in-out infinite alternate;
}

@keyframes heroFruitPulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.04) rotate(1.5deg);
  }
  100% {
    transform: scale(0.98) rotate(-1.5deg);
  }
}

.motion-off .hero-fruit-splash-stage {
  animation: none !important;
}



/* Sparse Drifting Drops surrounding bottles */
.hero-drift-drops {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.drift-drop {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.52;
  animation: floatDrop 6s ease-in-out infinite;
}

.drift-drop.drop-1 {
  width: 16px;
  height: 18px;
  background-color: var(--color-orange);
  top: 25%;
  left: 20%;
  animation-delay: 0s;
}

.drift-drop.drop-2 {
  width: 18px;
  height: 20px;
  background-color: var(--color-olive);
  top: 35%;
  right: 18%;
  animation-delay: 1.5s;
  animation-duration: 7s;
}

.drift-drop.drop-3 {
  width: 14px;
  height: 16px;
  background-color: var(--color-olive);
  bottom: 28%;
  left: 22%;
  animation-delay: 3s;
  animation-duration: 5s;
}

.drift-drop.drop-4 {
  width: 20px;
  height: 22px;
  background-color: var(--color-orange);
  bottom: 22%;
  right: 24%;
  animation-delay: 4.5s;
  animation-duration: 8s;
}

@keyframes floatDrop {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.48;
  }
  50% {
    transform: translateY(-12px);
    opacity: 0.60;
  }
}

/* Freeze motion when reduced motion is preferred */
.motion-off .drift-drop {
  animation: none !important;
  transform: translateY(-6px) !important;
  opacity: 0.52 !important;
}

.bottles-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  perspective: 1000px;
}

/* Realistic Ground Contact Floor Shadows */
.bottle-shadow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(14, 35, 17, 0.42) 0%, rgba(22, 53, 26, 0.15) 55%, transparent 80%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  transition: transform 300ms ease, opacity 300ms ease;
}

.bottle-shadow.shadow-front {
  width: clamp(120px, 14vw, 170px);
  height: 28px;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  animation: shadowPulseFront 5.2s ease-in-out infinite alternate;
}

.bottle-shadow.shadow-left {
  width: clamp(90px, 11vw, 130px);
  height: 22px;
  bottom: 50px;
  left: 45px;
  animation: shadowPulseLeft 6.2s ease-in-out 1.2s infinite alternate;
}

.bottle-shadow.shadow-right {
  width: clamp(90px, 11vw, 130px);
  height: 22px;
  bottom: 50px;
  right: 45px;
  animation: shadowPulseRight 5.8s ease-in-out 0.6s infinite alternate;
}

@keyframes shadowPulseFront {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.95;
  }
  100% {
    transform: translateX(-50%) scale(0.82);
    opacity: 0.55;
  }
}

@keyframes shadowPulseLeft {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(0.85);
    opacity: 0.5;
  }
}

@keyframes shadowPulseRight {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(0.85);
    opacity: 0.5;
  }
}

.bottle {
  position: absolute;
  height: auto;
  object-fit: contain;
  user-select: none;
  transition: transform 300ms ease, filter 300ms ease;
  transform-style: preserve-3d;
}

/* Main Front Bottle (Center - Kiwi) */
.bottle-front {
  height: clamp(320px, 35vw, 500px);
  width: auto;
  z-index: 3;
  top: 20px;
  filter: 
    drop-shadow(0 14px 28px rgba(14, 35, 17, 0.28)) 
    drop-shadow(0 32px 55px rgba(22, 53, 26, 0.22))
    brightness(1.03) contrast(1.04);
  animation: floatBottleFront 5.2s ease-in-out infinite alternate;
}

/* Left Back Bottle (Litchi) */
.bottle-back-left {
  height: clamp(260px, 28vw, 400px);
  width: auto;
  z-index: 2;
  left: 20px;
  top: 70px;
  transform: rotate(-10deg);
  filter: 
    drop-shadow(-8px 12px 22px rgba(14, 35, 17, 0.3)) 
    drop-shadow(-14px 24px 40px rgba(22, 53, 26, 0.18))
    brightness(0.97);
  animation: floatBottleLeft 6.2s ease-in-out 1.2s infinite alternate;
}

/* Right Back Bottle (Guava) */
.bottle-back-right {
  height: clamp(260px, 28vw, 400px);
  width: auto;
  z-index: 1;
  right: 20px;
  top: 70px;
  transform: rotate(10deg);
  filter: 
    drop-shadow(8px 12px 22px rgba(14, 35, 17, 0.3)) 
    drop-shadow(14px 24px 40px rgba(22, 53, 26, 0.18))
    brightness(0.97);
  animation: floatBottleRight 5.8s ease-in-out 0.6s infinite alternate;
}

@keyframes floatBottleFront {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(1.5deg);
  }
}

/* Small Premium Organic Aloe Vera Plant Accents (Hero Bottle Stage) */
.aloe-accent-tag {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(22, 53, 26, 0.14));
}

.aloe-tag-left {
  width: 75px;
  height: auto;
  bottom: 25px;
  left: -20px;
  transform: rotate(-8deg);
  animation: aloeTagFloatLeft 6s ease-in-out infinite alternate;
}

.aloe-tag-right {
  width: 70px;
  height: auto;
  bottom: 20px;
  right: -15px;
  transform: rotate(10deg) scaleX(-1);
  animation: aloeTagFloatRight 6.8s ease-in-out 1s infinite alternate;
}

@keyframes aloeTagFloatLeft {
  0% { transform: rotate(-8deg) translateY(0); }
  100% { transform: rotate(-5deg) translateY(-5px); }
}

@keyframes aloeTagFloatRight {
  0% { transform: rotate(10deg) scaleX(-1) translateY(0); }
  100% { transform: rotate(7deg) scaleX(-1) translateY(-5px); }
}



@keyframes floatBottleFront {
  0% { transform: translateY(0); }
  100% { transform: translateY(-16px); }
}

@keyframes floatBottleLeft {
  0% { transform: rotate(-10deg) translateY(0); }
  100% { transform: rotate(-10deg) translateY(-12px); }
}

@keyframes floatBottleRight {
  0% { transform: rotate(10deg) translateY(0); }
  100% { transform: rotate(10deg) translateY(-14px); }
}



/* --- 9. SCROLL-CUE INDICATOR --- */
.scroll-cue {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 6;
  opacity: 0.88;
  transition: opacity var(--transition-fast);
}

.scroll-cue.reveal-item {
  opacity: 0;
  transform: translate(-50%, 28px) scale(0.98);
}

.scroll-cue.reveal-item.revealed {
  opacity: 0.88;
  transform: translate(-50%, 0) scale(1);
}

.scroll-cue:hover {
  opacity: 1;
}

.scroll-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-forest);
}

.scroll-indicator-arrow {
  width: 20px;
  height: 20px;
  color: var(--color-olive);
  animation: bounceCue 2s infinite;
}

@keyframes bounceCue {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* --- 10. SCROLL & ENTRANCE REVEAL ANIMATIONS (Bespoke 1050ms Silky System) --- */
.reveal-item {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 950ms cubic-bezier(0.16, 1, 0.3, 1), transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Moment 3: Headline Letter-Spread & Subtle Blur Focus Reveal */
.reveal-headline-spread {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-headline-spread.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Moment 3: 3D Perspective Card Tilt Reveal */
.reveal-card-flip {
  opacity: 0;
  transform: translateY(26px) perspective(800px) rotateX(-8deg);
  transition: opacity 950ms cubic-bezier(0.16, 1, 0.3, 1), transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-card-flip.revealed {
  opacity: 1;
  transform: translateY(0) perspective(800px) rotateX(0deg);
}

/* Products Main H2: Letter Tracking Scale Reveal (Zero Blur) */
.reveal-product-hero-title {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  letter-spacing: 0.06em;
  transition: opacity 1030ms cubic-bezier(0.16, 1, 0.3, 1), transform 1030ms cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 1030ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, letter-spacing;
}

.reveal-product-hero-title.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  letter-spacing: -0.02em;
}

/* Products Benefit H3: Horizontal Accent Slide Reveal (Zero Blur) */
.reveal-product-subheading {
  opacity: 0;
  transform: translateX(-24px) scale(0.98);
  transition: opacity 950ms cubic-bezier(0.16, 1, 0.3, 1), transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-product-subheading.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Products Showcase H3: Soft 3D Vertical Unfold (Zero Blur) */
.reveal-product-showcase-title {
  opacity: 0;
  transform: translateY(20px) perspective(600px) rotateX(-6deg);
  transition: opacity 950ms cubic-bezier(0.16, 1, 0.3, 1), transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-product-showcase-title.revealed {
  opacity: 1;
  transform: translateY(0) perspective(600px) rotateX(0deg);
}

/* Products: Rhythmic Wave Card Reveal */
.reveal-wave-card {
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  filter: blur(4px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-wave-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Products: Left Spotlight Stage Slide-In */
.reveal-stage-left {
  opacity: 0;
  transform: translateX(-32px) scale(0.98);
  transition: opacity 990ms cubic-bezier(0.16, 1, 0.3, 1), transform 990ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-stage-left.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Products: Right Selector Grid Slide-In */
.reveal-stage-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 990ms cubic-bezier(0.16, 1, 0.3, 1), transform 990ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-stage-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger & Wave Delays */
.delay-1, .wave-1 { transition-delay: 90ms; }
.delay-2, .wave-2 { transition-delay: 180ms; }
.delay-3, .wave-3 { transition-delay: 270ms; }
.delay-4, .wave-4 { transition-delay: 360ms; }
.wave-5 { transition-delay: 450ms; }
.wave-6 { transition-delay: 540ms; }

/* Clear delay once revealed so hover interactions are immediate */
.credibility-card.revealed:hover,
.benefit-card.revealed:hover {
  transition-delay: 0ms;
}

/* ==========================================================================
   SECTION 2: ABOUT SECTION (4 DISTINCT MOMENTS)
   ========================================================================== */
.about-section {
  position: relative;
  padding: clamp(48px, 7vw, 140px) 0 clamp(48px, 7vw, 140px) 0;
  /* 100% Transparent background to share body's single background canvas */
  background: transparent;
  overflow: hidden;
  /* Skip rendering until near viewport — frees GPU budget for hero section above */
  content-visibility: auto;
  contain-intrinsic-size: 0 900px;
}

/* Container Layout */
.about-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 90px;
}

/* Shared Sitewide Section Heading System (Matches Hero Typography) */
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: #122D16; /* Deep forest green */
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(10, 28, 12, 0.20), 0 1px 3px rgba(10, 28, 12, 0.12);
}

.section-title .highlight-olive {
  color: #2D5824; /* Richer, darker olive green for 100% legibility */
  font-weight: 800;
  display: inline-block;
  text-shadow: 0 1px 12px rgba(10, 28, 12, 0.18);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  color: rgba(22, 53, 26, 0.75);
  max-width: 720px;
  margin-top: 0;
  margin-left: 0; /* Left align by default to follow heading */
  margin-right: auto;
  margin-bottom: 24px;
  text-align: left; /* Left align by default */
}

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

.text-center .section-subtitle,
.section-subtitle.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Helper classes for viewport-specific content */
.mobile-only {
  display: none !important;
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  /* Inline/span elements should display inline */
  span.mobile-only {
    display: inline !important;
  }
}

/* --- MOMENT 1: OPENING STATEMENT --- */
.about-moment-1 {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- MOMENT 2: THE STORY (TWO-COLUMN) --- */

/* --- MOMENT 2: THE STORY (TWO-COLUMN) --- */
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(24px, 3.6vw, 64px);
}

.story-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-frame {
  width: 100%;
  max-width: 380px;
  height: clamp(200px, 22vw, 340px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(22, 53, 26, 0.24), 0 4px 12px rgba(35, 75, 40, 0.14);
  border: 3px solid rgba(22, 53, 26, 0.16);
  background-color: var(--color-surface-subtle);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px 10px 0 10px;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.story-image-wrap:hover .image-frame {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 18px 40px rgba(22, 53, 26, 0.14);
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transform: scale(1.06);
}

.story-image-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: var(--color-surface-subtle);
  border: 1.5px solid rgba(22, 53, 26, 0.12);
  box-shadow: 0 6px 20px rgba(22, 53, 26, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-forest);
}

.story-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-forest);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap; /* Strictly enforces single-line typewriter display */
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

.typewriter-cursor {
  font-weight: 400;
  color: var(--color-olive);
  animation: blinkCursor 700ms step-end infinite;
  margin-left: 2px;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.story-paragraph {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(22, 53, 26, 0.85);
  margin-bottom: 16px;
}

/* Script Accent Tagline Line (Caveat Font - Strict Single Usage) */
.tagline-script {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-olive);
  margin-top: 12px;
  transform: rotate(-2deg);
}

/* --- MOMENT 3: REFINED INTERACTIVE CREDIBILITY BADGES (4-Card Horizontal Line) --- */
.about-moment-3 {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px dashed rgba(22, 53, 26, 0.12);
}

.badges-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.moment-subtext {
  font-size: 0.95rem;
  color: rgba(22, 53, 26, 0.75);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.2vw, 24px);
  align-items: start;
}

/* Individual Ultra-Sleek White-Faced Credibility Card */
.credibility-card {
  position: relative;
  height: clamp(160px, 16vw, 260px);
  border-radius: 18px;
  background-color: var(--color-surface-subtle);
  border: 1.5px solid rgba(22, 53, 26, 0.15);
  box-shadow: 0 10px 28px rgba(16, 42, 20, 0.22), 0 2px 8px rgba(35, 75, 40, 0.12);
  transition: transform 320ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 320ms cubic-bezier(0.25, 1, 0.5, 1), border-color 300ms ease;
  user-select: none;
  overflow: hidden;
  cursor: pointer;
}

.credibility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(22, 53, 26, 0.12);
  border-color: rgba(71, 119, 59, 0.35);
}

.card-face {
  position: absolute;
  inset: 0;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 480ms ease;
  background-color: var(--color-surface-subtle);
}

/* Front Face */
.card-front {
  z-index: 2;
  transform: translateY(0);
  opacity: 1;
}

/* Back Face (Details View) */
.card-back {
  z-index: 3;
  transform: translateY(100%);
  opacity: 0;
  background-color: var(--color-surface-subtle);
}

.card-back-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-olive);
  margin-bottom: 6px;
}

.card-badge-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.credibility-card .card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-forest);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.card-summary {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-olive);
  margin-bottom: 8px;
}

.card-detail-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #0E2A12; /* Deep forest charcoal for 100% legibility */
  font-weight: 600;
}

.card-action-bar {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: #F4F9F3;
  color: var(--color-forest);
  border: 1px solid rgba(71, 119, 59, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}

.active-bar {
  background-color: var(--color-olive);
  color: var(--color-white);
  border-color: var(--color-olive);
}

/* STRICT SINGLE CARD SLIDE ACTION — CLICK ONLY */
.credibility-card.active .card-front {
  transform: translateY(-100%);
  opacity: 0;
}

.credibility-card.active .card-back {
  transform: translateY(0);
  opacity: 1;
}

/* --- MOMENT 4: ULTRA-SLEEK STAT HIGHLIGHT ROW (SPACIOUS SEPARATION) --- */
.about-moment-4 {
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px dashed rgba(22, 53, 26, 0.12);
}

.stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number-wrap {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-forest);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
  transition: transform 300ms ease, color 300ms ease;
  display: inline-block;
}

.stat-number.number-settled {
  animation: numberPulse 350ms ease-out 1;
}

@keyframes numberPulse {
  0% { transform: scale(1.1); color: var(--color-olive); }
  100% { transform: scale(1); color: var(--color-forest); }
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-olive);
  margin-left: 2px;
}

/* --- MOMENT 5: ELEGANT FARM-TO-BOTTLE HERITAGE STRIP --- */
.about-moment-5 {
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px dashed rgba(22, 53, 26, 0.12);
}

.about-moment-5 .credibility-grid {
  grid-template-columns: repeat(3, 1fr);
}

.heritage-card {
  background-color: var(--color-surface-subtle);
  border-radius: 20px;
  padding: 24px;
  border: 1.5px solid rgba(22, 53, 26, 0.15);
  box-shadow: 0 8px 24px rgba(16, 42, 20, 0.20), 0 2px 6px rgba(35, 75, 40, 0.10);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.heritage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 53, 26, 0.08);
}

.heritage-card-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.heritage-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 8px;
}

.heritage-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #0E2A12; /* Deep forest charcoal for high contrast legibility */
  font-weight: 600;
}

/* --- PRODUCTS DUAL BENEFIT TAB SWITCHER (OPTION B) --- */
.benefit-tab-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.benefit-tab-btn {
  padding: 12px 28px;
  border-radius: 999px;
  background: rgba(22, 53, 26, 0.05);
  color: var(--color-forest);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(22, 53, 26, 0.1);
  cursor: pointer;
  transition: all 250ms ease;
}

.benefit-tab-btn:hover,
.benefit-tab-btn.active {
  background: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
  box-shadow: 0 4px 16px rgba(22, 53, 26, 0.15);
}



/* Scroll reveal 3D Wave entrance animation for benefit cards */
.reveal-wave-card {
  opacity: 0;
  transform: translateY(30px) perspective(800px) rotateX(-12deg) scale(0.92);
  filter: blur(4px);
  transition: 
    opacity 950ms cubic-bezier(0.16, 1, 0.3, 1), 
    transform 950ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 950ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-wave-card.revealed {
  opacity: 1;
  transform: translateY(0) perspective(800px) rotateX(0deg) scale(1);
  filter: blur(0px);
}

/* Typography Word Mask Reveal Transition inside Benefit Cards */
.benefit-card .reveal-text-mask {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}

.benefit-card .reveal-text-word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: inherit;
  will-change: transform;
}

.benefit-card .reveal-text-mask.revealed .reveal-text-word {
  transform: translateY(0);
}

@keyframes tabFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.benefit-tab-panel {
  display: none;
}

.benefit-tab-panel.active {
  display: block;
  animation: tabFadeInUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --- RESPONSIVE MEDIA QUERIES FOR ABOUT SECTION --- */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 767px) {
  .about-container {
    gap: 70px;
    padding: 0 20px;
  }

  .opening-statement {
    font-size: 1.6rem;
  }

  .image-frame {
    height: 180px;
    padding: 0; /* Remove side gaps on mobile */
  }

  /* Story image: fill card edge-to-edge on mobile only */
  .story-image {
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

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

  /* About & Mission text — mobile only, desktop untouched */
  .section-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  .about-moment-1 {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .about-moment-1 .section-subtitle,
  .mission-container .section-subtitle {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .story-heading,
  .mission-row .story-heading {
    font-size: 1.15rem;
    white-space: normal;
    display: flex;
    flex-wrap: wrap;
    line-height: 1.4;
    justify-content: center; /* keep headings centered on mobile */
  }

  .story-paragraph,
  .mission-row .story-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .story-grid,
  .mission-row,
  .mission-row.alternate-right {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Stats row — mobile: single horizontal line */
  .about-moment-4 {
    margin-top: 20px;
    padding-top: 24px;
  }

  .stats-row {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    align-items: flex-start;
  }

  .stat-item {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    flex: 1;
  }

  .stat-number-wrap {
    margin-bottom: 0;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.725rem; /* Increased by an additional 15% */
  }

  .stat-plus {
    font-size: 0.9rem;
  }

  .stat-label {
    font-size: 0.72rem;
    color: rgba(22, 53, 26, 0.75);
    line-height: 1.3;
  }

  /* Center and wrap compact benefit tab pills on mobile */
  .benefit-tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }

  .benefit-tab-btn {
    padding: 6px 12px; /* Compact pill sizing */
    font-size: 0.8rem; /* Restored readable text size */
    flex: none; /* Stop stretching */
    text-align: center;
    white-space: nowrap;
  }

  .benefit-tab-btn span {
    display: inline;
  }

  /* Make benefit cards horizontally compact on mobile */
  .benefit-card {
    padding: 16px 8px !important; /* Horizontally narrow */
    gap: 8px !important;
  }

  .benefit-icon {
    font-size: 1.8rem !important;
    margin-bottom: 0 !important;
  }

  .benefit-card .benefit-title {
    font-size: 0.95rem !important; /* Restored text size */
  }

  .benefit-card .benefit-desc {
    font-size: 0.8rem !important; /* Restored text size */
    line-height: 1.4 !important;
  }





  /* Mission Section Fixes */
  .mission-row {
    gap: 32px;
  }
  .mission-row .image-frame {
    height: 180px !important; /* Force all 4 images to exact same size */
  }
  .mission-row .story-heading {
    font-size: 1.3rem;
  }
  .mission-row .story-paragraph {
    font-size: 0.95rem;
  }
  .mission-flow {
    gap: 40px;
    margin-top: 20px;
  }

  /* Product Showcase Card Fixes */
  .flavour-showcase-wrapper {
    gap: 16px;
    margin-bottom: -30px;
  }
  .spotlight-main-stage {
    padding: 16px 16px 14px;
    min-height: auto;
    gap: 8px;
  }
  .spotlight-bottle-img {
    height: 220px !important;
    max-height: 220px !important;
    width: auto !important;
    object-fit: contain !important;
  }
  .spotlight-stage-left {
    height: 220px !important;
    width: 140px; /* Wider to fit both bottles */
    margin-left: -55px; /* Move 15px further left */
    margin-top: 10px;
    overflow: visible; 
  }
  /* Hide tag badge, but keep description visible but tiny */
  .spotlight-badge {
    display: none !important;
  }
  .spotlight-desc {
    font-size: 0.82rem !important; /* Clean readable size */
    line-height: 1.45 !important;
    color: rgba(22, 53, 26, 0.65) !important;
    margin-top: 6px;
    margin-bottom: 0;
    min-height: 82px !important; /* Prevent layout shift on mobile */
  }
  .spotlight-title-wrap {
    flex-direction: column;
    align-items: flex-start; /* Align text block left */
    gap: 2px;
    margin-bottom: 2px;
  }
  .spotlight-main-title {
    font-size: 1.4rem;
  }
  .spotlight-sub-title {
    font-size: 0.72rem;
  }
  .spotlight-price-row {
    flex-direction: row; 
    flex-wrap: nowrap; /* Keep on one line */
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-left: 0; 
  }
  .price-pill {
    white-space: nowrap;
    padding: 5px 12px !important; 
    font-size: 0.7rem !important;
    border-radius: 6px !important; 
    background: rgba(22, 53, 26, 0.08) !important; /* Slightly darker background since card is gone */
  }
  /* Hide pill selector grid on mobile */
  .spotlight-selector-grid {
    display: none !important;
  }
  /* Show arrow nav on mobile only - centered at bottom */
  .mobile-flavour-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Reduced gap so text doesn't wrap */
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: 10px;
    border-top: 1px dashed rgba(22,53,26,0.12);
  }
  .flavour-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(22,53,26,0.18);
    background: var(--color-surface-subtle);
    color: var(--color-forest);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease, transform 200ms ease;
  }
  .flavour-arrow-btn:active {
    background: var(--color-forest);
    color: white;
    transform: scale(0.93);
  }
  .flavour-nav-hint {
    font-size: 0.85rem; /* 10% larger */
    color: rgba(22,53,26,0.65);
    letter-spacing: 0.02em;
    font-weight: 500;
    white-space: nowrap; /* Prevent wrapping */
  }

  /* Footer Fixes */
  .footer-container {
    padding: 0 15px !important; /* Attach tight to edges */
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: left !important;
    padding-left: 0 !important; /* Remove the 80px desktop padding so it perfectly attaches to the left edge */
  }
  .footer-col {
    align-items: flex-start !important;
  }
  .brand-commitments-col {
    display: none !important; /* Hide only on mobile */
  }

  .footer-col-title {
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: left !important;
  }
  .footer-col-title::after {
    left: 0 !important;
    transform: none !important;
  }
  .footer-link-list,
  .footer-cert-list {
    align-items: flex-start !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-link {
    font-size: 0.82rem;
  }
  .footer-contact-item {
    font-size: 0.82rem;
  }
  .footer-cert-item {
    font-size: 0.8rem;
  }
  .footer-entity-name, .footer-address {
    font-size: 0.82rem;
    text-align: left !important;
  }
  .footer-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important; /* Set back to standard column so copyright is at the bottom */
    gap: 20px;
    text-align: left !important;
    margin-top: 30px;
    padding-top: 20px;
    align-items: flex-start !important;
  }
  .footer-script-tagline {
    font-size: 1.25rem;
    text-align: left !important;
  }
  .footer-copyright {
    font-size: 0.6rem !important;
    opacity: 0.65;
    white-space: nowrap !important; /* Force onto one single line */
    margin-top: 25px !important; /* Move it downward to absolute bottom */
    text-align: left !important;
    margin-left: 0 !important;
  }
}

/* --- 11. RESPONSIVE MEDIA QUERIES --- */
/* Tablet intermediate: 768px – 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stage {
    height: 360px;
    transform: translateX(0);
  }

  .bottle-front {
    width: 200px;
    top: 0;
  }

  .section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  }

  .section-subtitle {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-stage {
    height: 440px;
  }

  .bottle-front {
    width: 240px;
    top: 0;
  }

  .bottle-back-left {
    width: 190px;
  }

  .bottle-back-right {
    width: 190px;
  }
}

@media (max-width: 767px) {
  .nav-container {
    padding: 0 20px;
  }

  .main-nav-links {
    display: none; /* Collapses to hamburger on mobile */
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: calc(var(--nav-height-mobile) + clamp(55px, 10vw, 85px)); /* Moved tag, headline, subheadline, and CTA block down together on mobile */
    padding-bottom: 80px;
    min-height: auto;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hero-top-wave-divider {
    /* Match desktop: top:0 means nav (z-index:1000) covers top 76px of wave.
       The wave fill shows below the nav exactly like desktop. */
    top: 0;
    height: clamp(110px, 18vw, 143px); /* +20% total vs original, matching desktop wave size */
  }

  .hero-wave-svg {
    animation-duration: 6s; /* Accelerated wave speed on mobile so visual velocity matches desktop */
  }

  .hero-top-liquid-wave {
    top: var(--nav-height-mobile); /* Sit entirely below mobile navbar height */
    height: 50px;
  }

  /* Hide fan bottles on mobile — desktop only */
  .fan-bottle {
    display: none !important;
  }

  .hero-badge {
    padding: 6px 12px;
    font-size: 0.65rem;
    gap: 6px;
    white-space: nowrap;
  }

  .hero-content {
    transform: translateX(0); /* Reset desktop offset on mobile */
  }

  .hero-badge .badge-dot {
    width: 5px;
    height: 5px;
  }

  .hero-title {
    font-size: 3.15rem; /* Reduced by 10% */
    line-height: 1.05;
    margin-bottom: 30px;
  }

  .hero-subtitle {
    font-size: 0.85rem; /* Smaller on mobile */
    line-height: 1.5;
    margin-bottom: 45px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stage {
    height: 340px;
    margin-top: 100px; /* Increased gap between hero text/buttons and bottles */
    transform: translateX(0); /* Reset desktop offset on mobile */
  }

  .bottle-shadow.shadow-front {
    width: 130px;
  }
  
  .bottle-shadow.shadow-left,
  .bottle-shadow.shadow-right {
    width: 100px;
    bottom: 35px;
  }

  .bottle-front {
    width: 190px;
  }

  .bottle-back-left {
    width: 150px;
    left: 5px;
  }

  .bottle-back-right {
    width: 150px;
    right: 5px;
  }

  .blob-aloe-1 {
    width: 280px;
    height: 180px;
  }

  .blob-drop-1 {
    width: 250px;
    height: 250px;
  }


}

/* ==========================================================================
   SECTION 3: PRODUCTS SECTION (PHASE 3)
   ========================================================================== */
/* Products Section (Balanced Uncompressed Spacing) */
.products-section {
  position: relative;
  padding-top: clamp(80px, 10vw, 200px);
  padding-bottom: clamp(80px, 10vw, 200px);
  background: transparent;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 0 1000px;
}

/* Products Section Blobs */
.blob-aloe-prod-1 {
  width: clamp(240px, 28vw, 420px);
  height: clamp(150px, 17vw, 260px);
  top: 8%;
  left: -6%;
  background: var(--color-olive);
  opacity: 0.85;
  border-radius: 50% 50% 70% 30% / 40% 60% 40% 60%;
  animation: blobDrift1 14s ease-in-out infinite alternate;
}

.blob-drop-prod-1 {
  width: clamp(200px, 22vw, 340px);
  height: clamp(200px, 22vw, 340px);
  top: 32%;
  right: -4%;
  background: var(--color-orange);
  opacity: 0.85;
  border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%;
  animation: blobDrift2 12s ease-in-out infinite alternate;
}

/* Products Container (Optimal Balanced Spacing System) */
.products-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 95px;
}

/* Intro Block */
.products-intro {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Why Aloe Vera Benefit Strip */

/* Why Aloe Vera Benefit Strip */
.why-aloe-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.benefit-strip-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-forest);
  letter-spacing: -0.015em;
  text-align: center;
}

.benefit-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 36px);
}

.benefit-card {
  text-align: center;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background-color: var(--color-surface-subtle);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(16, 42, 20, 0.24), 0 4px 12px rgba(35, 75, 40, 0.12);
  border: 1.5px solid rgba(22, 53, 26, 0.15);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease;
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(22, 53, 26, 0.12);
  border-color: rgba(71, 119, 59, 0.35);
}

.benefit-icon {
  font-size: 2.3rem;
  margin-bottom: 6px;
}

.benefit-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-forest);
}

.benefit-desc {
  font-size: 0.85rem;
  color: rgba(22, 53, 26, 0.75);
  line-height: 1.45;
}
/* Tab Switch Card Reveal Animation */
.benefit-tab-panel.active .benefit-card {
  animation: cardTabPop 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardTabPop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}





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

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

/* Flavour Showcase Wrapper */
.flavour-showcase-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Flavour Showcase Header */
.showcase-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
}

/* Recess-Style Split Spotlight Showcase */
.spotlight-split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  width: 100%;
}

/* Left Main Stage Card (Fixed Height Architecture - Zero Size Jumping) */
.spotlight-main-stage {
  padding: 38px 44px;
  background-color: var(--color-surface-subtle);
  border-radius: 32px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(22, 53, 26, 0.08);
  border: 1px solid rgba(22, 53, 26, 0.08);
  min-height: clamp(340px, 25vw, 480px);
}

.spotlight-stage-left {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 270px;
  width: 230px;
}

.spotlight-bottle-img {
  height: 264px;
  max-height: 264px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(22, 53, 26, 0.16));
  animation: floatBottle 6s ease-in-out infinite alternate;
  transition: opacity 250ms ease, transform 250ms ease;
}

@keyframes floatBottle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.spotlight-stage-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  justify-content: center;
}

.spotlight-badge {
  margin-bottom: 10px;
}

.spotlight-title-wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.spotlight-main-title {
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: 800;
  color: var(--color-forest);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.spotlight-sub-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #244C1D; /* Deep olive green for 100% WCAG contrast */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}

.spotlight-desc {
  font-size: clamp(0.85rem, 0.95vw, 1.05rem);
  color: rgba(22, 53, 26, 0.87);
  font-weight: 500;
  line-height: 1.58;
  margin-bottom: 16px;
  min-height: 78px; /* Prevent layout shift on desktop */
}

/* Compact Luxury Price Pills */
.spotlight-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(22, 53, 26, 0.05);
  border: 1px solid rgba(22, 53, 26, 0.12);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(22, 53, 26, 0.78);
  transition: all 200ms ease;
}

.price-pill strong {
  color: var(--color-forest);
  font-weight: 800;
  font-size: 0.88rem;
}

/* Mobile arrow nav — hidden on desktop, shown on mobile via media query */
.mobile-flavour-nav {
  display: none;
}

/* Right Panel: Compact Selector Grid */
.spotlight-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.flavour-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background-color: var(--color-surface-subtle);
  border: 1.5px solid rgba(22, 53, 26, 0.08);
  color: var(--color-forest);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22, 53, 26, 0.03);
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  user-select: none;
}

.flavour-pill-btn:hover {
  transform: translateY(-2px);
  border-color: var(--color-olive);
  box-shadow: 0 6px 16px rgba(22, 53, 26, 0.08);
}

.flavour-pill-btn.active {
  background-color: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
  box-shadow: 0 6px 18px rgba(22, 53, 26, 0.2);
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.guava-dot { background-color: #E85D75; }
.kiwi-dot { background-color: #47773B; }
.litchi-dot { background-color: #F4A261; }
.pome-dot { background-color: #D62828; }
.pine-dot { background-color: #FBA818; }
.orange-dot { background-color: #F3722C; }
.apple-dot { background-color: #70E000; }
.mango-dot { background-color: #FFB703; }
.mixed-dot { background-color: #9D4EDD; }

.flavour-pill-btn.active .pill-dot {
  box-shadow: 0 0 0 2px var(--color-surface-subtle);
}

@media (max-width: 1024px) {
  .spotlight-split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .spotlight-main-stage {
    position: relative;
    grid-template-columns: 120px 1fr; /* More space for the bottle */
    text-align: left;
    padding: 20px 10px 85px; 
    gap: 12px; 
    align-items: center;
    background: transparent !important; /* Remove card bg */
    box-shadow: none !important; /* Remove card shadow */
    border: none !important; /* Remove border */
  }

  .spotlight-stage-right {
    position: static; /* Let the absolute nav position relative to the main card */
    align-items: flex-start;
    text-align: left;
    height: auto; /* Allow text to flow naturally */
    justify-content: flex-start; /* Flow from top to bottom */
  }

  .spotlight-selector-grid {
    display: none !important;
  }
}

/* Responsive Rules for Products Section */
@media (max-width: 1024px) {
  .benefit-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 767px) {
  .products-container {
    padding: 0 20px;
    gap: 48px;
  }

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

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

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

/* ==========================================================================
   SECTION 4: OUR MISSION, VISION & VALUES SECTION
   ========================================================================== */
.mission-section {
  position: relative;
  padding: clamp(60px, 7.5vw, 160px) 0 clamp(60px, 7.5vw, 160px) 0;
  background: transparent;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 0 900px;
}

/* Ambient Background Blobs for Mission Section */
.blob-aloe-mission-1 {
  width: clamp(260px, 28vw, 440px);
  height: clamp(260px, 28vw, 440px);
  top: 10%;
  left: -8%;
  background: radial-gradient(circle at center, rgba(71, 119, 59, 0.22) 0%, rgba(71, 119, 59, 0) 70%);
  animation: blobDrift1 14s ease-in-out infinite alternate;
}

.blob-drop-mission-1 {
  width: clamp(240px, 26vw, 400px);
  height: clamp(240px, 26vw, 400px);
  top: 50%;
  right: -6%;
  background: radial-gradient(circle at center, rgba(251, 168, 24, 0.20) 0%, rgba(251, 168, 24, 0) 70%);
  animation: blobDrift2 12s ease-in-out infinite alternate;
}

.blob-aloe-mission-2 {
  width: clamp(280px, 32vw, 480px);
  height: clamp(190px, 21vw, 320px);
  bottom: 5%;
  left: 25%;
  background: radial-gradient(ellipse at center, rgba(22, 53, 26, 0.18) 0%, rgba(22, 53, 26, 0) 70%);
  animation: blobDrift3 16s ease-in-out infinite alternate;
}

.mission-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 56px;
  position: relative;
  z-index: 2;
}

/* 2x2 Interactive Mission Grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 48px);
}

/* Sleek Ultra-Smooth Typography Reveal Effects for Our Mission Section */
.reveal-mission-title {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-mission-title.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-mission-subtitle {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1) 140ms, transform 800ms cubic-bezier(0.16, 1, 0.3, 1) 140ms;
  will-change: opacity, transform;
  max-width: 580px; /* Restrict width to guarantee at least 2 lines of text on desktop */
}

.reveal-mission-subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Homepage Grand Editorial Showcase (About Section Layout) --- */
.mission-flow {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 50px;
}

.mission-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(32px, 4.5vw, 80px);
}

.mission-row.alternate-right {
  grid-template-columns: 1.15fr 0.85fr;
}

/* Image frame overrides for controlled bounds */
.mission-row .image-frame {
  width: 100%;
  max-width: 396px;
  height: clamp(210px, 22vw, 360px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(22, 53, 26, 0.1);
  border: 3px solid var(--color-surface-subtle);
  background-color: var(--color-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.mission-row .story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-row .story-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* Typography Mask Reveal Effect */
.reveal-text-mask {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  margin-right: 0.22em;
}

.reveal-text-word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.reveal-text-mask.revealed .reveal-text-word {
  transform: translateY(0);
}

.mission-row .story-paragraph {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(22, 53, 26, 0.85);
  font-weight: 500;
  margin-bottom: 16px;
}

/* Responsive Media Queries for Mission Section */
@media (max-width: 900px) {
  .mission-flow {
    gap: 60px;
  }
  .mission-row,
  .mission-row.alternate-right {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mission-row.alternate-right {
    /* Use grid to ensure same width/shape as other cards, just reorder the text below the image */
    display: grid;
  }
  .mission-row.alternate-right .story-content {
    order: 2;
  }
  .mission-row.alternate-right .story-image-wrap {
    order: 1;
  }
}

/* Icon Badges */
.icon-gold {
  background-color: rgba(251, 168, 24, 0.15);
  border: 1px solid rgba(251, 168, 24, 0.3);
}

.icon-olive {
  background-color: rgba(71, 119, 59, 0.15);
  border: 1px solid rgba(71, 119, 59, 0.3);
}

.icon-forest {
  background-color: rgba(22, 53, 26, 0.12);
  border: 1px solid rgba(22, 53, 26, 0.25);
}

.icon-amber {
  background-color: rgba(251, 168, 24, 0.20);
  border: 1px solid rgba(251, 168, 24, 0.35);
}

@media (max-width: 767px) {
  .mission-container {
    padding: 0 20px;
    gap: 40px;
  }

  .mission-card {
    padding: 28px;
  }
}

/* ==========================================================================
   SECTION 5: LUXURY FOOTER & BRAND ANCHOR SECTION (PHASE 5)
   ========================================================================== */
.footer-section {
  position: relative;
  z-index: 10;
  margin-top: 40px;
  padding: clamp(24px, 3vw, 60px) 0 clamp(16px, 1.5vw, 32px) 0;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(71, 119, 59, 0.08) 14%, 
    rgba(45, 90, 48, 0.28) 32%, 
    rgba(22, 53, 26, 0.65) 54%, 
    rgba(22, 53, 26, 0.94) 78%, 
    var(--color-forest) 100%
  );
  color: var(--color-cream);
  overflow: hidden;
}

/* Giant Architectural Brand Watermark */
.footer-giant-watermark {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: clamp(4.2rem, 11vw, 9.8rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.075);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.85;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.footer-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  z-index: 2;
}

/* 3-Column Clean Balanced Editorial Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: start;
  width: 100%;
  padding-left: 80px; /* Shift columns to the right side */
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
  text-shadow: none;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-orange);
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(251, 168, 24, 0.4);
}

/* Column 1: Navigation Links */
.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(250, 243, 224, 0.85);
  transition: color 200ms ease, transform 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: none;
}

.link-arrow {
  color: var(--color-orange);
  opacity: 0.6;
  transition: opacity 200ms ease, transform 200ms ease;
}

.footer-link:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-link:hover .link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Column 2: Entity & Plant Address */
.footer-entity-name {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-cream);
  text-shadow: none;
}

.footer-address {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(250, 243, 224, 0.82);
  text-shadow: none;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(250, 243, 224, 0.90);
  transition: color 200ms ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.30);
}

.footer-contact-item:hover {
  color: var(--color-orange);
}

.contact-icon {
  font-size: 1.02rem;
}

/* Column 3: Quality Accreditations & Pack Sizes */
.footer-cert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cert-list li {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250, 243, 224, 0.85);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.30);
}

.cert-gold-dot {
  color: var(--color-orange);
  font-size: 0.8rem;
  filter: drop-shadow(0 1px 3px rgba(251, 168, 24, 0.5));
}

.footer-pack-sizes {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.pack-size-badge {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(251, 168, 24, 0.14);
  border: 1px solid rgba(251, 168, 24, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 0;
  padding-bottom: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.footer-script-tagline {
  font-family: var(--font-script);
  font-size: 1.65rem;
  background: linear-gradient(135deg, var(--color-orange) 0%, #FFD166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: rgba(250, 243, 224, 0.72);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Responsive Media Queries for Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .footer-container {
    padding: 0 20px;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --- NETWORK RECONNECTION TOAST LOADER --- */
.network-toast {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  opacity: 0;
  pointer-events: none;
  background: rgba(22, 53, 26, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 168, 24, 0.4);
  color: var(--color-cream);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: opacity 300ms ease, transform 300ms ease;
}

.network-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.network-toast-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(251, 168, 24, 0.3);
  border-top-color: var(--color-orange);
  border-radius: 50%;
  animation: toastSpin 800ms linear infinite;
}

@keyframes toastSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- FULLSCREEN NETWORK OVERLAYS (OFFLINE & SLOW LOADING) --- */
.network-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 53, 26, 0.72);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.network-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.network-overlay-card {
  background: var(--color-surface-subtle);
  padding: 40px 32px;
  border-radius: 24px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-surface-subtle);
  transform: translateY(20px);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.network-overlay.active .network-overlay-card {
  transform: translateY(0);
}

.network-overlay-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.network-overlay-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-forest);
  margin-bottom: 12px;
}

.network-overlay-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(22, 53, 26, 0.75);
  margin-bottom: 24px;
}

.network-overlay-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(71, 119, 59, 0.15);
  border-top-color: var(--color-olive);
  border-radius: 50%;
  margin: 0 auto 20px auto;
  animation: toastSpin 1s linear infinite;
}

/* ==========================================================================
   STEP F: LARGE-DESKTOP POLISH (1920px+)
   ========================================================================== */
@media (min-width: 1920px) {
  /* Container confirmed capped at 1600px via global styling */
  
  /* Slightly larger card sizes */
  .card { padding: 40px; }
  .benefit-card { padding: 16px 14px; }
  
  /* Wider grid gaps */
  .benefit-strip-grid { gap: 32px; }
  
  /* Hero bottle image size boost explicitly enforced */
  .bottle-front { height: 500px; }
  .bottle-back-left, .bottle-back-right { height: 400px; }
}
