/* Keep tablet navigation and checkout from squeezing into desktop columns. */
@media (min-width: 701px) and (max-width: 900px) {
  .header-inner { position: relative; flex-wrap: wrap; }
  .menu-button { display: flex; align-items: center; gap: 16px; border: 0; padding: 12px; background: none; color: var(--paper); font-size: 18px; }
  #site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  #site-nav.is-open { display: flex; }
  #site-nav a { padding: 12px 0; border-top: 1px solid #ffffff29; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px 40px; }
  .hero-visual { max-width: 280px; justify-self: center; }
  .order-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 32px; }
  .header-inner { min-height: 76px; }
  .brand { width: 114px; }
  .hero-layout { gap: 16px; padding-block: 16px 28px; }
  .hero h1 { font-size: clamp(36px, 9vw, 46px); line-height: 1.08; }
  .hero .lead { font-size: 18px; line-height: 1.5; margin-top: 16px; }
  .hero-actions { margin-top: 20px; gap: 12px; }
  .hero .button { width: 100%; justify-content: center; min-height: 52px; padding: 12px 18px; font-size: 21px; }
  .hero .text-link { display: none; }
  .hero-visual { max-width: 160px; }
  #site-nav.is-open { max-height: 65svh; overflow-y: auto; padding: 8px 16px; }
  .nutrition { padding-bottom: 28px; }
  .nutrition-heading { gap: 8px; margin-bottom: 16px; }
  .macro-list { gap: 10px; }
  .macro-row { padding: 16px; gap: 12px 8px; }
  .macro-row strong { margin-bottom: 2px; }
  .nutrition-details { margin-top: 12px; }
  .benefit-list { margin-top: 20px; margin-bottom: 0; padding-block: 16px; gap: 16px 8px; }
  .benefit-list li { padding: 0 4px; }
  .order-heading { margin-bottom: 20px; }
  .order-heading p { margin-top: 8px; }
  .order-progress { gap: 6px; margin-bottom: 22px; }
  .order-progress button { width: 100%; align-items: flex-start; gap: 2px; overflow-wrap: normal; line-height: 1.3; padding-block: 8px; text-decoration: none; }
  .order-layout h3 { margin-bottom: 12px; }
  .step-intro { margin-block: 12px; }
  .flavor-choices { gap: 22px; margin-block: 20px 12px; }
  .flavor-option { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; align-items: start; }
  .flavor-option > img { width: 82px; height: 124px; object-fit: contain; }
  .flavor-option-copy { padding: 0; gap: 8px; }
  .flavor-option-copy > strong { font-size: 24px; }
  .flavor-option-copy > span { line-height: 1.4; }
  .flavor-select { min-height: 48px; margin-top: 4px; padding: 10px; }
  .flavor-selection-footer { margin-top: 16px; gap: 4px; }
  .order-layout, .order-layout.is-centered { gap: 24px; }
  .order-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin-top: 20px; }
  .order-actions:has(#order-back[hidden]) { grid-template-columns: minmax(0, 1fr); }
  .order-actions .button { justify-content: center; min-width: 0; padding: 12px 16px; overflow-wrap: normal; }
  .quantity-presets { margin-block: 16px; }
  .quantity-presets button { min-height: 92px; padding: 12px; }
  .jar-row { padding-block: 12px; }
  .frequency-options { margin-top: 22px; }
  .field { margin-bottom: 18px; }
  .field input, .field select, .field textarea { min-height: 52px; font-size: 18px; }
  .review-edits, .inline-actions { gap: 10px; }
  .payment-options { margin-block: 18px; }
  .payment-options button { min-height: 90px; }
  .app-steps { margin-block: 18px; padding-left: 20px; }
  .app-steps > li { padding-left: 4px; margin-top: 22px; }
  .order-summary { padding: 20px; }
  body:has(.field input:focus, .field textarea:focus, [data-count]:focus) .mobile-order-bar { display: none; }
  .order-summary .grand-total { margin-top: 16px; padding-top: 14px; }
  .order-section { padding-bottom: 145px; }
  .serving .section-heading { margin-bottom: 20px; gap: 12px; }
  .serving-grid { gap: 24px; }
  .serving-grid figcaption { padding-top: 10px; font-size: 24px; }
  .site-footer { padding-block: 28px; }
  .footer-top { gap: 12px; }
  .site-footer details { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
