/* ==========================================================================
   CGS · COFFEE, GRILL & SHOTS
   THEME.CSS — Boho-European Design System
   --------------------------------------------------------------------------
   Architecture:
     1. Design Tokens (:root)
     2. Reset & Base Elements
     3. Global Typography
     4. Layout Primitives (container, section, grid)
     5. Animation Keyframes
     6. Components (BEM) — button, site-header, mobile-nav, hero, card,
        feature grid, story, cta-banner, site-footer, section-title
     7. Utilities (small, high-reuse helpers only)
     8. Responsive Adjustments

   Naming convention: BEM — .block, .block__element, .block--modifier
   NOTE: A handful of class names are load-bearing for js/custom.js and
   js/animations.js (state toggles, not styling hooks). They are restyled
   here but intentionally NOT renamed, to avoid breaking behaviour:
     #navbar, .scrolled, #mobileMenuBtn, #mobileMenu, #mobileMenuOverlay,
     .open, .active, body.menu-open, .reveal, .tab-btn, .tab-content,
     .accordion-trigger, .accordion-item
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {

  /* ---- 1.1 Base palette — raw values, referenced only inside :root ---- */
  --palette-espresso-900:            #1B1412;
  --palette-espresso-800:            #241A16;
  --palette-espresso-700:            #2E211B;
  --palette-coffee-500:              #6F4A2F;
  --palette-terracotta-500:          #B5622F;
  --palette-terracotta-400:          #C97A45;
  --palette-gold-700:                #8A6530;
  --palette-gold-600:                #A67C3D;
  --palette-gold-400:                #CDA765;
  --palette-gold-200:                #E7D3AA;
  --palette-sage-600:                #5C6A4C;
  --palette-sage-500:                #6E7A5C;
  --palette-rose-500:                #A56760;
  --palette-rose-400:                #B97D74;
  --palette-linen-100:               #F6EFE4;
  --palette-linen-50:                #FBF7F0;
  --palette-cream-200:               #EEE3D1;
  --palette-neutral-700:             #4A4340;
  --palette-neutral-600:             #6B6560;
  --palette-neutral-400:             #9C948A;
  --palette-neutral-300:             #DCD2C1;
  --palette-neutral-200:             #E9E0D2;
  --bg-dark-color:                   #0c0a08;
  --bg-card-color:                   #12100e;
  --accent-gold:                     #c5a880;
  --text-main:                       #e6dfd5;
  --text-muted:                      #8c7b68;
  --border-color:                    #221d17;
  --color-bg-founder-espresso:       #050403;
  --color-bg-panel-founder-espresso: #24594d;

  --hero-gradient-top: rgba(20, 14, 12, 0.6);
  --hero-gradient-mid: rgba(20, 14, 12, 0.42);
  --hero-gradient-bot: rgba(20, 14, 12, 0.72);
  
  --cgs-menu-bg: #121212;
  --cgs-menu-surface: #1a1a1a;
  --cgs-menu-card-bg: #222222;
  --cgs-menu-border: #333333;
  --cgs-menu-border-light: #2a2a2a;
  --cgs-menu-text: #f3f4f6;
  --cgs-menu-text-muted: #9ca3af;
  --cgs-menu-accent: #d97706;
  --cgs-menu-accent-hover: #b45309;
  --cgs-menu-success: #10b981;
  --cgs-menu-danger: #ef4444;

  /* ---- 1.2 Semantic color roles — components consume these, never the palette above ---- */
  --color-bg:                       var(--palette-linen-100);
  --color-bg-alt:                   var(--palette-cream-200);
  --color-bg-inverse:               var(--palette-espresso-900);
  --color-bg-inverse-alt:           var(--palette-espresso-700);

  --color-surface:          var(--palette-linen-50);
  --color-surface-inverse:  var(--palette-espresso-800);

  --color-text-primary:     var(--palette-espresso-900);
  --color-text-secondary:   var(--palette-neutral-700);
  --color-text-muted:       var(--palette-neutral-600);
  --color-text-inverse:     var(--palette-linen-50);
  --color-text-inverse-muted: rgba(246, 239, 228, 0.62);

  --color-accent:           var(--palette-gold-600);
  --color-accent-hover:     var(--palette-gold-400);
  --color-accent-strong:    var(--palette-gold-700);
  --color-accent-on-dark:   var(--palette-gold-400);

  --color-secondary-accent: var(--palette-sage-500);
  --color-tertiary-accent:  var(--palette-terracotta-500);
  --color-quaternary-accent: var(--palette-rose-500);

  --color-border:           var(--palette-neutral-300);
  --color-border-strong:    var(--palette-coffee-500);
  --color-border-inverse:   rgba(230, 211, 170, 0.18);

  --color-overlay-scrim:    rgba(27, 20, 18, 0.62);

  /* The hero always sits on a dark-overlaid photo in every theme, so its
     text must never flip to a dark color the way --color-text-inverse
     does for chrome. Intentionally NOT overridden by any [data-theme]. */
  --color-hero-text:        #FFFFFF;

  /* Contrast "band" tokens — used by content-area accent bands
     (.section--inverse, .cta-banner, steps) which need to flip
     independently from chrome (header/footer always stay dark). */
  --color-band-bg:          var(--color-bg-inverse);
  --color-band-text:        var(--color-text-inverse);
  --color-band-text-muted:  var(--color-text-inverse-muted);

  /* ---- 1.3 Typography ----
     Fully self-hosted, zero CDN dependency (see /fonts/local-fonts.css).
     Exactly 2 font families site-wide:
       Italiana: large display moments only (hero, page-hero, intro splash) —
         it's a delicate high-contrast face, not meant for repeated headings.
       Poppins: everything else — headings, body, nav, buttons, labels.
     The Botanica theme reassigns --font-heading to Italiana for a softer
     editorial register, but still only draws from these same 2 files. */
  --font-display: 'Italiana', 'Georgia', serif;
  --font-heading: 'Poppins', -apple-system, sans-serif;
  --font-accent:  'Poppins', -apple-system, sans-serif;
  --font-body:    'Poppins', -apple-system, sans-serif;
  --font-brand:    'Bebas Neue', sans-serif;

  /* Keep tiny text static for legibility & mobile layout safety */
  --text-2xs:  0.6875rem;                                       /* Static 11px */
  --text-xs:   0.75rem;                                         /* Static 12px */
  --text-sm:   0.875rem;                                        /* Static 14px */
  --text-base: 1rem;                                            /* Static 16px */

  /* Adjusted Fluid Scale (3xl Lifted, 5xl Lowered, Intermediate Steps Smoothed) */
  --text-md:   clamp(0.875rem, 0.8125rem + 0.25vw, 1rem);       /* Fluid 14px → 16px */
  --text-lg:   clamp(1.125rem, 1rem + 0.5vw, 1.25rem);          /* Fluid 18px → 20px */
  --text-xl:   clamp(1.375rem, 1.1875rem + 0.75vw, 1.625rem);   /* Fluid 22px → 26px */
  --text-2xl:  clamp(1.6875rem, 1.375rem + 1.25vw, 2.1875rem);  /* Fluid 27px → 35px */
  --text-3xl:  clamp(2.125rem, 1.625rem + 2vw, 2.875rem);       /* Fluid 34px → 46px */
  --text-4xl:  clamp(2.5625rem, 1.8125rem + 3vw, 3.5625rem);    /* Fluid 41px → 57px */
  --text-5xl:  clamp(3rem, 2.0625rem + 3.75vw, 4rem);           /* Fluid 48px → 64px */

  --leading-tight:  1.15;
  --leading-snug:   1.35;
  --leading-normal: 1.65;
  --leading-loose:  1.85;

  --tracking-normal: 0;
  --tracking-wide:   0.06em;
  --tracking-wider:  0.14em;

  /* ---- 1.4 Spacing — 4px base scale ---- */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 2.5rem;    /* 40px */
  --space-8: 3.5rem;    /* 56px */
  --space-9: 5rem;      /* 80px */
  --space-10: 7rem;     /* 112px */

  /* ---- 1.5 Radius — flat, sharp-cornered by default (the Botanica theme
     overrides these back to soft/organic) ---- */
  --radius-sm:   0px;
  --radius-md:   2px;
  --radius-lg:   3px;
  --radius-xl:   4px;
  --radius-full: 3px;

  /* ---- 1.6 Shadow — warm-toned, never pure black ---- */
  --shadow-sm: 0 2px 10px rgba(27, 20, 18, 0.07);
  --shadow-md: 0 10px 28px rgba(27, 20, 18, 0.11);
  --shadow-lg: 0 22px 48px rgba(27, 20, 18, 0.18);
  --shadow-inset-hairline: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-glow-gold: 0 0 28px rgba(166, 124, 61, 0.35);

  /* ---- 1.7 Motion ---- */
  --ease-organic: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.25s;
  --duration-base: 0.4s;
  --duration-slow: 0.7s;

  /* ---- 1.8 Layout ---- */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-offset: 145px; /* full header height (info bar + nav row) — used to reserve space below the fixed header */
  --header-offset-scrolled: 66px; /* collapsed header height once .scrolled — used by sticky elements below the header so they don't gap/overlap during the transition */

  /* ---- 1.9 Z-index scale ---- */
  --z-header: 1000;
  --z-mobile-overlay: 1999;
  --z-mobile-menu: 2000;
}


/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}


/* ==========================================================================
   3. GLOBAL TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
}


/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--space-7) 0;
}

.section--tight {
  padding: var(--space-7) 0;
}

.section--inverse {
  background-color: var(--color-band-bg);
  color: var(--color-band-text);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--inverse .section-title {
  color: var(--color-band-text);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
  line-height: var(--leading-loose);
}

.divider {
  width: 64px;
  height: 2px;
  background: var(--color-accent);
  margin: var(--space-4) auto;
  border-radius: var(--radius-full);
}

.hidden { display: none;}

.bold { font-weight: bold;}

.bolder { font-weight: bold !important;}

.italic { font-style: italic;}


/* ==========================================================================
   5. ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--duration-slow) var(--ease-organic) forwards;
}

.animate-fade-up-delay-1 { animation-delay: 0.15s; }
.animate-fade-up-delay-2 { animation-delay: 0.3s; }
.animate-fade-up-delay-3 { animation-delay: 0.45s; }

/* JS-bound scroll-reveal hook — do not rename */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-organic),
              transform var(--duration-slow) var(--ease-organic);
}

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

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ==========================================================================
   6. COMPONENTS
   ========================================================================== */

