/* Alternate mobile compositions. Every layout rule is scoped below desktop width. */
.home-mobile-ingredients, .home-mobile-method, .founder-mobile-bio,
.home-contact-mobile-title, .home-contact-mobile-intro,
.home-mobile-faq-intro, .home-mobile-footer { display: none; }

@media (max-width: 1079.98px) {
  body[data-page="home"] .hero-grid { justify-items: center; }
  body[data-page="home"] .hero-copy { width: 100%; text-align: center; }
  body[data-page="home"] .hero .eyebrow { display: none; }
  body[data-page="home"] .hero .display-title,
  body[data-page="home"] .hero .lede { margin-inline: auto; }
  body[data-page="home"] .hero .btn-row { justify-content: center; }
  body[data-page="home"] .section { padding-block: 38px; }
  body[data-page="home"] .section-head { margin-bottom: 22px; gap: 10px; }
  body[data-page="home"] .section-head h2,
  body[data-page="home"] .section-title,
  body[data-page="home"] .faq-grid h2 { max-width: 22ch; font-size: clamp(24px, 5.8vw, 30px); line-height: 1.16; }
  body[data-page="home"] .eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 10px; }
  body[data-page="home"] .lede { font-size: 14px; line-height: 1.65; }
  body[data-page="home"] .promise-marquee { display: block; }
  body[data-page="home"] .promise-heading { display: none; }
  body[data-page="home"] .marquee-viewport { padding-block: 7px; }
  body[data-page="home"] .marquee-item { font-size: 10px; line-height: 1.4; gap: 18px; }
  body[data-page="home"] .marquee-set { gap: 18px; }
  body[data-page="home"] .marquee-item::after { width: 6px; height: 6px; }

  body[data-page="home"] .featured-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-right: 0; padding: 0; overflow: visible; }
  body[data-page="home"] .featured-grid .product-card { border-radius: 16px; box-shadow: none; }
  body[data-page="home"] .featured-grid .product-art { min-height: 0; height: auto; aspect-ratio: 1; padding: 7px; }
  body[data-page="home"] .featured-grid .product-packshot { position: static; width: 100%; height: auto; object-fit: contain; transform: none !important; border-radius: 9px; }
  body[data-page="home"] .featured-grid .product-card-copy { padding: 13px 12px 8px; }
  body[data-page="home"] .featured-grid .product-kicker,
  body[data-page="home"] .featured-grid .product-card p { display: none; }
  body[data-page="home"] .featured-grid .product-card h3 { margin: 0 0 3px; font-size: 17px; line-height: 1.16; }
  body[data-page="home"] .featured-grid .text-link { min-height: 40px; padding: 4px 0; font-size: 9px; letter-spacing: .055em; border: 0; }
  body[data-page="home"] .featured-grid .text-link svg { width: 14px; }
  body[data-page="home"] .products-section .section-head > .text-link { min-height: 32px; }

  body[data-page="home"] .ingredient-garden-layout,
  body[data-page="home"] .ingredient-garden-section .section-head > .lede { display: none; }
  .home-mobile-ingredients { display: block; }
  .home-ingredient-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-bottom: 14px; }
  .home-ingredient-tab { min-height: 44px; min-width: 0; padding: 8px 4px; border: 1px solid #c6d4be; border-radius: 999px; background: transparent; color: #385331; font-size: 10px; line-height: 1.3; font-weight: 600; }
  .home-ingredient-tab[aria-selected="true"] { background: #2d5c29; border-color: #2d5c29; color: #fff; }
  .home-ingredient-panel { position: relative; min-height: 420px; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; border-radius: 20px; background: #1b2317; }
  .home-ingredient-photo, .home-ingredient-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
  .home-ingredient-photo { z-index: -2; object-fit: cover; }
  .home-ingredient-panel[data-ingredient="0"] .home-ingredient-photo { transform: scale(1.3); transform-origin: center bottom; }
  .home-ingredient-shade { z-index: -1; background: linear-gradient(180deg, transparent 18%, rgba(11,27,15,.25) 40%, rgba(11,27,15,.92) 74%, #0b1b0f 100%); }
  .home-ingredient-caption { padding: 24px 22px; color: #fff; }
  .home-ingredient-caption small { display: block; margin-bottom: 10px; color: #d5e4cf; font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .home-ingredient-caption h3 { margin-bottom: 12px; font-size: 24px; line-height: 1.12; }
  .home-ingredient-caption p { max-width: 48ch; margin: 0; color: #f1f5ee; font-size: 14px; line-height: 1.65; }

  body[data-page="home"] .method-steps { display: none; }
  body[data-page="home"] .method-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
  body[data-page="home"] .method-grid .lede { max-width: 48ch; margin-bottom: 0; font-size: 14px; }
  body[data-page="home"] .method-grid .btn-row { margin-top: 18px; }
  .home-mobile-method { display: block; border-top: 1px solid rgba(255,255,255,.22); }
  .home-method-item { border-bottom: 1px solid rgba(255,255,255,.18); }
  .home-method-item summary { min-height: 62px; display: grid; grid-template-columns: 26px 1fr 20px; align-items: center; gap: 12px; padding-block: 14px; list-style: none; cursor: pointer; }
  .home-method-item summary::-webkit-details-marker { display: none; }
  .home-method-index { color: #b8c9b3; font-size: 10px; }
  .home-method-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
  .home-method-toggle { font-size: 22px; color: #b8c9b3; font-style: normal; font-weight: 400; }
  .home-method-item[open] .home-method-toggle { transform: rotate(45deg); }
  .home-method-item > p { margin: 0; padding: 0 20px 20px 38px; color: #d6ded2; font-size: 14px; line-height: 1.7; }
  body[data-page="home"] .home-faq-section .faq-grid > div:first-child > p:not(.home-mobile-faq-intro) { display: none; }
  .home-mobile-faq-intro { display: block; margin-bottom: 0; font-size: 14px; }
  body[data-page="home"] .gummy-equation { margin-top: 16px; padding: 12px; gap: 7px; }
  body[data-page="home"] .gummy-equation strong { font-size: 11px; }
  body[data-page="home"] .faq-item summary { font-size: 14px; min-height: 58px; }
  body[data-page="home"] .home-faq-section .faq-list { box-shadow: none; padding-inline: 16px; }

  body[data-page="home"] .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body[data-page="home"] .team-card { display: grid; grid-template-columns: 44% minmax(0, 1fr); border-radius: 16px; box-shadow: none; }
  body[data-page="home"] .founder-photo { width: 100%; height: 100%; min-height: 210px; aspect-ratio: auto; }
  body[data-page="home"] .founder-photo img { object-position: center top; }
  body[data-page="home"] .founder-copy { padding: 15px 12px 17px; }
  body[data-page="home"] .team-card h3 { font-size: 16px; line-height: 1.18; text-wrap: initial; }
  body[data-page="home"] .founder-role { font-size: 8.5px; letter-spacing: .035em; line-height: 1.5; }
  body[data-page="home"] .founder-bio { display: none; }
  .founder-mobile-bio { display: block; margin: 0; color: #55624f; font-size: 13px; line-height: 1.6; }
  body[data-page="home"] .founders-section .section-head .lede { font-size: 14px; }

  body[data-page="home"] .home-contact-shell { display: block; box-shadow: none; border: 1px solid var(--line); border-radius: 20px; }
  body[data-page="home"] .home-contact-copy { min-height: 0; padding: 22px 20px; }
  body[data-page="home"] .home-contact-copy > h2:not(.home-contact-mobile-title),
  body[data-page="home"] .home-contact-copy > p:not(.home-contact-mobile-intro),
  body[data-page="home"] .home-contact-copy > .eyebrow { display: none; }
  .home-contact-mobile-title { display: block; margin: 0 0 8px !important; font-size: 25px !important; line-height: 1.15; }
  .home-contact-mobile-intro { display: block; margin: 0; font-size: 14px; }
  body[data-page="home"] .home-contact-form { padding: 20px; }
  body[data-page="home"] .home-contact-form .form-grid { gap: 13px; }
  body[data-page="home"] .home-contact-form .form-field { gap: 5px; }
  body[data-page="home"] .home-contact-form label { font-size: 9px; }
  body[data-page="home"] .home-contact-form input,
  body[data-page="home"] .home-contact-form select { min-height: 44px; padding: 9px 11px; border-radius: 9px; }
  body[data-page="home"] .home-contact-form textarea { min-height: 86px; height: 86px; padding: 10px 11px; border-radius: 9px; }
  body[data-page="home"] .home-contact-form .btn { justify-self: start; min-width: 160px; }
  body[data-page="home"] .site-footer { display: none; }
  .home-mobile-footer { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 20px 24px; background: #1b2317; color: #dce6d6; text-align: center; }
  .home-mobile-footer .footer-socials { display: flex; gap: 12px; margin: 0; }
  .home-mobile-footer .footer-socials a { width: 40px; height: 40px; }
  .home-mobile-footer > p { max-width: 32ch; margin: 0; color: #c1cbbd; font-size: 10px; line-height: 1.65; }
}

@media (max-width: 639px) {
  body[data-page="home"] .container { width: calc(100% - 32px); }
  body[data-page="home"] .section { padding-block: 34px; }
  body[data-page="home"] .hero { min-height: 480px; }
  body[data-page="home"] .hero-backdrop { top: -38px; }
  body[data-page="home"] .hero-grid { min-height: 480px; padding-block: 24px; }
  body[data-page="home"] .hero .eyebrow { font-size: 7.5px; margin-bottom: 12px; }
  body[data-page="home"] .hero .display-title { font-size: clamp(34px, 9.5vw, 40px); margin-bottom: 12px; }
  body[data-page="home"] .hero .lede { max-width: 35ch; font-size: 13px; line-height: 1.65; }
  body[data-page="home"] .hero .btn-row { margin-top: 16px; }
  body[data-page="home"] .hero .btn { font-size: 9px; }
  body[data-page="home"] .section-head h2,
  body[data-page="home"] .section-title,
  body[data-page="home"] .faq-grid h2 { font-size: 25px; }
  body[data-page="home"] .team-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84vw, 330px); margin-right: -16px; padding: 0 16px 10px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #b8c9b3 transparent; }
  body[data-page="home"] .team-card { scroll-snap-align: start; }
  .home-ingredient-panel { min-height: 420px; }
  .home-ingredient-caption { padding: 24px 18px; }
  .home-ingredient-caption h3 { font-size: 22px; }
  .home-ingredient-caption p { font-size: 13px; line-height: 1.7; }
}

@media (min-width: 640px) and (max-width: 1079.98px) {
  body[data-page="home"] .featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-mobile-ingredients { max-width: 680px; margin-inline: auto; }
  .home-ingredient-panel { min-height: 440px; }
  .home-ingredient-photo { object-position: center 38%; }
  body[data-page="home"] .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="home"] .home-contact-shell { max-width: 680px; margin-inline: auto; }
  body[data-page="home"] .hero-scrim { background: linear-gradient(180deg, rgba(5,24,15,.12), rgba(5,24,15,.5) 40%, rgba(5,24,15,.94) 82%, #05180f); }
}

@media (max-width: 359px) {
  .home-ingredient-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (hover: none) {
  body[data-page="home"] .product-packshot,
  body[data-page="home"] .founder-photo img { transform: none !important; }
}
