/* Mobile-only styles (wrapped to not bleed onto desktop) */
@media (max-width: 768px) {
/* ============================================================
   LUNCHBOX.KIDS — MOBILE HOMEPAGE v2 (390px iPhone viewport)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #123457;
  --cream: #f8f4ec;
  --peri: #c5ccfd;
  --peri-soft: #e4e7fc;
  --peri-dark: #5654bf;
  --teal: #29b18f;
  --mint: #b7fdc4;
  --ink: #123457;
  --ink-mid: #3a5070;
  --ink-soft: #7a91a8;
  --rule: rgba(18,52,87,.10);
  --rule-strong: rgba(18,52,87,.22);
  --serif: 'Instrument Serif', serif;
  --sans: 'Montserrat', sans-serif;
  --mono: 'Courier Prime', monospace;
  --nav-h: 68px;
  --header-h: 52px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --px: 20px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: #e8e4dc;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 768px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 60px rgba(0,0,0,.12);
}
.m-content {
  padding-top: var(--header-h);
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 4px);
  background: var(--cream);
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ====== HEADER — logo left, CTA right ====== */
.m-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  max-width: 768px; margin: 0 auto;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.m-header-logo { height: 42px; width: auto; }
.m-header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: var(--cream); border: none; cursor: pointer;
  padding: 7px 8px 7px 14px; border-radius: 100px;
  font-family: var(--sans); font-size: 8.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
  text-decoration: none;
}
.m-header-cta .disc {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--peri); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.m-header-cta .disc svg { width: 9px; height: 9px; }

/* ====== PWA INSTALL BANNER ====== */
.pwa-banner {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 90;
  max-width: 768px; margin: 0 auto;
  background: var(--navy); color: var(--cream);
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--px);
  transform: translateY(0);
  transition: transform .35s ease, opacity .35s ease;
}
.pwa-banner.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.pwa-icon { font-size: 20px; flex-shrink: 0; }
.pwa-text { flex: 1; }
.pwa-text strong { font-size: 12px; font-weight: 700; display: block; letter-spacing: .2px; }
.pwa-text span { font-size: 11px; color: rgba(248,244,236,.7); }
.pwa-dismiss {
  background: none; border: none; color: var(--cream); font-size: 18px;
  cursor: pointer; padding: 4px 8px; opacity: .7;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}

/* ====== FLOATING NAV BAR — rounded, floating ====== */
.m-nav {
  position: fixed; bottom: calc(8px + var(--safe-b)); left: 0; right: 0; z-index: 100;
  max-width: 720px; margin: 0 auto;
  height: 58px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 100px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 8px 32px -8px rgba(18,52,87,.2), 0 2px 8px rgba(18,52,87,.08);
  overflow: hidden;
}
.m-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; text-decoration: none; color: var(--ink-soft);
  min-height: 44px; transition: color .2s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  background: none; border: none; cursor: pointer;
  font: inherit;
}
.m-nav-item svg { width: 20px; height: 20px; }
.m-nav-item span {
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .8px;
  text-transform: uppercase; font-weight: 700;
}
.m-nav-item.active { color: var(--navy); }
.m-nav-item.active::before {
  content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mint);
}
.m-nav-item.active svg { stroke: var(--navy); stroke-width: 2.2; }
.m-nav-item.active span {
  color: var(--navy);
}
.m-nav-item:active { transform: scale(.9); transition: transform .1s; }

/* ====== MORE PANEL ====== */
.more-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18,52,87,.3);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  max-width: 768px; margin: 0 auto;
}
.more-overlay.open { opacity: 1; pointer-events: auto; }
.more-panel {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--cream);
  border-radius: 20px 20px 0 0;
  padding: 20px var(--px) calc(24px + var(--safe-b));
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,.2,.2,1);
  box-shadow: 0 -8px 40px -12px rgba(18,52,87,.25);
}
.more-overlay.open .more-panel { transform: translateY(0); }
.more-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: var(--rule-strong); margin: 0 auto 20px;
}
.more-links {
  display: flex; flex-direction: column; gap: 0;
}
.more-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 4px; border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--navy); text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.more-links a:last-child { border-bottom: none; }
.more-links a:active { opacity: .6; }
.more-links a svg { width: 18px; height: 18px; color: var(--ink-soft); }
.more-divider {
  height: 1px; background: var(--rule-strong); margin: 6px 0;
}