/* ---- 6.1 Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-organic),
              color var(--duration-base) var(--ease-organic),
              border-color var(--duration-base) var(--ease-organic),
              box-shadow var(--duration-base) var(--ease-organic),
              transform var(--duration-fast) var(--ease-organic);
}

.btn:active {
  transform: scale(0.98);
}

.btn--gold {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  color: var(--color-text-inverse);
  border-color: var(--color-accent);
}

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

.btn--outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent-on-dark);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border-inverse);
  color: var(--color-text-inverse);
}

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

.btn--block {
  width: 100%;
}


/* ---- 6.2 Site Header / Nav ----
   One fixed wrapper (.site-header) holds the info bar and the nav row as
   normal-flow children, so they collapse together cleanly on scroll —
   replacing the legacy negative-offset overlap hack. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: var(--color-bg-inverse);
  /* Added a clear, elegant border and soft shadow */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  will-change: transform;
}

/* Utility info strip (hours / location / phone) */
.info-bar {
  width: 100%;
  background-color: var(--color-bg-inverse, #1b1412);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: max-height 0.3s var(--ease-organic, ease), padding 0.3s var(--ease-organic, ease), opacity 0.3s var(--ease-organic, ease);
  max-height: 50px; /* Adjust this initial max-height if needed based on content */
  opacity: 1;
}

.info-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  /* Adds breathing room on left/right so it never touches the screen edges */
  padding: 6px 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  font-size: 11px;
  color: var(--color-text-inverse-muted);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.info-bar__inner.is-loaded {
    opacity: 1;
}

.info-bar__inner::-webkit-scrollbar {
  display: none;
}

.info-bar > div {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* When the page is scrolled, fully collapse the height, padding, and border/opacity */
body.is-scrolled .info-bar {
  max-height: 0;
  border-bottom-width: 0;
  opacity: 0;
}

body.is-scrolled .info-bar__inner {
  padding-top: 0;
  padding-bottom: 0;
}

.info-bar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--duration-base) var(--ease-organic);
  font-size: clamp(0.6rem, 0.8vw, 3rem);
}

.info-bar__item svg {
  color: var(--color-accent-on-dark);
  opacity: 0.75;
  width: 14px;
  height: 14px;
}

a.info-bar__item:hover {
  color: var(--color-accent-on-dark);
}

.info-bar__divider {
  width: 1px;
  height: 12px;
  background: var(--color-border-inverse);
}

/* JS-bound: #navbar carries .nav for structural styling, .scrolled for state */
.nav {
  transition: padding var(--duration-base) var(--ease-organic);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-3) var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-brand__wordmark, 
.logo-brand__tagline  { /* Use your exact selector for the logo text heading */
  font-size: clamp(0.9rem, 3.8vw, 1.8rem); /* Shrinks gracefully on smaller devices */
  white-space: nowrap; /* Keeps it on a single line */
  max-width: calc(100vw - 140px);
}

/* Collapse the info bar smoothly once the nav reports the page has scrolled */
.site-header:has(.nav.scrolled) .info-bar {
  grid-template-rows: 0fr;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.nav-link {
  position: relative;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-inverse-muted);
  padding: var(--space-2) 0;
  transition: color var(--duration-base) var(--ease-organic);
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-on-dark);
  transition: width var(--duration-base) var(--ease-organic);
}

.nav-link:hover,
.nav-link.active {
  color: #F1E6D3;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

/* Mobile menu toggle — JS-bound: #mobileMenuBtn, .active */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--color-border-inverse);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  transition: border-color var(--duration-base) var(--ease-organic);
}

.mobile-menu-btn:hover {
  border-color: var(--color-accent);
}

.mobile-menu-btn span {
  width: 18px;
  height: 1.5px;
  background: var(--color-accent-on-dark);
  transition: transform var(--duration-base) var(--ease-organic),
              opacity var(--duration-base) var(--ease-organic);
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* JS-bound: #mobileMenuOverlay, .open */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay-scrim);
  z-index: var(--z-mobile-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-organic),
              visibility var(--duration-base) var(--ease-organic);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* JS-bound: #mobileMenu, .open */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: rgb(from var(--color-surface-inverse) r g b / 0.9);
  z-index: var(--z-mobile-menu);
  padding: var(--space-9) var(--space-6) var(--space-6);
  border-left: 1px solid var(--color-border-inverse);
  overflow-y: auto;
  transition: right var(--duration-base) var(--ease-organic);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-inverse);
  border-radius: var(--radius-sm);
  color: var(--color-text-inverse-muted);
  transition: all var(--duration-base) var(--ease-organic);
}

.mobile-menu-close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-on-dark);
}

.mobile-nav-links {
  margin-top: var(--space-8);
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--color-border-inverse);
}

.mobile-nav-links .nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  text-transform: none;
  letter-spacing: 0;
  padding: var(--space-4) 0;
  color: var(--color-text-inverse-muted);
}

.mobile-nav-links .nav-link::before {
  display: none;
}

.mobile-nav-links .nav-link:hover,
.mobile-nav-links .nav-link.active {
  color: var(--color-accent-on-dark);
  padding-left: var(--space-2);
}


/* ---- 6.3 Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  padding-top: var(--header-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(
    to bottom, 
    var(--hero-gradient-top) 0%, 
    var(--hero-gradient-mid) 45%, 
    var(--hero-gradient-bot) 100%
  ), 
  var(--hero-image, url(/images/banner-2.webp));
  background-size: cover;
  background-position: center;
}


.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--container-pad);
  max-width: 900px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 500;
  line-height: var(--leading-tight);
  color: var(--color-hero-text);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--space-4);
}

.hero__summary {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  max-width: 560px;
  margin: 0 auto var(--space-5);
  line-height: var(--leading-loose);
}

/* Scroll cue now sits in normal document flow, below the CTA button,
   instead of floating as an absolutely-positioned element that could
   visually clash with it. */
.hero__scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-5) auto 0;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-organic);
}

.hero__scroll-cue:hover {
  transform: translateY(4px);
}

.hero__scroll-cue:hover .hero__scroll-label {
  color: rgba(255, 255, 255, 0.95);
}

.hero__scroll-label {
  font-family: var(--font-accent);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--duration-base) var(--ease-organic);
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollLinePulse 1.8s ease-in-out infinite;
}

@keyframes scrollLinePulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; }
}

/* Hero Initial States for Animation */
.hero__content .animate-fade-up,
.hero__content .animate-fade-up-delay-1,
.hero__content .animate-fade-up-delay-2,
.hero__content .animate-fade-up-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Active State triggered on load */
/* Initial hidden states for Hero items */
.hero__content .hero-anim-1,
.hero__content .hero-anim-2,
.hero__content .hero-anim-3,
.hero__content .hero-anim-4 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Active states with staggered delays when .is-animated is added */
.hero__content.is-animated .hero-anim-1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.hero__content.is-animated .hero-anim-2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.hero__content.is-animated .hero-anim-3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero__content.is-animated .hero-anim-4 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

/* ---- 6.4 Cards ---- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  transition: transform var(--duration-base) var(--ease-organic),
              box-shadow var(--duration-base) var(--ease-organic),
              border-color var(--duration-base) var(--ease-organic);
}

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

.card--icon {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  color: var(--color-accent);
}

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

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-2);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

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


/* ---- 6.5 Story ---- */
.story {
  max-width: 620px;
  margin: var(--space-9) auto 0;
  text-align: center;
}

.story__title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.story__text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  text-align: left;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-5);
}

.story__text:first-of-type {
  font-size: 0.95rem;
  color: var(--color-text-primary);
}

.story__text strong {
  color: var(--color-accent-strong);
  font-weight: 600;
}


/* ---- 6.6 CTA banner (e.g. Quality & Hygiene teaser) ---- */
.cta-banner {
  background: var(--color-band-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  margin-top: var(--space-9);
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-band-text);
  margin-bottom: var(--space-3);
}

.cta-banner__text {
  color: var(--color-band-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-5);
  line-height: var(--leading-loose);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent-on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-organic),
              gap var(--duration-base) var(--ease-organic);
}

.link-arrow:hover {
  border-color: var(--color-accent-on-dark);
  gap: var(--space-3);
}


/* ---- 6.7 Site Footer ---- */
footer, .site-footer {
  border-top: 1px solid var(--color-border-inverse);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.site-footer {
  background: var(--color-bg-inverse);
  color: var(--color-text-inverse-muted);
  padding-top: var(--space-8);
}

/* Brand block — deliberately placed at the TOP of the footer, not the
   bottom, so it never collides with the fixed WhatsApp/scroll buttons
   that live in the bottom-right corner of the viewport. */
.logo-brand {
  font-family: var(--font-brand);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.logo-brand a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

footer .logo-brand {
  padding-bottom: var(--space-7);
  margin-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-border-inverse);
}

.logo-brand__mark {
  height: 55px;
  width: auto;
  transition: opacity var(--duration-base) var(--ease-organic),
              height var(--duration-base) var(--ease-organic);
}

.logo-brand__wordmark {
  font-size: clamp(1.3rem, 3.8vw, 1.8rem);
  letter-spacing: 0.08em;
  color: #F1E6D3;
  line-height: 1;
}

.logo-brand__tagline {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-on-dark);
  margin-top: 3px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-7);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border-inverse);
}

.footer-column__heading {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent-on-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(205, 167, 101, 0.35);
  display: inline-block;
}

.footer-column ul li {
  margin-bottom: var(--space-3);
}

.footer-column a {
  font-size: var(--text-sm);
  color: var(--color-text-inverse-muted);
  transition: color var(--duration-base) var(--ease-organic),
              padding-left var(--duration-base) var(--ease-organic);
}

.footer-column a:hover {
  color: var(--color-accent-on-dark);
  padding-left: var(--space-2);
}

.footer-text {
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
  color: var(--color-text-inverse-muted);
  margin-bottom: var(--space-5);
}

.footer-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-2);
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent-on-dark);
  border: 1px solid rgba(205, 167, 101, 0.35);
  border-radius: var(--radius-full);
  padding: 7px var(--space-3);
  transition: background-color var(--duration-base) var(--ease-organic),
              border-color var(--duration-base) var(--ease-organic),
              color var(--duration-base) var(--ease-organic);
}

.footer-actions a svg {
  width: 13px;
  height: 13px;
}

