/* â”€â”€ Google Fonts fallback (clean geometric sans-serif) â”€â”€ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

@font-face {
  font-family: 'Paralucent';
  src: url('../assets/fonts/Paralucent/fonnts.com-Paralucent_Text_Bold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Paralucent';
  src: url('../assets/fonts/Paralucent/fonnts.com-Paralucent_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Neulis Sans';
  src: url('../assets/fonts/Neulis Sans/NeulisAlt-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Sans';
  src: url('../assets/fonts/Neulis Sans/NeulisAlt-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Sans';
  src: url('../assets/fonts/Neulis Sans/NeulisAlt-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Sans';
  src: url('../assets/fonts/Neulis Sans/NeulisAlt-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Sans';
  src: url('../assets/fonts/Neulis Sans/NeulisAlt-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Heritage Mello Colors */
  --cream: #FFF1EB;
  --cream-dark: #F5E8DF;
  --cream-deep: #EDD9CC;
  --red: #C03235;
  --red-dark: #A0282A;
  --purple: #20144f;
  --purple-dark: #3D3070;
  --blue: #554299;
  --ink: #1A1209;
  --ink-80: rgba(26, 18, 9, 0.8);
  --ink-50: rgba(26, 18, 9, 0.67);
  /* Updated to match new secondary font color */
  --ink-20: rgba(26, 18, 9, 0.2);
  --ink-08: rgba(26, 18, 9, 0.08);
  --white: #FFFFFF;
  --warm-accent: #FFE7C7;
  --lake-blue: #3F51B4;
  --crimson: #CC1E4B;

  /* Typography Colors */
  --primary-text: rgba(0, 0, 0, 0.74);
  /* Paraluceunt */
  --secondary-text: rgba(26, 18, 9, 0.67);
  /* Neulis Sans */

  /* Typography */
  --font-serif: 'Paralucent', sans-serif;
  --font-sans: 'Neulis Sans', sans-serif;

  /* Spacing & Radii */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --max-w-text: 65ch;
  --section-py: var(--space-xl);
  --section-px: 2rem;
  --max-w: 1320px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Transitions */
  --dur-fast: 0.2s;
  --dur-mid: 0.4s;
  --dur-slow: 0.7s;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(26, 18, 9, 0.06);
  --shadow-md: 0 12px 40px rgba(26, 18, 9, 0.1);
  --shadow-lg: 0 30px 80px rgba(26, 18, 9, 0.12);
  --shadow-red: 0 12px 48px rgba(192, 50, 53, 0.25);

  /* Patterns */
  --bg-pattern: url('../assets/images/pattern.png');

  /* Brand Branding Variables */
  --brand-blue: #201252;
  --brand-white: #FFFFFF;
}

/* â”€â”€ Reset & Base â”€â”€ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  background-color: var(--cream);
  color: var(--secondary-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
  /* Force Geometric Sans look by disabling cursive alternates */
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 0, 'salt' 0, 'ss01' 0, 'ss02' 0, 'ss03' 0, 'ss04' 0, 'ss05' 0, 'swsh' 0;
  font-variant-alternates: normal;
}

/* Global Typography Application */
p,
span,
li,
small,
label {
  color: var(--secondary-text);
}

strong {
  color: var(--primary-text);
}

/* Exclusions: Maintain light text in dark sections */
.hero p,
.hero span,
.hero li,
.hero label,
.hero strong,
.footer p,
.footer span,
.footer li,
.footer label,
.footer a,
.footer strong,
.transparency p,
.transparency span,
.transparency li,
.transparency strong,
.nutrition p,
.nutrition span,
.nutrition li,
.nutrition strong,
.promise-strip p,
.promise-strip span,
.promise-strip strong,
.why-mello p,
.why-mello span,
.why-mello strong,
.ticker p,
.ticker span,
.ticker strong {
  color: inherit;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--bg-pattern);
  background-repeat: repeat;
  background-size: 450px;
  opacity: 0.05;
  /* Reduced from 0.5 to 0.05 */
  z-index: -1;
  pointer-events: none;
}


h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: 'Paralucent', var(--font-serif);
}

h1 {
  font-size: 46px;
}

h2,
h3 {
  font-size: 28px !important;
  font-weight: 500;
}


h4 {
  font-size: 28px;
}

@media (max-width: 768px) {

  h1 {
    font-size: 38px !important;
    color: #C03235 !important;
    line-height: 1.2;
  }

  h2,
  h3,
  h4 {
    font-size: 20px !important;
    color: #3F3C3A !important;
    line-height: 1.4;
  }

  p {
    font-size: 15px !important;
    line-height: 1.7;
    /* Keep existing brand text color */
  }

}

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

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

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

ul,
ol {
  list-style: none;
}

/* â”€â”€ Typography Scale â”€â”€ */
.t-display {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 1.0;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.t-hero {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.t-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.t-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.t-h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.3;
  font-weight: 500;
}

.t-label {
  font-family: var(--font-serif) !important;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
}

/* Shared utility for all uppercase label caps across sections */
.label-caps {
  font-family: var(--font-serif);
  font-size: 34px !important;
  color: var(--red);
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

/* Consistent section-header pattern: center-aligned with standard spacing */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  max-width: var(--max-w-text);
  margin-inline: auto;
}

.section-header .label-caps {
  margin-bottom: 1.5rem;
}

.t-body-lg {
  font-size: 1.125rem;
  line-height: 1.6;
}

.t-body {
  font-size: 1rem;
  line-height: 1.6;
}

.t-body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* â”€â”€ Layout Utilities â”€â”€ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.section {
  padding-block: var(--section-py);
  scroll-margin-top: 100px;
}

.section--sm {
  padding-block: var(--space-md);
}

.section--lg {
  padding-block: var(--space-2xl);
}

@media (max-width: 768px) {
  .section--lg {
    padding-block: var(--space-xl);
  }

  .section {
    padding-block: var(--space-lg);
  }
}



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

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.mx-auto {
  margin-inline: auto !important;
}

.max-w-text {
  max-width: var(--max-w-text) !important;
  margin-inline: auto;
}

.mt-auto {
  margin-top: auto !important;
}

.mb-xs {
  margin-bottom: var(--space-xs) !important;
}

.mb-sm {
  margin-bottom: var(--space-sm) !important;
}

.mb-md {
  margin-bottom: var(--space-md) !important;
}

.mb-lg {
  margin-bottom: var(--space-lg) !important;
}

.mb-xl {
  margin-bottom: var(--space-xl) !important;
}

.mb-2xl {
  margin-bottom: var(--space-2xl) !important;
}

.pb-xs {
  padding-bottom: var(--space-xs) !important;
}

.pb-sm {
  padding-bottom: var(--space-sm) !important;
}

.pb-md {
  padding-bottom: var(--space-md) !important;
}

.pb-lg {
  padding-bottom: var(--space-lg) !important;
}

.pb-xl {
  padding-bottom: var(--space-xl) !important;
}

.pb-2xl {
  padding-bottom: var(--space-2xl) !important;
}

/* â”€â”€ Buttons â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: normal;
  transition: all var(--dur-mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 16px 56px rgba(192, 50, 53, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-20);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--purple);
}

.btn-icon {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-08);
  transition: all var(--dur-mid) var(--ease);
}

.btn-icon:hover {
  background: var(--ink);
  color: var(--cream);
  transform: scale(1.1);
}

/* â”€â”€ Navigation â”€â”€ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.4rem var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--dur-mid) var(--ease);
  background: rgba(255, 241, 235, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-08);
}

.nav.scrolled {
  background: var(--red);
  /* Pop Red Update */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, padding 0.3s ease;
}

.nav.scrolled .nav-links a {
  color: var(--white);
}

.nav.scrolled .nav-links a::after {
  background: var(--white);
}

.nav.scrolled .nav-toggle span {
  background: var(--white);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  height: 40px;
  /* Ensure consistent height */
  width: auto;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 240px;
  display: block;
  transition: opacity 0.3s ease, transform var(--dur-mid) var(--ease);
  object-fit: contain;
}

/* Layering for smooth transition */
.nav-logo-img.logo-dark {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.nav.scrolled .logo-light {
  opacity: 0;
  pointer-events: none;
}

.nav.scrolled .logo-dark {
  opacity: 1;
  pointer-events: auto;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: normal;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  transition: opacity var(--dur-fast), color var(--dur-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform var(--dur-mid) var(--ease);
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--dur-mid) var(--ease);
}

/* â”€â”€ SECTION: Hero â”€â”€ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 7rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 50, 53, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  padding: 1.5rem 0 1.5rem var(--section-px);
}

.hero-label {
  color: var(--red);
  margin-bottom: 2.25rem;
}

.hero-title {
  color: var(--primary-text);
  margin-bottom: 2rem;
  font-size: 75px;
  line-height: 1.1;
  letter-spacing: normal;
}

.hero-title em {
  color: var(--red);
}

.hero-subtitle {
  color: var(--primary-text);
  opacity: 1;
  font-weight: 500;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

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

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-08);
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--ink-50);
  margin-top: 0.3rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  perspective: 1200px;
}

/* â”€â”€ Hero Parallax Layers â”€â”€ */
.hero-parallax-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  /* Removed transition to let GSAP handle smooth movement */
}

.hero-parallax-layer * {
  pointer-events: auto;
}

/* â”€â”€ Decorative Particles â”€â”€ */
.hero-deco {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.5;
  filter: blur(0.5px);
  z-index: 0;
  user-select: none;
  will-change: transform;
}

/* Fallback animations if JS fails */
@media (prefers-reduced-motion: no-preference) {
  .hero-deco {
    animation: floatingDeco 12s ease-in-out infinite;
  }
}

@keyframes floatingDeco {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  33% {
    transform: translate3d(15px, -25px, 0) rotate(12deg);
  }

  66% {
    transform: translate3d(-12px, -15px, 0) rotate(-8deg);
  }
}

.hero-deco--1 {
  top: 22%;
  left: 18%;
  animation-duration: 14s;
}

.hero-deco--2 {
  top: 65%;
  right: 12%;
  animation-duration: 16s;
  animation-delay: -3s;
}

.hero-deco--3 {
  bottom: 28%;
  left: 14%;
  animation-duration: 19s;
  animation-delay: -6s;
}

.hero-deco--4 {
  top: 18%;
  right: 22%;
  animation-duration: 15s;
  animation-delay: -8s;
}

.hero-deco--5 {
  bottom: 15%;
  right: 18%;
  opacity: 0.3;
  font-size: 1.4rem;
}

.hero-deco--6 {
  top: 40%;
  left: 10%;
  opacity: 0.3;
  font-size: 2.25rem;
}


.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--ink-08);
  pointer-events: none;
}

.hero-ring-1 {
  width: 400px;
  height: 400px;
}

.hero-ring-2 {
  width: 580px;
  height: 580px;
  border-color: var(--ink-20);
  animation: rotateRing 20s linear infinite;
}

.hero-ring-3 {
  width: 720px;
  height: 720px;
  animation: rotateRingReverse 30s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateRingReverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.hero-product-img {
  width: 420px;
  height: 520px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 40px 80px rgba(26, 18, 9, 0.15));
  will-change: transform;
}

/* Fallback float for product img */
@media (prefers-reduced-motion: no-preference) {
  .hero-product-img {
    animation: floatY 6s ease-in-out infinite;
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0.001deg);
  }

  50% {
    transform: translate3d(0, -20px, 0) rotate(1deg);
  }
}

