/* ==========================================================================
   Phone & tablet pass (<= 900px). Linked with media="(max-width: 900px)" so it
   can never affect the desktop layout. Loaded after style.css / home.css / pages.css.
   ========================================================================== */

/* ---------- Safety net: the page never scrolls sideways ---------- */
html, body { overflow-x: hidden; }
body { -webkit-text-size-adjust: 100%; }

/* ---------- Typography floor ---------- */
.eyebrow, .eyebrow-dark, .section-head .eyebrow,
.page-inner .eyebrow-dark, .page-inner p.eyebrow-dark,
.farm-story .eyebrow, .variety-section .section-head .eyebrow { font-size: 13.5px; }
.farm-stat .stat-label, .variety-source, .footer-bottom, .form-note,
.contact-card .sub, .field .err, .page-hero .eyebrow { font-size: 13.5px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.footer-bottom .sep { display: none; }
.footer-bottom .copy { flex: 1 1 100%; }
.footer-bottom a { padding: 13px 6px; display: inline-block; }
.site-header .logo { padding: 6px 0; }
.site-footer .logo { display: inline-block; padding: 6px 0; }
.form-note a, .legal a, .prose a { padding: 10px 2px; display: inline-block; }

/* ---------- Tap targets (>= 44px) ---------- */
.header-cta, .hero-nav-cta { display: none !important; }
.nav-toggle { padding: 12px; margin-right: -8px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.product-card .info .btn { min-height: 46px; padding: 12px 22px !important; font-size: 14.5px !important; }
.footer-col a { padding: 11px 0; margin-bottom: 0; }
.footer-col a.fc { padding: 12px 0; align-items: center; }
.footer-col a.fc .fi { margin-top: 0; }
.contact-card a.row { padding: 15px 0; }
.choice span { padding: 12px 18px; }
.faq-group summary { padding-top: 20px; padding-bottom: 20px; }
.mobile-menu-nav a { padding: 6px 12px; }

/* ---------- Forms: 16px stops iOS zooming in on focus ---------- */
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { font-size: 16px; padding: 14px 14px; }
.form-card h2 { font-size: 24px; }

/* ---------- Homepage hero: full-screen video with the message laid over it ---------- */
.page-home.page-home .hero-split {
  display: block; position: relative; overflow: hidden;
  min-height: clamp(560px, calc(100svh - 0px), 820px);
}
.page-home.page-home .hero-split .hero-media {
  position: absolute; inset: 0; min-height: 0; height: 100%; order: 0; z-index: 0;
}
.page-home.page-home .hero-split .hero-bg-fallback { background-position: center 55%; }
.page-home.page-home .hero-split .hero-video { object-position: center 55%; }
@media (prefers-reduced-motion: no-preference) {
  .page-home.page-home .hero-split .hero-video { display: block; }
}
/* readable text over the footage: soft at the top, deep at the bottom */
.page-home.page-home .hero-split::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(42,47,53,.55) 0%, rgba(42,47,53,.10) 22%, rgba(42,47,53,.45) 52%, rgba(42,47,53,.92) 80%, rgba(42,47,53,.98) 100%);
}
.page-home.page-home .hero-split .hero-content {
  position: relative; z-index: 2; background: transparent; overflow: visible;
  min-height: clamp(560px, calc(100svh - 0px), 820px);
  display: flex; align-items: flex-end;
  padding: 96px 22px calc(96px + env(safe-area-inset-bottom));
}
.page-home.page-home .hero-split .hero-row { display: block; }
.page-home.page-home .hero-split .hero-kiko { display: none; }
.page-home.page-home .hero-split .hero .eyebrow,
.page-home.page-home .hero-split .hero-text > .eyebrow {
  display: inline-block; align-self: flex-start; font-size: 12.5px; letter-spacing: .08em; line-height: 1.45;
  color: #fff; background: rgba(110,154,58,.9); padding: 7px 12px; border-radius: 999px; margin-bottom: 18px; max-width: 100%;
}
.page-home.page-home .hero-split .hero-text > h1 {
  font-size: clamp(32px, 9vw, 40px); line-height: 1.1; margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.page-home.page-home .hero-split p.lead { font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.92); margin-bottom: 22px; max-width: 34em; }