.footer-actions a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-inverse);
}

/* 1. Constrain the action buttons and their SVGs so they don't blow up */
.footer-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid var(--color-border, rgba(205, 167, 101, 0.2));
  border-radius: var(--radius-sm, 6px);
  color: var(--color-text-primary, #fff);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  text-decoration: none;
  box-sizing: border-box;
}

/* Force SVGs inside the buttons to stay small and neat */
.action-btn svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  color: var(--color-accent, #CDA765);
}

/* 2. Ensure map thumbnail container respects bounds */
.map-thumbnail {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  border: 1px solid rgba(205, 167, 101, 0.15);
}

.map-thumbnail iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  flex-wrap: wrap;
}

.footer-middle__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 640px;
}

.copyright-infringement {
  font-size: var(--text-2xs);
  line-height: var(--leading-normal);
  color: var(--color-text-inverse-muted);
}

.copyright-infringement .label {
  font-weight: 600;
  color: var(--color-text-inverse);
}

.copyright-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--color-text-inverse-muted);
}

.footer-credit-link {
  color: var(--color-accent-on-dark);
  border-bottom: 1px solid rgba(205, 167, 101, 0.35);
}

.footer-credit-link:hover {
  border-color: var(--color-accent-on-dark);
}


/* ---- 6.8 Floating UI & Ambient Effects ----
   Injected site-wide via components/preloader.html into #preloader on every
   page (same pattern as header/footer). These elements are fixed/absolute
   overlays; without this block they fall into normal document flow, which
   is what caused the stray content and oversized page height. Colors here
   are intentionally restricted to the brand palette — the legacy version
   used random full-spectrum rainbow hues (cursor sparkle trail, click
   confetti, an on-load confetti burst) which read as a generic template
   gimmick and clashed with the Boho-European direction. See build notes. */

/* Ambient dust-mote canvas (permanent, subtle) */
#effect-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: transparent !important;
}

/* Cursor trail — single warm gold dot, replaces the old duplicate
   5-color neon trail (initCustomCursor was removed; this is the only
   cursor-trail system left, see animations.js) */
.cursor-trail-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: var(--z-mobile-menu);
}

.cursor-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px 1px rgba(201, 162, 75, 0.5);
  opacity: 0.55;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  filter: blur(0.5px);
}

/* Dev environment badge — hidden by default, shown via JS on non-prod hosts */
#env-badge {
  position: fixed;
  top: 110px;
  left: -5px;
  transform: rotate(-30deg);
  background: rgba(181, 98, 47, 0.15);
  color: var(--color-tertiary-accent);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  padding: var(--space-1) var(--space-4);
  border: 1.5px dashed var(--color-tertiary-accent);
  border-radius: var(--radius-sm);
  z-index: 9999;
  pointer-events: none;
  display: none;
}

/* Scroll to top / bottom */
#scroll-buttons {
  position: fixed;
  bottom: 92px;
  right: 5px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: var(--z-header);
}

#scroll-buttons button {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(from var(--color-surface-inverse) r g b / 0.7);
  color: var(--color-accent-on-dark);
  border: 1px solid var(--color-border-inverse);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-organic),
              color var(--duration-base) var(--ease-organic),
              transform var(--duration-fast) var(--ease-organic);
}

#scroll-buttons button:hover:not([disabled]) {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

#scroll-buttons button[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* WhatsApp chat bubble — the source asset is a wide pill-shaped
   "Chat on WhatsApp" button graphic (320x72), not a square icon, so it's
   sized by width with auto height rather than forced into a square. */
.whatsapp-icon {
  position: fixed;
  z-index: 99;
  bottom: 20px;
  right: 20px;
  width: 168px;
  line-height: 0;
}

.whatsapp-icon img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-full);
  filter: drop-shadow(var(--shadow-md));
  transition: transform var(--duration-fast) var(--ease-organic);
}

.whatsapp-icon:hover img {
  transform: scale(1.05);
}

/* Share button — sits above the scroll buttons */
.share-btn {
  position: fixed;
  bottom: 208px;
  right: 5px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(from var(--color-surface-inverse) r g b / 0.7);
  color: var(--color-accent-on-dark);
  border: 1px solid var(--color-border-inverse);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  z-index: 99;
  transition: background-color var(--duration-base) var(--ease-organic),
              color var(--duration-base) var(--ease-organic),
              transform var(--duration-fast) var(--ease-organic);
}

.share-btn:hover {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

/* ---- Intro splash overlay ---- */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-inverse);
  transition: opacity 0.7s ease;
}

#intro-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 var(--space-5);
}

.intro-letters {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.intro-letter {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  background: linear-gradient(100deg,
    var(--palette-gold-700) 0%,
    var(--palette-gold-200) 16%,
    var(--palette-gold-400) 32%,
    #FFF6E0 46%,
    var(--palette-gold-600) 60%,
    var(--palette-coffee-500) 74%,
    var(--palette-gold-400) 88%,
    var(--palette-gold-700) 100%);
  background-size: 320% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(30px);
  animation: introLetterForm 1.2s ease forwards, introShimmer 2.4s linear infinite;
}

.intro-tagline {
  display: block;
  margin: var(--space-5) auto 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-inverse-muted);
  opacity: 0;
  transform: translateY(10px);
  animation: introFadeUp 0.8s ease forwards;
  animation-fill-mode: forwards;
}

.brand-divider {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--palette-gold-600), #E85D75, #6BAED6, #52C77A, var(--palette-gold-400), var(--palette-gold-600));
  background-size: 300% auto;
  margin: var(--space-4) auto;
  opacity: 0;
  border-radius: var(--radius-full);
  animation: introDividerGrow 0.8s ease forwards, introShimmer 3s linear infinite;
}

.brand-tagline {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-inverse-muted);
  opacity: 0;
  transform: translateY(10px);
  animation: introFadeUp 0.8s ease forwards;
}

.intro-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(166, 124, 61, 0.12) 0%, transparent 70%);
  animation: introGlowPulse 3s ease-in-out infinite;
}

/* Coffee-themed micro particles inside the splash screen */
.steam-particle {
  position: absolute;
  bottom: 40%;
  width: 3px;
  height: 3px;
  background: rgba(205, 167, 101, 0.45);
  border-radius: 50%;
  animation: introSteamRise 3s ease-in-out infinite;
}

.pour-drop {
  position: absolute;
  top: -10px;
  width: 4px;
  height: 16px;
  background: linear-gradient(to bottom, rgba(111, 74, 47, 0.8), rgba(111, 74, 47, 0.3));
  border-radius: 0 0 50% 50%;
  animation: introPourFall 2s ease-in infinite;
}

.sizzle-spark {
  position: absolute;
  bottom: 15%;
  width: 3px;
  height: 3px;
  background: var(--palette-terracotta-400);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(201, 122, 69, 0.7), 0 0 12px rgba(181, 98, 47, 0.35);
  animation: introSizzleRise 1.5s ease-out infinite;
}

.shot-splash {
  position: absolute;
  top: 55%;
  width: 5px;
  height: 5px;
  background: rgba(205, 167, 101, 0.7);
  border-radius: 50%;
  animation: introShotSplash 2s ease-out infinite;
}

.drizzle-line {
  position: absolute;
  top: 8%;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, rgba(231, 211, 170, 0.7), transparent);
  border-radius: 2px;
  animation: introDrizzleFall 3s ease-in-out infinite;
}

.themed-particle {
  position: absolute;
  opacity: 0;
  animation: introThemedFloat 3s ease-in-out infinite;
}

/* Colorful confetti burst — mixed shapes, brand-adjacent hues, for a more
   festive/welcoming splash moment */
.confetti-piece {
  position: absolute;
  top: -5%;
  width: var(--confetti-size, 6px);
  height: var(--confetti-size, 6px);
  background: var(--confetti-color, var(--color-accent));
  opacity: 0;
  animation: introConfettiFall ease-in forwards;
  transform: rotate(var(--confetti-rotate, 0deg));
}

.confetti-piece--circle { border-radius: 50%; }
.confetti-piece--square { border-radius: 1px; }
.confetti-piece--diamond { border-radius: 1px; transform: rotate(45deg); }
.confetti-piece--triangle {
  width: 0;
  height: 0;
  background: transparent !important;
  border-left: calc(var(--confetti-size, 6px) / 2) solid transparent;
  border-right: calc(var(--confetti-size, 6px) / 2) solid transparent;
  border-bottom: var(--confetti-size, 6px) solid var(--confetti-color, var(--color-accent));
}
.confetti-piece--star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  width: calc(var(--confetti-size, 6px) * 2);
  height: calc(var(--confetti-size, 6px) * 2);
}
.confetti-piece--pentagon {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  width: calc(var(--confetti-size, 6px) * 1.6);
  height: calc(var(--confetti-size, 6px) * 1.6);
}

/* Click feedback — brand-toned confetti (replaces old full-hue rainbow) */
.party-prop {
  position: fixed; /* Changed from absolute to fixed so they float on the viewport without expanding the document */
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 999999; /* Ensures particles stay on top as a floating glass layer */
  animation: introExplode 0.9s ease-out forwards;
}

@keyframes introLetterForm {
  0%   { opacity: 0; filter: blur(16px); transform: translateY(40px) scale(0.9); }
  50%  { opacity: 0.6; filter: blur(6px); transform: translateY(-8px) scale(1.03); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes introShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

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

@keyframes introDividerGrow {
  to { width: 64px; opacity: 1; }
}

@keyframes introGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; }
}

@keyframes introSteamRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  20%  { opacity: 0.4; }
  100% { transform: translateY(-200px) scale(2.5); opacity: 0; }
}

@keyframes introPourFall {
  0%   { transform: translateY(0) scaleY(1); opacity: 0; }
  10%  { opacity: 0.8; }
  70%  { opacity: 0.6; }
  100% { transform: translateY(100vh) scaleY(1.5); opacity: 0; }
}

@keyframes introSizzleRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-120px) translateX(var(--tx, 0px)) scale(0); opacity: 0; }
}

@keyframes introShotSplash {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  10%  { opacity: 0.9; }
  100% { transform: translate(var(--sx, 30px), var(--sy, -40px)) scale(0.3); opacity: 0; }
}

@keyframes introDrizzleFall {
  0%   { height: 0; opacity: 0; top: 5%; }
  20%  { opacity: 0.6; }
  50%  { height: 80px; opacity: 0.4; top: 30%; }
  100% { height: 0; opacity: 0; top: 70%; }
}

