/* little grains — bright, nourishing, mobile-first design system */

:root {
  /* === Palette === */
  --bg:          #FFF8E7;    /* sunny kitchen */
  --bg-green:    #E7F9E8;    /* fresh leaf */
  --bg-yellow:   #FFF0B8;    /* mango counter */
  --bg-orange:   #FFE0CC;    /* apricot warmth */
  --bg-sky:      #E8F7FF;    /* clean mobile panels */

  --green:       #18A957;    /* fresh leaf */
  --green-dark:  #0E6F3C;
  --green-light: #81DC92;
  --green-pale:  #CBF5D2;

  --yellow:      #FFC43D;    /* turmeric/mango */
  --yellow-dark: #9A6600;
  --yellow-pale: #FFF2B8;

  --orange:      #FF6B35;    /* warm food pop */
  --orange-dark: #B83B16;
  --orange-pale: #FFD6C4;

  --berry:       #C53A7A;
  --berry-pale:  #FAD5E6;
  --sky:         #1C88D1;
  --sky-pale:    #D7F0FF;

  --ink:         #153823;    /* deep leafy text */
  --ink-soft:    #335642;
  --ink-mute:    #687D6E;

  --line:        rgba(21,56,35,0.12);
  --line-warm:   rgba(154,102,0,0.18);

  --white:       #FFFFFF;
  --paper:       #FFFDF9;

  /* === Typography === */
  --font-display: 'Fraunces', 'Bricolage Grotesque', Georgia, serif;
  --font-body:    'Nunito', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* === Radii === */
  --r-sm:   6px;
  --r-md:   14px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-pill: 999px;

  /* === Shadows === */
  --shadow-sm: 0 2px 8px rgba(21,56,35,0.08);
  --shadow-md: 0 10px 28px rgba(21,56,35,0.12);
  --shadow-lg: 0 22px 60px -16px rgba(21,56,35,0.28);

  --container: 1200px;
}

/* ── Reset ────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html, body {
  background:
    linear-gradient(90deg, rgba(24,169,87,0.035) 1px, transparent 1px),
    linear-gradient(rgba(255,196,61,0.08) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Layout ────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 120px 0; }

/* ── Typography ────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--green);
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}
.h1 span {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 0.16em;
  text-decoration-color: var(--yellow);
  text-underline-offset: 0.08em;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 58ch;
}

/* ── Scroll reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transition: opacity 700ms ease;
}
.reveal.in {
  opacity: 1;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  transition: transform 120ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(45,138,78,0.35);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 22px rgba(45,138,78,0.45);
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(242,107,58,0.35);
}
.btn-orange:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 22px rgba(242,107,58,0.45);
}
.btn-mango {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(255,196,61,0.34);
}
.btn-mango:hover {
  background: #FFD868;
  box-shadow: 0 6px 22px rgba(255,196,61,0.46);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost-light:hover { background: var(--white); color: var(--green-dark); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; }

/* ── Pills / badges ────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.pill-green  { background: var(--green-pale); color: var(--green-dark); }
.pill-yellow { background: var(--yellow-pale); color: var(--yellow-dark); }
.pill-orange { background: var(--orange-pale); color: var(--orange-dark); }

/* ── Inputs ────────────────────────────────────────────────────────── */
.input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 2px solid var(--line-warm);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,138,78,0.15);
}

/* ── Icons ─────────────────────────────────────────────────────────── */
.icon { display: inline-block; vertical-align: middle; }

/* ── Product image ─────────────────────────────────────────────────── */
.product-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-green);
}

/* ── Sticky Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(14,44,26,0.96);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.site-header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-header-nav a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  transition: background 150ms ease, color 150ms ease;
}
.site-header-nav a:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

/* Brand lockup (mark + wordmark) */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.3px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.brand-wordmark-invert {
  color: var(--white);
}

/* Mobile bottom CTA bar */
.mobile-order-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 199;
  padding: 12px 20px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(255,248,231,0.97);
  border-top: 2px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-order-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(242,107,58,0.4);
}

/* ── Hero section ──────────────────────────────────────────────────── */
.home-hero {
  padding-top: 108px;
  padding-bottom: 96px;
  background:
    linear-gradient(135deg, rgba(255,196,61,0.55) 0 16%, transparent 16% 100%),
    linear-gradient(160deg, var(--bg-green) 0%, var(--bg) 50%, var(--bg-yellow) 100%);
  position: relative;
}

.lg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 56px;
  align-items: center;
  width: 100%;
}
.lg-hero-grid > * { min-width: 0; }