.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
  will-change: transform;
  border: 1px solid var(--ink-08);
}


.hero-badge--1 {
  bottom: 25%;
  left: -2rem;
  animation-delay: 0s;
}

.hero-badge--2 {
  top: 25%;
  right: -1rem;
  animation-delay: 1.5s;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1.5deg);
  }

  50% {
    transform: translate3d(0, -18px, 0) rotate(2.5deg);
  }
}


.hero-badge-icon {
  font-size: 2.25rem;
}

.hero-badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-badge-sub {
  font-size: 0.68rem;
  color: var(--ink-50);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-50);
  font-size: 0.7rem;
  letter-spacing: normal;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    height: 40px;
  }

  50% {
    opacity: 1;
    height: 60px;
  }
}

/* â”€â”€ Mobile Motion Reduction â”€â”€ */
@media (max-width: 768px) {
  .hero-parallax-layer {
    transition: none !important;
    transform: none !important;
  }

  .hero-product-img,
  .hero-badge,
  .hero-deco {
    animation-duration: 8s !important;
  }
}


/* â”€â”€ SECTION: Ticker / Marquee â”€â”€ */
.ticker {
  background: #554299;
  /* Quirky Purple Update */
  color: var(--cream);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
  .ticker-track {
    animation-duration: 20s;
    animation-timing-function: linear !important;
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
  padding-right: 2.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-dot {
  color: var(--red);
  font-size: 1.2rem;
}

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

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

/* â”€â”€ SECTION: Honesty / Transparency Intro â”€â”€ */
.honesty {
  text-align: left;
  background-color: var(--cream);
}

.honesty-content {
  max-width: 820px;
  margin: 0 auto;
}

.honesty-label {
  color: var(--red);
}

.honesty-main {
  margin-bottom: 2.5rem;
}

.honesty-body {
  max-width: 650px;
  margin: 0px;
  color: var(--secondary-text);
}

.highlight-progress {
  display: inline-block;
  /* critical fix */
  position: relative;

  background-image: linear-gradient(var(--h-color, rgba(192, 50, 53, 0.22)),
      var(--h-color, rgba(192, 50, 53, 0.22)));

  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 0 100%;

  color: inherit;

  /* remove hidden spacing issues */
  margin: 0;
  padding: 0;

  /* improves rendering precision */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.brand-word {
  color: #C03235;
  font-weight: 700;
}

.underline-progress {
  position: relative;
  display: inline;
  margin-left: 0;
  padding-left: 0;
  text-rendering: optimizeLegibility;
}

.underline-progress::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: var(--u-width, 0%);
  background-color: #C03235;
  transform: translateX(-1px);
  transform-origin: left;
}

@media (max-width: 768px) {
  .underline-progress {
    display: inline-block;
    white-space: nowrap;
  }

  .underline-progress::after {
    bottom: -2px;
    z-index: 1;
    /* GPU friendly */
    will-change: width;
  }
}

/* â”€â”€ SECTION: Emotional Connection / Google Questions â”€â”€ */
.google-questions {
  background-color: #FFFFFF;
  color: var(--red);
}

.google-questions * {
  color: #655B53 !important;
  color: var(--red) !important;
}

.questions-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: left;
}

.questions-intro {
  margin-bottom: rem;
  opacity: 0.8;
  font-size: 34px;
  letter-spacing: normal;
}

.questions-stack {
  display: flex;
  flex-direction: column;
  gap: 0.0rem;
}

.question-item {
  font-style: normal;
  opacity: 0.9;
  line-height: 1.1 !important;
  font-weight: 500;
  color: var(--red) !important;
}

.questions-stack .question-item:not(:last-child) {
  margin-bottom: 14px !important;
}

@media (max-width: 768px) {
  .question-item {
    line-height: 1.05 !important;
  }
}

.emotional-statement {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: normal;
  font-size: 46px;
  color: #655B53 !important;
}

@media (max-width: 991px) {
  .questions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .questions-stack {
    align-items: left;
  }

  .emotional-statement {
    font-size: 18px;
  }
}

/* ── SECTION: Why Mello? / Feature Cards ── */
.pillars {
  background-color: #FFF1EB !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 2.5rem 0 !important;
}

/* Decorative SVGs */
.pillar-deco {
  position: absolute;
  opacity: 0.12;
  color: #3D3070;
  pointer-events: none;
}

.deco-paw {
  top: 15%;
  left: 10%;
  transform: rotate(-15deg);
}

.deco-leaf {
  bottom: 20%;
  right: 12%;
  transform: rotate(25deg);
}

.deco-sparkle {
  top: 30%;
  right: 15%;
}

.pillars-header {
  text-align: center !important;
  margin-bottom: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.pillars-label {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  color: #C03235 !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 1.5rem;
  line-height: 1.1 !important;
}

.pillars-divider {
  width: 60px !important;
  height: 2px !important;
  background-color: #C03235 !important;
  margin: 0 auto 1.5rem !important;
  opacity: 0.5 !important;
}

.pillars-subtitle {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.2rem, 2vw, 1.8rem) !important;
  color: #3D2B1F !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* 4x1 grid */
/* ── Why Mello? image grid ── */
.pillars-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  justify-content: center !important;
  max-width: 1560px !important;
  /* Increased to allow 20-30% growth */
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  list-style: none !important;
  box-sizing: border-box !important;
}

/* ── Why Mello Card Styles ── */
.mello-feature-card {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 720;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #8C2422;
}

.mello-feature-card .bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
  border-radius: 0;
  box-shadow: none;
}

.mello-feature-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  padding: 15% 10% 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.mf-icon {
  width: 25%;
  aspect-ratio: 1 / 1;
  background-color: #F3CFA8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10%;
  /* Increased vertical spacing */
  position: relative;
}

.mf-icon svg {
  width: 50%;
  height: 50%;
  stroke: #8C2422;
  stroke-width: 1.5;
}

.mf-sparkle {
  position: absolute;
  top: -10%;
  left: -15%;
  width: 40% !important;
  height: 40% !important;
  stroke: #C03235 !important;
}

.mf-heading {
  font-family: var(--font-serif);
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 6%;
  /* Increased vertical spacing */
  color: #8C2422;
}

.mf-divider {
  margin: 0 0 8%;
  /* Increased vertical spacing */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #D1AA93;
}

.mf-desc {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  color: #2F1F1A;
}

/* Mobile fine-tuning */
@media (max-width: 768px) {
  .mello-feature-card-content {
    padding: 12% 5% 10%;
  }

  .mf-icon {
    width: 26%;
    margin-bottom: 12%;
  }

  .mf-heading {
    font-size: 12px;
    margin-bottom: 8%;
  }

  .mf-divider {
    margin-bottom: 14%;
  }

  .mf-desc {
    font-size: 10px;
  }
}

/* iOS small screen tweaks (iPhone SE, etc.) */
@media (max-width: 375px) {
  .mello-feature-card-content {
    padding: 10% 4% 8%;
  }

  .mf-heading {
    font-size: 14px;
    line-height: 1.25;
  }

  .mf-desc {
    font-size: 9px;
    line-height: 1.5;
  }
}

/* ── Responsive: tablet (768px–1023px) ── */
@media (max-width: 1023px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    justify-content: center !important;
    padding: 0 0.5rem !important;
    max-width: 100% !important;
  }
}

/* ── Responsive: mobile (≤768px) ── */
@media (max-width: 768px) {
  .pillars {
    padding: 2rem 0 !important;
  }

  .pillars-header {
    margin-bottom: 1rem !important;
    padding: 0 1rem !important;
  }

  .pillars-label {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
  }

  .pillars-subtitle {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    margin-top: 1rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    /* Set to 12px per requirements */
    justify-content: center !important;
    padding: 0 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* Organic shapes for mobile slightly scaled down */
  .pillar-card:nth-child(1) {
    border-radius: 24px 18px 28px 15px !important;
  }

  .pillar-card:nth-child(2) {
    border-radius: 15px 24px 18px 28px !important;
  }

  .pillar-card:nth-child(3) {
    border-radius: 28px 15px 24px 18px !important;
  }

  .pillar-card:nth-child(4) {
    border-radius: 18px 28px 15px 24px !important;
  }

  .pillar-icon-wrap {
    width: 60px !important;
    height: 60px !important;
    padding-block: 10px !important;
    margin: 0 auto 8px !important;
  }

  /* .pillar-icon-img styling handled by Tailwind classes */

  .pillar-title {
    font-size: 0.95rem !important;
    margin: 0 0 0.75rem !important;
  }

  .pillar-card-divider {
    margin-bottom: 0px !important;
    margin-top: auto !important;
  }

  .pillar-card-divider::before,
  .pillar-card-divider::after {
    width: 20px;
    margin: 0 6px;
  }

  .pillar-desc {
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
  }

  .deco-paw {
    top: 2%;
    left: 3%;
    width: 24px;
    height: 24px;
  }

  .deco-leaf {
    bottom: 1%;
    right: 3%;
    width: 20px;
    height: 20px;
  }

  .deco-sparkle {
    top: 8%;
    right: 5%;
    width: 20px;
    height: 20px;
  }
}

/* Tablet: keep 2-column */
@media (min-width: 769px) and (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: px !important;
  }
}

/* â”€â”€ SECTION: Promise Strip â”€â”€ */
.promise-strip {
  background: #554299;
  color: var(--white);
  padding: 15px 0;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promise-strip::before {
  content: 'mello';
  position: absolute;
  font-family: var(--font-serif);
  font-size: 20rem;
  font-weight: bold;
  font-style: italic;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.promise-quote {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.15;
  max-width: 900px;
  margin: 24px;
}

@media (max-width: 768px) {
  .promise-strip {
    padding: 30px;
  }

  .promise-strip .container {
    position: relative;
    z-index: 2;
  }

  .promise-strip::before {
    font-size: 11rem;
    z-index: 0;
  }

  #promise-section h2.label-caps,
  #promise-section h1.label-caps {
    margin-bottom: 1.5rem;
  }

  #promise-section h3.promise-quote {
    font-size: 28px !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2 !important;
    padding: 0;
  }

  #promise-section h4.t-body {
    font-size: 20px !important;
    line-height: 1.4 !important;
    max-width: 350px !important;
    /* Slightly wider for better balance */
    margin: 0 auto !important;
  }

  /* Tighten spacing between text blocks within the paragraph */
  #promise-section h4.t-body br+br {
    display: none !important;
  }
}

.promise-attr {
  margin-top: 2rem;
  opacity: 0.7;
  font-size: 0.85rem;
  letter-spacing: normal;
}

/* â”€â”€ SECTION: Ingredients Tabbed â”€â”€ */
.ingredients-tabs {
  background-color: var(--cream);
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 6.5rem;
  align-items: center;
}

.ingredients-left {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pill-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1px;
  width: 100%;
}

.pill-tab {
  padding: 1rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  background: var(--ink-08);
  color: var(--ink);
  transition: all var(--dur-mid) var(--ease);
  border: 1px solid transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
}

.pill-tab.active {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.pill-tab:hover:not(.active) {
  background: var(--ink-20);
}

.ingredients-right {
  min-height: 500px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.tab-panel {
  display: none;
  animation: fadeInSlide 0.5s ease forwards;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-header {
  margin-bottom: 2rem;
  padding-top: 0;
}

.panel-title {
  margin: 0;
  color: var(--primary-text);
  line-height: 1.2;
}

.ingredient-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.ingredient-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  padding: 10px 20px !important;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--ink-08);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-mid) var(--ease);
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 0;
}