@keyframes introThemedFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.8) rotate(0deg); }
  25%  { opacity: 0.5; }
  50%  { opacity: 0.7; transform: translateY(-30px) scale(1.1) rotate(15deg); }
  75%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-60px) scale(0.6) rotate(-10deg); }
}

@keyframes introExplode {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--x), var(--y)) rotate(280deg); opacity: 0; }
}

@keyframes introConfettiFall {
  0%   { opacity: 0; transform: translate(0, 0) rotate(var(--confetti-rotate, 0deg)); }
  10%  { opacity: 0.9; }
  80%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(var(--confetti-drift, 20px), 340px) rotate(calc(var(--confetti-rotate, 0deg) + 360deg)); }
}

@media (max-width: 640px) {
  .info-bar__item { font-size: clamp(0.55rem, 0.72vw, 0.82rem);}
  .share-btn { bottom: 186px; right: 5px;}
  /* #scroll-buttons { bottom: 78px; } */
  .whatsapp-icon { right: 14px; width: 140px; bottom: 16px; }
  .footer-actions a { padding: 6px var(--space-3); font-size: 9px;}
  .footer-actions a svg { width: 11px; height: 11px; }
  .autoscroll-toggle, .share-btn { display: none !important;}
  #scroll-buttons button svg { width:12px; height: 12px;}
  .menu-tabs .tab-btn { padding: var(--space-3) var(--space-4);}
  .cgs-home-signature-teaser .cgs-cta-btn-group { display: grid !important;}
  .copyright-content { margin-bottom: 20px;}
}

@media (max-width: 400px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}


/* ==========================================================================
   6.9 INNER-PAGE COMPONENTS
   Shared across browse-menu, must-haves, our-story, cgs-experience, faq,
   find-us, orders, careers, join-our-team, cafe-in-indore, quality-hygiene,
   privacy-policy, terms-and-conditions, testimonials.
   ========================================================================== */

/* ---- Page hero (inner-page banner) ---- */
.page-hero {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: calc(var(--header-offset) + var(--space-8));
  padding-bottom: var(--space-7);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  text-align: center;
}

.page-hero--tight { padding-bottom: var(--space-4); }

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  color: var(--color-text-primary);
  margin: var(--space-3) 0;
}

.page-hero__subtitle {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: var(--leading-loose);
}

/* ---- Quote block ---- */
.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quote-block__text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  line-height: var(--leading-loose);
}

.quote-block__lead {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin-top: var(--space-5);
  margin-bottom: var(--space-7);
}

/* ---- Card grid modifiers ---- */
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card-grid--4 .card__title {
  font-size: var(--text-base);
  line-height: 1.3;
}

.card--plain {
  box-shadow: none;
}

.card__glyph {
  display: flex;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.card__glyph svg {
  width: 32px;
  height: 32px;
}

/* ---- Timeline (Our Story journey) ---- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border-strong);
  opacity: 0.3;
  transform: translateX(-50%);
}

.timeline__item {
  position: relative;
  display: flex;
  margin-bottom: var(--space-8);
}

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

.timeline__dot {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border: 2px solid var(--color-bg);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline__content {
  width: 50%;
}

.timeline__item--left .timeline__content {
  padding-right: var(--space-8);
  text-align: right;
  margin-left: 0;
}

.timeline__item--right {
  justify-content: flex-end;
}

.timeline__item--right .timeline__content {
  padding-left: var(--space-8);
  text-align: left;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  margin: var(--space-2) 0 var(--space-2);
}

.timeline__text {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
}

/* ---- FAQ: always-visible bordered blocks (no click needed to scan) ---- */
.accordion-group { margin-bottom: var(--space-8); }

.accordion-group__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.accordion-group__header .divider { margin: 0; width: 40px; }

.accordion-group__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 500;
  white-space: nowrap;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.faq-block {
  display: flex;
  gap: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  transition: border-color var(--duration-base) var(--ease-organic),
              box-shadow var(--duration-base) var(--ease-organic),
              transform var(--duration-base) var(--ease-organic);
}

.faq-block:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.faq-block__q {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.faq-block__a {
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  font-size: var(--text-sm);
}

.link-cta {
  color: var(--color-accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
  transition: color var(--duration-base) var(--ease-organic),
              text-decoration-color var(--duration-base) var(--ease-organic);
}

.link-cta:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent-strong);
}

@media (max-width: 860px) {
  .faq-list { grid-template-columns: 1fr; }
}

/* ---- CTA section (full-width, plain) ---- */
.cta-section {
  text-align: center;
  padding: var(--space-8) var(--container-pad) 0;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  letter-spacing: 0.1rem;
}

.cta-section__eyebrow {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

/* ---- Decorative marker lists ---- */
.list-marks {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.list-marks li {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  padding-left: var(--space-5);
  position: relative;
}

.list-marks li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.6em;
  top: 0.4em;
}

.list-marks--outline li::before { content: '◇'; }

/* ---- Legal document layout (privacy / terms) ---- */
.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal__intro {
  text-align: center;
  padding-bottom: var(--space-8);
}

.legal__quote {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.legal__lead {
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.legal__section {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
}

.legal__section:last-child { border-bottom: none; }

.legal__section h2 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.legal__section p {
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  font-size: var(--text-sm);
}

/* ---- Callout note box ---- */
.callout {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

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

/* ---- Numbered steps (Orders "How it Works") ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
  text-align: center;
}

.steps__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-accent);
  opacity: 0.3;
}

.steps__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-band-text);
  margin: var(--space-2) 0 var(--space-2);
}

.steps__text {
  color: var(--color-band-text-muted);
  line-height: var(--leading-normal);
  font-size: var(--text-sm);
}

/* ---- Info grid (Find Us) ---- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.info-grid .card {
  padding: var(--space-5) var(--space-4);
  transition: transform var(--duration-base) var(--ease-organic),
              box-shadow var(--duration-base) var(--ease-organic),
              border-color var(--duration-base) var(--ease-organic),
              background-color var(--duration-base) var(--ease-organic);
}

.info-grid .card:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-alt);
  transform: translateY(-6px) scale(1.02);
}

.info-grid .card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-3);
  transition: transform var(--duration-base) var(--ease-organic);
}

.info-grid .card:hover .card__icon {
  transform: scale(1.12);
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

.info-grid .card__title {
  font-size: var(--text-base);
}

.info-grid .card__text {
  font-size: var(--text-xs);
}

.info-grid > a {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.info-grid > a .card {
  width: 100%;
}

/* ---- Menu system (Browse Menu) ---- */

/* JS-bound: .tab-btn[data-tab].active toggles which .tab-content shows */
.tab-btn {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-3) var(--space-6);
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color var(--duration-base) var(--ease-organic),
              color var(--duration-base) var(--ease-organic),
              background-color var(--duration-base) var(--ease-organic);
}

.tab-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
}

.tab-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-inverse);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn var(--duration-base) var(--ease-organic);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding: var(--space-4) var(--container-pad);
  margin: 0 calc(var(--container-pad) * -1) var(--space-6);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

/* browse-menu page */
.cgs-master-banner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto 40px auto;
    padding: 22px 26px;
    background: var(--color-surface, linear-gradient(135deg, rgba(255, 252, 247, 0.92) 0%, rgba(250, 243, 232, 0.78) 100%));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border, rgba(201, 162, 75, 0.22));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.cgs-master-banner::after {
    content: '';
    position: absolute;
    left: 57%;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-border, rgba(201, 162, 75, 0.25)), transparent);
}

/* Left Side: Features (Freshly Made & Dine-In) */
.cgs-banner-features-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-right: 12px;
}

.cgs-mini-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cgs-features-divider {
    width: 1px;
    height: 36px;
    background: var(--color-border, rgba(201, 162, 75, 0.18));
    flex-shrink: 0;
}

.cgs-mini-icon-wrap {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-alpha, rgba(201, 162, 75, 0.06));
    border: 1px solid var(--color-border, rgba(201, 162, 75, 0.12));
    border-radius: 50%;
    color: var(--color-accent);
}

.cgs-mini-text h4 {
    font-size: 0.88rem;
    color: var(--color-text-primary);
    margin: 0 0 2px 0;
}

.cgs-mini-text p {
    font-size: 0.72rem;
    color: var(--color-text-secondary);
    font-weight: 300;
    margin: 0;
    line-height: 1.3;
}

/* Add this keyframe animation block anywhere in your stylesheet */
@keyframes cgsSoftBreathe {
    0%, 100% {
        border-color: rgba(201, 162, 75, 0.22);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }
    50% {
        border-color: var(--color-accent, rgba(201, 162, 75, 0.65));
        box-shadow: 0 6px 22px rgba(201, 162, 75, 0.12);
    }
}

