@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* CSS Variables for Kassia Naturals Design System */
:root {
  --bg-cream: #064734; /* Forest Green - #064734 */
  --bg-beige: #064734; /* Forest Green - #064734 */
  --bg-sand: #064734;  /* Forest Green - #064734 */
  
  /* Spice Accents */
  --accent-cardamom: #DCEFD9; /* Light mint/sage font tone */
  --accent-cardamom-light: #064734;
  --accent-turmeric: #E8C163;
  --accent-cinnamon: #DE8F62;
  --color-forest: #064734;     /* Forest Green */
  
  --color-white: #FFFFFF;
  --color-muted: #D1E5CF;     /* Soft legible text on dark green */
  --color-border: rgba(255, 255, 255, 0.15);
  
  /* Typography */
  --font-serif: 'Anton', Impact, sans-serif;
  --font-sans: 'Slabo 27px', system-ui, -apple-system, sans-serif;
  
  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
  --shadow-soft: 0 12px 32px rgba(6, 71, 52, 0.15);
  --shadow-hover: 0 20px 48px rgba(6, 71, 52, 0.25);
  
  /* Layout */
  --header-height: 80px;
}

/* Base resets & styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-cream);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 20px; /* Scaled up to make the site feel fuller */
  line-height: 1.7; /* Slightly more breathing room */
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  body.inner-page {
    padding-bottom: 95px; /* Accounts for the bottom sticky product menu */
  }
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}

/* --- Base Heading & Eyebrow Colors for Light Contexts --- */
.spices-card-section h1,
.spices-card-section h2,
.spices-card-section h3,
.spices-card-section h4,
.spices-card-section .eyebrow,
.why-section h1,
.why-section h2,
.why-section h3,
.why-section h4,
.why-section .eyebrow,
.why-title,
.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white .eyebrow,
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light .eyebrow,
.light-section h1, .light-section h2, .light-section h3, .light-section h4, .light-section .eyebrow,
.white-bg h1, .white-bg h2, .white-bg h3, .white-bg h4, .white-bg .eyebrow,
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3, [data-theme="light"] h4, [data-theme="light"] .eyebrow,
.light-bg h1, .light-bg h2, .light-bg h3, .light-bg h4, .light-bg .eyebrow {
  color: #064734;
}