/* Social footer in More panel */
.more-social-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px 0; margin-top: 4px;
  border-top: 1px solid var(--rule-strong);
}
.more-social-icons {
  display: flex; gap: 18px;
}
.more-social-icons a {
  color: var(--ink-soft); display: flex; align-items: center;
  justify-content: center; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  padding: 0; border: none; min-height: 44px; min-width: 32px;
}
.more-social-icons a svg { width: 20px; height: 20px; }
.more-social-icons a:active { opacity: .6; }
.more-privacy {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink-soft); text-decoration: none;
}
.more-privacy:active { color: var(--navy); }

/* FAB removed */

/* ====== SECTIONS COMMON ====== */
.m-section { padding: 48px var(--px); position: relative; }

.sec-head {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 28px; padding-bottom: 12px;
  border-bottom: 1.5px solid var(--rule-strong);
}
.sec-head .num-stat {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 38px; line-height: 1; letter-spacing: -1.5px;
  color: var(--navy); flex-shrink: 0;
}
.sec-head .num-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink); font-weight: 700;
}
.sec-head.invert .num-stat { color: var(--cream); }
.sec-head.invert .num-label { color: var(--cream); }
.sec-head.invert { border-bottom-color: rgba(248,244,236,.13); }

.section-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.section-reveal.visible { opacity: 1; transform: translateY(0); }

.press:active { transform: scale(.97); transition: transform .1s ease; }

/* ====== TYPOGRAPHY ====== */
.eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dash { width: 18px; height: 1px; background: currentColor; display: inline-block; }
.m-h1 {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  font-size: 34px; line-height: 1.04; letter-spacing: -1.4px;
  color: var(--navy); margin-bottom: 18px; text-wrap: pretty;
}
.m-h2 {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  font-size: 30px; line-height: 1.06; letter-spacing: -1px;
  color: var(--navy); margin-bottom: 16px; text-wrap: pretty;
}
.m-lede {
  font-family: var(--sans); font-size: 14px; line-height: 1.7;
  color: var(--ink-mid); margin-bottom: 20px;
}
.m-body {
  font-family: var(--sans); font-size: 14px; line-height: 1.7;
  color: var(--ink-mid); margin-bottom: 12px;
}
.accent-i { color: var(--peri-dark); font-style: italic; }

/* ====== CTA BUTTONS ====== */
.cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--cream); border: none; cursor: pointer;
  padding: 10px 10px 10px 20px; border-radius: 100px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap;
  text-decoration: none; transition: background .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.cta-pill:active { transform: scale(.97); }
.cta-pill .disc {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--peri); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.cta-pill .disc svg { width: 11px; height: 11px; }
.cta-pill.full { width: 100%; justify-content: center; }
.cta-pill.on-navy { background: var(--cream); color: var(--navy); }
.cta-pill.on-navy .disc { background: var(--peri); color: var(--navy); }
.cta-pill.ghost {
  background: transparent; border: 1.5px solid rgba(248,244,236,.4);
  color: var(--cream);
}
.cta-pill.ghost .disc { background: var(--mint); color: var(--navy); }

/* ====== FORMS ====== */
.m-form { display: flex; flex-direction: column; gap: 10px; }
.m-form input[type="email"] {
  width: 100%; border: 1.5px solid var(--rule-strong); border-radius: 100px;
  padding: 14px 18px; font-family: var(--sans); font-size: 16px;
  color: var(--navy); background: var(--cream); outline: none;
  transition: border-color .2s;
}
.m-form input[type="email"]:focus { border-color: var(--navy); }
.m-form input[type="email"]::placeholder { color: rgba(18,52,87,.35); }
.m-form.on-navy input[type="email"] {
  background: rgba(248,244,236,.06); border-color: rgba(248,244,236,.22);
  color: var(--cream);
}
.m-form.on-navy input[type="email"]::placeholder { color: rgba(248,244,236,.4); }
.m-form .cta-pill { width: 100%; justify-content: center; }
.form-note {
  font-family: var(--mono); font-size: 10px; color: var(--ink-soft);
  letter-spacing: .3px; margin-top: 2px;
}
.legal-optin {
  display: flex; align-items: flex-start; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2px;
  line-height: 1.5; color: rgba(183,253,196,.7); cursor: default;
  margin-top: 12px;
  text-align: left;
}
.legal-optin input[type="checkbox"] {
  accent-color: var(--mint); width: 14px; height: 14px;
  margin-top: 1px; flex-shrink: 0; cursor: pointer;
}
.legal-optin span { flex: 1; }