.hero-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(24,169,87,0.22);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lg-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
  max-width: 520px;
}
.lg-proof-row div {
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.9);
  border: 2px solid var(--line);
  text-align: center;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.lg-proof-row div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.lg-proof-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
}
.lg-proof-row span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0;
  text-transform: uppercase;
}

.lg-hero-photo {
  position: relative;
  padding: 18px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, var(--yellow) 0 18%, transparent 18% 100%),
    var(--white);
  box-shadow: var(--shadow-lg);
}
.lg-hero-photo .product-img {
  border-radius: var(--r-xl);
  border: 3px solid var(--white);
  box-shadow: none;
}
.lg-hero-callout {
  position: absolute;
  max-width: 210px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.94);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-md);
}
.lg-hero-callout strong,
.lg-hero-callout span {
  display: block;
}
.lg-hero-callout strong {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.05;
  color: var(--green-dark);
}
.lg-hero-callout span {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-soft);
  font-weight: 700;
}
.lg-hero-callout--top {
  top: 34px;
  left: -12px;
}
.lg-hero-callout--bottom {
  right: -12px;
  bottom: 34px;
}

/* ── Quick find ────────────────────────────────────────────────────── */
.lg-quick-find {
  position: relative;
  z-index: 2;
  margin-top: -46px;
  padding-bottom: 28px;
}
.lg-quick-find-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.lg-quick-tile {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 18px;
  border-radius: var(--r-lg);
  color: var(--ink);
  border: 2px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-md);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.lg-quick-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.lg-quick-tile span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(21,56,35,0.72);
}
.lg-quick-tile strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
}
.lg-quick-tile--green { background: var(--green-pale); }
.lg-quick-tile--mango { background: var(--yellow-pale); }
.lg-quick-tile--berry { background: var(--berry-pale); }
.lg-quick-tile--sky { background: var(--sky-pale); }

/* ── Order section ─────────────────────────────────────────────────── */
.lg-order-section {
  background:
    linear-gradient(45deg, rgba(255,107,53,0.08) 0 18%, transparent 18% 100%),
    var(--bg-yellow);
}

.lg-product-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
  width: 100%;
}
.lg-product-grid > * { min-width: 0; }

.lg-product-gallery {
  position: sticky;
  top: 88px;
}
.lg-product-gallery > .product-img {
  border-radius: var(--r-xl);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.lg-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.lg-thumb-row button {
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 2px solid var(--line-warm);
  opacity: 0.75;
  transition: opacity 150ms ease, border-color 150ms ease;
}
.lg-thumb-row button:hover { opacity: 1; }
.lg-thumb-row button.active {
  border-color: var(--green);
  opacity: 1;
}

.lg-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.lg-section-head p { color: var(--ink-soft); line-height: 1.7; }

/* Order panel */
.lg-order-panel {
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 3px solid rgba(24,169,87,0.16);
  box-shadow: var(--shadow-md);
}

.product-detail-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.lg-purchase-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px;
  border-radius: var(--r-lg);
  background: var(--green-pale);
  border: 2px solid var(--line);
}
.lg-purchase-switch button {
  border-radius: calc(var(--r-lg) - 5px);
  min-height: 64px;
  padding: 12px 16px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.lg-purchase-switch button.active {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(45,138,78,0.3);
}
.lg-purchase-switch strong,
.lg-purchase-switch span {
  display: block;
}
.lg-purchase-switch span {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
}

.lg-box-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 4px;
}
.lg-box-options button {
  min-height: 100px;
  padding: 14px 12px;
  border-radius: var(--r-md);
  border: 2px solid var(--line-warm);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}
.lg-box-options button:hover {
  border-color: var(--green-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.lg-box-options button.active {
  border-color: var(--green);
  background: linear-gradient(180deg, var(--green-pale), var(--bg-green));
  box-shadow: 0 0 0 3px rgba(45,138,78,0.12);
}
.lg-box-options span {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-soft);
}
.lg-box-options strong {
  display: block;
  margin: 7px 0 4px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
}
.lg-box-options small {
  display: block;
  color: var(--ink-mute);
  font-size: 11px;
  font-weight: 600;
}
.lg-box-options button.active small {
  color: var(--green-dark);
}

.lg-selected-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--bg-green);
  border: 2px solid var(--line);
}
.lg-selected-summary span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0;
}
.lg-selected-summary div strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.lg-selected-summary small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-mute);
}
.lg-selected-summary > strong {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}

.lg-order-note {
  margin-top: 14px;
  color: var(--ink-mute);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* ── Ingredients section ───────────────────────────────────────────── */
.lg-ingredients-section {
  background:
    linear-gradient(135deg, transparent 0 70%, rgba(215,240,255,0.92) 70% 100%),
    var(--bg);
}

.lg-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
  width: 100%;
}
.lg-split > * { min-width: 0; }

