/* ═══════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   Central variable definitions for the entire design system.
   All colors, spacing constants, and brand values live here.
   ─────────────────────────────────────────────────────────────────
   Naming: --{category}-{shade} for grays, --{name} for brand
   Gray scale: 50 (lightest) → 600 (darkest)
   Brand: --dhani (navy), --dhani-dark (hover), --dhani-light (bg)
   Flavor: Each flavor has a bg, accent, and text-safe color set
═══════════════════════════════════════════════════════════════════ */
:root {
  /* ── Neutrals ── */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --black: #0A0A0A;
  --gray-50: #F9F9F9;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #8B8B8B;       /* Darkened from #A3A3A3 for better readability */
  --gray-500: #636363;       /* Darkened from #737373 */
  --gray-600: #454545;       /* Darkened from #525252 */

  /* ── Brand Primary ── */
  --dhani: #0F3460;           /* Royal Navy — primary CTA, accents */
  --dhani-dark: #0a2d4d;      /* Hover state for navy */
  --dhani-light: #FFF0ED;     /* Light tint for selected states */

  /* ── Flavor Colors ──
     Each flavor maps to a bag card background + shop flavor card.
     ghee: golden        | tomato: burnt orange    | chai: warm brown
     truffle: midnight blue with gold accent (premium tier) */
  --ghee: #D4A84B;
  --ghee-bg: #FFFBEB;
  --tomato: #C44D1A;
  --tomato-bg: #FFF5EB;
  --chai: #8B5A2B;
  --chai-bg: #FDF8F3;
  --truffle: #1A1A2E;
  --truffle-accent: #C9B037;
  --truffle-bg: #F5F3EB;

  /* ── Utility ── */
  --green: #16A34A;           /* Success / savings badges */
  --green-light: #F0FDF4;    /* Savings callout background */

  /* ── Shared SVG noise texture ──
     Used as ::after overlay on bag cards and flavor cards for a
     subtle paper-grain effect. Defined once, referenced in CSS. */
  --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}


/* ═══════════════════════════════════════════════════════════════════
   GLOBAL RESET & BASE STYLES
   Normalize box model, set body defaults, prevent horizontal overflow.
═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════════════
   GLOBAL NAV
   Fixed top navigation bar with:
   - Logo (left) → routes to home
   - Links: Home, Story, Shop Now + cart badge (right)
   - Mobile: hamburger toggle shows dropdown menu
   - Scroll behavior: transparent on home hero, frosted glass on scroll
═══════════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

/* Scrolled state: frosted glass background with bottom border */
.site-nav.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--gray-200);
}

/* Logo — Fraunces Black with Soft+Wonk axes in brand navy */
.nav-logo {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: 26px;
  color: var(--dhani);
  text-decoration: none;
  letter-spacing: -0.5px;
  cursor: pointer;
}

/* Right-side nav cluster */
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Nav link base styles (applies to both <a> and <span> elements) */
.nav-right a,
.nav-right span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.nav-right a:hover,
.nav-right span:hover { color: var(--black); }

/* Active page indicator in nav */
.nav-right .nav-active { color: var(--black); font-weight: 500; }

/* "Pre-Order" pill button in nav — navy bg, white text */
.nav-right .nav-shop-btn {
  font-weight: 500;
  color: var(--white) !important;
  background: var(--dhani);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 13px;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-right .nav-shop-btn:hover {
  background: #0a2d4d;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ── Mobile hamburger button ──
   Hidden on desktop (>768px). Three horizontal lines that
   can be animated to an X via class toggles. */
.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}
.mobile-menu span {
  display: block; width: 100%; height: 1.5px;
  background: var(--black); position: absolute;
  left: 0; transition: all 0.3s;
}
.mobile-menu span:first-child { top: 0; }
.mobile-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu span:last-child { bottom: 0; }

/* Mobile menu overlay — toggled via .mobile-open class */
.nav-right.mobile-open {
  display: flex;
  position: fixed;
  top: 60px; left: 0; right: 0;
  flex-direction: column;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid var(--gray-200);
  z-index: 999;
}


/* ═══════════════════════════════════════════════════════════════════
   PAGE SYSTEM (SPA Routing)
   All three pages (home, story, shop) exist in the DOM simultaneously.
   Only the page with `.active` is visible. JavaScript goTo() toggles.
═══════════════════════════════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }


/* ═══════════════════════════════════════════════════════════════════
   HOME PAGE
   Sections (top to bottom):
   1. Hero — full-viewport brand statement
   2. Packaging showcase — 4 bag cards
   3. "What is it?" — explainer
   4. Comparison table — vs popcorn & chips
   5. Mantra — bold dark statement
   6. Bundles — 3/5/10 pack cards
   7. Story brief — teaser linking to Story page
   8. Final CTA
═══════════════════════════════════════════════════════════════════ */

/* ── 1. HERO ──
   Two-column layout: left side has brand + CTA, right side has
   floating health callouts. On mobile, callouts go below. */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 140px 40px 80px;
  position: relative;
  
}

}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gray-600); margin-bottom: 24px;
  opacity: 0; animation: fadeIn 0.6s ease 0.2s forwards;
}

.hero-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: clamp(72px, 13vw, 180px);
  color: var(--dhani);
  letter-spacing: -4px; line-height: 0.85;
  margin-bottom: 24px;
  opacity: 0; animation: fadeIn 0.6s ease 0.3s forwards;
}

.hero-tagline {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(20px, 3vw, 30px);
  font-style: italic; color: var(--gray-600);
  font-weight: 400; margin-bottom: 48px;
  opacity: 0; animation: fadeIn 0.6s ease 0.5s forwards;
}

/* Horizontal row of nutrition stat pills */
.hero-stats-row {
  display: flex; align-items: center; gap: 32px;
  margin-bottom: 48px;
  opacity: 0; animation: fadeIn 0.6s ease 0.65s forwards;
}

.hero-stat-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-100); padding: 10px 20px;
  border-radius: 100px;
}
.hero-stat-pill .num {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: 20px; color: var(--black);
}
.hero-stat-pill .label {
  font-size: 12px; color: var(--gray-600); font-weight: 400;
}

/* Small clarifying note under stats */
.hero-stats-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  margin-top: 6px;
  margin-bottom: 42px;
}

/* Small dot separator between stat pills */
.stat-dot {
  width: 3px; height: 3px;
  background: var(--gray-400); border-radius: 50%;
}

/* ── Hero margin notes (minimal health stats) ── */
.hero-notes {
  position: absolute;
  left: 48px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 28px;
  opacity: 0; animation: fadeIn 0.8s ease 1s forwards;
}

.hero-note {
  display: flex; flex-direction: column; gap: 1px;
  text-align: left;
}
.hn-stat {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 16px; color: var(--black);
  line-height: 1.1; letter-spacing: -0.3px;
}
.hn-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; font-weight: 400;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-400); line-height: 1.3;
}

/* Tablet: keep left, tighten spacing */
@media (max-width: 1100px) {
  .hero-notes {
    left: 24px;
    gap: 22px;
  }
}