/* ====== CAROUSEL COMMON ====== */
.carousel {
  display: flex; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  padding: 4px 20px 8px 20px;
  margin: 0 -20px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; flex: 0 0 auto; }


.carousel-dots {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 16px;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rule-strong); transition: all .3s;
}
.carousel-dot.active { width: 20px; border-radius: 3px; background: var(--navy); }

/* ====== 01 · HERO ====== */
.m-hero { background: var(--cream); padding-top: 36px; padding-bottom: 40px; }
.m-hero .eyebrow { margin-bottom: 20px; font-weight: 700; }
.hero-doodle {
  display: block; width: min(70%, 252px); margin: 6px 0 10px auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 10px 20px rgba(18,52,87,.12));
}
.hero-cta-row { margin-bottom: 24px; }
.social-microline {
  display: flex; align-items: center; gap: 12px;
}
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--cream); margin-left: -9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 11px; color: #fff;
}
.avatar-stack span:first-child { margin-left: 0; }
.social-microline p {
  font-family: var(--sans); font-size: 12px; line-height: 1.4;
  color: var(--ink-mid);
}

/* ====== 02 · FORMULA (NAVY) ====== */
.m-formula { background: var(--navy); color: var(--cream); }
.m-formula .m-h2 { color: var(--cream); }
.m-formula .m-lede { color: rgba(248,244,236,.75); }
.m-formula .sec-head { border-bottom-color: rgba(248,244,236,.13) !important; }
.m-formula .sec-head .num-label { color: #f8f4ec !important; }

/* Pillar grid — 2×2 + bonus row */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.pillar-card {
  background: rgba(248,244,236,.045); border: 1px solid rgba(248,244,236,.13);
  border-radius: 14px; padding: 16px 14px;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center;
  transition: transform .1s;
}
.pillar-card:active { transform: scale(.97); }
.pillar-card .p-num {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.6px;
  color: var(--peri); font-weight: 700;
}
.pillar-card .p-ill { width: 52px; height: auto; }
.pillar-card .p-ill img {
  width: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.2));
}
.pillar-card h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 18px; line-height: 1.06; letter-spacing: -.4px;
  color: var(--cream);
}
.pillar-card h3 .up { font-style: normal; }
.pillar-card.bonus {
  grid-column: 1 / -1;
  background: rgba(248,244,236,.045); border-color: var(--peri);
  flex-direction: row; align-items: center; gap: 12px;
  padding: 14px 18px; text-align: left;
  border-width: 1px;
}
.pillar-card.bonus .p-ill { width: 40px; height: 40px; flex-shrink: 0; order: 0; }
.pillar-card.bonus h3 { color: var(--cream); flex: 1; order: 1; }
.pillar-card.bonus .bonus-tag {
  font-family: var(--mono); font-size: 8px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--peri); background: rgba(197,204,253,.12);
  border: 1px solid var(--peri); border-radius: 100px;
  padding: 2px 8px; white-space: nowrap;
  order: 2; margin-left: auto;
}
.pillar-card.bonus .p-ill img { filter: drop-shadow(0 2px 4px rgba(18,52,87,.15)); }

.formula-note {
  font-family: var(--serif); font-size: 22px; font-style: normal; font-weight: 400;
  line-height: 1.2; color: rgba(248,244,236,.75); letter-spacing: -.3px;
  margin-bottom: 24px; text-wrap: pretty;
}
.formula-note .mint { color: var(--mint); font-style: italic; }
.formula-note .arrow-down { display: inline-block; }