/* --- Global Heading Split Colors --- */
/* 1. Green / Dark Background Contexts (Default) */
h1 .heading-first-half,
h2 .heading-first-half,
h3 .heading-first-half,
h4 .heading-first-half,
h5 .heading-first-half,
h6 .heading-first-half,
.eyebrow .heading-first-half,
.heading-first-half {
  color: #ffffff !important;
  background: transparent !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

h1 .heading-second-half,
h2 .heading-second-half,
h3 .heading-second-half,
h4 .heading-second-half,
h5 .heading-second-half,
h6 .heading-second-half,
.eyebrow .heading-second-half,
.heading-second-half {
  color: #000000 !important;
  background: transparent !important;
  -webkit-text-fill-color: #000000 !important;
  -webkit-text-stroke: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: inline !important;
  line-height: inherit !important;
  box-shadow: none !important;
  filter: none !important;
}

/* 2. White / Light Background Contexts */
.spices-card-section .heading-first-half,
.bg-white .heading-first-half,
.bg-light .heading-first-half,
.light-section .heading-first-half,
.white-bg .heading-first-half,
[data-theme="light"] .heading-first-half,
.light-bg .heading-first-half,
.spices-card-section h1 .heading-first-half,
.spices-card-section h2 .heading-first-half,
.spices-card-section h3 .heading-first-half {
  color: #064734 !important;
  background: transparent !important;
  -webkit-text-fill-color: #064734 !important;
  -webkit-text-stroke: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.spices-card-section .heading-second-half,
.bg-white .heading-second-half,
.bg-light .heading-second-half,
.light-section .heading-second-half,
.white-bg .heading-second-half,
[data-theme="light"] .heading-second-half,
.light-bg .heading-second-half,
.spices-card-section h1 .heading-second-half,
.spices-card-section h2 .heading-second-half,
.spices-card-section h3 .heading-second-half {
  color: #000000 !important;
  background: transparent !important;
  -webkit-text-fill-color: #000000 !important;
  -webkit-text-stroke: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-title {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h3 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Eyebrows & Small Texts */
.eyebrow {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

/* Common containers */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Global Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

header.scrolled {
  height: 80px;
  background-color: #000000 !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Floating Logo Badge */
.logo-badge {
  position: fixed;
  top: 15px;
  left: 30px;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  transition: var(--transition-smooth);
}

.logo-badge:hover {
  transform: translateY(-3px) scale(1.05);
}

.site-logo {
  height: 140px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  padding: 0.25rem 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-cardamom);
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: #ffffff;
  color: #064734;
}

.btn-primary:hover {
  background-color: #DCEFD9;
  color: #064734;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #064734;
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-cardamom);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.btn-text:hover::after {
  transform: scaleX(1);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  margin-bottom: 5px;
  background-color: var(--color-forest);
  transition: var(--transition-smooth);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
  :root {
    --header-height: 80px;
  }
  
  .nav-container {
    justify-content: flex-end; /* Push hamburger to right since nav is centered */
  }
  
  .logo-badge {
    top: 10px;
    left: 20px;
  }
  
  .logo-badge:hover {
    transform: translateY(-2px);
  }

  .site-logo {
    height: 70px;
  }

  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #000000 !important;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    z-index: 1005;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-actions {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background-color: transparent;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 71, 52, 0.4) 0%, rgba(3, 31, 23, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 750px;
}

.hero-content .eyebrow {
  color: var(--accent-turmeric);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  opacity: 1;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(253, 251, 247, 0.9);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

/* Floating Particle System */
.floating-particle {
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
  z-index: 5;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.08));
}

/* Origin Strip */
.origin-strip {
  padding: 8rem 0;
  background-color: transparent;
  position: relative;
}

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .origin-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.origin-left h2 {
  max-width: 450px;
  font-size: clamp(1.8rem, 3vw, 2.5rem); /* Scaled down */
}

.origin-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.origin-copy {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* The Five Spices Showcase */
.spices-section {
  padding: 8rem 0;
  background-color: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  margin-top: 0.5rem;
}

.spices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Product Card Component with Hover-Tilt */
.product-card {
  background-color: var(--bg-beige);
  border-radius: 20px;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
  height: 100%;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background-color: var(--bg-cream);
}

.product-card:hover::before {
  border-color: var(--accent-cardamom);
}

.product-image-container {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-sand);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-flagship-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-turmeric);
  color: var(--color-forest);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.product-info {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--color-forest);
}

.product-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-link {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cardamom);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.product-card:hover .product-link {
  color: var(--color-forest);
}

/* Why Kassia Section */
.why-section {
  padding: 8rem 0;
  background-color: transparent;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
}

.why-card {
  display: flex;
  flex-direction: column;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-cardamom-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-cardamom);
}

.why-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* From Farm to You Timeline */
.timeline-section {
  padding: 8rem 0;
  background-color: transparent;
  overflow: hidden;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0 auto;
  padding: 2rem 0;
}

/* Timeline Vertical Line */
.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--color-border);
  z-index: 1;
}

.timeline-line-active {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%; /* Animated via GSAP */
  background-color: var(--accent-cardamom);
  z-index: 2;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 6rem;
  position: relative;
  z-index: 5;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-cream);
  border: 3px solid var(--color-border);
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-item.active .timeline-dot {
  border-color: var(--accent-cardamom);
  background-color: var(--accent-cardamom);
  box-shadow: 0 0 10px rgba(109, 130, 98, 0.4);
}

.timeline-content {
  width: 42%;
  padding: 2rem;
  background-color: var(--bg-beige);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-content {
  order: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
  order: 1;
  text-align: right;
}

/* Spacer panel for layout alignment */
.timeline-spacer {
  width: 42%;
}



.timeline-step {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cardamom);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #000;
}