/* Mobile: collapse to inline row between tagline and stat pills */
@media (max-width: 768px) {
  .hero-notes {
    position: static;
    transform: none;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 8px;
  }
  .hero-note { text-align: center; }
  .hn-stat { font-size: 14px; }
  .hn-label { font-size: 7px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
  .hero-notes { gap: 14px; margin-top: 20px; margin-bottom: 4px; }
  .hn-stat { font-size: 13px; }
  .hn-label { font-size: 6.5px; }
}

@media (max-width: 375px) {
  .hero-notes { gap: 10px; }
  .hn-stat { font-size: 12px; }
}

/* CTA button group with staggered animation */
.hero-cta-group {
  display: flex; gap: 12px; align-items: center;
  opacity: 0; animation: fadeIn 0.6s ease 0.8s forwards;
}

/* ── Shared button styles ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 500;
  background: var(--dhani); color: var(--white);
  padding: 16px 36px; border-radius: 100px;
  text-decoration: none; transition: all 0.25s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--dhani-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 52, 96, 0.25);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 500;
  background: var(--white); color: var(--black);
  padding: 16px 36px; border-radius: 100px;
  text-decoration: none; transition: all 0.25s;
  border: 1.5px solid var(--gray-200); cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--black);
  transform: translateY(-1px);
}

/* Scroll hint arrow at bottom of hero */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 0.6s ease 1.2s forwards;
}
.scroll-arrow {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--gray-400), transparent);
  animation: pulse 2s ease infinite;
}

/* ── Keyframes ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}


/* ── 2. PACKAGING SHOWCASE ──
   4-column grid of bag cards. Each card is a styled representation
   of the physical product bag with brand name, flavor, weight,
   calorie badge, and a hover-reveal price bar. */
.packaging-hero {
  padding: 60px 40px 120px;
  max-width: 1400px; margin: 0 auto;
}
.packaging-hero-label {
  text-align: center; margin-bottom: 60px;
}
.packaging-hero-label span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gray-400);
}

.bags-showcase {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; max-width: 1200px; margin: 0 auto;
}

/* Individual bag card */
.bag {
  aspect-ratio: 3/4.2; border-radius: 20px;
  padding: 36px 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.bag:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}

/* Flavor-specific bag backgrounds */
.bag-ghee { background: var(--ghee); color: var(--black); }
.bag-tomato { background: var(--tomato); color: var(--white); }
.bag-chai { background: var(--chai); color: var(--white); }
.bag-truffle { background: var(--truffle); color: var(--white); border: 1px solid rgba(201, 176, 55, 0.25); }
.bag-truffle .bag-brand-name { color: var(--truffle-accent); }
.bag-truffle .bag-flavor-name { color: var(--white); }
.bag-truffle .bag-weight-tag { border-color: var(--truffle-accent); color: var(--truffle-accent); }
.bag-truffle .bag-cal-badge .cal-num { color: var(--truffle-accent); }

/* Bag layout: top row (brand + weight), center (flavor name), bottom (claims + cal) */
.bag-top-row {
  display: flex; justify-content: space-between;
  align-items: flex-start; position: relative; z-index: 2;
}
.bag-brand-name {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 28px; letter-spacing: -0.5px; line-height: 1;
}
.bag-weight-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  opacity: 0.5; padding: 6px 10px;
  border: 1px solid currentColor; border-radius: 100px;
  white-space: nowrap;
}

.bag-center {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 20px 0;
}
.bag-flavor-name {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(28px, 3vw, 44px);
  font-style: italic; line-height: 1; letter-spacing: -1px;
}
.bag-product-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; opacity: 0.5; margin-top: 12px;
}

.bag-bottom-row {
  display: flex; justify-content: space-between;
  align-items: flex-end; position: relative; z-index: 2;
}
.bag-claims { display: flex; flex-direction: column; gap: 3px; }
.bag-claim {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1.5px;
  text-transform: uppercase; opacity: 0.45;
}
.bag-cal-badge {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: 28px; line-height: 1;
  display: flex; flex-direction: column; align-items: flex-end;
}
.bag-cal-badge .cal-num { font-size: 32px; }
.bag-cal-badge .cal-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px; letter-spacing: 1.5px;
  text-transform: uppercase; opacity: 0.5; margin-top: 2px;
}

/* Noise grain overlay — applied to both bag cards and flavor cards
   via shared CSS variable to avoid repeating the data URI */
.bag::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px; opacity: 0.4;
  background: var(--noise-texture);
  pointer-events: none;
}

/* Hover-reveal price bar slides up from bottom of bag card */
.bag-hover-price {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 20px;
  background: rgba(0,0,0,0.85); color: var(--white);
  display: flex; justify-content: space-between; align-items: center;
  border-radius: 0 0 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease; z-index: 10;
}
.bag:hover .bag-hover-price { transform: translateY(0); }

.bag-hover-price .price-text {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900; font-size: 18px;
}
.bag-hover-price .add-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--white); color: var(--black);
  padding: 8px 14px; border-radius: 100px;
  border: none; cursor: pointer; transition: all 0.2s;
}
.bag-hover-price .add-btn:hover {
  background: var(--dhani); color: var(--white);
}


/* ── 3. "WHAT IS IT?" SECTION ── */
.what-section {
  padding: 120px 40px; max-width: 1000px;
  margin: 0 auto; text-align: center;
}
.what-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--dhani); margin-bottom: 20px;
}
.what-headline {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(30px, 4.5vw, 48px);
  color: var(--black); line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 24px;
}
.what-body {
  font-size: 17px; font-weight: 400;
  color: var(--gray-600); line-height: 1.8;
  max-width: 600px; margin: 0 auto 60px;
}

/* Features grid — 3×2 cards */
.what-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.what-feature {
  padding: 28px 24px;
  background: var(--gray-100);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}
.what-feature:hover {
  border-color: rgba(15,52,96,0.2);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.wf-num {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 32px;
  color: var(--dhani); line-height: 1; margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.wf-icon {
  font-size: 24px; color: var(--dhani);
  margin-bottom: 8px; line-height: 1;
}
.wf-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--black); margin-bottom: 8px;
}
.wf-text {
  font-size: 13px; font-weight: 400;
  color: var(--gray-600); line-height: 1.6;
}


/* ── 4. COMPARISON TABLE ── */
.compare-section {
  padding: 80px 40px 120px; max-width: 720px;
  margin: 0 auto; overflow-x: auto;
}
.compare-title {
  text-align: center;
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: 32px; font-style: italic;
  color: var(--black); margin-bottom: 40px;
  letter-spacing: -0.5px;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-400); padding: 14px 16px;
  text-align: center; border-bottom: 2px solid var(--black);
}
.compare-table th:first-child { text-align: left; }
.compare-table td {
  font-size: 15px; font-weight: 400;
  padding: 16px; text-align: center;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--black); }
.dhani-col { font-weight: 600 !important; color: var(--dhani) !important; }
.dhani-header { color: var(--dhani) !important; }


/* ── 5. MANTRA (dark full-width statement) ── */
.mantra-section {
  padding: 100px 40px; background: var(--black);
  text-align: center; position: relative; 
}
.mantra-text {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(36px, 6vw, 72px);
  color: var(--white); letter-spacing: -2px;
  line-height: 1.1; position: relative; z-index: 1;
}
.mantra-text em { color: var(--dhani); font-style: italic; }
.mantra-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gray-600);
  margin-top: 24px; position: relative; z-index: 1;
  text-decoration: none;
  transition: color 0.2s;
}
.mantra-sub:hover { color: var(--dhani); }


/* ── 6. BUNDLES SECTION ──
   Three-column grid showing 3-pack, 5-pack, 10-pack options.
   Middle card (5-pack) uses dark bg for emphasis. */
.bundles-section { padding: 120px 40px; background: var(--off-white); }
.bundles-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.bundles-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 16px;
}
.bundles-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--black); letter-spacing: -0.5px;
  margin-bottom: 56px;
}

.bundle-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 16px; max-width: 860px; margin: 0 auto;
}
.bundle-card {
  padding: 44px 28px; border-radius: 20px;
  text-align: center; transition: transform 0.3s;
  position: relative;
}
.bundle-card:hover { transform: translateY(-4px); }
.bundle-card.b3 { background: var(--white); border: 1.5px solid var(--gray-200); }
.bundle-card.b5 { background: var(--black); color: var(--white); }
.bundle-card.b10 { background: var(--white); border: 2px solid var(--dhani); }