.formula-cta-block { }
.formula-cta-block .form-note { color: var(--mint); }

/* ====== 03 · ABOUT (PERIWINKLE) ====== */
.m-about { background: var(--peri); position: relative; overflow: hidden; }
.m-about .m-h2 { color: var(--navy); }
.m-about .m-body { color: var(--navy); opacity: .85; }
.m-about .sec-head { border-bottom-color: rgba(18,52,87,.22); }
.m-about .sec-head .num-label { color: var(--navy); }
.about-photo-wrap { position: relative; margin-bottom: 28px; }
.about-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(18,52,87,.45);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.circle-stamp {
  position: absolute; bottom: -16px; right: -8px;
  width: 90px; height: 90px; z-index: 3;
  filter: drop-shadow(0 6px 12px rgba(18,52,87,.18));
  animation: stampFloat 6s ease-in-out infinite;
}
.circle-stamp svg { width: 100%; height: 100%; display: block; }
@keyframes stampFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.about-doodle {
  position: absolute; right: -12px; bottom: 32px;
  width: 100px; transform: rotate(-12deg);
  opacity: .35; pointer-events: none; mix-blend-mode: screen;
}

/* ====== 04 · SOCIAL PROOF ====== */
.m-proof { background: var(--cream); padding-bottom: 40px; }

/* Proof section header — pill on right */
.proof-sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; padding-bottom: 12px;
  border-bottom: 1.5px solid var(--rule-strong);
  gap: 10px;
}
.proof-sec-head .sec-head-left {
  display: flex; align-items: baseline; gap: 14px;
}
.proof-sec-head .num-stat {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 38px; line-height: 1; letter-spacing: -1.5px;
  color: var(--navy); flex-shrink: 0;
}
.proof-sec-head .num-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink); font-weight: 700;
}
.proof-pill-tag {
  display: inline-flex; align-items: center;
  background: var(--mint); color: var(--navy);
  font-family: var(--mono); font-size: 8px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
}
/* Override the row-flex layout from styles.css so the mobile HTML always
   stacks: number on top, tagline below, star on the side. */
.proof-head {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
  gap: 6px;
}
.proof-star {
  position: absolute; top: -4px; left: 0;
  width: 44px; transform: rotate(-13deg); pointer-events: none;
}
/* On wider mobile/tablet widths the stat centers, so anchor the star
   to the centered number rather than the container's left edge. */
@media (min-width: 520px) {
  .proof-star {
    left: 50%;
    top: 4px;
    transform: translateX(-180px) rotate(-13deg);
  }
}
.proof-stat {
  font-family: var(--serif); font-style: italic;
  font-size: 72px; letter-spacing: -3px; color: var(--navy);
  line-height: .88; margin-bottom: 6px;
}
.proof-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: 20px; line-height: 1.18; letter-spacing: -.4px;
  color: var(--navy); max-width: 260px; margin: 0 auto;
}

/* Phone carousel — contained with breathing room */
.phone-carousel-wrap { margin: 0 -20px; overflow: hidden; }
.phone-carousel-wrap .carousel { padding: 4px 20px 8px 24px; margin: 0; }