.page-home.page-home .hero-split .cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding-top: 0; }
.page-home.page-home .hero-split .cta-row .btn { width: 100%; padding: 14px 12px; font-size: 15px; white-space: normal; text-align: center; }
.page-home.page-home .hero-split .cta-row .btn-primary { grid-column: 1 / -1; }
.page-home.page-home .hero-split .hero-cta-m { display: inline-flex; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.page-home.page-home .hero-split .hero-trust-mini { display: none; }
.page-home.page-home .hero-split .cta-row { grid-template-columns: 1fr; }
.m-trust { display: block; background: var(--white); padding: 18px 22px; border-bottom: 1px solid var(--warm-gray); }
.m-trust ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; max-width: 520px; margin: 0 auto; }
.m-trust li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--charcoal); }
.m-trust li svg { color: var(--green-primary); flex: none; margin-top: 1px; }

/* ---------- Route map: fit the screen, show the pins, list the steps ---------- */
.page-home.page-home .journey-map-section-v2 { padding: 0 0 44px; overflow: hidden; }
.page-home.page-home .journey-map-section-v2 .journey-map-v2-row { gap: 6px; }
.page-home.page-home .journey-map-section-v2 .map-v2-canvas { width: 87%; max-width: 560px; }
.page-home.page-home .journey-map-section-v2 .map-v2-stop { display: flex; width: auto; }
.page-home.page-home .journey-map-section-v2 .map-v2-stop-text { display: none; }
.page-home.page-home .journey-map-section-v2 .map-v2-route-svg { display: block; }
.page-home.page-home .journey-map-section-v2 .map-v2-boat { width: 40px; height: 14.7px; margin: -7.4px 0 0 -20px; }
@media (prefers-reduced-motion: no-preference) { .page-home.page-home .journey-map-section-v2 .map-v2-boat { display: block; } }
.page-home.page-home .journey-map-section-v2 .map-v2-pin { width: 26px; height: 26px; font-size: 11px; border-width: 2px; }