/* Floating badges ("Most Popular", "Best Value") */
.bundle-popular, .bundle-best {
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--dhani); color: var(--white);
  padding: 5px 14px; border-radius: 100px; white-space: nowrap;
}

.bundle-count {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: 56px; line-height: 1; margin-bottom: 2px;
}
.bundle-count-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; opacity: 0.4; margin-bottom: 28px;
}
.bundle-price {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: 36px; letter-spacing: -1px; margin-bottom: 4px;
}
.bundle-per {
  font-size: 13px; font-weight: 400; opacity: 0.5; margin-bottom: 28px;
}

/* Bundle CTA button variants */
.bundle-btn-dark, .bundle-btn-light, .bundle-btn-coral {
  display: inline-block; font-size: 14px; font-weight: 500;
  padding: 14px 32px; border-radius: 100px;
  text-decoration: none; transition: all 0.2s;
  border: none; cursor: pointer;
}
.bundle-btn-dark { background: var(--black); color: var(--white); }
.bundle-btn-dark:hover { background: var(--gray-600); }
.bundle-btn-light { background: var(--white); color: var(--black); }
.bundle-btn-light:hover { background: var(--gray-100); }
.bundle-btn-coral { background: var(--dhani); color: var(--white); }
.bundle-btn-coral:hover { background: var(--dhani-dark); }


/* ── 7. HOME STORY BRIEF ──
   Short teaser section that links to the full Story page. */
.story-brief {
  padding: 120px 40px; max-width: 680px;
  margin: 0 auto; text-align: center;
}
.story-brief-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 20px;
}
.story-brief-headline {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--black); line-height: 1.25;
  letter-spacing: -0.5px; margin-bottom: 32px;
}
.story-brief-text {
  font-size: 16px; font-weight: 400;
  color: var(--gray-600); line-height: 1.85;
  margin-bottom: 16px;
}
.story-brief-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--dhani); text-decoration: none;
  cursor: pointer; transition: gap 0.2s;
  margin-top: 16px;
}
.story-brief-link:hover { gap: 14px; }


/* ── 8. FINAL CTA ── */
.final-cta { padding: 120px 40px; text-align: center; }
.final-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--black); letter-spacing: -1px; margin-bottom: 12px;
}
.final-sub {
  font-size: 17px; font-weight: 400;
  color: var(--gray-600); margin-bottom: 36px;
}
.final-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════════
   STORY PAGE
   Immersive narrative layout with:
   - Hero, 4 chapters, stats strip, dark interludes, timeline, CTA
   - Scroll-reveal animations via IntersectionObserver
═══════════════════════════════════════════════════════════════════ */
.story-page { padding-top: 80px; }

/* Story hero with subtle radial gradient */
.story-hero {
  min-height: 70vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 100px 40px 80px;
  position: relative; 
}
.story-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(15, 52, 96, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.story-hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 28px;
}
.story-hero-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 100px);
  color: var(--black);
  letter-spacing: -3px; line-height: 0.95;
  margin-bottom: 28px;
}
.story-hero-title em { color: var(--dhani); font-style: italic; }
.story-hero-sub {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--gray-600); font-weight: 400;
  max-width: 520px;
}

/* Chapter sections — narrow column for readability */
.story-chapter {
  padding: 100px 40px;
  max-width: 720px; margin: 0 auto;
}
.chapter-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--dhani); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.chapter-num::after {
  content: ''; flex: 1; height: 1px;
  background: var(--gray-200);
}
.chapter-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--black); line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 28px;
}
.chapter-body {
  font-size: 17px; font-weight: 400;
  color: var(--gray-600); line-height: 1.9;
}
.chapter-body p { margin-bottom: 20px; }
.chapter-body strong { font-weight: 500; color: var(--black); }

/* Full-width pull quote break */
.story-break { padding: 80px 40px; text-align: center; }
.story-break-text {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(28px, 5vw, 52px);
  font-style: italic; color: var(--black);
  letter-spacing: -1px; line-height: 1.15;
  max-width: 700px; margin: 0 auto;
}
.story-break-text em { color: var(--dhani); font-style: italic; }

/* Dark interlude sections */
.story-dark {
  background: var(--black);
  padding: 100px 40px;
  text-align: center;
  position: relative; 
}
.story-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(15, 52, 96, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.story-dark-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.story-dark-text {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(24px, 4vw, 42px);
  color: var(--white);
  line-height: 1.35; letter-spacing: -0.5px;
  max-width: 650px; margin: 0 auto;
  position: relative; z-index: 1;
}
.story-dark-text em { color: var(--dhani); font-style: italic; }

/* Stats strip — 4-column grid of key numbers */
.story-stats { padding: 60px 40px; background: var(--off-white); }
.story-stats-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.story-stat-num {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: 48px; color: var(--dhani);
  letter-spacing: -1px; line-height: 1;
  margin-bottom: 6px;
}
.story-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-400);
}

/* Timeline — vertical dot-and-line layout for Chapter 4 */
.story-timeline {
  padding: 100px 40px;
  max-width: 720px; margin: 0 auto;
}
.story-timeline .chapter-num { margin-bottom: 16px; }
.story-timeline .chapter-title { margin-bottom: 40px; }
.tl-item {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; margin-bottom: 40px; position: relative;
}
.tl-marker {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 4px;
}
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--dhani); flex-shrink: 0;
}
.tl-line {
  width: 1px; flex: 1;
  background: var(--gray-200); margin-top: 8px;
}
.tl-item:last-child .tl-line { display: none; }
.tl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--dhani); margin-bottom: 6px;
}
.tl-text {
  font-size: 16px; font-weight: 400;
  color: var(--gray-600); line-height: 1.75;
}

/* Story CTA */
.story-cta {
  padding: 100px 40px; text-align: center;
  background: var(--off-white);
}
.story-cta-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--black); letter-spacing: -1px;
  margin-bottom: 12px;
}
.story-cta-sub {
  font-size: 17px; font-weight: 400;
  color: var(--gray-600); margin-bottom: 36px;
}


/* ═══════════════════════════════════════════════════════════════════
   SHOP PAGE
   Three-step purchase flow:
   Step 1: Choose bundle size (3 / 5 / 10 bags)
   Step 2: Pick flavors (mix & match with progress indicator)
   Step 3: Optional subscribe & save (3 / 6 / 12 months)
   + Sticky cart sidebar with running total
═══════════════════════════════════════════════════════════════════ */
.shop-page { padding-top: 70px; }

/* Shop hero banner */
.shop-hero {
  background: var(--black); padding: 44px 40px; text-align: center;
}
.shop-hero h1 {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(30px, 5vw, 46px);
  color: var(--white); letter-spacing: -1px;
}
.shop-hero p {
  font-size: 15px; font-weight: 400; color: var(--gray-400); margin-top: 4px;
}
.hero-pills {
  display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap;
}
.hp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
}
.hp.green { background: rgba(22,163,74,0.15); color: #4ADE80; }
.hp.dim { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); }

/* Two-column shop layout: products left, cart sidebar right */
.shop-wrap {
  max-width: 1320px; margin: 0 auto; padding: 40px;
  display: grid; grid-template-columns: 1fr 400px; gap: 48px;
  align-items: start;
}
.products-col, .shop-wrap > .cart-col { min-width: 0; }  /* Prevent grid blowout */

/* Step labels used in shop flow */
.step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.step-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--dhani); color: var(--white);
  font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: 28px; letter-spacing: -0.5px; margin-bottom: 6px;
}
.step-sub {
  font-size: 14px; font-weight: 400; color: var(--gray-600); margin-bottom: 20px;
}