.phone-card {
  width: 250px; display: flex; flex-direction: column;
  align-items: center; gap: 10px;
}
.phone-card:active { transform: scale(.97); transition: transform .1s; }
.phone-bezel {
  width: 100%; background: #fafafa; border-radius: 24px;
  border: 5px solid #1a1a1d; overflow: hidden;
  box-shadow: 0 16px 30px -16px rgba(18,52,87,.35);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.phone-notch {
  display: block; margin: 0 auto;
  width: 90px; height: 22px; background: #1a1a1d;
  border-radius: 0 0 14px 14px;
}

.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 4px; font-size: 10px; font-weight: 600;
  color: #1a1a1d; background: #fafafa;
}
.phone-status.light { color: #fff; background: #1a1a1d; }
.phone-status svg { height: 9px; width: auto; }
.ps-right { display: inline-flex; align-items: center; gap: 4px; }
.phone-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--ink-soft); text-align: center;
}
.phone-imessage .phone-bezel { background: #fff; }
.phone-chat-header {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 12px 10px; border-bottom: 1px solid #e5e5e7; background: #f6f6f7;
}
.pch-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.pch-name { font-size: 11px; font-weight: 600; color: #1a1a1d; }
.pch-sub { font-size: 9px; color: #8e8e93; }
.phone-chat-body {
  padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 3px;
}
.bubble {
  max-width: 82%; padding: 7px 11px; border-radius: 16px;
  font-size: 12px; line-height: 1.35;
}
.bubble p { margin: 0; }
.bubble-them {
  background: #e9e9eb; color: #1a1a1d;
  border-bottom-left-radius: 5px; align-self: flex-start; margin-top: 3px;
}
.bubble-them + .bubble-them { border-top-left-radius: 5px; margin-top: 1px; }
.bubble-me {
  background: #007aff; color: #fff;
  border-bottom-right-radius: 5px; align-self: flex-end; margin-top: 3px;
}
.bubble-me + .bubble-me { border-top-right-radius: 5px; margin-top: 1px; }
.bubble-meta { font-size: 8px; color: #8e8e93; align-self: flex-end; margin-top: 4px; font-weight: 500; }
.phone-ig-dm .phone-bezel { background: #fff; }
.phone-ig-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 10px; border-bottom: 1px solid #efefef;
}
.pig-avatar-ring {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  padding: 2px;
}
.pig-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px; border: 2px solid #fff;
}
.pig-name { display: flex; flex-direction: column; gap: 1px; }
.pig-name strong { font-size: 12px; color: #1a1a1d; font-weight: 600; }
.pig-name span { font-size: 9px; color: #8e8e93; }
.bubble-ig-them {
  background: #efefef; color: #1a1a1d; border-radius: 16px;
  padding: 8px 12px; max-width: 80%; align-self: flex-start;
  font-size: 12px; line-height: 1.35; margin-top: 3px;
}
.bubble-ig-me {
  background: linear-gradient(135deg, #6b5cf5, #5654bf);
  color: #fff; border-radius: 16px;
  padding: 8px 12px; max-width: 80%; align-self: flex-end;
  font-size: 12px; line-height: 1.35; margin-top: 5px;
  font-weight: 600; margin-left: auto;
}
.phone-chat-body { display: flex; flex-direction: column; }
.ig-reaction {
  margin-top: 3px; margin-left: 10px;
  background: #fff; border: 1px solid #efefef;
  border-radius: 100px; padding: 3px 8px; width: fit-content; font-size: 13px;
}
.phone-ig-post .phone-bezel { background: #fff; }
.phone-ig-post-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-bottom: 1px solid #efefef;
}
.pig-avatar-sm {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 10px;
}
.pig-post-name { font-size: 11px; font-weight: 600; color: #1a1a1d; flex: 1; }
.phone-ig-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--peri-soft), var(--peri));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.phone-ig-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-image-tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--navy);
  background: rgba(248,244,236,.7); padding: 4px 9px; border-radius: 100px;
}
.phone-ig-actions {
  display: flex; gap: 10px; padding: 8px 10px 4px; color: #1a1a1d;
}
.phone-ig-actions svg { width: 20px; height: 20px; }
.phone-ig-comment { padding: 0 10px 12px; }
.ig-likes { font-size: 11px; color: #1a1a1d; margin-bottom: 6px; }
.ig-likes strong { font-weight: 600; }
.ig-comment-row { display: flex; gap: 6px; align-items: flex-start; padding-top: 4px; }
.ig-comment-row p { font-size: 10.5px; line-height: 1.4; color: #1a1a1d; margin: 0; flex: 1; }
.ig-comment-row strong { font-weight: 600; }

/* ====== 05 · RECIPES ====== */
.m-recipes { background: var(--cream); position: relative; }
.m-recipes .m-h2 { max-width: 100%; }
.m-recipes .m-lede { margin-bottom: 0; }
.m-recipes .recipes-see-row { margin-top: -50px; margin-bottom: 8px; }
.recipes-see-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 20px; gap: 12px;
}
.recipes-inline-doodle {
  width: 161px; transform: rotate(8deg); opacity: .85;
  flex-shrink: 0; pointer-events: none;
}
.recipes-see-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px;
  text-transform: uppercase; font-weight: 700;
  color: var(--peri-dark); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
  white-space: nowrap;
}
.recipes-see-all svg { width: 12px; height: 12px; }

/* Recipe carousel — contained with breathing room */
.recipe-carousel-wrap { margin: 0 -20px; overflow: hidden; }
.recipe-carousel-wrap .carousel { padding: 4px 20px 8px 24px; margin: 0; }

.recipe-card {
  width: 252px;
  background: var(--cream); border: 1px solid var(--rule);
  border-radius: 14px; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
  transition: transform .1s;
}
.recipe-card:active { transform: scale(.97); }
.recipe-media { aspect-ratio: 5/6; position: relative; overflow: hidden; }
.recipe-media > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.r-pillars {
  position: absolute; top: 8px; left: 8px;
  display: flex; gap: 3px; z-index: 2;
}
.r-pillars span {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--rule-strong); overflow: hidden;
}
.r-pillars span img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.recipe-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.recipe-meta {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--teal); font-weight: 700;
}
.recipe-card h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 20px; line-height: 1.08; letter-spacing: -.4px;
  color: var(--navy); text-wrap: balance;
}
.recipe-card p {
  font-family: var(--sans); font-size: 12px; line-height: 1.5;
  color: var(--ink-mid);
}