.ingredient-card:hover {
  transform: translateX(5px);
  border-color: var(--red);
}

.ing-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  flex-shrink: 0;
}

.ing-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.ing-name {
  font-weight: 700;
  color: var(--primary-text);
  font-size: 1rem;
}

.ing-benefit {
  font-size: 0.85rem;
  color: var(--secondary-text);
  font-weight: 400;
}

@media (max-width: 992px) {
  .ingredients-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .ingredients-left {
    position: static;
    margin-bottom: 0;
  }

  .ingredients-left .label-caps {
    font-size: 0.65rem;
  }

  .ingredients-left .t-h1 {
    font-size: 1.6rem;
    line-height: 1.15;
    margin-top: 0.2rem;
  }

  .pill-tabs {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0px;
    gap: 0.6rem;
  }

  .pill-tab {
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
    min-height: 3.2rem;
  }

  .panel-header {
    margin-bottom: 1.25rem;
    border-top: 1px solid var(--ink-08);
    padding-top: 1rem;
  }

  .ingredients-right {
    min-height: auto;
  }
}


/* â”€â”€ SECTION: Nutrition Comparison â”€â”€ */
.nutrition {
  background: #3F51B4;
  position: relative;
  overflow: hidden;
}

.nutrition::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/images/process-purple-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}

.nutrition>* {
  position: relative;
  z-index: 1;
}

.nutrition h1,
.nutrition h2,
.nutrition h3,
.nutrition h4,
.nutrition h5,
.nutrition h6,
.nutrition p {
  color: var(--warm-accent) !important;
}

.nutrition .story-label {
  color: #F6EAAA;
}

.nutrition-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.nutrition-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.nutrition-table th,
.nutrition-table td {
  padding: 1.3rem 1.8rem;
  text-align: left;
  border-bottom: 1px solid var(--ink-08);
}

.nutrition-table th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--ink-50);
  background: var(--cream-dark);
}

.nutrition-table th:first-child {
  border-radius: var(--r-xl) 0 0 0;
}

.nutrition-table th:last-child {
  border-radius: 0 var(--r-xl) 0 0;
}

.nutrition-table tr:last-child td {
  border-bottom: none;
}

.nutrition-table tr:hover td {
  background: var(--cream);
}

.nutrition-table .col-mello {
  color: var(--red);
  font-weight: 700;
}

.nutrition-table .col-trad {
  color: var(--ink-50);
}

.check {
  color: var(--purple);
  font-size: 1.1rem;
}

.cross {
  color: var(--ink-20);
  font-size: 1.1rem;
}

.nutrition-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--ink-50);
  font-size: 0.5rem;
}

/* â”€â”€ SECTION: Transparency Strip â”€â”€ */
.transparency {
  background: #3F51B4;
  color: var(--warm-accent);
  padding: 15px 0;
  position: relative;
  overflow: hidden;
}

.transparency h1,
.transparency h2,
.transparency h3,
.transparency h4,
.transparency h5,
.transparency h6,
.transparency p,
.transparency .trans-num,
.transparency .trans-label {
  color: var(--warm-accent) !important;
}

.transparency::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/images/process-purple-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}

.transparency>* {
  position: relative;
  z-index: 1;
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trans-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trans-sup {
  font-size: 2.25rem;
  vertical-align: super;
}

.trans-label {
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: normal;
}

.transparency-heading {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  opacity: 0.9;
}

/* â”€â”€ SECTION: Sourcing Map removed â”€â”€ */

.map-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 40% at 35% 45%, rgba(192, 50, 53, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 70% 60%, rgba(85, 66, 153, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, var(--cream-dark) 0%, var(--cream-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-dots-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-dot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.map-dot-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--white);
  position: relative;
  animation: mapPulse 3s ease-in-out infinite;
}

.map-dot-pin::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.3;
  animation: mapRipple 3s ease-in-out infinite;
}

@keyframes mapPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes mapRipple {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.map-dot-label {
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.map-dot--1 {
  top: 28%;
  left: 25%;
}

.map-dot--1 .map-dot-pin {
  background: var(--red);
  color: var(--red);
}

.map-dot--2 {
  top: 55%;
  left: 60%;
}

.map-dot--2 .map-dot-pin {
  background: var(--purple);
  color: var(--purple);
}

.map-dot--3 {
  top: 40%;
  left: 48%;
}

.map-dot--3 .map-dot-pin {
  background: var(--blue);
  color: var(--blue);
}

.map-dot--4 {
  top: 70%;
  left: 35%;
}

.map-dot--4 .map-dot-pin {
  background: var(--red-dark);
  color: var(--red-dark);
}

.map-dot--5 {
  top: 20%;
  left: 68%;
}

.map-dot--5 .map-dot-pin {
  background: var(--purple-light);
  color: var(--purple-light);
}

.products-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.products-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--bg-pattern);
  background-repeat: repeat;
  background-size: 450px;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.products-section>* {
  position: relative;
  z-index: 1;
}

.products-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.shop-banner-wrap {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 40px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow:
    0 10px 20px rgba(26, 18, 9, 0.05),
    0 30px 60px rgba(26, 18, 9, 0.1),
    0 50px 100px rgba(26, 18, 9, 0.08);
  transition: transform var(--dur-mid) var(--ease);
}

.shop-banner-wrap:hover {
  transform: translateY(-10px);
}

.shop-banner-link {
  display: block;
  width: 100%;
  height: 100%;
}

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

.shop-banner-link:hover .shop-banner-img {
  transform: scale(1.05);
}

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

.section-actions {
  text-align: center;
  margin-top: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ink-08);
  transition: all var(--dur-mid) var(--ease);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-card-img-wrap {
  aspect-ratio: 1/1;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--cream-dark) 100%);
  pointer-events: none;
}

.product-img {
  width: 70%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--ease);
  filter: drop-shadow(0 10px 30px rgba(26, 18, 9, 0.12));
}

.product-card:hover .product-img {
  transform: scale(1.06) translateY(-5px);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge--new {
  background: var(--red);
  color: var(--white);
}

.product-badge--top {
  background: var(--purple);
  color: var(--white);
}

.product-badge--best {
  background: var(--purple);
  color: var(--white);
}

.product-info {
  padding: 1.8rem 0rem 0rem;
}

.product-type {
  color: var(--ink-50);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

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

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 2.25rem;
}

.product-cta {
  padding: 0.65rem 1.4rem;
  font-size: 0.8rem;
}

/* â”€â”€ SECTION: Process / How It's Made â”€â”€ */
.process {
  background: #3F51B4;
  color: var(--cream);
  position: center;
  overflow: hidden;
}

/* Keep section label ("The Mello Method") in brand red */
.process .story-label {
  color: #FFE7C7;
}

/* All body / step text in cream for contrast on Lake Blue */
.process h2,
.process h3,
.process h4,
.process h5,
.process h6,
.process p,
.process-step-title,
.process-step-desc {
  color: var(--cream) !important;
}

.process-num {
  color: var(--cream);
  opacity: 0.2;
}

.process-visual {
  margin-top: 1.5rem;
  width: 100%;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

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

.process-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.process-header .t-label {
  color: var(--cream);
  margin-bottom: 1rem;
  display: block;
  letter-spacing: normal;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.8rem;
  left: calc(12.5% + 2rem);
  right: calc(12.5% + 2rem);
  height: 1px;
  background: linear-gradient(to right, var(--red), var(--purple), var(--purple-dark));
  z-index: 0;
}

.process-step {
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  background: var(--ink);
  position: relative;
}

.process-step:nth-child(1) .process-step-num {
  border-color: var(--red);
  color: var(--red);
}

.process-step:nth-child(2) .process-step-num {
  border-color: var(--purple);
  color: var(--purple);
}

.process-step:nth-child(3) .process-step-num {
  border-color: var(--purple);
  color: var(--purple);
}

.process-step:nth-child(4) .process-step-num {
  border-color: var(--cream);
  color: var(--cream);
}

.process-step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.process-step-desc {
  font-size: 0.875rem;
  color: rgba(255, 241, 235, 0.5);
  line-height: 1.6;
}

/* â”€â”€ SECTION: Social Proof / Testimonials â”€â”€ */
.social-proof {
  background: var(--cream-dark);
}

.social-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.social-label {
  color: var(--red);
  display: block;
  margin-bottom: 1.5rem;
}

.testimonials-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 32px;
  padding: 60px 0 20px;
  scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 22px);
  scroll-snap-align: center;
  background: var(--white);
  border-radius: 20px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06) !important;
  padding: 50px 24px 24px !important;
  text-align: center;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  overflow: visible !important;
  border: none !important;
  position: relative;
  box-sizing: border-box;
}



.testimonial-author {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  order: -1;
  width: 100%;
}

.testimonial-avatar {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: var(--cream) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2.5rem !important;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 !important;
  overflow: hidden;
  border: 4px solid #fff;
}

.testimonial-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.testimonial-author>div:not(.testimonial-avatar) {
  margin-top: 50px;
}

.testimonial-name {
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  margin-bottom: 5px;
  color: var(--ink);
}

.testimonial-pet {
  font-size: 0.85rem;
  color: var(--ink-50);
}

.testimonial-text {
  order: 1;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  color: var(--ink-80) !important;
  margin-top: 15px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.testimonial-stars {
  order: 2;
  color: #FACC15 !important;
  font-size: 1.25rem !important;
  letter-spacing: 2px;
  margin-top: auto;
  margin-bottom: 0;
}

/* Clear old featured modifiers */
.testimonial-card--featured {
  background: var(--white);
  color: var(--ink);
}

.testimonial-card--featured .t-label {
  color: var(--red);
}

.testimonial-card--featured .testimonial-text {
  font-size: 1rem !important;
}

.testimonial-card--featured .testimonial-pet {
  color: var(--ink-50);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    gap: 24px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    gap: 16px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .testimonial-card {
    flex: 0 0 90%;
  }

  .testimonial-avatar {
    width: 64px !important;
    height: 64px !important;
    font-size: 2rem !important;
    top: -32px;
  }
}

.pet-moments-label {
  text-align: center;
  margin-top: 1.5rem;
}

/* â”€â”€ SECTION: Pet Moments Masonry â”€â”€ */
.pet-moments {
  background: var(--cream);
}

.pet-moments-header {
  text-align: center;
  margin-bottom: 3rem;
}

.masonry-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  cursor: pointer;
  background: var(--cream-dark);
}

.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 18, 9, 0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease);
}

.masonry-item:hover::after {
  opacity: 1;
}

.masonry-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.masonry-item:hover .masonry-img {
  transform: scale(1.06);
}

.masonry-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--dur-mid) var(--ease);
  z-index: 2;
}