/* ── Step 1: Bundle Size Selector ── */
.bundle-sizes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 40px;
}
.bs-card {
  border: 2px solid var(--gray-200); border-radius: 16px;
  padding: 22px 16px; text-align: center;
  cursor: pointer; transition: all 0.25s; position: relative;
}
.bs-card:hover { border-color: var(--gray-300); transform: translateY(-2px); }
.bs-card.active { border-color: var(--dhani); background: var(--dhani-light); }
.bs-badge {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 100px; white-space: nowrap;
}
.bs-badge.pop { background: var(--dhani); color: var(--white); }
.bs-badge.val { background: var(--black); color: var(--white); }
.bs-qty { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900; font-size: 42px; line-height: 1; }
.bs-qty-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 10px;
}
.bs-price { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900; font-size: 24px; letter-spacing: -0.5px; }
.bs-per { font-size: 12px; font-weight: 400; color: var(--gray-600); margin-top: 2px; }
.bs-save {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  margin-top: 6px;
}
.bs-save.green { color: var(--green); }
.bs-save.dim { color: var(--gray-400); }

/* ── Step 2: Flavor Selection ── */
.step2-area { margin-bottom: 40px; }

/* Progress indicator showing color-coded dots for selected bags */
.bundle-progress {
  background: var(--gray-100); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
}
.bp-dots { display: flex; gap: 6px; flex-shrink: 0; }
.bp-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--gray-300); transition: all 0.25s;
}
/* Each flavor gets its own filled-dot color */
.bp-dot.filled { border-color: var(--dhani); background: var(--dhani); }
.bp-dot.filled-ghee { border-color: var(--ghee); background: var(--ghee); }
.bp-dot.filled-tomato { border-color: var(--tomato); background: var(--tomato); }
.bp-dot.filled-chai { border-color: var(--chai); background: var(--chai); }
.bp-dot.filled-truffle { border-color: var(--truffle); background: var(--truffle); }
.bp-text { flex: 1; }
.bp-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
}
.bp-count .highlight { color: var(--dhani); }
.bp-hint { font-size: 12px; font-weight: 400; color: var(--gray-400); }
.bp-hint.done { color: var(--green); }

/* 2x2 flavor card grid */
.flavor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Individual flavor card with brand elements + qty controls */
.flavor-card {
  border-radius: 20px; padding: 26px;
  position: relative; 
  transition: transform 0.3s, box-shadow 0.3s;
}
.flavor-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.flavor-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 20px; pointer-events: none; opacity: 0.3;
  background: var(--noise-texture);
}
.fc-ghee { background: var(--ghee); color: var(--black); }
.fc-tomato { background: var(--tomato); color: var(--white); }
.fc-chai { background: var(--chai); color: var(--white); }
.fc-truffle { background: var(--truffle); color: var(--white); }

.fc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.fc-brand { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900; font-size: 16px; opacity: 0.5; }
.fc-truffle .fc-brand { color: var(--truffle-accent); opacity: 0.7; }
.fc-size-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;
  opacity: 0.35; border: 1px solid currentColor;
  padding: 3px 8px; border-radius: 100px;
}
.fc-name {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: clamp(26px, 3vw, 36px); font-style: italic;
  line-height: 1.05; letter-spacing: -0.5px; margin-bottom: 8px;
}
.fc-desc {
  font-size: 13px; font-weight: 400; line-height: 1.5;
  opacity: 0.65; margin-bottom: 20px; max-width: 260px;
}
.fc-claims { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.fc-claim {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px;
  border: 1px solid currentColor; opacity: 0.3;
}

.fc-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.fc-price {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900;
  font-size: 26px; letter-spacing: -0.5px;
}
.fc-price-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1px; text-transform: uppercase;
  opacity: 0.4; margin-top: 2px;
}

/* Quantity selector: [−] [count] [+] */
.fc-qty { display: flex; align-items: center; position: relative; z-index: 2; }
.qb {
  width: 38px; height: 38px; border: none;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; transition: background 0.15s;
  color: inherit;
}
.qb:first-child { border-radius: 10px 0 0 10px; }
.qb:last-child { border-radius: 0 10px 10px 0; }
.fc-ghee .qb { background: rgba(0,0,0,0.08); }
.fc-ghee .qb:hover { background: rgba(0,0,0,0.15); }
.fc-ghee .qn { background: rgba(0,0,0,0.05); }
.fc-tomato .qb, .fc-chai .qb, .fc-truffle .qb { background: rgba(255,255,255,0.15); }
.fc-tomato .qb:hover, .fc-chai .qb:hover, .fc-truffle .qb:hover { background: rgba(255,255,255,0.28); }
.fc-tomato .qn, .fc-chai .qn, .fc-truffle .qn { background: rgba(255,255,255,0.1); }
.qn {
  width: 44px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 500;
}

/* Premium badge on truffle card */
.fc-premium {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--truffle-accent); color: var(--truffle);
  padding: 4px 12px; border-radius: 100px; font-weight: 500;
}

.fc-collab {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--chai-bg); color: var(--chai);
  padding: 4px 12px; border-radius: 100px; font-weight: 500;
}

.fc-collab-link {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}
.fc-collab-link:hover { opacity: 0.8; }

/* Cold Chai popup */
.collab-popup {
  position: absolute;
  top: 44px; left: 14px; z-index: 10;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  min-width: 180px;
}
.collab-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.collab-popup-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.collab-popup-link {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--white);
  background: var(--chai);
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.collab-popup-link:hover { opacity: 0.85; }

/* "Bundle full" overlay — shown on cards with 0 qty when bundle is complete */
.fc-overflow {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(0,0,0,0.5); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.fc-overflow.show { opacity: 1; pointer-events: auto; }
.fc-overflow span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white); background: rgba(0,0,0,0.6);
  padding: 8px 16px; border-radius: 100px;
}

/* ── Subscribe & Save Section ──
   Toggle-activated subscription panel with 3/6/12 month tiers.
   Discounts stack on top of bundle discounts. */
.sub-section {
  margin-top: 40px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 28px;
}
.sub-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.sub-title { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900; font-size: 22px; letter-spacing: -0.3px; }
.sub-toggle-row { display: flex; align-items: center; gap: 10px; }
.sub-toggle-label { font-size: 13px; font-weight: 400; color: var(--gray-600); }

/* Custom toggle switch */
.sub-toggle {
  width: 44px; height: 24px; background: var(--gray-300);
  border-radius: 12px; position: relative; cursor: pointer;
  transition: background 0.25s;
}
.sub-toggle.on { background: var(--dhani); }
.sub-knob {
  width: 18px; height: 18px; background: var(--white);
  border-radius: 50%; position: absolute; top: 3px; left: 3px;
  transition: left 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.sub-toggle.on .sub-knob { left: 23px; }
.sub-desc {
  font-size: 13px; font-weight: 400; color: var(--gray-600);
  line-height: 1.5; margin-bottom: 16px;
}

/* Subscription tier cards */
.sub-tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-height: 0;  transition: max-height 0.4s ease, opacity 0.3s;
  opacity: 0;
}
.sub-tiers.open { max-height: 300px; opacity: 1; }
.st-card {
  border: 2px solid var(--gray-200); border-radius: 14px;
  padding: 18px 14px; text-align: center; cursor: pointer;
  transition: all 0.25s; background: var(--white);
}
.st-card:hover { border-color: var(--gray-300); }
.st-card.active { border-color: var(--dhani); background: var(--dhani-light); }
.st-num { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900; font-size: 34px; line-height: 1; }
.st-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 8px;
}
.st-discount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500; letter-spacing: 1px; color: var(--dhani);
}
.st-detail { font-size: 11px; font-weight: 400; color: var(--gray-600); margin-top: 6px; line-height: 1.4; }
.st-fee {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-400); margin-top: 6px;
}
.sub-fine {
  font-size: 11px; font-weight: 400; color: var(--gray-400);
  line-height: 1.5; margin-top: 14px;
  max-height: 0;  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s, margin-top 0.3s;
}
.sub-fine.open { max-height: 100px; opacity: 1; margin-top: 14px; }