@keyframes cgsArrowNudge {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

@keyframes cgsRippleThemeDynamic {
    0% {
        box-shadow: 0 0 0 0 var(--color-accent);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(201, 162, 75, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 162, 75, 0);
    }
}

.cgs-arrow-badge {
    position: relative;
    background-color: var(--color-accent);
    animation: cgsRippleThemeDynamic 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

/* Update your existing .cgs-banner-action-side class to apply the animation */
.cgs-banner-action-side {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    margin-left: 6px;
    background: var(--color-card-bg, rgba(255, 255, 255, 0.3));
    border: 1px solid var(--color-border, rgba(201, 162, 75, 0.22));
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    /* Apply a slow, calming 4-second infinite breathing cycle */
    animation: cgsSoftBreathe 4s ease-in-out infinite;
}

/* Apply a gentle motion sync to the arrow badge so it invites clicking */
.cgs-banner-action-side .cgs-arrow-badge {
    animation: cgsArrowNudge 2s ease-in-out infinite;
}

.cgs-banner-action-side:hover {
    background: var(--color-card-hover, rgba(255, 255, 255, 0.9));
    border-color: var(--color-accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.cgs-sprig-icon {
    flex-shrink: 0;
    width: 26px !important;
    height: 38px !important;
    color: var(--color-accent);
}

.cgs-loved-picks-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.cgs-loved-picks-header {
    width: 100%;
}

.cgs-loved-picks-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.cgs-loved-picks-header h3 span {
    color: var(--color-accent);
}

.cgs-loved-picks-sub {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-text-secondary);
    margin: 4px 0 0 0;
}

.cgs-arrow-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-text-inverse, #fff);
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.cgs-banner-action-side:hover .cgs-arrow-badge {
    transform: translateX(3px);
}

/* Responsive layout adjustments for mobile viewports */
@media (max-width: 1024px) {
    .cgs-master-banner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .cgs-master-banner::after {
        display: none;
    }
    .cgs-banner-features-side {
        padding-right: 0;
        border-bottom: 1px solid var(--color-border, rgba(201, 162, 75, 0.18));
        padding-bottom: 16px;
    }
    .cgs-banner-action-side {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .cgs-banner-features-side {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .cgs-features-divider {
        display: none;
    }

    /* Mobile specific adjustment: Single-line scaling header, text content below, arrow at bottom */
    .cgs-banner-action-side {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }

    .cgs-banner-action-side .cgs-sprig-icon {
        display: none; /* Hide sprig on mobile card if vertical stack needs space, or keep compact */
    }

    .cgs-loved-picks-header h3 {
        font-size: clamp(1.1rem, 4vw, 1.05rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    .cgs-loved-picks-sub {
        text-align: center;
        margin-top: 2px;
    }

    .cgs-arrow-badge {
        margin: 5px auto 0;
    }
    
    .cgs-arrow-badge::after {
        content: ' \203A';
    }
}

.menu-category { margin-bottom: var(--space-8); }

.menu-category__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.menu-category__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  color: var(--color-tertiary-accent);
}

.menu-category__icon svg { width: 22px; height: 22px; }

.menu-category__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
}

.menu-category__subtitle {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-text-muted);
  font-size: var(--text-md);
}

.menu-category__note {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent-strong);
  margin: var(--space-2) 0 var(--space-4) 68px;
}

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

.menu-item {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: border-color var(--duration-base) var(--ease-organic),
              transform var(--duration-base) var(--ease-organic);
}

.menu-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.menu-item--signature {
  background: linear-gradient(160deg, var(--color-surface) 60%, var(--palette-gold-200) 220%);
  border-color: var(--color-accent);
}

.menu-item__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.menu-item__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-normal);
  color: var(--color-text-primary);
}

.menu-item--signature .menu-item__name { color: var(--color-accent-strong); }

.menu-item__star {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  border-radius: 50%;
  font-size: var(--text-xs);
  box-shadow: var(--shadow-sm);
}

.menu-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

.menu-item__meta {
  display: inline-block;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2px var(--space-2);
  margin-right: var(--space-2);
}

/* ---- Product card with photo (Must-Haves / Signature Picks) ---- */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-organic),
              box-shadow var(--duration-base) var(--ease-organic);
}

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

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

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

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

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(27, 20, 18, 0.75);
  border: 1px solid var(--color-accent);
  color: var(--color-accent-on-dark);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.product-card__info { padding: var(--space-5); }

.product-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-2);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

.product-card__meta {
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

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


/* ==========================================================================
   7. UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.page-offset { padding-top: var(--header-offset); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   8. RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--4, .info-grid, .product-grid, .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--2 {
    grid-template-columns: 1fr;
  }

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

  .timeline::before { left: 24px; }
  .timeline__dot { left: 24px; }
  .timeline__content,
  .timeline__item--left .timeline__content,
  .timeline__item--right .timeline__content {
    width: 100%;
    padding-left: var(--space-8);
    padding-right: 0;
    text-align: left;
  }
  .timeline__item--right { justify-content: flex-start; }

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

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .info-bar__inner {
    font-size: 10px;
    gap: var(--space-2);
  }
}

@media (max-width: 640px) {
  .footer-middle {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-brand {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero {
    min-height: 680px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center top;

    background-color: #140e0c;
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .menu-grid, .product-grid, .info-grid, .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .menu-category__note { margin-left: 0; }

  .page-hero__title { font-size: var(--text-4xl); }

  .section {
    padding: var(--space-7) 0;
  }
}


/* ==========================================================================
   9. THEME VARIANTS — Roast (default) / Botanica
   Toggled via [data-theme] on <html>, persisted in localStorage by the
   floating style-clip tab (see .theme-clip + custom.js).

   Roast = the default. Warm coffee palette, but flat and sharp-cornered —
   a modern specialty-roastery register (see base :root tokens above).

   Botanica = a soft, organic, clean-beauty/coastal register: sand + sage +
   deep teal, generous rounded/arch shapes, diffused shadows, serif
   editorial headings. Structural differences (asymmetric footer grid,
   left-aligned hero, arch-topped imagery) are achieved without any
   direction:rtl trickery.
   ========================================================================== */

:root[data-theme="botanica"] {
  /* ---- Palette: warm sand + sage + deep teal ---- */
  --color-bg:                     #F5F1E7;
  --color-bg-alt:                 #ECE5D5;
  --color-bg-inverse:             #24413B;
  --color-bg-inverse-alt:         #1B332D;
  --color-bg-founder-other:       #0c251f;
  --color-bg-panel-founder-other: #1d4139;

  --color-surface:          #FBF9F3;
  --color-surface-inverse:  #24413B;

  --color-text-primary:     #2B3B36;
  --color-text-secondary:   #5C6B64;
  --color-text-muted:       #93A099;
  --color-text-inverse:     #F5F1E7;
  --color-text-inverse-muted: rgba(245, 241, 231, 0.74);

  --color-accent:           #7C9070;
  --color-accent-hover:     #94A886;
  --color-accent-strong:    #5F7355;
  --color-accent-on-dark:   #A8C09A;

  --color-secondary-accent:  #3B6B63;
  --color-tertiary-accent:   #C4A276;
  --color-quaternary-accent: #B79098;

  --color-border:           rgba(43, 59, 54, 0.10);
  --color-border-strong:    rgba(43, 59, 54, 0.22);
  --color-border-inverse:   rgba(245, 241, 231, 0.16);

  /* Content-area contrast band echoes the same teal chrome for cohesion */
  --color-band-bg:          #24413B;
  --color-band-text:        #F5F1E7;
  --color-band-text-muted:  rgba(245, 241, 231, 0.72);

  --hero-gradient-top: rgba(36, 65, 59, 0.65);
  --hero-gradient-mid: rgba(27, 51, 45, 0.48);
  --hero-gradient-bot: rgba(36, 65, 59, 0.78);

  /* ---- Shape: soft, organic, generous — the opposite of Roast's flat default ---- */
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   28px;
  --radius-xl:   44px;
  --radius-full: 999px;

  /* ---- Shadow: soft and diffused ---- */
  --shadow-sm: 0 2px 14px rgba(43, 59, 54, 0.06);
  --shadow-md: 0 14px 34px rgba(43, 59, 54, 0.09);
  --shadow-lg: 0 28px 60px rgba(43, 59, 54, 0.13);
  --shadow-glow-gold: 0 0 26px rgba(124, 144, 112, 0.28);

  /* Headings use the same readable Poppins as Roast — Botanica's identity
     comes from color/shape, not a delicate display serif that hurt legibility. */
  --tracking-wider: 0.1em;
}

[data-theme="botanica"] .section-title,
[data-theme="botanica"] .story__title,
[data-theme="botanica"] .timeline__title,
[data-theme="botanica"] .accordion-group__title,
[data-theme="botanica"] .legal__section h2,
[data-theme="botanica"] .steps__title,
[data-theme="botanica"] .menu-category__title,
[data-theme="botanica"] .product-card__name,
[data-theme="botanica"] .card__title {
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* ---- Structural alignment ---- */
[data-theme="botanica"] .hero {
  justify-content: flex-start;
  padding-left: clamp(1.5rem, 8vw, 7rem);
}

[data-theme="botanica"] .hero__content,
[data-theme="botanica"] .page-hero,
[data-theme="botanica"] .section-title,
[data-theme="botanica"] .section-subtitle,
[data-theme="botanica"] .page-hero__subtitle,
[data-theme="botanica"] .cta-section__title,
[data-theme="botanica"] .cta-section__eyebrow,
[data-theme="botanica"] .quote-block,
[data-theme="botanica"] .story__title,
[data-theme="botanica"] .story__text,
[data-theme="botanica"] .card--icon {
  text-align: left;
}

[data-theme="botanica"] .hero__scroll-cue {
  margin-left: 0;
  margin-right: auto;
}

[data-theme="botanica"] .hero__summary,
[data-theme="botanica"] .section-subtitle,
[data-theme="botanica"] .page-hero__subtitle,
[data-theme="botanica"] .quote-block__lead,
[data-theme="botanica"] .cta-section__eyebrow {
  margin-left: 0;
  margin-right: auto;
}

[data-theme="botanica"] .divider {
  margin-left: 0;
  margin-right: auto;
  border-radius: var(--radius-full);
}

[data-theme="botanica"] .card__glyph {
  margin-left: 0;
  justify-content: flex-start;
}

[data-theme="botanica"] .card {
  border: 1px solid var(--color-border-strong);
}

[data-theme="botanica"] .card__icon {
  margin-left: 0;
  background: rgba(124, 144, 112, 0.16);
  border-radius: 50%;
}

/* Product images: no radius on the card or image so photos display fully uncropped */
[data-theme="botanica"] .product-card {
  border-radius: 0;
}

[data-theme="botanica"] .product-card__image {
  border-radius: 0;
}

/* ---- Timeline: single-sided rail ---- */
[data-theme="botanica"] .timeline::before { left: 0; }
[data-theme="botanica"] .timeline__dot { left: 0; }
[data-theme="botanica"] .timeline__item,
[data-theme="botanica"] .timeline__item--right {
  justify-content: flex-start;
}
[data-theme="botanica"] .timeline__content,
[data-theme="botanica"] .timeline__item--left .timeline__content,
[data-theme="botanica"] .timeline__item--right .timeline__content {
  width: 100%;
  padding-left: var(--space-8);
  padding-right: 0;
  text-align: left;
}

[data-theme="botanica"] .menu-category__note { margin-left: 68px; }

@media (max-width: 860px) {
  [data-theme="botanica"] .hero { padding-left: var(--container-pad); }
  [data-theme="botanica"] .footer-grid { grid-template-columns: 1fr 1fr; }
}


/* ---- Style switcher: a clip tab docked to the right edge, below header ---- */
/* ---- Style Switcher: Floating Circular Button ---- */
.cgs-theme-fab {
    position: fixed;
    top: 130px;
    right: 5px;
    z-index: 900;
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cgs-theme-fab__icon {
    width: 25px;
    height: 25px;
    background-color: rgb(from var(--color-surface-inverse) r g b / 0.8);
    color: var(--color-text-inverse-muted);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--duration-base) var(--ease-organic);
}

.cgs-theme-fab__icon svg {
    width: 15px;
    height: 15px;
}

.cgs-theme-fab__label {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    color: var(--color-text-inverse-muted);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
}

.cgs-theme-fab:hover .cgs-theme-fab__icon {
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

/* ==========================================================================
   10. 404 PAGE
   Restored the original's animated gradient number, rising steam wisps,
   and colorful gradient card background — these were in the legacy
   custom.css but never got carried over in the first migration pass.
   ========================================================================== */
.nf-container {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.nf-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(166, 124, 61, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* Rising steam wisps behind the card */
.nf-steam {
  position: absolute;
  bottom: 80px;
  left: 50%;
  width: 8px;
  height: 120px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(200, 200, 200, 0.4));
  filter: blur(6px);
  opacity: 0.3;
  animation: nfSteamRise 5s infinite ease-in-out;
  pointer-events: none;
}

.nf-steam:nth-child(1) { margin-left: -60px; animation-delay: 0s; }
.nf-steam:nth-child(2) { margin-left: 0; animation-delay: 1.5s; }
.nf-steam:nth-child(3) { margin-left: 60px; animation-delay: 3s; }

@keyframes nfSteamRise {
  0%   { transform: translateY(0) scaleX(1); opacity: 0.3; }
  50%  { transform: translateY(-60px) scaleX(1.6); opacity: 0.15; }
  100% { transform: translateY(-120px) scaleX(2); opacity: 0; }
}

.nf-card {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: var(--space-6);
  text-align: center;
  background: linear-gradient(135deg, #EAF3F0 0%, var(--color-surface) 50%, #FBE9DD 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-7) var(--space-7);
  transition: transform 0.15s ease-out;
}

.nf-404 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(120deg, var(--palette-gold-600), var(--palette-coffee-500), var(--palette-gold-400), var(--palette-gold-600));
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: nfGradientMove 5s ease infinite;
  margin-bottom: var(--space-3);
}

@keyframes nfGradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nf-divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
}

.nf-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.nf-desc {
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.nf-phrase {
  font-family: var(--font-brand);
  font-size: var(--text-md);
  color: var(--color-accent-strong);
  margin-bottom: var(--space-5);
  min-height: 1.5em;
  letter-spacing: 0.1rem;
}

.nf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  color: var(--color-text-inverse);
  transition: transform var(--duration-fast) var(--ease-organic), box-shadow var(--duration-base) var(--ease-organic);
}

.nf-cta:hover {
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-2px);
}

.nf-hint {
  margin: var(--space-4) 0 var(--space-6) 0;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.wiggle {
  animation: nfWiggle 0.6s ease-in-out;
}

@keyframes nfWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}

.nf-spark {
  position: absolute;
  z-index: 999;
  font-size: 1.5rem;
  pointer-events: none;
  animation: nfSparkFly 1s ease-out forwards;
}

@keyframes nfSparkFly {
  0%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  100% {
    opacity: 0;
    transform:
      translate(calc(cos(var(--angle)) * var(--dist)), calc(sin(var(--angle)) * var(--dist)))
      scale(0.3) rotate(180deg);
  }
}

@media (max-width: 640px) {
  .nf-steam { display: none; }
  .nf-card { padding: var(--space-6) var(--space-5); }
}

/* ==========================================================================
   11. IMAGE LIGHTBOX
   ========================================================================== */
.product-card__image img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 7, 0.92);
  opacity: 0;
  visibility: hidden;
  padding: var(--space-7);
  transition: opacity var(--duration-base) var(--ease-organic),
              visibility var(--duration-base) var(--ease-organic);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  cursor: default;
  transform: scale(0.95);
  transition: transform var(--duration-base) var(--ease-organic);
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox__close {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-organic);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---- Auto-scroll toggle — left edge, mirrors the theme-clip's docked style ---- */
.autoscroll-toggle {
  position: fixed;
  top: 160px;
  left: 0;
  z-index: 900;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(from var(--color-surface-inverse) r g b / 0.7);
  border: 1px solid var(--color-border-inverse);
  border-left: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
  color: var(--color-text-inverse-muted);
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-organic);
}