.lg-ingredient-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* ── Ingredient card ───────────────────────────────────────────────── */
.lg-ingredient-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  background: var(--white);
  border: 2px solid rgba(24,169,87,0.14);
  cursor: pointer;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
  overflow: hidden;
}
.lg-ingredient-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(45,138,78,0.3);
}
.lg-ingredient-card:hover,
.lg-ingredient-card--open {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.lg-ingredient-card__main {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 60px;
  padding: 14px 14px;
}
.lg-ingredient-card__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lg-ingredient-card__name {
  font-size: 14px;
  font-weight: 700;
  flex: 1;
  color: var(--ink);
}
.lg-ingredient-card__from {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: right;
  flex-shrink: 0;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lg-ingredient-card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.2s ease;
  padding: 0 14px;
}
.lg-ingredient-card--open .lg-ingredient-card__detail {
  max-height: 180px;
  padding: 12px 14px 14px;
  border-top: 2px solid var(--line);
}
.lg-ingredient-card__note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.lg-ingredient-card__benefit {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
}

/* ── Nutrition section ─────────────────────────────────────────────── */
.lg-nutrition-band {
  background: var(--ink);
  color: var(--white);
  position: relative;
  width: 100%;
}
.lg-nutrition-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,196,61,0.08) 0 18%, transparent 18% 100%),
    linear-gradient(315deg, rgba(129,220,146,0.10) 0 16%, transparent 16% 100%);
  pointer-events: none;
}
.lg-nutrition-band .eyebrow { color: var(--green-light); }
.lg-nutrition-band .h2 { color: var(--white); }
.lg-nutrition-band .lg-section-head p { color: rgba(255,255,255,0.7); }

.lg-nutrition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: start;
  width: 100%;
}
.lg-nutrition-layout > * {
  min-width: 0;
}

.lg-nutrient-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.lg-nutrient-grid div {
  padding: 18px 14px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  text-align: center;
  transition: background 150ms ease;
  min-width: 0;
  overflow: hidden;
}
.lg-nutrient-grid div:hover {
  background: rgba(255,255,255,0.12);
}
.lg-nutrient-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--yellow);
}
.lg-nutrient-grid span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0;
}
.lg-nutrient-grid small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}

.lg-nutrition-copy {
  padding: 28px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  min-width: 0;
  width: 100%;
}
.lg-nutrition-copy h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  max-width: 100%;
}
.lg-nutrition-copy p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.65;
}
.lg-nutrition-copy ul {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding-left: 20px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.55;
}
.lg-nutrition-copy small {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  margin-top: 12px;
}

/* ── How to enjoy section ──────────────────────────────────────────── */
.lg-enjoy-section {
  background:
    linear-gradient(135deg, transparent 0 74%, rgba(203,245,210,0.88) 74% 100%),
    var(--bg-orange);
}
.lg-how-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}
.lg-how-image {
  position: relative;
  min-height: 480px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--orange-pale);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.lg-how-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lg-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.lg-use-grid div {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 2px solid rgba(255,107,53,0.20);
  transition: border-color 150ms ease, transform 150ms ease;
}
.lg-use-grid div:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
}
.lg-use-grid strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-dark);
}
.lg-use-grid span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

/* ── Story section ─────────────────────────────────────────────────── */
.lg-story-section {
  background:
    linear-gradient(135deg, rgba(255,196,61,0.35) 0 14%, transparent 14% 100%),
    var(--bg-green);
}
.lg-story-card {
  max-width: 780px;
  padding: 38px;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.82);
  border: 3px solid rgba(24,169,87,0.14);
  box-shadow: var(--shadow-md);
}
.lg-story-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.lg-story-copy p:last-child {
  color: var(--ink);
}