/* ═══════════════════════════════════════════════════════════════════
   CART SIDEBAR
   Sticky right column on desktop, fixed bottom sheet on mobile.
   Shows: item list, line items, discounts, shipping, total, CTA.
═══════════════════════════════════════════════════════════════════ */
.cart-col { position: sticky; top: 80px; align-self: start; }
.cart-box {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: 20px; 
}
.cart-head {
  padding: 22px 24px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.cart-head h3 { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900; font-size: 22px; }
.ch-items {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--gray-400); letter-spacing: 1px;
}

/* Free shipping meter */
.fsm {
  margin: 14px 24px 0; padding: 12px 16px;
  background: var(--gray-100); border-radius: 12px;
}
.fsm-txt { font-size: 12px; text-align: center; color: var(--gray-600); margin-bottom: 6px; }
.fsm-txt strong { color: var(--dhani); font-weight: 600; }
.fsm-txt.done { color: var(--green); }
.fsm-txt.done strong { color: var(--green); }
.fsm-bar { height: 4px; background: var(--gray-200); border-radius: 100px;  }
.fsm-bar-fill {
  height: 100%; border-radius: 100px; background: var(--dhani);
  transition: width 0.4s ease;
}
.fsm-bar-fill.done { background: var(--green); }

.cart-body { padding: 16px 24px 24px; }
.cart-empty { text-align: center; padding: 24px 0; }
.cart-empty .ce-ico { font-size: 28px; margin-bottom: 4px; }
.cart-empty .ce-txt { font-size: 13px; font-weight: 400; color: var(--gray-400); }

/* Cart item row */
.ci {
  display: flex; align-items: center; padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
  animation: slideIn 0.25s ease;
}
.ci:last-child { border-bottom: none; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.ci-dot { width: 8px; height: 8px; border-radius: 3px; margin-right: 10px; flex-shrink: 0; }
.ci-info { flex: 1; }
.ci-name { font-size: 13px; font-weight: 400; }
.ci-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--gray-400); }
.ci-price { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; }

/* Cart line items (subtotal, discounts, shipping) */
.cart-lines { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-200); }
.cl { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 13px; }
.cl-label { font-weight: 400; color: var(--gray-600); }
.cl-val { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; }
.cl-val.free { color: var(--green); }
.cl-discount .cl-label { color: var(--dhani); font-weight: 400; }
.cl-discount .cl-val { color: var(--dhani); }
.cl-sub-discount .cl-label { color: var(--green); font-weight: 400; }
.cl-sub-discount .cl-val { color: var(--green); }

/* Cart total and checkout */
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--black);
}
.ct-label { font-size: 15px; font-weight: 500; }
.ct-price { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 900; font-size: 28px; letter-spacing: -0.5px; }

.cart-btn {
  width: 100%; margin-top: 16px; padding: 16px;
  background: var(--dhani); color: var(--white);
  border: none; border-radius: 100px;
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all 0.25s;
}
.cart-btn:hover {
  background: var(--dhani-dark); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15,52,96,0.25);
}
.cart-btn:disabled {
  background: var(--white); color: var(--dhani);
  border: 1.5px solid var(--gray-200);
  cursor: not-allowed; transform: none; box-shadow: none;
}
.cart-sub-note {
  text-align: center; margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--dhani);
}
.cart-secure {
  text-align: center; margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-400);
}
.you-save {
  margin-top: 12px; padding: 10px 14px;
  background: var(--green-light); border: 1px solid #BBF7D0;
  border-radius: 10px; text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.5px; color: var(--green);
  font-weight: 500; animation: slideIn 0.3s ease;
}


/* ═══════════════════════════════════════════════════════════════════
   CREATORS PAGE — David-style ultra-designed influencer page
   Bold typography, dramatic spacing, high contrast sections.
═══════════════════════════════════════════════════════════════════ */
.creators-page {
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
}

/* Hero section - dramatic full-screen */
.cr-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.cr-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(15,52,96,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.cr-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--dhani);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.2s forwards;
}

.cr-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.4s forwards;
}

.cr-title em {
  font-style: italic;
  color: var(--dhani);
}

.cr-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--gray-400);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.6s forwards;
}

.cr-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 0.6s ease 1s forwards;
}

.cr-scroll-hint span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* Stats section */
.cr-stats {
  background: var(--white);
  color: var(--black);
  padding: 100px 40px;
}

.cr-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.cr-stat-item {
  padding: 20px;
}

.cr-stat-num {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 80px);
  color: var(--dhani);
  line-height: 1;
  margin-bottom: 12px;
}

.cr-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* How it works section */
.cr-how {
  background: var(--black);
  padding: 120px 40px;
}

.cr-how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cr-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dhani);
  margin-bottom: 24px;
}

.cr-section-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 60px;
}

.cr-steps {
  display: grid;
  gap: 48px;
}

.cr-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}

.cr-step-num {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: 64px;
  color: var(--gray-800);
  line-height: 1;
}

.cr-step-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cr-step-content p {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-400);
  line-height: 1.6;
}

/* The deal section */
.cr-deal {
  background: var(--dhani);
  padding: 100px 40px;
  text-align: center;
}

.cr-deal-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cr-deal-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  margin-bottom: 40px;
}

.cr-deal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.cr-deal-card {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.cr-deal-card-num {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: 48px;
  margin-bottom: 8px;
}

.cr-deal-card-label {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.8;
}

.cr-deal-note {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  opacity: 0.7;
  font-style: italic;
}

/* Social links section */
.cr-social {
  background: var(--black);
  padding: 80px 40px;
  text-align: center;
}

.cr-social-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.cr-social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.cr-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid var(--gray-700);
  border-radius: 100px;
  transition: all 0.2s;
}

.cr-social-link:hover {
  border-color: var(--dhani);
  background: var(--dhani);
}

.cr-social-link svg {
  width: 20px;
  height: 20px;
}

/* Contact form section */
.cr-form-section {
  background: var(--gray-50);
  color: var(--black);
  padding: 120px 40px;
}

.cr-form-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cr-form-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 16px;
  text-align: center;
}

.cr-form-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 48px;
}

.cr-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cr-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cr-form-group.full {
  grid-column: 1 / -1;
}

.cr-form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
}

.cr-form-input,
.cr-form-textarea,
.cr-form-select {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s;
}

.cr-form-input:focus,
.cr-form-textarea:focus,
.cr-form-select:focus {
  outline: none;
  border-color: var(--dhani);
}

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

.cr-form-submit {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  background: var(--dhani);
  border: none;
  padding: 18px 40px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
}

.cr-form-submit:hover {
  background: var(--dhani-dark);
  transform: translateY(-2px);
}