.autoscroll-toggle.active {
  color: var(--color-accent-on-dark);
}

.autoscroll-toggle.nudge {
  animation: autoscrollNudge 0.6s ease-in-out 2;
}

@keyframes autoscrollNudge {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(5px); }
  60% { transform: translateX(0); }
}

.autoscroll-toggle svg {
  animation: none;
}

.autoscroll-toggle.active svg {
  animation: autoscrollBounce 1.4s ease-in-out infinite;
}

@keyframes autoscrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(3px); opacity: 1; }
}

@media (max-width: 640px) {
  .autoscroll-toggle { width: 32px; height: 32px; }
}

.category-thumbnails-slider {
    display: flex;
    justify-content: center; /* Perfectly centers the categories on desktop */
    flex-wrap: wrap; /* Adapts beautifully if items fit, wrapping cleanly */
    gap: 50px;
    padding: 20px 10px;
    max-width: 950px;
    margin: 0 auto;
    width: 100%;
    scrollbar-width: none;
}

/* Fallback to smooth horizontal scroll on smaller mobile screens */
@media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr !important;
      gap: 2rem !important;
    }

    /* Target the list inside each footer column and turn it into a 2-column grid */
    .footer-column ul {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 16px; /* Row gap and Column gap */
      padding-left: 0;
      list-style: none;
    }

    /* Ensure list items don't have stray bullets */
    .footer-column li {
      margin-bottom: 0;
    }

    .cursor-trail-container {
      display: none !important;
    }
    .category-thumbnails-slider {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.category-thumbnails-slider::-webkit-scrollbar {
    display: none;
}

/* Individual Category Item */
.category-thumb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    text-align: center;
    width: 88px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-thumb-item:hover {
    transform: translateY(-4px);
}

/* --- Unified Thumbnail Component (Works for both Roast & Botanica via Tokens) --- */

.menu-category__note { 
    margin-left: 68px; 
}

.category-thumb-box {
    width: 76px;
    height: 76px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong)); 
    padding: 3px; 
    position: relative;
    margin-bottom: 12px;
    box-shadow: 0 10px 25px rgba(36, 65, 59, 0.15);
    transition: all 0.3s ease;
}

/* Inner frame backdrop pulls from surface token */
.category-thumb-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--color-surface); 
    border-radius: 11px;
    z-index: 1;
    pointer-events: none;
}

/* Real Category Image */
.category-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
    position: relative;
    z-index: 2;
}

/* Typography uses primary text token */
.category-thumb-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Active State Glow & Scale uses lighter accent hover token */
.category-thumb-item.active .category-thumb-box {
    background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent));
    box-shadow: 0 0 22px var(--color-accent);
    transform: scale(1.06);
}

.category-thumb-item.active .category-thumb-name {
    color: var(--color-accent);
    font-weight: 700;
}

/* Founder's Story */

body.founder-story {
  background-color: var(--color-bg-founder-espresso);
  color: var(--text-main);
}

[data-theme="botanica"] body.founder-story {
  background-color: var(--color-bg-founder-other);
  color: var(--text-main);
}

[data-theme="botanica"] .chapter-desc {
  color: #cfdad5;
}

[data-theme="botanica"] .chapter-card {
  background-color: var(--color-bg-panel-founder-other);
  border: 1px solid var(--palette-sage-600);
}