.masonry-item:hover .masonry-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Masonry placeholder colors */
.masonry-placeholder {
  aspect-ratio: var(--ar, 1/1.2);
  background: var(--bg, var(--cream-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* â”€â”€ SECTION: Why Mello / CTA â”€â”€ */
.why-mello {
  background: #F6EAAA;
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-mello .t-label {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  display: block;
}

.why-mello-title {
  color: #C03235 !important;
  margin-bottom: 1.5rem;
}

.why-mello-desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* â”€â”€ CTA button: Pop Red â”€â”€ */
.btn-cta-red {
  background: #C03235;
  color: #FFF1EB;
  border: none;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-cta-red:hover {
  transform: scale(1.03);
  background: #A0282A;
}

/* Keep legacy btn-white for other uses */
.btn-white {
  background: var(--brand-blue);
  color: var(--brand-white);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: var(--brand-blue);
  transform: translateY(-3px);
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.why-mello-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}



.story-label {
  color: var(--red);
  display: block;
  margin-bottom: 1.5rem;
}



/* â”€â”€ SECTION: FAQ â”€â”€ */
.faq {
  background: var(--cream);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.faq-header-sticky {
  position: sticky;
  top: 8rem;
}

.faq-label {
  color: var(--red);
  display: block;
  margin-bottom: 1.5rem;
}

.faq-desc {
  color: var(--ink-50);
  margin-top: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--ink-08);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--dur-mid) var(--ease);
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--dur-fast);
}

.faq-question:hover {
  background: var(--cream);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur-mid) var(--ease-bounce);
  font-size: 0.8rem;
}

.faq-item.open .faq-icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

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

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

.faq-answer-inner {
  padding: 0 1.8rem 1.4rem;
  color: var(--ink-50);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* â”€â”€ SECTION: Newsletter â”€â”€ */
.newsletter {
  background: var(--cream-dark);
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  max-width: 500px;
  margin: 2rem auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 0.9rem 1.4rem;
  border: 1.5px solid var(--ink-20);
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background-color: var(--brand-blue);
  color: var(--brand-white);
  outline: none;
  transition: border-color var(--dur-fast);
}

.newsletter-input:focus {
  border-color: var(--red);
}

.newsletter-note {
  margin-top: 1rem;
  color: var(--ink-50);
  font-size: 0.78rem;
}

/* â”€â”€ FOOTER â”€â”€ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 241, 235, 0.08);
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-brand-desc {
  color: rgba(255, 241, 235, 0.5);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 241, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--dur-mid) var(--ease);
  color: rgba(255, 241, 235, 0.6);
}

.footer-social:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: rgba(255, 241, 235, 0.4);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 241, 235, 0.7);
  font-size: 0.9rem;
  transition: color var(--dur-fast);
}

.footer-links a:hover {
  color: var(--cream);
}

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

.footer-copy {
  color: rgba(255, 241, 235, 0.4);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 241, 235, 0.4);
  font-size: 0.8rem;
  transition: color var(--dur-fast);
}

.footer-legal a:hover {
  color: var(--cream);
}

/* â”€â”€ Section Divider â”€â”€ */
.divider-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
}

/* â”€â”€ Scroll Animations â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}


/* â”€â”€ Story Split: Tom & Jerry 2-col layout â”€â”€ */
.story-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 0;
  /* Centered block handles vertical spacing */
}

.story-split-text .origin-header {
  margin-bottom: 2rem;
}

.story-split-text {
  display: flex;
  flex-direction: column;
}

.story-split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-img-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xl);
  overflow: hidden;
  /* Prevent scaling image from spilling out */
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--r-xl);
  display: block;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.3s ease;
}

/* Hover Refinement: Subtle scale only, no movement */
@media (hover: hover) {
  .story-split-section:hover .story-img {
    transform: scale(1.04);
  }

  .story-split-section:hover .story-img-wrap {
    box-shadow: var(--shadow-lg);
  }
}

/* Responsive â€” stack on mobile */
@media (max-width: 900px) {
  .story-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 0;
  }

  .story-split-text {
    order: 1;
    /* always renders first */
  }

  .story-split-visual {
    order: 2;
    /* image below text */
    min-height: 0;
    /* prevents blank ghost space if image slow to load */
  }

  .story-img-wrap {
    width: 100%;
  }

  .story-img {
    max-width: 100%;
    width: 100%;
  }
}

/* â”€â”€ Page: Philosophy â”€â”€ */
.phil-hero {
  display: flex;
  align-items: flex-end;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #F5E8DF;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.phil-hero .t-label {
  color: var(--red);
  margin-bottom: 2rem;
  display: block;
}

.phil-hero-content {
  position: relative;
  z-index: 1;
}

.phil-hero-title {
  max-width: 900px;
  color: var(--primary-text);
}

.phil-hero-sub {
  margin-top: 2rem;
  color: var(--secondary-text);
  max-width: 560px;
  font-size: 1.1rem;
}

.phil-manifesto {
  background: var(--white);
  padding: 15px 0;
}

.phil-manifesto blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 2rem;
}

.phil-manifesto blockquote::before {
  content: '\201C';
  font-size: 8rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.15;
  position: absolute;
  top: -3rem;
  left: -1rem;
  font-style: normal;
}

.phil-values {
  background: var(--cream-dark);
  padding-block: var(--section-py);
}

.phil-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
}

.phil-value-card {
  padding: 3rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-08);
  background: var(--white);
  transition: all var(--dur-mid) var(--ease);
}

.phil-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.phil-value-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.phil-value-title {
  margin-bottom: 1.5rem;
}

.phil-value-desc {
  color: var(--ink-50);
}

.phil-founders {
  background: var(--cream);
  padding-block: var(--section-py);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3.5rem;
}

.founder-card {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--ink-08);
  align-items: flex-start;
}

.founder-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.founder-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 0.875rem;
  color: var(--ink-50);
  line-height: 1.6;
}

/* â”€â”€ Page: Products â”€â”€ */
.products-hero {
  padding-top: 10px;
  padding-bottom: 10px;
  background: var(--cream-dark);
}

.products-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--ink-20);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  transition: all var(--dur-fast) var(--ease);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1100px) {
  :root {
    --section-py: 15px;
  }

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

  .hero-content {
    padding: 1rem var(--section-px) 1rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    height: 50vw;
    min-height: 400px;
    align-self: end;
    justify-self: center;
    transform: scale(0.85);
    transform-origin: center bottom;
    object-fit: contain;
    object-position: center bottom;
  }

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

  .recipe-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sourcing-wrap {
    grid-template-columns: 1fr;
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .process-steps::before {
    display: none;
  }

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

  .testimonial-card--featured {
    grid-row: auto;
  }



  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .faq-header-sticky {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

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

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

  .phil-values-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 991px) {
  :root {
    --section-py: 15px;
    --section-px: 1.5rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  /* â”€â”€ Standardized Mobile Menu (menu-open) â”€â”€ */
  .nav.menu-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh !important;

    width: 100vw;
    background: var(--white);
    padding: 1.5rem 2rem;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 9999;
    animation: menuFadeIn 0.3s var(--ease);
    overflow-y: auto;
    /* Prevent scroll cropping on small mobile screens */
    -webkit-overflow-scrolling: touch;
    /* Momentum scrolling on iOS Safari */
  }

  @keyframes menuFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Header inside Open Menu */
  .nav.menu-open .nav-logo {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  .nav.menu-open .logo-light {
    display: none !important;
  }

  .nav.menu-open .logo-dark {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    height: 50px;
  }

  /* Navigation Links Stack */
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    padding-top: 2rem;
  }

  .nav.menu-open .nav-links a {
    font-size: 20px;
    font-weight: 500;
    font-family: var(--font-serif);
    color: var(--ink);
    letter-spacing: normal;
    padding: 0.5rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--ink-08);
  }

  /* Bottom CTA */
  .nav.menu-open .nav-cta {
    display: flex;
    width: 100%;
    padding-top: 2rem;
    margin-top: auto;
  }

  .nav.menu-open .nav-cta .btn {
    width: 100%;
    justify-content: center;
    padding-block: 1.2rem;
    font-size: 1.1rem;
    background: var(--red);
    color: var(--white);
  }

  /* Toggle Icon */
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: flex-end;
    padding: 10px;
    box-sizing: border-box;
    z-index: 10000;
    position: relative;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #000000 !important;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .nav.menu-open .nav-toggle {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
  }

  .nav.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background: #000000 !important;
  }

  .nav.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background: #000000 !important;
  }

  .hero-product-img {
    width: 280px;
    height: 360px;
  }

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

  .masonry-grid {
    columns: 2;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .products-catalog-grid {
    grid-template-columns: 1fr;
  }

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

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

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .newsletter-form {
    flex-direction: column;
  }
}

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

/* â”€â”€ Mobile Layout & Overflow Fixes â”€â”€ */
@media (max-width: 768px) {

  html {
    scroll-behavior: smooth;
    /* Do not set overflow-x: hidden on html to avoid mobile scrolling lock/freezing */
  }

  body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
    /* Highly optimized momentum scrolling on iOS Safari */
  }

  .container {
    max-width: 100%;
    /* Removed overflow-x: hidden to prevent nested touch-scroll context locks and gesture traps */
    padding-inline: 1rem;
  }

  .pill-tabs {
    flex-wrap: wrap;
    flex-direction: row;
    /* Removed overflow-x: hidden to prevent touch scroll traps on diagonal swipes */
    justify-content: flex-start;
  }

  .pill-tab {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    width: auto;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
  }

  .ingredient-card {
    padding: 1rem;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  .nutrition-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .nutrition-table {
    width: 100%;
    min-width: unset;
  }

  .nutrition-table th,
  .nutrition-table td {
    padding: 0.8rem 0.6rem;
    font-size: 0.75rem;
    word-wrap: break-word;
  }

  .nutrition-table th {
    font-size: 0.65rem;
  }

  /* Specific font size increases for requested red heading texts (+8px or ~1.5rem) */
  .honesty-label,
  .pillars-label,
  #promise-section .label-caps,
  .social-proof .story-label,
  #community .t-label {
    /* Only targeting the specific headings requested by the user */
    font-size: 2.25rem !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem;
  }

  /* Ticker dots inherit base size on mobile */

  /* Ensure smooth touch interactions for animated sections */
  .ticker,
  .ticker-track {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }
}

/* â”€â”€ Premium Product Showcase Section â”€â”€ */
.showcase-section {
  position: relative;
  background-color: #FFF1EB;
  background-image: radial-gradient(circle at center, #FFFDFB 0%, #FFF1EB 70%);
  overflow: hidden;
  padding-block: var(--section-py);
  scroll-margin-top: 100px;
}

.showcase-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 241, 235, 0) 60%);
  pointer-events: none;
  z-index: 1;
}

.showcase-bg-patterns {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.bg-ring {
  position: absolute;
  border: 1px solid rgba(192, 50, 53, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.bg-ring-1 {
  width: 480px;
  height: 480px;
}

.bg-ring-2 {
  width: 720px;
  height: 720px;
}

.bg-ring-3 {
  width: 1000px;
  height: 1000px;
  border-style: dashed;
}

.bg-particle {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
  animation: bg-particle-float 15s ease-in-out infinite alternate;
}

.bg-particle-1 {
  top: 15%;
  left: 10%;
  animation-duration: 20s;
}

.bg-particle-2 {
  top: 25%;
  right: 15%;
  animation-duration: 16s;
  animation-delay: -3s;
}

.bg-particle-3 {
  bottom: 20%;
  left: 12%;
  animation-duration: 22s;
  animation-delay: -7s;
}

.bg-particle-4 {
  bottom: 15%;
  right: 10%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.bg-particle-5 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.02;
  animation: none;
}

@keyframes bg-particle-float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(30px, -40px) rotate(15deg);
  }
}

.showcase-container {
  position: relative;
  z-index: 2;
}

.showcase-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 5rem;
  margin-top: 2rem;
}