.timeline-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline-line, .timeline-line-active {
    left: 20px;
    transform: none;
  }
  
  .timeline-dot {
    left: 20px;
    transform: translate(-50%, -50%);
  }
  
  .timeline-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-left: 50px !important;
    margin-bottom: 3rem !important;
    min-height: 250px !important; /* Ensure the card doesn't collapse */
  }
  
  .timeline-spacer {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: calc(100% - 50px) !important;
    height: 100% !important;
    z-index: 1 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .timeline-spacer img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    z-index: 1 !important;
    display: block !important;
  }

  .timeline-spacer::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(28, 43, 33, 0.75) !important; /* dark overlay for readability */
    z-index: 2 !important;
  }
  
  .timeline-content {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    padding: 2rem !important;
  }
  
  .timeline-content h3, 
  .timeline-content p {
    color: #FDFBF7 !important; /* Cream color */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important; /* added shadow for readability */
  }
  
  .timeline-content .timeline-step {
    color: #E2B75A !important; /* Turmeric accent */
    text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
  }
}

/* Story Teaser & Narrative CTA */
.story-teaser {
  padding: 8rem 0;
  background-color: transparent;
  text-align: center;
  position: relative;
}

.story-teaser-content {
  max-width: 700px;
  margin: 0 auto;
}

.story-teaser h2 {
  margin-bottom: 1.5rem;
}

.story-teaser p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Certifications Strip (Hidden by default, commented out styling available) */
.certifications-strip {
  padding: 4rem 0;
  background-color: var(--bg-sand);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.certifications-content {
  max-width: 800px;
  margin: 0 auto;
}

.certifications-content p {
  font-size: 1.05rem;
  color: var(--accent-cardamom);
  font-style: italic;
  margin-top: 0.5rem;
}

/* PRODUCT PAGES - Specific layout */
.product-hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  background-color: var(--bg-cream);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.product-hero-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

@media (max-width: 991px) {
  .product-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 1rem);
  }

  .product-hero-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .product-hero-details {
    width: 100%;
    height: auto;
    padding-top: 0;
    align-items: center;
    text-align: center;
  }

  .hero-description-wrapper {
    margin: 0 auto;
    text-align: center;
  }

  .product-hero-image-col {
    order: -1;
    width: 100%;
    height: 400px;
    margin-left: 0;
  }

  .hero-circle-bg {
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%); /* Center perfectly on mobile */
  }

  .product-hero-image-col img {
    width: 250px;
    height: 250px;
  }
}

.product-hero-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 600px;
  width: 500px; /* slightly wider for long words */
  padding-right: 0;
  padding-top: 4rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 10; /* Ensures text stays on top of the background circle */
}

.product-hero-header {
  display: flex;
  flex-direction: column;
}

.product-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 10vw, 3.8rem); /* Responsive sizing down to mobile */
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #a49e98;
  margin-bottom: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--color-forest);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.hero-description-wrapper {
  max-width: 400px;
}

.hero-desc-intro {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-forest);
  margin-bottom: 0.75rem;
}

.hero-desc-body {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-muted);
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1rem;
}

.product-hero-image-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  width: 550px;
  margin-left: -30px; /* Slight overlap with the text column for that magazine look */
}

.hero-circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(0%, -50%); /* Shifts circle right so its left edge aligns with the image center */
  width: 580px;
  height: 580px;
  border-radius: 50%;
  z-index: 1;
  transition: background-color 0.5s ease;
}