.top-menu-selector-hub {
  background-color: #1c1814;
  border-bottom: 2px solid var(--border-color);
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.founder-layout {
  max-width: 1100px;
  margin: 160px auto 50px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.sticky-header {
  position: sticky;
  top: 120px;
}
.story-tagline {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.story-main-title {
  font-family: "Oswald", sans-serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-main);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}
.story-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.chapters-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.chapter-card {
  background-color: var(--bg-card-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 35px;
}

.chapter-num {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.chapter-heading {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.chapter-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.chapter-desc:last-child {
  margin-bottom: 0;
}
.highlight {
  color: var(--text-main);
  font-weight: 500;
}

.founder-sig {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .founder-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sticky-header {
    position: relative;
    top: 0;
  }
}

/* Food Menu - Cost and Price Calculator */
body.cgs-menu {
    background-color: var(--cgs-menu-bg);
    color: var(--cgs-menu-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Main wrapper container to manage max-width across screens */
.cgs-container {
    max-width: 1350px; /* Adjust wider if you want it to span further across laptop screens */
    margin: 0 auto;
    width: 100%;
}

/* Force the table wrapper to handle horizontal overflow */
.cgs-recipe-body-grid {
    width: 100%;
    -webkit-overflow-scrolling: touch;
    display: grid;
    grid-template-columns: 140px 1fr;
    background: var(--cgs-menu-surface);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Give the table a strict minimum width so it triggers the scrollbar on smaller viewports */
.cgs-ingredient-table {
    width: 100%;
    min-width: 650px; 
}

/* Hide default number input arrows/spinners */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Page Header */
.cgs-page-header {
    margin-bottom: 1.5rem;
}

.cgs-page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cgs-menu-text);
    margin: 0;
}

/* Top Toolbar */
.cgs-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cgs-menu-surface);
    border: 1px solid var(--cgs-menu-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.cgs-search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.cgs-search-container input {
    width: 100%;
    background: var(--cgs-menu-bg);
    border: 1px solid var(--cgs-menu-border);
    border-radius: 6px;
    padding: 0.6rem 0.75rem 0.6rem 2.4rem;
    color: var(--cgs-menu-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.cgs-search-container input:focus {
    border-color: var(--cgs-menu-accent);
}

.cgs-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cgs-menu-text-muted);
    font-size: 0.9rem;
}

.cgs-global-margin {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--cgs-menu-bg);
    border: 1px solid var(--cgs-menu-border);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--cgs-menu-text-muted);
}

.cgs-global-margin input {
    width: 60px;
    background: var(--cgs-menu-surface);
    border: 1px solid var(--cgs-menu-border);
    border-radius: 4px;
    padding: 0.3rem;
    color: var(--cgs-menu-text);
    text-align: center;
    font-weight: 600;
}

/* Recipe Cost Card */
.cgs-cost-card {
    background: var(--cgs-menu-surface);
    border: 1px solid var(--cgs-menu-border);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: opacity 0.2s ease;
}

.cgs-card-header {
    background: #202020;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--cgs-menu-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.cgs-recipe-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cgs-recipe-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cgs-menu-text);
}

.cgs-recipe-category {
    font-size: 0.8rem;
    color: var(--cgs-menu-text-muted);
    background: var(--cgs-menu-bg);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--cgs-menu-border);
}

.unsaved-indicator {
    display: none;
    color: var(--cgs-menu-accent);
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    align-items: center;
    gap: 0.25rem;
}

.cgs-photo-section {
    padding: 1rem;
    background: #181818;
    border-right: 1px solid var(--cgs-menu-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cgs-photo-thumb {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    border: 1px dashed var(--cgs-menu-border);
    object-fit: cover;
    cursor: pointer;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cgs-menu-text-muted);
    font-size: 0.75rem;
    text-align: center;
    overflow: hidden;
    transition: border-color 0.2s;
}

.cgs-photo-thumb:hover {
    border-color: var(--cgs-menu-accent);
}

.cgs-photo-input {
    display: none;
}

.cgs-photo-upload-label {
    font-size: 0.75rem;
    color: var(--cgs-menu-accent);
    cursor: pointer;
    text-align: center;
    display: none;
}

.cgs-photo-upload-label:hover {
    text-decoration: underline;
}

.cgs-right-content {
    display: flex;
    flex-direction: column;
    overflow: auto;
}

/* Financial Strip */
.cgs-financial-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Forces exactly 5 equal columns in one row */
    gap: 12px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Optional: tighten padding slightly inside each block if space is tight */
.cgs-fin-block {
    padding: 8px;
    box-sizing: border-box;
}

.cgs-fin-block:last-child {
    border-right: none;
}

.cgs-fin-label {
    font-size: 0.75rem;
    color: var(--cgs-menu-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.cgs-fin-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cgs-menu-text);
}

.cgs-fin-value.highlight-price {
    color: var(--cgs-menu-success);
}

/* Input Group with Symbols */
.cgs-input-group {
    display: inline-flex;
    align-items: center;
    background: var(--cgs-menu-bg);
    border: 1px solid var(--cgs-menu-border);
    border-radius: 4px;
    overflow: hidden;
}

.cgs-input-group span {
    padding: 0 0.4rem;
    color: var(--cgs-menu-text-muted);
    font-size: 0.85rem;
    background: #1f1f1f;
}

.cgs-input-group input {
    background: var(--cgs-menu-bg);
    border: none;
    color: var(--cgs-menu-text);
    padding: 0.3rem 0.4rem;
    font-size: 0.85rem;
    text-align: center;
    width: 55px;
    outline: none;
}

/* Disabled field state styling */
input:disabled, textarea:disabled {
    background-color: #161616 !important;
    color: #6b7280 !important;
    border-color: #262626 !important;
    cursor: not-allowed;
}

/* Ingredient Table */
.cgs-ingredient-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.cgs-ingredient-table th {
    background: #1f1f1f;
    color: var(--cgs-menu-text-muted);
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--cgs-menu-border);
    white-space: nowrap;
}

.cgs-ingredient-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--cgs-menu-border-light);
    vertical-align: middle;
    position: relative;
}

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

.cgs-ingredient-table tr:hover td {
    background: var(--cgs-menu-card-bg);
}

.cgs-table-input {
    width: 100%;
    background: var(--cgs-menu-bg);
    border: 1px solid var(--cgs-menu-border);
    border-radius: 4px;
    padding: 0.35rem 0.5rem;
    color: var(--cgs-menu-text);
    font-size: 0.85rem;
    box-sizing: border-box;
    outline: none;
}

.cgs-table-input:focus {
    border-color: var(--cgs-menu-accent);
}

/* Autocomplete & Dropdown wrapper */
.autocomplete-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.autocomplete-wrapper input {
    flex: 1;
}

.ing-delete-db-btn {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    display: none;
    padding: 0.2rem;
    z-index: 2;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #252525;
    border: 1px solid var(--cgs-menu-accent);
    border-radius: 6px;
    z-index: 9999;
    max-height: 160px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.autocomplete-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--cgs-menu-text);
    border-bottom: 1px solid var(--cgs-menu-border-light);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: var(--cgs-menu-accent);
    color: white;
}

.badge-highlight-yellow {
    background-color: #fef08a;
    color: #713f12;
    border: 1px solid #fde047;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.cgs-action-btn {
    background: none;
    border: none;
    color: var(--cgs-menu-text-muted);
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    font-size: 1rem;
    transition: color 0.2s;
    border-radius: 4px;
}

.cgs-action-btn:hover {
    color: var(--cgs-menu-text);
    background: rgba(255,255,255,0.05);
}

.cgs-card-footer {
    padding: 0.75rem 1.25rem;
    background: #171717;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--cgs-menu-border);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.cgs-btn-primary {
    background: var(--cgs-menu-accent);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.cgs-btn-primary:hover {
    background: var(--cgs-menu-accent-hover);
}

.cgs-btn-primary:disabled {
    background: #4b5563;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Modal Dialog for Full Size Photo */
.cgs-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

.cgs-modal-content {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.cgs-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.cgs-modal-close:hover {
    color: var(--cgs-menu-accent);
}

.cgs-base-margin-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #18181b;
    border: 1px solid #3f3f46;
    padding: 6px 12px;
    border-radius: 8px;
}
.cgs-margin-input {
    width: 50px;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
}
.cgs-margin-input:focus { outline: none; }
.cgs-margin-actions {
    display: flex;
    gap: 4px;
    margin-left: 4px;
}
.btn-margin-save {
    background: #22c55e;
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    font-weight: bold;
    cursor: pointer;
}
.btn-margin-cancel {
    background: #3f3f46;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    cursor: pointer;
}

/* Green for healthy active price */
.highlight-price {
    color: #22c55e;
    font-weight: 700;
}

/* Red for price set below margin threshold */
.low-margin-price {
    color: #ef4444;
    font-weight: 700;
}

/* Hide default number input spinners across Chrome, Safari, Edge, Firefox */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Enable default clean browser spinners with custom spacing, or style custom wrappers */
input[type=number] {
    -moz-appearance: textfield;
}

/* Custom Number Input Wrapper with Stepper Buttons */
.cgs-table-input[type="number"], 
.custom-price-input, 
.custom-margin-input, 
.cgs-margin-input {
    padding-right: 4px;
}

/* For modern browsers supporting native clean spinners */
input[type=number]::-webkit-inner-spin-button {
    opacity: 1;
    cursor: pointer;
    height: 24px;
    filter: invert(0.8);
}

.cgs-stepper-container {
    display: flex;
    align-items: center;
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 6px;
    overflow: hidden;
}
.cgs-stepper-container input {
    border: none !important;
    background: transparent !important;
    text-align: center;
    width: 100%;
}
.cgs-stepper-btn {
    background: #27272a;
    color: #fff;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
}
.cgs-stepper-btn:hover {
    background: #3f3f46;
}

/* Home screen revamping */
/* Smooth Interactive Fade & Slide Transitions */
@keyframes fadeInUpSoft {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.interactive-reveal {
    animation: fadeInUpSoft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Reference Editorial Block Card Style */
.cgs-editorial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: clamp(36px, 5vw, 56px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cgs-editorial-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 24px 50px rgba(0,0,0,0.08);
}

/* Editorial Split Variant matching the reference block fill */
.cgs-editorial-split {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: clamp(36px, 5vw, 56px);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cgs-editorial-split:hover {
    border-color: var(--color-accent);
    box-shadow: 0 24px 50px rgba(0,0,0,0.08);
}

/* Container for the diagonal split section */
.cgs-diagonal-split-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    /* margin-bottom: 60px; */
    padding: clamp(36px, 5vw, 56px);
    overflow: hidden;
}

.cgs-diagonal-split-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 24px 50px rgba(0,0,0,0.08);
}

/* Organic curved blob frame matching Sections 1 & 2 */
.cgs-organic-blob-frame {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    background-size: cover;
    background-position: center;
    transition: border-radius 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.cgs-organic-blob-frame:hover {
    border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%;
    transform: scale(1.06);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Mobile-Specific Adjustments */
@media (max-width: 768px) {
    .cgs-diagonal-split-card {
        padding: 30px 16px;
    }
    
    /* Transform the diagonal line into a clean horizontal separator on mobile 
       so it stays visible and visually anchors the two chapters nicely */
    .cgs-diagonal-split-card::after {
        display: none;
    }
    
    .cgs-organic-blob-frame {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 900px) {
    .cgs-editorial-split {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: clamp(24px, 5vw, 36px);
    }
}

/* Organic Blob Image Mask */
.organic-blob-img {
    width: 100%;
    height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: border-radius 0.6s ease;
}

@media (max-width: 900px) {
    .organic-blob-img {
        height: 260px;
    }
}
.cgs-editorial-split:hover .organic-blob-img {
    border-radius: 50% 50% 60% 40% / 40% 50% 50% 60%;
}

/* Visual Lifestyle Gallery Row */
.vibe-gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.vibe-gallery-item {
    height: 300px;
    border-radius: 1.5rem 0.75rem 1.5rem 0.75rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.vibe-gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--color-accent);
}
.vibe-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.vibe-gallery-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 2;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Unified CTA Button Styling */
.cgs-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    min-width: 175px;
    transition: all 0.3s ease;
}
.cgs-cta-btn--primary {
    background: var(--color-accent, #c5a059);
    color: #fff;
    border: 1px solid var(--color-accent, #c5a059);
}
.cgs-cta-btn--secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-strong);
}
.cgs-cta-btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

/* Extracted Inline Styles Migrated to Internal CSS */
.cgs-index-section {
    background-color: var(--color-background);
    color: var(--color-text-primary);
}

.cgs-section-column-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.cgs-chapter-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    font-weight: 600;
    gap: 8px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.cgs-chapter-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
}
.cgs-editorial-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    line-height: 1.1;
    color: var(--color-text-primary);
    font-weight: 600;
    letter-spacing: 0.1rem;
    margin: 0 0 20px 0;
}
.cgs-editorial-body {
    color: var(--color-text-secondary);
    font-size: var(--text-md);
    line-height: 1.7;
    font-weight: 300;
    margin: 0 0 16px 0;
}
.cgs-wellness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.cgs-wellness-card {
    background: var(--color-background);
    padding: 22px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
}
.cgs-wellness-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 6px;
    font-weight: 500;
}
.cgs-wellness-desc {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 300;
    margin: 0;
}
.cgs-standards-wrapper {
    margin-bottom: 80px;
}
.cgs-standards-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
}
.cgs-standards-subtag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}
.cgs-standards-main-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 0;
}
.cgs-standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.cgs-standards-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    color: var(--color-text-primary);
    margin-bottom: 12px;
    font-weight: 400;
}
.cgs-standards-card-desc {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}
.cgs-experience-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}
.cgs-experience-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cgs-experience-subtitle {
    color: var(--color-text-secondary);
    font-weight: 300;
    margin-bottom: 24px;
}