.showcase-visual-container {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xl);
  --hover-expand: 0px;
}

.showcase-visual-container:hover {
  --hover-expand: 20px;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(192, 50, 53, 0.07);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.showcase-visual-container {
  --orbit-radius-1: 135px;
  --orbit-radius-2: 195px;
  --orbit-radius-3: 255px;
}

.orbit-ring-1 {
  width: calc(var(--orbit-radius-1) * 2);
  height: calc(var(--orbit-radius-1) * 2);
}

.orbit-ring-2 {
  width: calc(var(--orbit-radius-2) * 2);
  height: calc(var(--orbit-radius-2) * 2);
}

.orbit-ring-3 {
  width: calc(var(--orbit-radius-3) * 2);
  height: calc(var(--orbit-radius-3) * 2);
}

.orbit-emojis-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.orbit-emoji-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--start-angle));
  animation: orbit-spin var(--orbit-duration) linear infinite;
}

.orbit-emoji-inner {
  position: absolute;
  left: calc(var(--orbit-radius) + var(--hover-expand, 0px));
  top: 0;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--start-angle)));
  animation: orbit-counter var(--orbit-duration) linear infinite;
  transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.orbit-emoji {
  display: inline-block;
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.8));
  animation: emoji-float 5s ease-in-out infinite alternate;
}

@keyframes orbit-spin {
  from {
    transform: rotate(var(--start-angle));
  }

  to {
    transform: rotate(calc(var(--start-angle) + 360deg));
  }
}

@keyframes orbit-counter {
  from {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--start-angle)));
  }

  to {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--start-angle) - 360deg));
  }
}

@keyframes emoji-float {
  0% {
    transform: translateY(-6px) rotate(-6deg) scale(0.95);
  }

  100% {
    transform: translateY(6px) rotate(6deg) scale(1.05);
  }
}

.product-focus-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}

.product-float-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: showcase-float 6s ease-in-out infinite alternate;
}

.showcase-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(26, 18, 9, 0.12));
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-focus-wrapper:hover .showcase-product-img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 20px 48px rgba(192, 50, 53, 0.18));
}

.product-shadow {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 160px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(26, 18, 9, 0.18) 0%, rgba(26, 18, 9, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  animation: shadow-scale 6s ease-in-out infinite alternate;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.product-focus-wrapper:hover .product-shadow {
  transform: translateX(-50%) scale(1.2);
  opacity: 0.4;
}

@keyframes showcase-float {
  0% {
    transform: translateY(-8px) rotate(-1.5deg);
  }

  100% {
    transform: translateY(8px) rotate(1.5deg);
  }
}

@keyframes shadow-scale {
  0% {
    transform: translateX(-50%) scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: translateX(-50%) scale(1.1);
    opacity: 1;
  }
}

.product-focus-wrapper.switching-out .showcase-product-img {
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.85) rotate(-8deg) translateY(-15px);
}

.product-focus-wrapper.switching-out .product-shadow {
  opacity: 0;
  transform: translateX(-50%) scale(0.5);
}

.product-focus-wrapper.entering .showcase-product-img {
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.15) rotate(8deg) translateY(20px);
  transition: none;
}

.product-focus-wrapper.entering .product-shadow {
  opacity: 0;
  transform: translateX(-50%) scale(1.3);
  transition: none;
}

.showcase-info-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.product-title-wrapper {
  width: 100%;
}

.showcase-product-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--red);
  min-height: 7rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.showcase-product-name::after {
  content: '|';
  display: inline-block;
  color: var(--red);
  margin-left: 4px;
  animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.showcase-product-desc {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--secondary-text);
  max-width: 480px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.showcase-actions {
  margin-top: 0.5rem;
}

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.control-arrow {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink-20);
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all var(--dur-mid) var(--ease);
  cursor: pointer;
}

.control-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.showcase-dots {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.showcase-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-20);
  cursor: pointer;
  transition: all var(--dur-mid) var(--ease);
}

.showcase-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

.ambient-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ambient-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--red);
  opacity: 0.12;
  border-radius: 50%;
  filter: blur(1px);
  animation: rise-and-fade 12s linear infinite;
  bottom: 0;
}

@keyframes rise-and-fade {
  0% {
    transform: translateY(100px) scale(0.5);
    opacity: 0;
  }

  20% {
    opacity: 0.18;
  }

  80% {
    opacity: 0.18;
  }

  100% {
    transform: translateY(-600px) scale(1.3);
    opacity: 0;
  }
}

@media (max-width: 992px) {
  .showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .showcase-visual-container {
    height: 440px;
  }

  .showcase-info-container {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .showcase-product-name {
    min-height: 5.5rem;
    justify-content: center;
    text-align: center;
  }

  .showcase-product-desc {
    max-width: 580px;
  }
}

@media (max-width: 576px) {
  .showcase-visual-container {
    height: 340px;
    --orbit-radius-1: 95px;
    --orbit-radius-2: 140px;
    --orbit-radius-3: 185px;
  }

  .orbit-emoji {
    font-size: 1.6rem;
  }

  .product-focus-wrapper {
    width: 200px;
    height: 200px;
  }

  .product-shadow {
    width: 110px;
    bottom: -10px;
  }

  .showcase-product-name {
    min-height: 5rem;
    font-size: 1.8rem;
  }

  .showcase-product-desc {
    font-size: 0.95rem;
  }
}

/* â”€â”€ PREMIUM HERO PRODUCT SHOWCASE STYLING â”€â”€ */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 580px;
  overflow: visible;
  --hero-hover-expand: 0px;
  align-self: end;
  justify-self: end;
  object-fit: contain;
  object-position: center bottom;
}

.hero-visual:hover {
  --hero-hover-expand: 20px;
}

.hero-showcase-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 241, 235, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-visual .hero-ring {
  position: absolute;
  border: 1px solid rgba(192, 50, 53, 0.05);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-visual .hero-ring-1 {
  width: 280px;
  height: 280px;
}

.hero-visual .hero-ring-2 {
  width: 440px;
  height: 440px;
  border-style: dashed;
}

.hero-visual .hero-ring-3 {
  width: 600px;
  height: 600px;
}

.hero-bg-particle {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
  animation: hero-bg-particle-float 15s ease-in-out infinite alternate;
}

.hero-bg-particle-1 {
  top: 10%;
  left: 15%;
  animation-duration: 18s;
}

.hero-bg-particle-2 {
  top: 15%;
  right: 15%;
  animation-duration: 22s;
  animation-delay: -4s;
}

.hero-bg-particle-3 {
  bottom: 12%;
  left: 10%;
  animation-duration: 20s;
  animation-delay: -8s;
}

.hero-bg-particle-4 {
  bottom: 10%;
  right: 12%;
  animation-duration: 16s;
  animation-delay: -3s;
}

@keyframes hero-bg-particle-float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(25px, -30px) rotate(12deg);
  }
}


.hero-orbit-emojis-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  --hero-orbit-radius-1: 150px;
  --hero-orbit-radius-2: 220px;
  --hero-orbit-radius-3: 290px;
}

.hero-orbit-emoji-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--hero-start-angle));
  animation: hero-orbit-spin var(--hero-orbit-duration) linear infinite;
}

.hero-orbit-emoji-inner {
  position: absolute;
  left: calc(var(--hero-orbit-radius) + var(--hero-hover-expand, 0px));
  top: 0;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--hero-start-angle)));
  animation: hero-orbit-counter var(--hero-orbit-duration) linear infinite;
  transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-orbit-emoji {
  display: inline-block;
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.8));
  animation: hero-emoji-float 5s ease-in-out infinite alternate;
}

@keyframes hero-orbit-spin {
  from {
    transform: rotate(var(--hero-start-angle));
  }

  to {
    transform: rotate(calc(var(--hero-start-angle) + 360deg));
  }
}

@keyframes hero-orbit-counter {
  from {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--hero-start-angle)));
  }

  to {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--hero-start-angle) - 360deg));
  }
}

@keyframes hero-emoji-float {
  0% {
    transform: translateY(-5px) rotate(-5deg) scale(0.95);
  }

  100% {
    transform: translateY(5px) rotate(5deg) scale(1.05);
  }
}

.hero-product-showcase-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: visible;
}

.hero-product-card {
  position: absolute;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  cursor: pointer;
  pointer-events: none;
}

.hero-product-card.is-active {
  pointer-events: auto;
  z-index: 10;
}

.hero-product-float-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-showcase-float 6s ease-in-out infinite alternate;
}

.hero-showcase-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(26, 18, 9, 0.12));
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
}

.hero-product-card.is-active:hover .hero-showcase-product-img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 20px 48px rgba(192, 50, 53, 0.18));
}

.hero-product-shadow {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 200px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(26, 18, 9, 0.18) 0%, rgba(26, 18, 9, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  animation: hero-shadow-scale 6s ease-in-out infinite alternate;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.hero-product-card.is-active:hover .hero-product-shadow {
  transform: translateX(-50%) scale(1.2);
  opacity: 0.4;
}

@keyframes hero-showcase-float {
  0% {
    transform: translateY(-8px) rotate(-1.5deg);
  }

  100% {
    transform: translateY(8px) rotate(1.5deg);
  }
}

@keyframes hero-shadow-scale {
  0% {
    transform: translateX(-50%) scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: translateX(-50%) scale(1.1);
    opacity: 1;
  }
}

.hero-ambient-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-ambient-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--red);
  opacity: 0.12;
  border-radius: 50%;
  animation: hero-rise-and-fade 12s linear infinite;
  bottom: 0;
}

@keyframes hero-rise-and-fade {
  0% {
    transform: translateY(100px) scale(0.5);
    opacity: 0;
  }

  20% {
    opacity: 0.18;
  }

  80% {
    opacity: 0.18;
  }

  100% {
    transform: translateY(-600px) scale(1.3);
    opacity: 0;
  }
}

/* â”€â”€ Mello Ingredients Product Showcase Layout â”€â”€ */
.ingredients-right {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4.5rem;
  align-items: center;
}

.ingredients-showcase-container {
  position: relative;
  width: 300px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: visible;
  margin-left: 1.5rem;
}

.ingredients-product-card {
  position: absolute;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  cursor: pointer;
  pointer-events: auto;
}

.ingredients-product-card.is-active {
  z-index: 10;
}

.ingredients-product-float-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-showcase-float 6s ease-in-out infinite alternate;
}

.ingredients-showcase-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(26, 18, 9, 0.12));
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
}

.ingredients-product-card.is-active:hover .ingredients-showcase-product-img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 16px 34px rgba(192, 50, 53, 0.18));
}