/* Theme Colors for Circles */
.theme-cardamom .hero-circle-bg { background-color: #d8e2d4; }
.theme-pepper .hero-circle-bg { background-color: #dfdbd6; }
.theme-cloves .hero-circle-bg { background-color: #ead6cc; }
.theme-cinnamon .hero-circle-bg { background-color: #ebd1be; }
.theme-ginger .hero-circle-bg { background-color: #f1eac8; }

.product-hero-image-col img {
  position: relative;
  z-index: 2;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 10px solid var(--bg-cream); /* Add a nice border so it pops against the background circle */
}

.product-blocks {
  padding: 6rem 0;
  background-color: var(--bg-beige);
  border-top: 1px solid var(--color-border);
}

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-right: 200px; /* Shift everything left to avoid the fixed right-side menu */
}

@media (max-width: 991px) {
  .blocks-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.block-item {
  background-color: var(--bg-cream);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.block-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--color-forest);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.block-title span {
  color: var(--accent-cardamom);
}

/* STORY PAGE */
.story-hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3.5rem;
  background-color: var(--bg-cream);
  text-align: center;
}

.story-hero h1 {
  margin-bottom: 1.5rem;
}

.story-image-wrap,
.story-video-wrap {
  width: 100%;
  max-width: 820px;
  max-height: 460px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  margin: 2.5rem auto 4.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  background-color: #0b1510;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.story-image-wrap img,
.story-video-wrap video,
.story-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .story-hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2rem;
  }
  .story-image-wrap,
  .story-video-wrap {
    margin: 1.5rem auto 3rem;
    border-radius: 16px;
    max-height: 300px;
  }
}

.story-narrative {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 8rem;
}

.story-block {
  margin-bottom: 5rem;
}

.story-block:last-child {
  margin-bottom: 0;
}

.story-block h3 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.story-block p {
  font-size: 1.35rem;
  line-height: 1.9;
  color: var(--color-muted);
}

/* CONTACT PAGE */
.contact-hero {
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: 8rem;
  background-color: var(--bg-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-details h1 {
  margin-bottom: 1.5rem;
}

.contact-details p {
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cardamom);
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #ffffff;
}

.contact-info-item a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-info-item a:hover {
  color: var(--accent-cardamom);
}

.contact-form-card {
  background-color: var(--bg-beige);
  padding: 3.5rem;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent-cardamom);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.25);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-cardamom);
  box-shadow: 0 0 0 3px rgba(220, 239, 217, 0.3);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Global Footer */
footer {
  margin-top: auto;
  background-color: #000000 !important;
  color: #064734 !important;
  padding: 5rem 0 3rem 0;
  border-top: 1px solid rgba(6, 71, 52, 0.3);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(6, 71, 52, 0.3);
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #064734 !important;
  text-decoration: none;
}

.footer-tagline {
  color: #064734 !important;
  font-size: 1.1rem;
  font-style: italic;
  max-width: 320px;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-tagline {
    text-align: left;
  }
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.footer-brand-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer-company-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.95;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-company-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .footer-brand-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-company-logo {
    height: 85px;
  }
}

.footer-legal {
  font-size: 0.85rem;
  color: #064734 !important;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: #064734 !important;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #0B6648 !important;
  text-decoration: underline;
}

/* Animations reveals and helpers */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-fade {
  opacity: 0;
}

/* Floating Right-Side Product Switcher */
.product-switcher {
  display: none; /* Hide any old switchers */
}

.product-switcher-side {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 100;
}

.side-semi-circle {
  position: relative;
  width: 300px;
  height: 600px;
  background-color: var(--bg-beige);
  border-radius: 300px 0 0 300px;
  border: 1px solid var(--color-border);
  border-right: none;
  box-shadow: -5px 0 20px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
}

.switcher-list-side {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
}

.switcher-item-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 170px;
  height: 52px;
  margin-top: -26px;
  margin-left: -85px;
  z-index: 2;
}

.switcher-item-side a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.item-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  text-align: right;
  transition: var(--transition-smooth);
}

.switcher-item-side a:hover .item-text,
.switcher-item-side.active .item-text {
  color: var(--accent-cardamom);
}