/* ==========================================================
   Clean & Unified SEO Landing Page Styles
   ========================================================== */

/* Header clearance layout spacing */
.cgs-seo-wrapper {
    padding-top: 100px;
}

/* Subtle, unified vertical spacing layout */
.cgs-seo-hero {
    padding: 2rem 0;
    text-align: center;
}

.cgs-seo-content {
    padding-top: 0;
    padding-bottom: 3.5rem;
}

.cgs-seo-heading-block {
    margin-bottom: 2rem;
}

/* Unified structural wrapper for the divider separator line */
.cgs-seo-banner {
    border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
    border-bottom: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
    padding: 2rem 1rem;
    text-align: center;
    margin: 3rem auto 2.5rem auto;
    max-width: 1000px;
}

.cgs-seo-banner h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.cgs-seo-banner p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto;
    opacity: 0.85;
}

/* Symmetrical Centered Alignment Fix for CTA Section */
.cta-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.cta-section .cta-section__title {
    margin-bottom: 0.3rem;
}

.cta-section .cta-section__eyebrow {
    margin-bottom: 1.25rem;
    opacity: 0.8;
    margin-left: auto;
    margin-right: auto;
}

/* Botanica Theme Adaptability */
[data-theme="botanica"] .cgs-seo-banner {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Luxury Feature Highlights Grid */
.cgs-luxury-pills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto 40px auto;
}

/* Individual Capsule Card Style */
.cgs-luxury-pill {
    padding: 24px;
    background: var(--color-card-bg, rgba(255, 255, 255, 0.65));
    border: 1px solid var(--color-border, rgba(201, 162, 75, 0.22));
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.cgs-luxury-pill:hover {
    background: var(--color-card-hover, rgba(255, 255, 255, 0.9));
    border-color: var(--color-accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* Capsule Heading */
.cgs-luxury-pill h5 {
    font-family: var(--font-display);
    font-size: var(--text-md);
    color: var(--color-accent);
    margin: 0 0 8px 0;
    font-weight: 600;
    letter-spacing: 0.1rem;
}

/* Capsule Paragraph */
.cgs-luxury-pill p {
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

/* Responsive layout adjustments for mobile viewports */
@media (max-width: 768px) {
    .cgs-luxury-pills-grid {
        max-width: 100%;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }
}

/* Section Wrapper for Built on Trust & Transparency */
.cgs-trust-section {
    position: relative;
    z-index: 3;
}

.cgs-trust-section .cgs-center-title {
    text-align: center;
    margin-bottom: 40px;
}

/* 2-Column Split Grid with Vertical Divider */
.cgs-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 40px;
    align-items: stretch;
    position: relative;
    z-index: 3;
}

/* Individual Content Column */
.cgs-trust-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}

/* Text Wrapper Alignment and Order Handling */
.cgs-trust-column-top {
    order: 1;
}

.cgs-trust-column-bottom {
    order: 2;
    text-align: center;
}

.cgs-trust-column h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1rem;
}

.cgs-trust-column p {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
    text-align: center;
}

/* Clean Vertical Divider Line */
.cgs-trust-divider {
    background-color: var(--color-border, rgba(201, 162, 75, 0.22));
    width: 1px;
    align-self: stretch;
}

/* Responsive layout adjustments for mobile viewports */
@media (max-width: 768px) {
    .cgs-trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cgs-trust-divider {
        display: none;
    }
}

.accent-color { color:var(--color-accent); font-weight: 400;}

.cgs-home-signature-teaser {
      padding: 3rem 1.5rem 2.5rem 1.5rem;
      text-align: center;
      background-color: var(--color-bg, #FAF8F5);
  }
  .cgs-teaser-container {
      max-width: 720px;
      margin: 0 auto;
  }
  .cgs-home-signature-teaser .teaser-subtitle {
      font-size: 0.75rem;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--color-accent);
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
  }
  .cgs-home-signature-teaser .cgs-cta-main-title {
      font-family: var(--font-display);
      font-size: var(--text-xl);
      line-height: 1.1;
      color: var(--color-text-primary);
      font-weight: 600;
      letter-spacing: 0.1rem;
      margin: 0 0 20px 0;
  }
  .cgs-home-signature-teaser .cgs-cta-desc {
      color: var(--color-text-secondary, #5C5046);
      font-size: 0.98rem;
      line-height: 1.5;
      font-weight: 300;
      margin-bottom: 1.75rem;
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
  }
  .cgs-home-signature-teaser .cgs-cta-btn-group {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      margin-bottom: 1.75rem;
  }
  .cgs-home-signature-teaser .btn {
      min-width: 200px;
      padding: 12px 24px;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      border-radius: 2px;
      text-decoration: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cgs-home-signature-teaser .btn--gold {
      background-color: #8C6D53;
      color: #FAF8F5;
      border: 1px solid #8C6D53;
  }
  .cgs-home-signature-teaser .btn--gold:hover {
      background-color: #72553e;
      border-color: #72553e;
      transform: translateY(-1px);
  }
  .cgs-home-signature-teaser .btn--outline-gold {
      background-color: transparent;
      color: #8C6D53;
      border: 1px solid rgba(140, 109, 83, 0.4);
  }
  .cgs-home-signature-teaser .btn--outline-gold:hover {
      border-color: #8C6D53;
      background-color: rgba(140, 109, 83, 0.04);
      transform: translateY(-1px);
  }
  .teaser-divider {
      width: 32px;
      height: 1px;
      background-color: rgba(140, 109, 83, 0.25);
      margin: 0 auto 1.1rem auto;
  }
  .cgs-home-signature-teaser .teaser-footer-quote {
      color: var(--color-text-secondary, #5C5046);
      font-size: 0.95rem;
      font-style: italic;
      letter-spacing: 0.3px;
      font-weight: 300;
      margin: 0;
  }

  .cgs-menu-cta-wrapper {
      text-align: center;
      margin-top: var(--space-7);
  }
  .cgs-menu-cta-wrapper .btn--gold-outline {
      display: inline-block;
      padding: 12px 32px;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #8C6D53;
      background-color: var(--color-bg-inverse);
      border: 1px solid rgba(140, 109, 83, 0.4);
      border-radius: 2px;
      text-decoration: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cgs-menu-cta-wrapper .btn--gold-outline:hover {
      background-color: #8C6D53;
      color: #FAF8F5;
      border-color: #8C6D53;
      transform: translateY(-1px);
  }

  .care-overview {
	padding: 0 0 var(--space-8) 0;
}

/* Block header (shared by Quality/Hygiene) */
.care-block {
	margin-bottom: var(--space-8, 4rem);
}

.care-block__header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 2.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--color-border, #e4dccd);
}

.care-block__icon {
	color: var(--color-accent);
	flex-shrink: 0;
}

.care-block__icon svg {
	width: 45px;
	height: 45px;
}

.care-block__title {
	font-family: "Playfair Display", serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 2rem;
	margin: 0 0 0.25rem;
	color: var(--color-accent);
}

.care-block__subtitle {
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
	margin: 0;
	color: var(--color-text-muted);
}

/* Quality process flow */
.process-flow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.process-step {
	flex: 1 1 180px;
	text-align: center;
}

.process-step__icon {
	color: var(--color-accent);
	margin-bottom: 1rem;
  display: inline-block;
}

.process-step__icon svg {
	width: 40px;
	height: 40px;
}

.process-step__label {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.process-step__title {
	font-family: "Playfair Display", serif;
	font-size: 1rem;
	margin: 0 0 0.35rem;
}

.process-step__text {
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	font-size: 0.9rem;
	color: var(--color-text-muted);
	margin: 0;
}

.process-arrow {
	color: var(--color-accent);
	align-self: center;
	flex: 0 0 auto;
	display: flex;
}

.process-arrow svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 900px) {
	.process-flow {
		flex-direction: column;
	}
	.process-arrow {
		transform: rotate(90deg);
		margin: 0.5rem 0;
	}
}

/* Hygiene grid */
.hygiene-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.hygiene-item {
	text-align: center;
	padding: 0 1.5rem;
	border-right: 1px solid var(--color-border, #e4dccd);
}

.hygiene-item:last-child {
	border-right: none;
}

.hygiene-item__icon {
	color: var(--color-accent);
	margin-bottom: 1rem;
  display: inline-block;
}

.hygiene-item__icon svg {
	width: 36px;
	height: 36px;
}

.hygiene-item__title {
	font-family: "Playfair Display", serif;
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
}

.hygiene-item__text {
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	font-size: 0.9rem;
	color: var(--color-text-muted);
	margin: 0;
}

@media (max-width: 700px) {
	.hygiene-grid {
		grid-template-columns: 1fr 1fr;
		row-gap: 2rem;
	}
	.hygiene-item {
		border-right: none;
	}
  .process-step {
	  flex: 1 1 150px;
  }
	.team-effort {
		grid-template-columns: 1fr;
    display: inline-block !important;
  }
	.team-effort__quote {
		border-left: none !important;
		border-top: 1px solid var(--color-border, #e4dccd);
		padding-left: 0;
		padding-top: 2rem;
    margin-top: 2rem;
	}
}

/* Team effort split */
.team-effort {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	padding-top: var(--space-8, 4rem);
	border-top: 1px solid var(--color-border, #e4dccd);
}

.team-effort__title {
	font-family: "Playfair Display", serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0.5rem 0 1rem;
}

.team-effort__text {
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	color: var(--color-text-muted);
}

.team-effort__quote {
	position: relative;
	padding-left: 2rem;

	border-left: 1px solid var(--color-border);
}

.team-effort__quote p {
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
	font-size: 1.5rem;
	color: var(--color-accent);
	margin: 0;
}