.cr-form-fine-print {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* Creators page responsive */
@media (max-width: 768px) {
  .cr-hero { padding: 100px 24px 60px; min-height: 90vh; }
  .cr-title { letter-spacing: -2px; }
  .cr-stats { padding: 60px 24px; }
  .cr-stats-inner { grid-template-columns: 1fr; gap: 40px; }
  .cr-how { padding: 80px 24px; }
  .cr-step { grid-template-columns: 60px 1fr; gap: 20px; }
  .cr-step-num { font-size: 48px; }
  .cr-deal { padding: 60px 24px; }
  .cr-deal-grid { grid-template-columns: 1fr; }
  .cr-social { padding: 60px 24px; }
  .cr-social-links { flex-direction: column; align-items: center; }
  .cr-form-section { padding: 80px 24px; }
  .cr-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cr-hero { padding: 80px 16px 48px; }
  .cr-eyebrow { font-size: 9px; letter-spacing: 3px; }
  .cr-subtitle { font-size: 16px; }
  .cr-stats { padding: 48px 16px; }
  .cr-how { padding: 60px 16px; }
  .cr-step { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .cr-step-num { font-size: 36px; }
  .cr-deal { padding: 48px 16px; }
  .cr-form-section { padding: 60px 16px; }
}


/* ═══════════════════════════════════════════════════════════════════
   PRE-ORDER PAGE — Customer-facing pre-order flow
   Uses same shop layout (2-col with cart sidebar) but pre-order language.
═══════════════════════════════════════════════════════════════════ */
.preorder-page {
  max-width: 1200px; margin: 0 auto;
  padding: 120px 24px 80px;
}

/* Hero */
.po-hero { text-align: center; margin-bottom: 48px; }
.po-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dhani); background: rgba(15,52,96,0.06);
  padding: 8px 20px; border-radius: 100px; margin-bottom: 24px;
}
.po-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: clamp(48px, 8vw, 72px);
  letter-spacing: -2px; line-height: 1; margin-bottom: 16px;
}
.po-sub {
  font-size: 16px; font-weight: 400; color: var(--gray-600);
  line-height: 1.6; max-width: 460px; margin: 0 auto;
}

/* Founder Note */
.po-founder-note {
  max-width: 620px; margin: 0 auto 48px;
}
.fn-line { height: 1px; background: var(--gray-200); }
.fn-content { padding: 32px 0; }
.fn-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 16px;
}
.fn-content p {
  font-size: 14px; font-weight: 400; color: var(--gray-600);
  line-height: 1.7; margin-bottom: 12px;
}
.fn-content p:last-of-type { margin-bottom: 16px; }
.fn-content p strong { font-weight: 500; color: var(--black); }
.fn-content p a {
  color: var(--dhani); text-decoration: none;
  border-bottom: 1px solid rgba(15,52,96,0.3);
}
.fn-content p a:hover { border-bottom-color: var(--dhani); }
.fn-sign {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 16px; color: var(--black);
}

/* Shop-style 2-column layout */
.po-shop-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.po-products-col, .po-shop-wrap > .cart-col { min-width: 0; }   /* Prevent grid blowout */
.po-shop-wrap > .cart-col {
  position: sticky;
  top: 100px;
  align-self: start;
}
.po-shop-wrap > .cart-col .cart-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  max-height: none;
  overflow: visible;
}

/* Perks row */
.po-perks {
  display: flex; justify-content: center; gap: 40px;
  padding: 40px 0; margin-top: 48px;
  border-top: 1px solid var(--gray-200);
}
.po-perk { text-align: center; }
.pp-num {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 28px; letter-spacing: -1px;
  color: var(--black); line-height: 1;
}
.pp-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-400); margin-top: 4px;
}

/* ── Password Wall ── */
.shop-pw-wall {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px;
}
.pw-box { text-align: center; max-width: 360px; width: 100%; padding: 48px 32px; }
.pw-lock { font-size: 32px; margin-bottom: 16px; }
.pw-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 24px; letter-spacing: -0.5px; margin-bottom: 8px;
}
.pw-sub { font-size: 14px; font-weight: 400; color: var(--gray-400); margin-bottom: 24px; }
.pw-input {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--gray-200);
  border-radius: 12px; font-family: 'Outfit', sans-serif; font-size: 15px;
  text-align: center; outline: none; transition: border-color 0.2s;
  margin-bottom: 12px; box-sizing: border-box;
}
.pw-input:focus { border-color: var(--black); }
.pw-btn {
  width: 100%; padding: 14px; background: var(--black); color: var(--white);
  border: none; border-radius: 100px; font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.pw-btn:hover { background: #333; }
.pw-error { font-size: 12px; color: var(--dhani); margin-top: 12px; }

/* ── Subscribe Popup ── */
.sub-popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}
.sub-popup {
  background: var(--white); border-radius: 24px;
  max-width: 480px; width: 100%; padding: 40px 36px;
  position: relative;
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.sp-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 24px; color: var(--gray-400);
  cursor: pointer; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all 0.15s;
}
.sp-close:hover { background: var(--gray-100); color: var(--black); }
.sp-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dhani); background: rgba(15,52,96,0.06);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
}
.sp-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 32px; letter-spacing: -1px; line-height: 1.1;
  margin-bottom: 12px;
}
.sp-sub {
  font-size: 14px; font-weight: 400; color: var(--gray-600);
  line-height: 1.6; margin-bottom: 24px;
}