/* ── Final CTA ─────────────────────────────────────────────────────── */
.lg-final-cta {
  border-radius: var(--r-xl);
  padding: 64px 52px;
  background:
    linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lg-final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 36%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0 45%, rgba(255,255,255,0.12) 45% 100%);
  pointer-events: none;
}
.lg-final-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42%;
  height: 12px;
  background: var(--yellow);
  pointer-events: none;
}
.lg-final-cta .h2 { color: var(--white); }
.lg-final-cta p {
  margin: 16px auto 32px;
  max-width: 520px;
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0;
}
.footer-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
}
.footer-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link-list a,
.footer-link-list span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 150ms ease;
}
.footer-link-list a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 0;
}
.footer-faq-item { margin-bottom: 16px; }
.footer-faq-item:last-child { margin-bottom: 0; }
.footer-faq-q {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
}
.footer-faq-a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ── Order form field ──────────────────────────────────────────────── */
.order-field-label {
  display: grid;
  gap: 7px;
}
.order-field-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── Responsive ────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 980px) {
  .lg-hero-grid,
  .lg-product-grid,
  .lg-split,
  .lg-nutrition-layout,
  .lg-how-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lg-section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lg-nutrient-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg-quick-find-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg-product-gallery {
    position: static;
  }
  .site-header-nav a {
    font-size: 14px;
    padding: 7px 11px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  .container {
    padding: 0 18px;
    max-width: 100%;
    width: 100%;
  }
  main, section, .site-footer {
    max-width: 100%;
  }
  html, body {
    overflow-x: hidden;
  }

  /* Compact sticky header on mobile */
  .site-header-inner {
    height: 58px;
  }
  .site-header-nav { display: none; }
  .site-header-order-btn { display: none; }
  .brand-logo-img { height: 34px !important; width: 34px !important; }
  .brand-wordmark { font-size: 21px; }

  /* Show mobile bottom bar */
  .mobile-order-bar { display: block; }

  /* Add bottom padding so footer isn't hidden by the sticky bar */
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 88px; }

  /* Global overflow safety — prevent any text from exceeding viewport */
  .h1, .h2, .h3, h1, h2, h3, h4 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
  }
  p, li, span {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  /* Ensure all direct grid/flex children can shrink */
  .lg-nutrition-layout > div,
  .lg-split > div,
  .lg-hero-grid > div,
  .lg-product-grid > div,
  .lg-how-panel > div,
  .lg-section-head > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  /* Hero */
  .home-hero {
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .h1 {
    font-size: clamp(32px, 8.7vw, 36px);
    line-height: 1.06;
  }
  .h1 br {
    display: block;
  }
  .h2 {
    font-size: clamp(28px, 8vw, 44px);
  }
  .lede {
    font-size: 16px;
    max-width: min(100%, 340px);
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-eyebrow-wrap {
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-eyebrow-wrap .eyebrow {
    display: block;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
  }

  .lg-hero-photo {
    padding: 10px;
    overflow: hidden;
  }
  .lg-hero-callout {
    position: static;
    max-width: none;
    margin-top: 10px;
  }

  .lg-proof-row {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 340px;
  }
  .lg-proof-row strong { font-size: 20px; }
  .lg-proof-row span { font-size: 10px; }

  .lg-quick-find {
    margin-top: -22px;
    padding-bottom: 8px;
  }
  .lg-quick-find-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .lg-quick-tile {
    min-height: 74px;
    padding: 15px 16px;
    border-radius: var(--r-md);
  }
  .lg-quick-tile strong {
    font-size: 20px;
  }

  /* Order section */
  .lg-section-head { grid-template-columns: 1fr; }
  .lg-box-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg-order-panel {
    padding: 18px;
    max-width: 100%;
  }
  .lg-purchase-switch {
    grid-template-columns: 1fr;
  }
  .lg-selected-summary {
    flex-wrap: wrap;
    gap: 8px;
  }
  .lg-selected-summary > strong {
    font-size: 32px;
  }

  /* Ingredients */
  .lg-ingredient-list {
    grid-template-columns: 1fr;
  }
  .lg-ingredient-card__main {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
  }
  .lg-ingredient-card__from {
    grid-column: 2;
    max-width: none;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 10px;
  }
  .lg-split div:first-child {
    max-width: 100%;
  }

  /* Nutrition */
  .lg-nutrient-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg-nutrition-copy {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .lg-nutrition-copy h3 {
    font-size: 22px;
    line-height: 1.2;
  }
  .lg-nutrition-copy p,
  .lg-nutrition-copy li {
    font-size: 14px;
  }

  /* Enjoy */
  .lg-how-image { min-height: 260px; }
  .lg-use-grid {
    grid-template-columns: 1fr;
  }

  /* Final CTA */
  .lg-final-cta {
    padding: 40px 24px;
  }
  .lg-story-card {
    padding: 24px 18px;
    border-radius: var(--r-lg);
  }
  .lg-story-copy {
    font-size: 16px;
    line-height: 1.68;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Section spacing */
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .section-sm { padding: 48px 0; }

  /* Force overflow safety on all grids with inline styles */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* Very small phones */
@media (max-width: 400px) {
  .lg-box-options {
    grid-template-columns: 1fr !important;
  }
  .lg-proof-row {
    grid-template-columns: 1fr !important;
  }
}

/* Tablet range: inline grid override safety */
@media (max-width: 900px) {
  [style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