.map-v2-legend {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px;
  list-style: none; margin: 4px 0 6px; padding: 8px 24px 4px; width: 100%; box-sizing: border-box;
}
.map-v2-legend li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--charcoal); }
.map-v2-legend .n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-logo); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 14px;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.map-v2-legend li:last-child .n { background: var(--terracotta, #A34A3A); }

.page-home.page-home .journey-map-section-v2 .map-v2-kiko-col { width: 100%; box-sizing: border-box; padding: 0 20px; min-width: 0; gap: 18px; align-self: stretch; }
.page-home.page-home .journey-map-section-v2 .map-v2-kiko-title { padding-left: 0; padding-right: 0; margin: 18px 0 0; font-size: 18px; }
.page-home.page-home .journey-map-section-v2 .map-v2-kiko-card { max-width: none; padding: 20px 18px; gap: 16px; }
.page-home.page-home .journey-map-section-v2 .map-v2-kiko-card img { width: 72px; height: 72px; }
.page-home.page-home .journey-map-section-v2 .map-v2-kiko-card h3 { font-size: 17.5px; }
.page-home.page-home .journey-map-section-v2 .map-v2-kiko-card p { font-size: 15px; }
.page-home.page-home .journey-map-section-v2 .map-v2-kiko-cta { align-self: stretch; margin-top: 4px; }

/* ---------- Product cards: spec rows collapse to one tidy line ---------- */
.product-card .thumb { height: 180px; padding: 18px; }
.spec-list { flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 14px 0; border-bottom: 0; margin-bottom: 14px; }
.spec-list li { display: inline-flex; padding: 5px 12px; border: 1px solid var(--warm-gray); border-radius: 999px; font-size: 13px; background: var(--cream); }
.spec-list .spec-value { display: none; }
.spec-list .spec-label { color: var(--charcoal); font-weight: 500; }
.spec-list::after { content: "Details shared on request"; flex-basis: 100%; font-size: 13.5px; color: var(--slate-gray); margin-top: 2px; }

/* ---------- Products: swipeable cards ---------- */
.page-home.page-home .products .products-grid {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 -24px; padding: 4px 24px 22px; scroll-padding: 0 24px; scrollbar-width: none;
}
.page-home.page-home .products .products-grid::-webkit-scrollbar { display: none; }
.page-home.page-home .products .product-card { flex: 0 0 84%; scroll-snap-align: start; }
.page-home.page-home .products .section-head p { max-width: 30em; }
.page-home.page-home .products .products-grid::after { content: ""; flex: 0 0 4px; }

/* ---------- Who we serve: compact horizontal cards ---------- */
.who-grid { gap: 12px; }
.who-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; padding: 18px 18px; }
.who-card .who-ico { grid-row: 1 / span 2; margin-bottom: 0; width: 50px; height: 50px; }
.who-card h3 { font-size: 18px; margin: 0 0 3px; }
.who-card p { font-size: 14.5px; margin: 0; }
.who-card::before { display: none; }

/* ---------- Variety stats: tighter ---------- */
.variety-stats { gap: 12px; }
.variety-stat { padding: 20px 18px; }
.variety-stat .stat-num { font-size: 24px; margin-bottom: 6px; }

/* ---------- Homepage farm story / stats ---------- */
.farm-stats { gap: 18px 28px; }
.farm-stat .stat-num { font-size: 19px; }

/* ---------- Inner pages ---------- */
.page-inner .page-hero { padding: 52px 0 48px; }
.page-hero h1 { font-size: clamp(30px, 8.4vw, 38px); margin-bottom: 16px; }
.page-hero .lead { font-size: 16.5px; margin-bottom: 24px; }
.page-hero .hero-actions .btn { flex: 1 1 100%; }
.section-title { font-size: clamp(24px, 6.6vw, 30px); }
.product-row { padding: 36px 0; gap: 22px; }
.product-row .pthumb { aspect-ratio: 4 / 3; padding: 22px; }
.product-row p { font-size: 16px; }
.team-card .photo-slot.initials-only { aspect-ratio: 1 / 1 !important; max-width: 280px; margin-left: auto; margin-right: auto; }
.hero-actions { flex-direction: column; align-items: stretch; }
.hero-actions .btn { flex: 1 1 auto; width: 100%; }
.team-grid { gap: 34px; }
.cc-step { padding: 20px 18px; }
.who-serve .section-head { margin-bottom: 26px; }
.contact-kiko { padding: 16px 18px; }
.photo-strip { gap: 14px; }
.notice img.kiko { height: 170px; }

.bg-white .split .media { aspect-ratio: 4 / 3 !important; max-height: 280px; }
.gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* ---------- Sticky quick-contact bar ---------- */
.m-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 8px; align-items: stretch;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--warm-gray); box-shadow: 0 -6px 22px rgba(42,47,53,.10);
}
.m-bar-btn {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--charcoal);
  background: var(--cream); border: 1px solid var(--warm-gray); text-decoration: none;
}
.m-bar-btn svg { width: 19px; height: 19px; flex: none; }
.m-bar-btn.is-wa svg { color: #25A244; }
.m-bar-btn.is-primary { background: var(--green-primary); border-color: var(--green-primary); color: #fff; flex: 1.35 1 0; }
.mobile-menu { z-index: 105; }
/* room for the sticky bar below the footer */
.site-footer { padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom)); }
.no-scroll .m-bar { display: none; }

/* inline links in running text: larger hit area without changing line spacing */
.faq-group .ans a, .notice p a, .form-note a { padding: 13px 3px; }