.item-img-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  background-color: var(--bg-sand);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* Position items along the arc using rotation */
.switcher-item-side:nth-child(1) { transform: rotate(-60deg) translateX(-200px) rotate(60deg); }
.switcher-item-side:nth-child(2) { transform: rotate(-30deg) translateX(-200px) rotate(30deg); }
.switcher-item-side:nth-child(3) { transform: rotate(0deg) translateX(-200px) rotate(0deg); }
.switcher-item-side:nth-child(4) { transform: rotate(30deg) translateX(-200px) rotate(-30deg); }
.switcher-item-side:nth-child(5) { transform: rotate(60deg) translateX(-200px) rotate(-60deg); }

.item-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.switcher-item-side a:hover .item-img-wrapper,
.switcher-item-side.active .item-img-wrapper {
  border-color: var(--accent-cardamom);
  transform: scale(1.15);
}

.switcher-item-side a:hover img,
.switcher-item-side.active img {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .product-switcher-side {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 95px; /* Increased to ensure ample room for text and image */
    transform: none;
    background: var(--color-forest); /* Blended with the dark background */
    border-top: none; /* Removed border to blend better */
    box-shadow: 0 -5px 15px rgba(0,0,0,0.15);
    z-index: 1000;
  }
  
  .side-semi-circle {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  .switcher-list-side {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end; /* Align to bottom */
    width: 100%;
    height: 100%;
    padding: 10px 5px;
  }
  
  .switcher-item-side {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    flex: 1; /* Allow equal distribution */
    transform: none !important;
  }
  
  .switcher-item-side a {
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 6px;
    height: 100%;
  }
  
  .item-img-wrapper {
    width: 44px;
    height: 44px;
    border-width: 1px;
    margin: 0 auto;
    border-color: var(--color-muted); /* Darker border for the dark background */
  }
  
  .item-text {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    font-size: 0.75rem; /* Increased font size for better legibility */
    line-height: 1.1;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    color: var(--bg-cream); /* Changed to light color for dark background */
    text-align: center;
    pointer-events: auto;
  }
}

/* --- Radial Scroll Gallery Styles --- */
.radial-process-section {
  padding-top: 5rem;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.radial-gallery-pin {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.radial-gallery-mask {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 40%, black 100%);
  mask-image: linear-gradient(to top, transparent 0%, black 40%, black 100%);
}

.radial-gallery-wheel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.radial-item {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Transform will be set via JS */
}

.radial-card {
  width: 360px;
  height: 480px;
  background-color: var(--bg-cream);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s;
  cursor: pointer;
}

@media (max-width: 768px) {
  .radial-card {
    width: 280px;
    height: 380px;
  }
}

.radial-card:hover {
  transform: scale(1.1) translateY(-1rem);
  z-index: 100;
}

.radial-gallery-wheel.has-hover .radial-card:not(:hover) {
  filter: blur(2px) grayscale(0.4);
  opacity: 0.6;
}

.radial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.radial-card:hover img {
  transform: scale(1.1);
}

.radial-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(6, 71, 52, 0.95) 0%, rgba(6, 71, 52, 0.4) 50%, transparent 100%);
}

.radial-step {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-turmeric);
  margin-bottom: 0.5rem;
  background: rgba(0,0,0,0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  width: fit-content;
}

.radial-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-forest);
}

.radial-card-content p {
  font-size: 0.85rem;
  color: var(--color-forest);
  line-height: 1.4;
  margin: 0;
  opacity: 0;
  max-height: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s, max-height 0.4s;
}

.radial-card:hover .radial-card-content p {
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
}

/* ── Depth Carousel ── */
.depth-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: var(--dc-perspective, 1400px);
  perspective-origin: 50% 50%;
  touch-action: pan-y;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  margin: 0 auto;
}

.depth-carousel:active {
  cursor: grabbing;
}