.ingredients-product-shadow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 160px;
  height: 10px;
  background: radial-gradient(ellipse, rgba(26, 18, 9, 0.18) 0%, rgba(26, 18, 9, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(3px);
  animation: hero-shadow-scale 6s ease-in-out infinite alternate;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.ingredients-product-card.is-active:hover .ingredients-product-shadow {
  transform: translateX(-50%) scale(1.2);
  opacity: 0.4;
}

/* â”€â”€ Responsive Media Queries â”€â”€ */
@media (max-width: 992px) {
  .hero-visual {
    height: 480px;
    margin-top: 2rem;
    align-self: end;
    justify-self: center;
    transform: scale(0.85);
    transform-origin: center bottom;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-product-card {
    width: 290px;
    height: 290px;
  }

  .hero-product-shadow {
    width: 170px;
  }

  .ingredients-right {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .ingredients-showcase-container {
    width: 100%;
    height: 240px;
    margin-block: 0.25rem 0.5rem;
    margin-left: 0;
    margin-inline: auto;
    justify-self: center;
  }

  .ingredients-product-card {
    width: 220px;
    height: 220px;
  }

  .ingredients-product-shadow {
    width: 130px;
  }
}

@media (max-width: 576px) {
  .hero-visual {
    height: 380px;
    --hero-orbit-radius-1: 100px;
    --hero-orbit-radius-2: 150px;
    --hero-orbit-radius-3: 200px;
    align-self: end;
    justify-self: center;
    transform: scale(0.72);
    transform-origin: center bottom;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-orbit-emoji {
    font-size: 1.6rem;
  }

  .hero-product-card {
    width: 240px;
    height: 240px;
  }

  .hero-product-shadow {
    width: 130px;
    bottom: -10px;
  }

  .ingredients-showcase-container {
    height: 200px;
  }

  .ingredients-product-card {
    width: 180px;
    height: 180px;
  }

  .ingredients-product-shadow {
    width: 110px;
  }
}

/* â”€â”€ Mobile Hero Banner Fix â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   The nav is position:fixed (~72px tall on mobile). Without padding-top on
   .hero-section the nav overlaps the top of the banner, cropping "Crafted
   with Radical Transparency" and the dog mascot's head.
   This rule applies ONLY on mobile (â‰¤991px) and does NOT affect desktop.
   The image itself is width:100% with no fixed height, so it stays fully
   responsive â€” padding-top simply shifts the section below the nav bar.
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 991px) {

  /* Only the page-top hero (#hero) needs nav compensation â€” mid-page banners do not */
  #hero.hero-section {
    padding-top: 72px;
    /* matches fixed nav height (60px logo + ~12px padding) */
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   GLOBAL TYPOGRAPHY & SPACING STANDARDIZATION OVERRIDES
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

:root {
  --std-heading-size: 48px;
  --std-body-size: 18px;
  --std-section-py: 30px;
  --std-section-px: 40px;
}

@media (max-width: 1024px) {
  :root {
    --std-heading-size: 40px;
    --std-body-size: 17px;
  }
}

@media (max-width: 768px) {
  :root {
    --std-heading-size: 34px;
    --std-body-size: 16px;
    --std-section-py: 20px;
    --std-section-px: 20px;
  }
}

/* 1. Global Typography Sizes */
h1,
h2,
h3,
h4,
h5,
h6,
.t-display,
.t-hero,
.t-h1,
.t-h2,
.t-h3,
.heading {
  font-size: var(--std-heading-size);
  line-height: 1.2;
  margin-bottom: 10px;

  p,
  .t-body-lg,
  .t-body,
  .t-body-sm,
  .process-desc,
  .testimonial-text,
  .product-desc {
    font-size: var(--std-body-size);
    line-height: 1.7 !important;
    max-width: 680px !important;
    margin-bottom: 1.5rem;
  }
}

/* 2. Spacing: Paragraph to button */
p+.btn,
p+.btn-group,
p+a.btn,
.t-body+.btn,
.t-body+.btn-group,
.t-body+a.btn,
.btn-wrap,
.section-actions {
  margin-top: 30px !important;
}

/* 3. Section Spacing */
.section,
.section--lg,
.section--sm,
.process,
.social-proof,
.pet-moments,
.ingredients-tabs,
.nutrition,
.transparency,
.promise-strip {
  padding-block: var(--std-section-py) !important;
}

.container {
  padding-inline: var(--std-section-px) !important;
}

/* 4. Alignments */

/* Content sections: left aligned */
.section,
.section-header,
.content-section,
.honesty,
.honesty-content,
.ingredients-left,
.faq-header-sticky,
.process-header,
.social-header,
.pet-moments-header,
.products-header {
  text-align: left !important;
}

.section p,
.section-header p,
.content-section p,
.honesty p,
.honesty-content p,
.ingredients-left p {
  margin-inline: 0 !important;
}

/* Hero sections: center aligned */
.hero,
.hero-section,
.hero-content,
.promise-strip {
  text-align: center !important;
}

.hero p,
.hero-section p,
.hero-content p,
.promise-strip p {
  margin-inline: auto !important;
}

/* Benefit cards, feature cards and icon cards: center aligned */
.pillar-card,
.benefit-card,
.feature-card,
.icon-card,
.testimonial-card {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.pillar-card p,
.benefit-card p,
.feature-card p,
.icon-card p,
.testimonial-card p {
  margin-inline: auto !important;
}

.pillar-icon,
.testimonial-author {
  margin-inline: auto !important;
}

/* â”€â”€ SECTION: Contact Page â”€â”€ */
.contact-section {
  background-color: var(--cream);
  padding: 6rem var(--section-px);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-left {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-08);
}

.contact-heading {
  color: var(--red);
  margin-bottom: 1.5rem;
}

.contact-subheading {
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple);
}

.form-input,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--ink-20);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(192, 50, 53, 0.1);
}

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

.btn-submit {
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.form-success-msg {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--warm-accent);
  color: var(--purple);
  border-radius: var(--r-md);
  text-align: center;
  font-weight: 500;
  border: 1px solid rgba(85, 66, 153, 0.2);
}

.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.contact-info-card {
  background: #554299;
  color: var(--cream);
  padding: 3.5rem 3rem;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent for the info card */
.contact-info-card::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: var(--brand-blue);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}

.info-heading {
  color: var(--warm-accent);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.info-block {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

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

.info-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: normal;
  color: #EDD9CC;
  margin-bottom: 1.5rem;
}

.info-text,
.info-text a {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--dur-fast);
}

.info-text a:hover {
  color: var(--warm-accent);
}

/* â”€â”€ Mobile Responsiveness â”€â”€ */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-left {
    padding: 2rem 1.5rem;
  }

  .contact-info-card {
    padding: 2.5rem 2rem;
  }

  .contact-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* ── Desktop Form Height Adjustment ── */
@media (min-width: 1024px) {
  .contact-left {
    padding: 2.2rem 3rem;
  }

  .contact-heading {
    margin-bottom: 1rem;
  }

  .contact-subheading {
    margin-bottom: 1rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .form-input,
  .form-textarea {
    padding: 0.8rem 1.2rem;
  }

  .form-textarea {
    min-height: 90px;
  }

  .btn-submit {
    margin-top: 0.5rem;
    padding: 0.8rem;
  }
}

/* â”€â”€ Home Page Typography Update â”€â”€ */
h1.home-updated-heading,
.google-questions h1.home-updated-heading {
  font-size: 48px !important;
  color: var(--red) !important;
  font-family: 'Paralucent', var(--font-serif) !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

@media (max-width: 768px) {

  h1.home-updated-heading,
  .google-questions h1.home-updated-heading {
    font-size: 38px !important;
  }
}

/* â”€â”€ Home Page Subheading Font-Size Update (28px desktop / 20px mobile) â”€â”€ */
/* Targets: question items, emotional statement, honesty main, promise quote,
   pillars heading, pillar titles, ingredients heading, transparency heading,
   products heading, process heading, testimonials heading, newsletter heading */
.question-item,
.emotional-statement,
.honesty-main,
.promise-quote,
#pillarsHeading,
.pillar-title,
#ingredientsHeading,
.transparency-heading,
#productsHeading,
#processHeading,
#testimonialsHeading,
#newsletterHeading {
  font-size: 28px !important;
}

@media (max-width: 768px) {

  .question-item,
  .emotional-statement,
  .honesty-main,
  .promise-quote,
  #pillarsHeading,
  .pillar-title,
  #ingredientsHeading,
  .transparency-heading,
  #productsHeading,
  #processHeading,
  #testimonialsHeading,
  #newsletterHeading {
    font-size: 20px !important;
  }
}

/* â”€â”€ "OUR PROMISE" Heading Color Override â”€â”€ */
/* Applies cream color only to the OUR PROMISE h1 inside .promise-strip. */
.promise-strip h1.home-updated-heading {
  color: var(--cream) !important;
}

/* â”€â”€ Ingredients Section: Product Name Heading Font-Size â”€â”€ */
/* Targets only the product tab panel title (e.g. "Peanut Butter Bananaâ€¦")
   inside #ingredients-tabs. Only font-size is changed. */
.ingredients-tabs .panel-title {
  font-size: 28px !important;
}

@media (max-width: 768px) {
  .ingredients-tabs .panel-title {
    font-size: 20px !important;
  }
}

/* ── "Mello vs. Traditional" Section Updates ── */
.nutrition {
  background-color: var(--cream) !important;
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

.nutrition-deco-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Top-left decoration image */
.deco-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 190px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top left;
}

/* Top-right decoration image */
.deco-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top right;
}

/* Bottom wave decoration — spans full width */
.deco-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto !important;
  object-fit: contain;
  z-index: 1;
}

/* Bottom-right paw icon — sits above the bottom wave */
.deco-br-img {
  position: absolute;
  bottom: 60px;
  right: 60px;
  width: 60px;
  height: auto;
  display: block;
  z-index: 2;
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .deco-tl {
    width: 150px;
  }

  .deco-tr {
    width: 170px;
  }

  .deco-br-img {
    width: 48px;
    bottom: 44px;
    right: 44px;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .deco-tl {
    width: 100px;
  }

  .deco-tr {
    width: 120px;
  }

  .deco-br-img {
    width: 36px;
    bottom: 30px;
    right: 28px;
  }
}


.nutrition h1.home-updated-heading {
  color: #EDD9CC !important;
}

/* Align content block toward the bottom — clears top corner decor and bottom wave */
.comparison-premium>.container {
  padding-top: 60px !important;
  padding-bottom: 0px !important;
}

@media (max-width: 1024px) {
  .comparison-premium>.container {
    padding-top: 48px !important;
    padding-bottom: 160px !important;
  }
}

@media (max-width: 768px) {
  .comparison-premium>.container {
    padding-top: 36px !important;
    padding-bottom: 110px !important;
  }
}

.nutrition .nutrition-header p.t-body {
  text-align: center !important;
  margin-inline: auto !important;
}

.nutrition p.nutrition-note {
  text-align: center !important;
  margin-inline: auto !important;
}

/* â”€â”€ "The Mello Range" Section Alignment Updates â”€â”€ */
.products-section .section-header {
  text-align: center !important;
}

.products-section .section-header h1,
.products-section .section-header h2 {
  text-align: center !important;
  margin-inline: auto !important;
}

/* â”€â”€ Mobile: Google Questions â€” tighter question spacing â”€â”€ */
/* â”€â”€ Mobile: Ingredients Section â€” larger product image    â”€â”€ */
@media (max-width: 768px) {

  /* 1. Reduce gap between the three question items */
  .questions-stack {
    gap: 0.0rem !important;
  }

  /* 2. Increase the product image size in the ingredients section */
  .ingredients-showcase-container {
    height: 280px !important;
  }

  .ingredients-product-card {
    width: 240px !important;
    height: 240px !important;
  }

  .ingredients-product-shadow {
    width: 150px !important;
  }

  /* Why Mello? grid handled by pillars responsive rules above */

  /* Prevent horizontal overflow causing white space on right side of footer */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  footer,
  .footer,
  .site-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .container,
  .footer-container {
    width: 100%;
    max-width: 100%;
  }
}

.hero-section p,
.promise-strip p,
.nutrition p,
.testimonial-card p,
.pillar-card p {
  text-align: center !important;
}

/* 4. Cards & Feature Sections Fixes */
.pillar-card,
.product-card,
.testimonial-card,
.phil-value-card,
.founder-card {
  width: 100% !important;
  max-width: 100% !important;
  padding: 20px 16px !important;
  height: auto !important;
  /* Allow content to dictate height */
  margin-inline: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Ingredient card — always horizontal row, icon left-aligned */
.ingredient-card {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 10px 20px !important;
  gap: 16px !important;
  height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}

/* Prevent card icons from floating/overlapping text */
.floating-emojis,
.hero-orbit-emoji,
.pillar-icon-wrap,
.icon-wrap {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 auto 8px auto !important;
}

.floating-emojis {
  display: block !important;
  text-align: left !important;
  margin-bottom: 12px !important;
}

.pillar-icon-img,
.icon-img {
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto !important;
  display: block !important;
}

/* 5. Images */
img {
  max-width: 100% !important;
  height: 100% !important;
}

.main-image-wrapper {
  width: 100% !important;
}

/* 6. Buttons & CTAs */
.btn,
.btn-order,
.btn-submit,
button {
  max-width: 100% !important;
  white-space: normal !important;
  height: auto !important;
}

/* 7. Consistent Standardized Mobile Spacing */
.section,
.section--lg,
.section--sm,
.process,
.social-proof,
.pet-moments,
.ingredients-tabs,
.nutrition,
.transparency,
.promise-strip,
.product-detail-section,
.contact-section {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  padding-inline: 0px !important;
}

.container {
  padding-inline: 20px !important;
}

/* 8. Mobile Header & Logo Fixes */
.nav {
  height: 65px !important;
  padding-block: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.nav-logo {
  height: 45px !important;
  display: flex !important;
  align-items: center !important;
}

.nav-logo-img {
  height: 45px !important;
  max-height: 45px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

/* ───────────────────────────────────────────────────────────────────────────
   OUR PROMISE TYPOGRAPHY UPDATE
─────────────────────────────────────────────────────────────────────────── */
/* OUR PROMISE OVERRIDE */
#promise-section .home-updated-heading,
#promise-section h1 {
  font-size: 46px !important;
  line-height: 1.2 !important;
  color: var(--cream) !important;
}

#promise-section .promise-quote,
#promise-section h3 {
  font-size: 28px !important;
  line-height: 1.3 !important;
}

@media (max-width: 768px) {

  #promise-section .home-updated-heading,
  #promise-section h1 {
    font-size: 34px !important;
  }

  #promise-section .promise-quote,
  #promise-section h3 {
    font-size: 20px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE ALIGNMENT FIXES
   Applied after all other rules — additive only, no layout/color/font changes.
   Fixes: edge overflow, horizontal padding consistency, grid min-width,
   floating element containment, product-detail nav clearance.
═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Prevent horizontal scroll site-wide ── */
@media (max-width: 991px) {
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* Every direct child of body respects viewport width */
  body>* {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ── 2. Consistent horizontal padding on every section and container ── */
@media (max-width: 991px) {

  /* Reset any zero-padding that pillars section / container applied */
  .pillars {
    padding-inline: 0 !important;
  }

  .pillars .container {
    padding-inline: 1rem !important;
    max-width: 100% !important;
  }

  /* All sections get safe horizontal padding */
  .catalog-section,
  .catalog-section .container,
  .products-hero,
  .products-hero .container,
  .comparison-section,
  .comparison-section .container,
  .benefits,
  .benefits .container,
  .avoid,
  .avoid .container,
  .phil-hero,
  .phil-manifesto,
  .phil-values,
  .phil-founders,
  .phil-founders .container,
  .contact-section {
    box-sizing: border-box;
    max-width: 100%;
  }

  /* Ensure .container always has at least 1rem horizontal padding */
  .container {
    padding-inline: 1rem;
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* ── 3. Prevent grid items from overflowing their cells ── */
@media (max-width: 991px) {

  /* min-width:0 lets flex/grid children shrink below content size */
  .pillars-grid>*,
  .transparency-grid>*,
  .process-steps>*,
  .testimonials-grid>*,
  .icon-card-grid>*,
  .catalog-grid>*,
  .products-grid>*,
  .ingredients-grid>*,
  .phil-values-grid>*,
  .founders-grid>*,
  .footer-top>* {
    min-width: 0;
    box-sizing: border-box;
  }

  /* Ingredient cards full-width */
  .ingredient-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Nutrition table scrolls horizontally, doesn't push layout */
  .nutrition-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }
}

/* ── 4. Floating emoji elements — contain them on mobile ── */
@media (max-width: 991px) {

  /* Product detail page floating emoji */
  .floating-emojis {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: block;
    text-align: right;
    margin-bottom: 0.5rem;
    overflow: visible;
    pointer-events: none;
  }

  /* Hero badge — prevent negative offset overflow */
  .hero-badge--1 {
    left: 0 !important;
  }

  .hero-badge--2 {
    right: 0 !important;
  }
}

/* ── 5. Product detail pages — nav clearance and section padding ── */
@media (max-width: 991px) {
  .product-detail-section {
    padding-top: 80px !important;
    /* clear fixed nav (~65px) + buffer */
    padding-inline: 0 !important;
    /* container handles horizontal padding */
    box-sizing: border-box;
  }

  /* Ensure gallery and info columns don't overflow */
  .gallery-container,
  .product-info {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* CTA wrapper: remove sticky on mobile to prevent layout shift */
  .cta-wrapper {
    position: relative !important;
    bottom: auto !important;
  }
}

/* ── 6. Products page (products.html) — catalog section ── */
@media (max-width: 991px) {
  .catalog-section {
    padding-inline: 0 !important;
  }

  .catalog-section>.container {
    padding-inline: 1rem !important;
  }

  /* The catalog grid already stays 2-col — just ensure gap doesn't cause overflow */
  .catalog-grid {
    width: 100%;
    box-sizing: border-box;
  }

  /* Product cards in catalog must not exceed grid cell */
  .product-card-full {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* ── 7. Philosophy page cards ── */
@media (max-width: 991px) {
  .phil-value-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.5rem !important;
  }

  .founder-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.5rem !important;
    flex-direction: column !important;
  }

  .founder-photo {
    flex-shrink: 0;
    align-self: flex-start;
  }
}

/* ── 8. Footer — prevent overflow, ensure full-width stacking ── */
@media (max-width: 991px) {
  .footer {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .footer .container {
    padding-inline: 1rem !important;
    box-sizing: border-box;
  }

  .footer-top {
    width: 100%;
    box-sizing: border-box;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-brand-desc {
    max-width: 100%;
  }
}

/* ── 9. Hero section — prevent badge and ring overflow ── */
@media (max-width: 768px) {

  /* Rings can be larger than viewport; clip them without breaking scroll */
  .hero-ring,
  .hero-ring-1,
  .hero-ring-2,
  .hero-ring-3 {
    max-width: 100vw;
    max-height: 100vw;
  }

  .hero-visual {
    overflow: hidden;
  }

  /* Hero badges hidden on very small screens to prevent overflow */
  .hero-badge {
    display: none;
  }
}

/* ── 10. Promise strip — text and padding ── */
@media (max-width: 768px) {
  .promise-strip {
    padding-inline: 1rem !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .promise-quote {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ── 11. Contact page (contact.html) — grid and section ── */
@media (max-width: 991px) {
  .contact-section {
    padding-inline: 0 !important;
    box-sizing: border-box;
  }

  .contact-section>.container,
  .contact-section>*>.container {
    padding-inline: 1rem !important;
    box-sizing: border-box;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-left,
  .contact-right,
  .contact-info-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* ── 12. ingredients pill tabs — horizontal scroll safe ── */
@media (max-width: 768px) {
  .pill-tabs {
    width: 100%;
    box-sizing: border-box;
  }

  .pill-tab {
    box-sizing: border-box;
    min-width: 0;
  }
}

/* ── 13. Images never wider than container ── */
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .shop-banner-wrap {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    box-sizing: border-box;
  }
}

/* ── SECTION: Comparison Premium Redesign ── */
.comparison-premium,
.section-comparison-premium {
  background-color: #FDF2E6;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.comparison-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.comp-deco {
  position: absolute;
  z-index: 0;
}

.comp-paw {
  top: 8%;
  left: 10%;
  width: 50px;
  color: rgba(192, 50, 53, 0.15);
}

.comp-leaf {
  bottom: 5%;
  right: 10%;
  width: 40px;
  color: rgba(192, 50, 53, 0.15);
}

.comp-sparkle {
  top: 40%;
  right: 5%;
  width: 30px;
  color: rgba(255, 238, 223, 0.8);
}

.comp-blob-tl {
  top: -100px;
  left: -100px;
  width: 400px;
  opacity: 0.8;
}

.comp-blob-tr {
  top: -50px;
  right: -50px;
  width: 350px;
  opacity: 0.8;
}

.comp-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.comp-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 0;
}

.comp-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: 0;
}

.comp-table-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.comp-table {
  background-color: rgba(194, 160, 120, 0.18);
  /* Grid gap color forms the border */
  border-radius: 32px;
  border: 1px solid rgba(194, 160, 120, 0.18);
  box-shadow: 0 20px 60px rgba(26, 18, 9, 0.04);
  overflow: hidden;
  display: grid;
  grid-template-columns: 30% 35% 35%;
  grid-auto-rows: 1fr;
  gap: 1px;
}

.comp-table:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(26, 18, 9, 0.08);
}

.comp-row {
  display: contents;
}

.comp-row:not(.comp-row-header):hover .comp-col {
  background-color: #FFF1EB;
}

.comp-col {
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--ink-80);
  box-sizing: border-box;
  background-color: #FFF8F2;
  transition: background-color 0.3s ease;
}

.comp-row-header .comp-col {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  justify-content: center;
  padding: 1.5rem;
}

.comp-row-header .comp-col-feature {
  background-color: #F8E6CF;
  color: #2E211A;
}

.comp-row-header .comp-col-mello {
  background-color: #C03235;
  color: var(--white);
}

.comp-row-header .comp-col-other {
  background-color: #6B4B35;
  color: var(--white);
}

.comp-col-feature {
  justify-content: flex-start;
  align-items: center;
  font-weight: 600;
  color: #2E211A;
  background-color: #FFF8F2;
}

.comp-col-mello,
.comp-col-other {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.comp-col-mello {
  font-weight: 700;
  color: #B92E2F;
}

.comp-col-other {
  color: #4A403A;
}

.comp-icon-badge {
  width: 48px;
  height: 48px;
  background-color: #FBE7D8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.comp-icon-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.comp-check,
.comp-cross {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comp-check {
  background-color: #C03235;
  color: var(--white);
}

.comp-cross {
  background-color: #8A7B74;
  color: var(--white);
}

.comp-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--ink-50);
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .comp-col {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }

  .comp-icon-badge {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .comp-icon-badge img {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 768px) {
  .comparison-premium {
    padding: 4rem 0;
  }

  .comp-blob-tl {
    width: 250px;
    top: -50px;
    left: -50px;
  }

  .comp-blob-tr {
    width: 250px;
    top: -20px;
    right: -50px;
  }

  .comp-paw {
    top: 2%;
    width: 30px;
  }

  .comp-leaf {
    bottom: 2%;
    width: 30px;
  }

  .comp-table-wrap {
    width: 100%;
  }

  .comp-table {
    border-radius: 16px;
    grid-template-columns: 30% 35% 35%;
  }

  .comp-row {
    display: contents;
  }

  .comp-row-header .comp-col {
    padding: 0.75rem 5px;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  /* Keep row layout on mobile — never stack */
  .comp-col {
    padding: 0.9rem 5px;
    font-size: 0.5rem;
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
    gap: 1px;
  }

  .comp-col-feature {
    padding: 0.9rem 5px;
  }

  .comp-icon-badge {
    width: 30px;
    height: 30px;
    min-width: 30px;
    margin-right: 6px;
    margin-bottom: 0;
  }

  .comp-icon-badge img {
    width: 16px;
    height: 16px;
  }

  .comp-check,
  .comp-cross {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .comp-check svg,
  .comp-cross svg {
    width: 10px;
    height: 10px;
  }

  .comp-col-mello,
  .comp-col-other {
    text-align: left;
    align-items: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   THE MELLO METHOD SECTION (TIMELINE)
════════════════════════════════════════════════════════════ */
.mello-method-section {
  background-color: #FDF9F5;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.method-header {
  text-align: center;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.method-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.method-badge {
  background-color: #C03235;
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.method-badge-heart {
  stroke: #C03235 !important;
  width: 24px;
  height: 24px;
}

.method-main-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.method-heading-dark {
  color: #3A2417;
}

.method-heading-red {
  color: #C03235;
}

.method-subtitle {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: #3A2417;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 500px;
  opacity: 0.85;
}

/* Timeline Base */
.method-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  max-width: 900px;
  margin: 0 auto 4rem;
  padding-left: 20px;
}

.timeline-line {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 35px;
  width: 2px;
  border-left: 2px dotted #FCA5A5;
  z-index: 0;
}

.method-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.method-num {
  width: 32px;
  height: 32px;
  background-color: #C03235;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.method-card {
  background: #FFFDFC;
  border-radius: 28px;
  padding: 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.method-icon-wrap {
  width: 72px;
  height: 72px;
  background-color: #FFF1EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.method-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.method-title {
  font-family: var(--font-sans);
  font-size: 1.1rem !important;
  font-weight: 800;
  color: #3A2417;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.02em;
}

.method-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.4;
  color: #3A2417;
  opacity: 0.85;
  margin: 0;
  max-width: 280px;
}

.method-side-badge,
.method-side-badge-small {
  display: inline-flex;
  align-items: center;
  background-color: #FFF1EB;
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  gap: 10px;
  border: 1px solid rgba(192, 50, 53, 0.05);
}

.method-side-badge img,
.method-side-badge-small img {
  width: 24px;
  height: 24px;
}

.method-side-badge span,
.method-side-badge-small span {
  font-size: 10px;
  font-weight: 700;
  color: #3A2417;
  line-height: 1.2;
}

.method-side-badges-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Feature Bar */
.method-features-bar {
  background-color: #F1EFFE;
  border-radius: 28px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  gap: 1.5rem;
}

.feature-bar-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.25rem;
  flex-shrink: 0;
  position: relative;
  padding-right: 2.25rem;
}

.feature-bar-main::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(140, 116, 221, 0.4);
}

.feature-bar-heart {
  width: 56px;
  height: 56px;
  margin-left: -5px;
}

.feature-bar-heading {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: #3A2417;
  line-height: 1.15;
  margin: 0;
  transform: rotate(-9deg);
  transform-origin: center left;
  position: relative;
  white-space: nowrap;
}

.feature-bar-heading::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -24px;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%238C74DD' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 12 L4 6 M10 10 L14 4 M12 14 L18 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-5deg);
}

.feature-bar-heading span {
  color: #C03235;
}

.feature-bar-items {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.feature-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 70px;
}

.feature-icon-circle {
  width: 56px;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.feature-icon-circle img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.feature-bar-col p {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: #3A2417;
  line-height: 1.1;
  text-align: center;
  margin: 0;
}

/* Responsive Scaling */
@media (max-width: 1024px) {
  .method-timeline {
    padding-left: 10px;
  }

  .timeline-line {
    left: 25px;
  }
}

@media (max-width: 768px) {
  .method-timeline {
    padding-left: 0;
    gap: 1.25rem;
  }

  .timeline-line {
    left: 15px;
  }

  .method-step {
    gap: 0.75rem;
  }

  .method-card {
    padding: 0.75rem 0.2rem;
    gap: 0.5rem;
    border-radius: 20px;
  }

  .method-icon-wrap {
    width: 56px;
    height: 56px;
  }

  .method-icon-wrap img {
    width: 28px;
    height: 28px;
  }

  .method-title {
    font-size: 12px !important;
  }

  .method-desc {
    font-size: 10px;
  }

  .method-side-badge,
  .method-side-badge-small {
    padding: 0.35rem 0.5rem;
    gap: 6px;
  }

  .method-side-badge img,
  .method-side-badge-small img {
    width: 18px;
    height: 18px;
  }

  .method-side-badge span,
  .method-side-badge-small span {
    font-size: 10px;
  }

  .method-features-bar {
    flex-direction: row;
    padding: 1rem 0.75rem;
    gap: 0.5rem;
    border-radius: 16px;
  }

  .feature-bar-main {
    max-width: none;
    padding-right: 1.25rem;
    gap: 0.25rem;
  }

  .feature-bar-heart {
    width: 32px;
    height: 32px;
  }

  .feature-bar-heading {
    font-size: 10px !important;
  }

  .feature-bar-heading::after {
    width: 20px;
    height: 20px;
    top: -8px;
    right: -16px;
  }

  .feature-bar-items {
    gap: 0.4rem;
  }

  .feature-bar-col {
    width: 48px;
  }

  .feature-icon-circle {
    width: 36px;
    height: 36px;
  }



  .feature-bar-col p {
    font-size: 0.55rem;
  }
}

/* ── PET PARENTS SPEAK REDESIGN ── */
.testimonials-slider {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 0px;
  margin-top: 20px;
}

.testimonials-slider .swiper-slide {
  height: auto;
}

.testimonial-card {
  position: relative;
  background-color: var(--white);
  border-radius: 20px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06) !important;
  padding: 50px 24px 24px !important;
  text-align: center;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  overflow: visible !important;
  margin-top: 40px;
  border: none !important;
  box-sizing: border-box;
}

.testimonial-card-header {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 15px;
  pointer-events: none;
}

.testimonial-avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: var(--cream) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2.5rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
  border: 4px solid #fff;
  flex-shrink: 0;
  margin: 0 !important;
}

.testi-product {
  width: 70px !important;
  height: auto !important;
  z-index: 1;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
}

.testi-product-left {
  transform: rotate(-12deg) translateY(10px);
}

.testi-product-right {
  transform: rotate(12deg) translateY(10px);
}

.testimonial-name {
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  color: var(--ink);
}

.testimonial-text {
  font-size: 1rem !important;
  line-height: 1.5 !important;
  color: var(--ink-80) !important;
  margin-bottom: 20px !important;
  flex-grow: 1;
}

.testimonial-stars {
  color: #FACC15 !important;
  font-size: 1.25rem !important;
  margin-bottom: 12px !important;
  letter-spacing: 2px;
}

.testimonial-verified {
  font-size: 0.85rem;
  color: #25D366;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.testimonial-date {
  font-size: 0.8rem;
  color: var(--ink-60);
  font-weight: 600;
}

.testimonials-slider .swiper-pagination {
  bottom: 0px !important;
}

.testimonials-slider .swiper-pagination-bullet {
  background: #D9D9D9;
  opacity: 1;
  width: 10px;
  height: 10px;
}

.testimonials-slider .swiper-pagination-bullet-active {
  background: #C03235;
}

.testimonials-slider .swiper-button-prev,
.testimonials-slider .swiper-button-next {
  background: #FFF8F2;
  color: #3A2417;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.testimonials-slider .swiper-button-prev:after,
.testimonials-slider .swiper-button-next:after {
  font-size: 1.25rem;
  font-weight: bold;
}

.testimonials-slider .swiper-button-prev:hover,
.testimonials-slider .swiper-button-next:hover {
  background: #C03235;
  color: #fff;
}

@media (max-width: 1024px) {
  .testimonials-slider {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .testimonials-slider {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .testimonials-slider .swiper-button-prev,
  .testimonials-slider .swiper-button-next {
    display: none !important;
  }

  .testimonial-avatar {
    width: 64px !important;
    height: 64px !important;
    font-size: 2rem !important;
  }

  .testi-product {
    width: 55px !important;
  }

  .testimonial-card-header {
    top: -32px;
  }
}

/* ═══════════════════════════════════════════════════════════
   iOS SAFARI CRASH PREVENTION
   Reduces GPU compositor layer pressure on WebKit/Metal.
════════════════════════════════════════════════════════════ */

/*
  On iOS (touch devices with limited GPU memory), pause expensive
  continuous animations that are off-screen to prevent Metal OOM crash.
  The hero section is above the fold; its animations continue running even
  when the user scrolls past The Mello Range section, consuming compositor
  memory while new sections try to paint simultaneously.
*/
@media (hover: none) and (pointer: coarse) {

  /*
    Reduce particle count impact: remove blur filter from ambient particles
    since filter on animated elements creates a new compositor layer per element.
    With 12 particles each getting a layer, this easily exhausts iOS VRAM.
  */
  .hero-ambient-particle {
    display: none;
  }

  /*
    On mobile, orbit emojis are decorative only. Removing the float sub-animation
    reduces the animation stack from 3 concurrent animations per emoji to 2.
  */
  .hero-orbit-emoji,
  .orbit-emoji {
    animation: none;
  }

  /*
    Remove drop-shadow filter from orbit emojis on mobile.
    Each filter on an animated element forces a separate GPU compositing layer.
  */
  .hero-orbit-emoji,
  .orbit-emoji {
    filter: none;
  }

  /*
    Simplify product float animation on mobile to reduce repaint cost.
    translateY alone is GPU-cheap; adding rotate forces additional compositing work.
  */
  .hero-product-float-wrapper,
  .ingredients-product-float-wrapper,
  .product-float-wrapper {
    animation-name: simple-float;
  }

  /*
    Remove shadow animation entirely on mobile — the radial-gradient shadow
    div with blur filter + animation is one of the most expensive combinations
    on iOS WebKit. It creates a full GPU layer that repaints on every frame.
  */
  .hero-product-shadow,
  .ingredients-product-shadow,
  .product-shadow {
    animation: none;
    filter: none;
    opacity: 0.5;
  }

  /*
    Simplified float: no rotation, pure translateY only.
    This is significantly cheaper on iOS since rotate forces sub-pixel antialiasing.
  */
  @keyframes simple-float {
    0% {
      transform: translateY(-6px);
    }

    100% {
      transform: translateY(6px);
    }
  }

  /*
    Remove drop-shadow filter from testimonial products on mobile.
    Fixes the Safari GPU VRAM exhaustion crash in the Swiper container.
  */
  .testi-product {
    filter: none !important;
  }
}


/* Added for Ingredient Highlights wrapper spacing */
.ingredient-highlights-wrapper {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
  display: flex;
  flex-direction: column;
}