/* ====== NEWSLETTER (PERIWINKLE) ====== */
.m-newsletter { background: var(--peri); }
.m-newsletter .eyebrow { color: var(--peri-dark); margin-bottom: 16px; }
.m-newsletter .eyebrow .dash { background: var(--peri-dark); }
.m-newsletter .m-h2 { color: var(--navy); }
.m-newsletter .m-lede { color: var(--navy); }
.m-newsletter .form-note { color: var(--peri-dark); text-align: left !important; margin-top: 8px; }
.nl-mockup-wrap {
  margin: 20px 0 36px;
}
.nl-mockup {
  display: block; width: min(65%, 200px); margin: 0 auto;
  border-radius: 14px; transform: rotate(-2deg);
  box-shadow: 0 16px 32px -16px rgba(18,52,87,.35);
}

/* ====== PARTNERS (NAVY) ====== */
.m-partners {
  background: var(--navy); color: var(--cream);
  padding: 36px var(--px);
}
.m-partners-copy {
  font-family: var(--serif); font-style: normal;
  font-size: 22px; line-height: 1.25; letter-spacing: -.3px;
  color: var(--cream); text-wrap: pretty;
  margin-bottom: 24px;
}
.m-partners-copy em { font-style: italic; color: var(--mint); }
.m-partners-cta-row {
  display: flex; justify-content: flex-end;
}
.m-partners .cta-pill.ghost { flex-shrink: 0; }

/* ====== FOOTER (mobile - shares desktop footer markup) ====== */
.m-footer {
  background: var(--cream);
  padding: 28px 20px 0;
  border-top: 1px solid var(--rule);
  /* Leave room for the fixed mobile bottom nav */
  margin-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}
.m-footer .f-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 20px;
}
.m-footer .f-left img { height: 56px; display: block; }
.m-footer .f-mid {
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px 20px;
}
.m-footer .f-mid a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--ink-soft); text-decoration: none;
}
.m-footer .f-right { justify-content: flex-start; gap: 10px; }
.m-footer .f-bottom {
  text-align: left; font-size: 9.5px; letter-spacing: 1.6px;
  padding: 16px 0;
}

/* Final homepage formula label lock: scoped to the exact mobile section. */
.m-formula > .sec-head.invert {
  border-bottom: 1px solid rgba(248, 244, 236, 0.13) !important;
}

.m-formula > .sec-head.invert > .num-label {
  color: #f8f4ec !important;
  -webkit-text-fill-color: #f8f4ec !important;
  opacity: 1 !important;
}
}