.depth-carousel__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.depth-carousel__card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  overflow: hidden;
  background: #0b0d12;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.65),
    0 8px 20px -10px rgba(0, 0, 0, 0.5);
  will-change: transform, opacity, filter;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.depth-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.depth-carousel__tint {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.depth-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3000;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(18, 20, 26, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.depth-carousel__arrow:hover {
  background: rgba(28, 31, 40, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}

.depth-carousel__arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.depth-carousel__arrow--prev {
  left: 16px;
}

.depth-carousel__arrow--next {
  right: 16px;
}

.depth-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14, 16, 22, 0.4);
  backdrop-filter: blur(6px);
}

.depth-carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.depth-carousel__dot.is-active {
  width: 20px;
  background: #fff;
}

.process-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  z-index: 2;
  pointer-events: none;
  text-align: left;
}
.process-card-content span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D39B31;
}
.process-card-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.5rem 0;
  font-family: var(--font-serif, 'Cinzel', serif);
}
.process-card-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
  margin: 0;
}

/* ── Depth Carousel ─────────────────────────────── */
.depth-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  perspective: var(--dc-perspective, 1400px);
  user-select: none;
  touch-action: pan-y;
}

.depth-carousel__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.depth-carousel__card {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  will-change: transform, opacity, filter, z-index;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 5px 15px rgba(0,0,0,0.2);
  cursor: pointer;
}

.depth-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.depth-carousel__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.process-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  z-index: 2;
  text-align: left;
}

.process-card-content span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cardamom, #A8C49E);
  margin-bottom: 0.5rem;
  display: block;
}

.process-card-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
}

.process-card-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
  margin: 0;
  font-family: var(--font-sans, sans-serif);
}

.depth-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3000;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.depth-carousel__arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.depth-carousel__arrow--prev {
  left: 2rem;
}

.depth-carousel__arrow--next {
  right: 2rem;
}

.depth-carousel__dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3000;
}

.depth-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.depth-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.4);
}

@media (max-width: 768px) {
  .depth-carousel__arrow {
    display: none;
  }
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 38%, rgba(28, 122, 92, 0.9) 0%, rgba(14, 86, 64, 0.95) 55%, #084936 100%);
}

/* ==========================================================================
   BENTO BOX PRODUCT PAGE OVERHAUL
   ========================================================================== */

.bento-hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
  background-color: transparent;
  min-height: auto;
  position: relative;
  z-index: 5;
}

.bento-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.bento-hero-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem 4rem 0;
}

.bento-hero-details .eyebrow {
  margin-bottom: 1rem;
}

.bento-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 2rem;
}

.bento-hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.bento-hero-image-wrap {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  min-height: 400px;
  background-color: var(--bg-sand);
}

.bento-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

@media (max-width: 991px) {
  .bento-hero-grid {
    grid-template-columns: 1fr;
  }
  .bento-hero-image-wrap {
    min-height: 300px;
  }
  .bento-hero-details {
    padding: 2rem 0;
    text-align: center;
    align-items: center;
  }
}

/* Horizontal Bento Switcher */
.bento-switcher-section {
  padding: 1rem 0;
  position: relative;
  z-index: 5;
}