/* Email input row */
.sp-email-row {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.sp-email {
  flex: 1; padding: 14px 18px;
  border: 1.5px solid var(--gray-200); border-radius: 12px;
  font-family: 'Outfit', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.2s;
  box-sizing: border-box;
}
.sp-email:focus { border-color: var(--dhani); }
.sp-submit {
  padding: 14px 24px; background: var(--dhani); color: var(--white);
  border: none; border-radius: 12px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.sp-submit:hover { background: var(--dhani-dark); }

/* Success state */
.sp-success { text-align: center; padding: 12px 0 8px; }
.sp-check {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; margin: 0 auto 12px;
}
.sp-success-title {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 22px; margin-bottom: 4px;
}
.sp-success-sub {
  font-size: 13px; font-weight: 400; color: var(--gray-500);
}

/* No thanks link */
.sp-no-thanks {
  text-align: center; font-size: 12px; font-weight: 400;
  color: var(--gray-400); cursor: pointer; margin-bottom: 16px;
  transition: color 0.15s;
}
.sp-no-thanks:hover { color: var(--gray-600); }
.sp-fine {
  text-align: center; margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-400);
}
.sp-fine a { color: var(--gray-400); text-decoration: none; }
.sp-fine a:hover { color: var(--dhani); }

/* ── Sticky bottom tile (collapsed subscribe prompt) ── */
.sub-tile {
  position: fixed; bottom: 14px; left: 14px;
  z-index: 9998;
  background: var(--dhani); color: var(--white);
  padding: 6px 10px; border-radius: 4px;
  display: flex; align-items: center; gap: 4px;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 1px 6px rgba(15,52,96,0.15);
  animation: tileSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sub-tile:hover {
  box-shadow: 0 3px 10px rgba(15,52,96,0.25);
}
@keyframes tileSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.st-text {
  font-family: 'JetBrains Mono', monospace; font-size: 8px; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.st-arrow {
  font-size: 9px; opacity: 0.7;
}

/* ── Pre-order responsive ── */
@media (max-width: 900px) {
  .po-shop-wrap { grid-template-columns: 1fr; }
  .po-shop-wrap > .cart-col { 
    position: fixed; 
    bottom: 0; left: 0; right: 0; 
    top: auto;
    z-index: 900;
    max-height: none;
  }
  .po-shop-wrap .cart-box {
    border-radius: 20px 20px 0 0; border-bottom: none;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
    max-height: 55vh; overflow-y: auto;
  }
  .po-products-col { padding-bottom: 300px; }
}
@media (max-width: 480px) {
  .preorder-page { padding: 120px 16px 60px; }
  .po-title { letter-spacing: -1.5px; }
  .po-sub { font-size: 15px; }
  .fn-content p { font-size: 13px; }
  .po-perks { gap: 24px; }
  .pp-num { font-size: 22px; }
  .sub-popup { padding: 32px 24px; border-radius: 20px; }
  .sp-title { font-size: 26px; }
}
@media (max-width: 375px) {
  .po-title { font-size: 40px; }
  .po-perks { flex-direction: column; gap: 16px; }
}


/* ═══════════════════════════════════════════════════════════════════
   FOOTER (shared across all pages — always visible below active page)
═══════════════════════════════════════════════════════════════════ */
footer {
  padding: 60px 40px;
  border-top: 1px solid var(--gray-200);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: start; flex-wrap: wrap; gap: 40px;
}
.footer-left .f-brand {
  font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 900; font-size: 24px; color: var(--dhani); margin-bottom: 6px;
}
.footer-left .f-tagline {
  font-size: 14px; font-weight: 400; color: var(--gray-400);
}
.footer-links { display: flex; gap: 56px; }
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px; font-weight: 400;
  color: var(--gray-600); text-decoration: none;
  margin-bottom: 8px; transition: color 0.2s; cursor: pointer;
}
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  max-width: 1200px; margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: var(--gray-400); font-weight: 400; }

/* FAQ Section (GEO-optimized, visible to crawlers) */
.footer-faq {
  max-width: 720px; margin: 0 auto;
  padding: 48px 24px 32px;
  border-top: 1px solid var(--gray-200);
}
.faq-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 24px;
}
.faq-item { margin-bottom: 20px; }
.faq-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--gray-600); margin-bottom: 4px;
}
.faq-item p {
  font-size: 13px; font-weight: 400;
  color: var(--gray-400); line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   Elements with .reveal start invisible and slide up.
   IntersectionObserver adds .visible when they enter viewport.
═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   1024px: Shop layout → single column, cart → fixed bottom sheet
   768px:  Mobile nav, hero, bags 2-col, story responsive
   640px:  Shop cards stack vertically
   480px:  Stat pills shrink, stats 2-col
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .shop-wrap { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
  .cart-col { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; }
  .cart-box {
    border-radius: 20px 20px 0 0; border-bottom: none;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
    max-height: 55vh; overflow-y: auto;
  }
  .products-col { padding-bottom: 300px; }

  /* Bag cards — start scaling down */
  .bag { padding: 28px 22px; }
  .bag-brand-name { font-size: 26px; }
  .bag-flavor-name { font-size: clamp(28px, 3.5vw, 42px); }
  .bag-cal-badge .cal-num { font-size: 26px; }
  .bag-weight-tag { font-size: 8px; padding: 5px 8px; }
}

@media (max-width: 768px) {
  .site-nav { padding: 16px 20px; }
  .site-nav.scrolled { padding: 12px 20px; }
  .nav-logo { font-size: 22px; }
  .nav-right { display: none; }
  .mobile-menu { display: block; }

  .hero { padding: 120px 24px 60px; min-height: auto; }
  .hero-title { letter-spacing: -2px; }
  .hero-stats-row { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .hero-stat-pill { padding: 8px 14px; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .packaging-hero { padding: 40px 20px 80px; }
  .bags-showcase { grid-template-columns: 1fr 1fr; max-width: 500px; margin: 0 auto; gap: 12px; }
  .bag { aspect-ratio: 3/4; padding: 24px 18px; border-radius: 16px; }
  .bag::after { border-radius: 16px; }
  .bag-brand-name { font-size: 22px; letter-spacing: -0.3px; }
  .bag-flavor-name { font-size: clamp(24px, 5vw, 34px); letter-spacing: -0.5px; }
  .bag-product-type { font-size: 7px; letter-spacing: 2px; margin-top: 8px; }
  .bag-claim { font-size: 7px; }
  .bag-cal-badge .cal-num { font-size: 22px; }
  .bag-cal-badge .cal-label { font-size: 6px; }
  .bag-weight-tag { font-size: 7px; padding: 4px 7px; }
  /* On touch devices, show price bar always since there's no hover */
  .bag-hover-price { transform: translateY(0); }
  .bag-hover-price .price-text { font-size: 16px; }
  .bag-hover-price .add-btn { font-size: 8px; padding: 8px 14px; }

  .what-section, .story-brief, .compare-section { padding-left: 24px; padding-right: 24px; }
  .what-features { grid-template-columns: 1fr 1fr; }
  .what-body { margin-bottom: 40px; }
  .bundles-section { padding: 80px 24px; }
  .bundle-row { grid-template-columns: 1fr; max-width: 360px; }
  .mantra-section { padding: 80px 24px; }
  .final-cta { padding: 80px 24px; }
  .final-btns { flex-direction: column; align-items: center; }

  footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; }
  .footer-left .f-brand { font-size: 20px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Story page responsive */
  .story-hero { padding: 80px 24px 60px; min-height: auto; }
  .story-hero-title { letter-spacing: -2px; }
  .story-chapter { padding: 60px 24px; }
  .chapter-title { letter-spacing: -0.5px; }
  .story-break { padding: 60px 24px; }
  .story-dark { padding: 60px 24px; }
  .story-stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .story-timeline { padding: 60px 24px; }
  .story-cta { padding: 60px 24px; }
}

@media (max-width: 640px) {
  .shop-hero { padding: 28px 20px; }
  .bundle-sizes { grid-template-columns: 1fr; gap: 10px; }
  .bs-card {
    display: flex; align-items: center; gap: 16px;
    text-align: left; padding: 14px 20px;
  }
  .bs-card .bs-qty { font-size: 32px; }
  .flavor-grid { grid-template-columns: 1fr; }
  .sub-tiers { grid-template-columns: 1fr; }
  .sub-section { padding: 22px 18px; }
}

/* ── iPhone / small mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero { padding: 100px 20px 48px; }
  .hero-title { letter-spacing: -1.5px; margin-bottom: 16px; }
  .hero-tagline { margin-bottom: 32px; }
  .hero-stats-row { gap: 6px; margin-bottom: 32px; }
  .hero-stat-pill { padding: 6px 12px; }
  .hero-stat-pill .num { font-size: 16px; }
  .hero-stat-pill .label { font-size: 10px; }
  .stat-dot { display: none; }

  .packaging-hero { padding: 32px 16px 60px; }
  .packaging-hero-label { margin-bottom: 32px; }
  .bags-showcase { gap: 10px; max-width: 100%; }
  .bag { padding: 20px 14px; border-radius: 14px; aspect-ratio: 3/4.2; }
  .bag::after { border-radius: 14px; }
  .bag-brand-name { font-size: 18px; }
  .bag-flavor-name { font-size: clamp(20px, 5.5vw, 28px); }
  .bag-product-type { font-size: 6px; letter-spacing: 1.5px; margin-top: 6px; }
  .bag-claim { font-size: 6px; letter-spacing: 1px; }
  .bag-cal-badge .cal-num { font-size: 18px; }
  .bag-cal-badge .cal-label { font-size: 5px; }
  .bag-weight-tag { font-size: 6px; padding: 3px 6px; letter-spacing: 0.5px; }
  .bag-hover-price { padding: 14px 16px; }
  .bag-hover-price .price-text { font-size: 14px; }
  .bag-hover-price .add-btn { font-size: 7px; padding: 7px 12px; letter-spacing: 1.5px; }
  .bag-center { padding: 12px 0; }
  .bag-bottom-row { align-items: flex-end; }

  .what-section { padding: 80px 20px; }
  .what-title { letter-spacing: -1px; }
  .what-feature-num { font-size: 28px; }
  .what-features { grid-template-columns: 1fr; gap: 12px; }
  .what-feature { padding: 22px 20px; }
  .wf-num { font-size: 28px; }

  .compare-section { padding: 80px 20px; }
  .compare-table { font-size: 12px; }
  .compare-table th { padding: 10px 8px; font-size: 8px; letter-spacing: 1.5px; }
  .compare-table td { padding: 12px 8px; font-size: 12px; }

  .bundles-section { padding: 60px 20px; }
  .mantra-section { padding: 60px 20px; }
  .final-cta { padding: 60px 20px; }

  /* Story mobile */
  .story-hero { padding: 70px 20px 48px; }
  .story-chapter { padding: 48px 20px; }
  .chapter-body { font-size: 15px; line-height: 1.8; }
  .story-break { padding: 48px 20px; }
  .story-dark { padding: 48px 20px; }
  .story-stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .story-timeline { padding: 48px 20px; }

  footer { padding: 32px 20px; }
}

/* ── iPhone SE / very small screens (≤375px) ── */
@media (max-width: 375px) {
  .nav-logo { font-size: 20px; }
  .hero-title { letter-spacing: -1px; }

  .bags-showcase { gap: 8px; }
  .bag { padding: 16px 12px; border-radius: 12px; }
  .bag::after { border-radius: 12px; }
  .bag-brand-name { font-size: 16px; }
  .bag-flavor-name { font-size: clamp(17px, 5vw, 24px); }
  .bag-product-type { font-size: 5.5px; margin-top: 4px; }
  .bag-claim { font-size: 5.5px; }
  .bag-cal-badge .cal-num { font-size: 16px; }
  .bag-weight-tag { font-size: 5.5px; padding: 2px 5px; }
  .bag-hover-price { padding: 12px 14px; }
  .bag-hover-price .price-text { font-size: 13px; }
  .bag-hover-price .add-btn { font-size: 6px; padding: 6px 10px; }
  .bag-center { padding: 8px 0; }

  .story-stats-inner { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 24px; }

  /* Compare table: tighten further for 375px */
  .compare-section { padding: 60px 12px; }
  .compare-table { font-size: 11px; }
  .compare-table th { padding: 8px 6px; font-size: 7px; letter-spacing: 1px; }
  .compare-table td { padding: 10px 6px; font-size: 11px; }

  /* Bundle cards: tighter on small phones */
  .bs-card { padding: 12px 14px; gap: 12px; }
  .bs-card .bs-qty { font-size: 26px; }
  .bs-per { font-size: 10px; }
  .bs-save { font-size: 9px; }
  .bs-badge { font-size: 7px; padding: 3px 8px; }

  /* Flavor cards: reduce padding */
  .flavor-card { padding: 22px 16px; border-radius: 16px; }

  /* Preorder: tighter padding */
  .preorder-page { padding: 110px 16px 60px; }
}

/* ── Ultra-small screens (≤320px, e.g. Galaxy Fold) ── */
@media (max-width: 320px) {
  .preorder-page { padding: 100px 10px 48px; }
  .bs-card { padding: 10px 12px; gap: 8px; }
  .bs-card .bs-qty { font-size: 22px; }
  .bs-qty-label { font-size: 8px; }
  .bs-price { font-size: 12px; }
  .bs-per { font-size: 9px; }
  .bs-save { font-size: 8px; }
  .bs-badge { font-size: 6px; padding: 2px 6px; }
  .flavor-card { padding: 18px 12px; border-radius: 14px; }
  .fc-name { font-size: clamp(20px, 6vw, 28px); }
  .fc-desc { font-size: 11px; }
  .po-founder-note { margin: 0 auto 32px; }
  .fn-content p { font-size: 12px; }
  .fn-label { font-size: 8px; }
  .step-title { font-size: 20px; }
  .step-sub { font-size: 12px; }
  .po-perks { gap: 16px; flex-direction: column; }
  .pp-num { font-size: 20px; }
  .po-title { font-size: 36px; }
  .po-sub { font-size: 13px; }
  .shop-wrap { padding: 24px 10px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS FIXES
   Appended rules — do not modify any rules above this line.
   All rules scoped to max-width under 768px.
   Targets: 375px (iPhone SE), 390px (iPhone 14), 430px (iPhone 16 Pro Max)
   Standards: min 11px text, min 44px tap targets, no horizontal overflow.
═══════════════════════════════════════════════════════════════════ */

/* ── 640px: flavor cards single-col, shop layout ── */
@media (max-width: 640px) {
  .qb { width: 44px; height: 44px; font-size: 20px; }
  .qn { width: 48px; height: 44px; font-size: 16px; }
  .st-label { font-size: 11px; }
  .st-fee { font-size: 11px; }
  .fc-size-tag { font-size: 11px; }
  .fc-claim { font-size: 11px; padding: 4px 10px; }
  .fc-price-note { font-size: 11px; }
  .sub-toggle { width: 52px; height: 32px; border-radius: 16px; }
  .sub-knob { width: 24px; height: 24px; top: 4px; left: 4px; }
  .sub-toggle.on .sub-knob { left: 24px; }
}

/* ── 480px: primary small-mobile breakpoint ── */
@media (max-width: 480px) {
  .hn-label { font-size: 11px; letter-spacing: 0.5px; }
  .hero-notes { flex-wrap: wrap; }
  .hero-stats-note { font-size: 11px; }
  .hero-stat-pill .label { font-size: 11px; }
  .bag-product-type { display: none; }
  .bag-claim { display: none; }
  .bag-cal-badge .cal-label { font-size: 11px; }
  .bag-weight-tag { font-size: 11px; padding: 4px 8px; }
  .bag-hover-price .add-btn { font-size: 11px; padding: 14px 16px; min-height: 44px; }
  .compare-table th { font-size: 11px; letter-spacing: 1px; }
  .story-stat-label { font-size: 11px; letter-spacing: 1.5px; }
  .footer-col h5 { font-size: 11px; }
  .footer-col a { padding: 6px 0; margin-bottom: 4px; min-height: 44px; display: flex; align-items: center; }
  .cr-form-label { font-size: 11px; }
  .po-badge { font-size: 11px; }
  .ci-meta { font-size: 11px; }
  .ch-items { font-size: 11px; }
  .bundle-count-label { font-size: 11px; }
  .bundle-btn-dark, .bundle-btn-light, .bundle-btn-coral { padding: 16px 28px; min-height: 44px; }
  .mobile-menu { min-width: 44px; min-height: 44px; padding: 12px 8px; }
  .nav-right.mobile-open span { display: block; padding: 12px 0; font-size: 16px; min-height: 44px; line-height: 20px; }
  .po-products-col { padding-bottom: 360px; }
  .products-col { padding-bottom: 360px; }
}

/* ── 375px: iPhone SE ── */
@media (max-width: 375px) {
  .hn-label { font-size: 11px; }
  .bag-cal-badge .cal-label { font-size: 11px; }
  .bag-weight-tag { font-size: 11px; padding: 3px 6px; }
  .bag-hover-price .add-btn { font-size: 11px; padding: 12px 14px; min-height: 44px; }
  .compare-table th { font-size: 11px; letter-spacing: 0.5px; padding: 8px 4px; white-space: normal; word-break: break-word; }
  .bs-badge { font-size: 11px; padding: 4px 10px; }
  .bs-save { font-size: 11px; }
  .bundle-progress { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
  .bp-dots { gap: 4px; }
  .bp-dot { width: 12px; height: 12px; }
}

/* ── 320px: ultra-small ── */
@media (max-width: 320px) {
  .bs-badge { font-size: 11px; padding: 3px 8px; }
  .bs-qty-label { font-size: 11px; }
  .bs-per { font-size: 11px; }
  .bs-save { font-size: 11px; }
  .fn-label { font-size: 11px; }
}