.bento-switcher {
  background: linear-gradient(to right, #1c1c1e, #2c2c2e, #ff8c6b);
  border-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  overflow-x: auto;
  gap: 0.5rem;
}

.bento-switcher::-webkit-scrollbar {
  display: none;
}

.bento-switcher-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  border-radius: 100px;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.bento-switcher-item:hover, .bento-switcher-item.active {
  background: rgba(255,255,255,0.1);
}

.bento-switcher-item.active {
  background: rgba(255, 255, 255, 0.15);
}

.bento-switcher-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.bento-switcher-text {
  display: flex;
  flex-direction: column;
}

.bento-switcher-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.bento-switcher-subtitle {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Bento Grid */
.bento-grid-section {
  padding: 4rem 0 8rem;
  position: relative;
  z-index: 5;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

.bento-item {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.bento-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

/* Grid Spans */
.bento-row-2 {
  grid-row: span 2;
}

.bento-col-2 {
  grid-column: span 2;
}

@media (max-width: 991px) {
  .bento-row-2, .bento-col-2 {
    grid-row: span 1;
    grid-column: span 1;
    min-height: 300px;
  }
}

/* Item Variations */
.bento-image-only {
  padding: 0;
}
.bento-image-only img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.bento-image-only:hover img {
  transform: scale(1.08);
}

.bento-dark {
  background-color: #212124;
  color: #fff;
}
.bento-dark h3, .bento-dark p {
  color: #fff;
}
.bento-dark:hover {
  background-color: #2e2e33;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.07);
}

.bento-red {
  background: linear-gradient(135deg, #32252a 0%, #d8695d 100%);
  color: #fff;
}
.bento-red h3, .bento-red p {
  color: #fff;
}
.bento-red:hover {
  background: linear-gradient(135deg, #3e2d33 0%, #e07a6d 100%);
}

.bento-yellow {
  background-color: #f7b759;
  color: #1a1a1a;
}
.bento-yellow h3, .bento-yellow p {
  color: #1a1a1a;
}
.bento-yellow:hover {
  background-color: #f9c470;
  box-shadow: 0 24px 60px rgba(247, 183, 89, 0.4);
}

.bento-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Push text down like the template */
}

.bento-content.align-top {
  justify-content: flex-start;
}

.bento-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.bento-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

.bento-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  background: rgba(0,0,0,0.1);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.3s, letter-spacing 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bento-dark .bento-btn, .bento-red .bento-btn {
  background: rgba(255,255,255,0.15);
}

.bento-btn:hover {
  background: rgba(0,0,0,0.2);
  transform: translateX(4px);
  letter-spacing: 0.02em;
}
.bento-dark .bento-btn:hover, .bento-red .bento-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* Bento title subtle grow on card hover */
.bento-item:hover .bento-title {
  letter-spacing: 0.01em;
}

/* Overlay shimmer on image cards */
.bento-image-only::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.bento-image-only:hover::after {
  opacity: 1;
}

/* ── Stack Carousel ────────────────────────────────────── */
.stack-carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

.stack-carousel__track {
  position: relative;
  height: 580px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.stack-carousel__card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.35);
  transform: scale(0.75) translateZ(-180px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease;
  will-change: transform, opacity;
  z-index: 0;
}

.stack-carousel__card.active {
  transform: scale(1) translateZ(0);
  opacity: 1;
  z-index: 2;
}

.stack-carousel__card.exit-back {
  transform: scale(0.85) translateZ(-100px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.stack-carousel__card.enter-from-back {
  transform: scale(0.7) translateZ(-200px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.stack-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay for text readability */
.stack-carousel__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  pointer-events: none;
}

.stack-carousel__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 3;
  color: #fff;
}

.stack-carousel__step {
  display: block;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
}

.stack-carousel__content h3 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.stack-carousel__content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* Navigation */
.stack-carousel__nav {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.stack-carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  backdrop-filter: blur(6px);
}

.stack-carousel__btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
  transform: scale(1.08);
}

.stack-carousel__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.stack-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.stack-carousel__dot.active {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 600px) {
  .stack-carousel {
    max-width: 95vw;
  }
  .stack-carousel__track {
    height: 420px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL CONTRAST & VISIBILITY GUARANTEE FOR HEADINGS & SUBHEADINGS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL CONTRAST & VISIBILITY GUARANTEE FOR HEADINGS & SUBHEADINGS
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1. Base Defaults (Dark Theme Contexts) */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

.eyebrow {
  color: #ffffff;
}

/* 2. Why Section (Dark Green Section - Black Subheadings ONLY here) */
.why-section h1,
.why-section h2,
.why-section h4,
.why-section .eyebrow {
  color: #ffffff !important;
}

.why-title {
  color: #000000 !important;
  font-weight: 700;
}

.why-desc {
  color: #D1E5CF !important;
}

/* 3. Light Section Contexts (Spices Grid #F7F3EE, Light Cards, Forms) */
.spices-card-section h1,
.spices-card-section h2,
.spices-card-section h3,
.spices-card-section h4,
.spices-card-section .eyebrow,
.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white .eyebrow,
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light .eyebrow,
.light-section h1, .light-section h2, .light-section h3, .light-section h4, .light-section .eyebrow,
.white-bg h1, .white-bg h2, .white-bg h3, .white-bg h4, .white-bg .eyebrow,
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3, [data-theme="light"] h4, [data-theme="light"] .eyebrow,
.light-bg h1, .light-bg h2, .light-bg h3, .light-bg h4, .light-bg .eyebrow {
  color: #064734 !important;
}

/* 4. Split Heading Colors - Dark vs Light Sections */
/* On Dark Backgrounds (Default) */
.heading-first-half {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.heading-second-half {
  color: #DCEFD9 !important;
  -webkit-text-fill-color: #DCEFD9 !important;
}

/* On Light Backgrounds */
.spices-card-section .heading-first-half,
.bg-white .heading-first-half,
.bg-light .heading-first-half,
.light-section .heading-first-half,
.white-bg .heading-first-half {
  color: #064734 !important;
  -webkit-text-fill-color: #064734 !important;
}

.spices-card-section .heading-second-half,
.bg-white .heading-second-half,
.bg-light .heading-second-half,
.light-section .heading-second-half,
.white-bg .heading-second-half {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
}

/* 5. Hero & Section Specific Eyebrows */
.hero-content .eyebrow {
  color: var(--accent-turmeric) !important;
}

.bento-hero-details .eyebrow,
.story-hero .eyebrow,
.contact-hero .eyebrow,
.story-block .eyebrow {
  color: var(--accent-cardamom) !important;
}

/* 6. Bento Component Visibility */
.bento-hero-title {
  color: #ffffff !important;
}

.bento-switcher-title {
  color: #ffffff;
}

.bento-switcher-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.bento-switcher-item.active {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25) !important;
}

.bento-switcher-item.active .bento-switcher-title {
  color: #064734 !important;
  -webkit-text-fill-color: #064734 !important;
}

.bento-switcher-item.active .bento-switcher-subtitle {
  color: #1a4d3b !important;
  -webkit-text-fill-color: #1a4d3b !important;
}

.bento-title {
  color: #ffffff;
}

.bento-dark .bento-title,
.bento-red .bento-title {
  color: #ffffff !important;
}

.bento-yellow .bento-title {
  color: #1a1a1a !important;
}

.bento-yellow .bento-text {
  color: #222222 !important;
}

.bento-white .bento-title,
.bg-white .bento-title {
  color: #064734 !important;
}

/* 7. Contact Info Items */
.contact-info-item h4 {
  color: var(--accent-cardamom) !important;
}

.contact-info-item p,
.contact-info-item a {
  color: #ffffff !important;
}

/* Company Card Labels & Values */
.company-card-label {
  font-family: 'Anton', Impact, sans-serif !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--accent-cardamom) !important;
}

.company-card-val {
  font-family: var(--font-sans, sans-serif);
  font-size: 1.05rem !important;
  color: #ffffff !important;
  line-height: 1.6 !important;
}

.cin-val,
.company-card-val.cin-val {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: 0.04em !important;
  font-weight: 500 !important;
}

/* 8. Carousel & Card Headers */
.stack-carousel__content h3 {
  color: #ffffff !important;
}

.spice-card-text h3 {
  color: #ffffff !important;
}

/* 9. Strict Transparent Background Reset for Split Spans */
.heading-first-half,
.heading-second-half,
h1 .heading-second-half,
h2 .heading-second-half,
h3 .heading-second-half,
h4 .heading-second-half,
h5 .heading-second-half,
h6 .heading-second-half,
.eyebrow .heading-second-half {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  display: inline !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STRICT NO-BACKGROUND / NO-RECTANGLE RESET FOR ALL HEADING SPANS
   ═══════════════════════════════════════════════════════════════════════════ */
.heading-first-half,
.heading-second-half,
h1 .heading-second-half,
h2 .heading-second-half,
h3 .heading-second-half,
h4 .heading-second-half,
h5 .heading-second-half,
h6 .heading-second-half,
.eyebrow .heading-second-half {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  display: inline !important;
}
