/* Zwo Ita: earthy editorial. Phone-first. */

:root {
  --green-900: #1F3A2B;
  --green-700: #2F5640;
  --soil: #9C3D2A;
  --cream: #F5EFE3;
  --sand: #E6DCC8;
  --ink: #1B1A17;
  --ink-soft: #4A463E;
  --rule: rgba(27, 26, 23, 0.14);
  --rule-light: rgba(245, 239, 227, 0.22);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* belt and braces at 390px; clip (not hidden) keeps the sticky header working */
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.08; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .75rem 1rem; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--soil); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .bulk :focus-visible, .site-footer :focus-visible { outline-color: var(--cream); }

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--soil);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--sand); }

.section-title {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-variation-settings: "opsz" 120;
  letter-spacing: -0.015em;
  max-width: 18ch;
}

.section { padding: var(--section) 0; }
section[id] { scroll-margin-top: 68px; } /* clear the sticky header on anchor jumps */
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.2em; height: 1.2em; flex: none; }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-wa { background: var(--green-700); color: var(--cream); }
.btn-wa:hover { background: var(--green-900); }
.btn-cream { background: var(--cream); color: var(--green-900); }
.btn-cream:hover { background: #fff; }

.text-link { color: var(--soil); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 227, .92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin: 0; }
.wordmark-main {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 500;
  font-variation-settings: "opsz" 144; letter-spacing: -0.02em; color: var(--green-900);
}
.wordmark-sub { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; white-space: nowrap; }
.ws-short { display: none; }
@media (max-width: 479px) {
  .ws-long { display: none; }
  .ws-short { display: inline; }
}

.wordmark { flex: none; }
.header-cta { margin-left: auto; white-space: nowrap; }
@media (max-width: 359px) {
  .header-cta { padding-inline: .8rem; }
  .header-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.nav-toggle {
  order: 3; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%;
  background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--rule);
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { padding: .5rem var(--gutter) 1.25rem; }
.site-nav a {
  display: block; padding: .9rem 0; text-decoration: none;
  font-family: var(--font-display); font-size: 1.4rem; border-bottom: 1px solid var(--rule);
}
.site-nav li:last-child a { border-bottom: 0; }

/* No-JS: always show nav */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { display: block; position: static; border: 0; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; margin-left: auto; }
  .site-nav ul { display: flex; gap: 2rem; padding: 0; }
  .site-nav a {
    font-family: var(--font-body); font-size: .95rem; padding: .25rem 0; border: 0;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .3s var(--ease);
  }
  .site-nav a:hover { background-size: 100% 1px; }
  .header-cta { margin-left: 1.5rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: min(92svh, 860px);
  display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform-origin: 60% 40%;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate(-1%, .5%); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 52px;
  color: var(--cream); opacity: .75; transition: opacity .25s;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue-line {
  position: relative; display: block; width: 1px; height: 36px; overflow: hidden;
  background: rgba(245,239,227,.3);
}
.scroll-cue-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px;
  background: var(--cream);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  from { transform: translateY(-14px); }
  to { transform: translateY(36px); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(31,58,43,.15) 0%, rgba(31,58,43,.25) 35%, rgba(22,38,29,.88) 100%),
    linear-gradient(90deg, rgba(22,38,29,.55) 0%, rgba(22,38,29,0) 70%);
}
.hero-content { padding-top: 7rem; padding-bottom: clamp(4.75rem, 8vw, 6rem); }
.hero-title {
  font-size: clamp(2.5rem, 9vw, 5.6rem);
  font-weight: 350;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--sand); }
.hero-lede { max-width: 34rem; margin: 1.5rem 0 2rem; font-size: 1.1rem; color: rgba(245,239,227,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn-wa { background: transparent; border-color: rgba(245,239,227,.6); }
.hero .btn-wa:hover { background: rgba(245,239,227,.12); }

/* ---------- Tiles ---------- */

.tiles-section { padding-top: clamp(2rem, 5vw, 3.5rem); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.tile {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--cream); background: var(--green-900);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20,32,24,.86) 100%);
}
.tile:hover img { transform: scale(1.04); }
.tile-label {
  position: absolute; left: .85rem; right: .85rem; bottom: .85rem; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end; gap: .4rem;
  font-family: var(--font-display); font-size: clamp(1.12rem, 3.2vw, 1.6rem);
  line-height: 1.15;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.tile-name { min-width: 0; }
.tile-arrow { font-family: var(--font-body); flex: none; transition: transform .3s var(--ease); }
.tile:hover .tile-arrow { transform: translateX(4px); }
.tile-plain { background: var(--soil); }
.tile-plain::after { background: none; }
.tile-mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic; font-size: clamp(3rem, 10vw, 5rem);
  color: rgba(245,239,227,.18);
}

/* ---------- Catalogue ---------- */

.catalogue .section-head { display: grid; gap: .25rem; }
.updated { font-size: .92rem; color: var(--ink-soft); margin: 1rem 0 0; }
.updated time { font-weight: 600; color: var(--ink); }

.filters {
  display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
  font: 500 .95rem var(--font-body); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--green-700); }
.filter.is-active { background: var(--green-900); color: var(--cream); border-color: var(--green-900); }

.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.cards[hidden] { display: none; }
.cards-loading { color: var(--ink-soft); }

.card {
  display: flex; flex-direction: column;
  background: #FBF8F1; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 4px);
  padding: .6rem; transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.card:hover { box-shadow: 0 18px 40px -24px rgba(31,58,43,.45); }
.card[hidden] { display: none; }
.card.is-hit, .feed-row.is-hit {
  box-shadow: 0 0 0 3px var(--green-900);
}
.feed-row.is-hit { box-shadow: 0 0 0 3px var(--green-900); }


.card-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  background: radial-gradient(120% 90% at 50% 40%, #F8F3E9 0%, #EFE6D5 100%);
  box-shadow: inset 0 0 0 1px rgba(156,61,42,.10);
  color: var(--green-700);
}
.card-media-empty .leaf { width: 44px; height: 44px; opacity: .8; }
.card-media-note {
  font-family: var(--font-display); font-style: italic; font-size: .95rem;
  color: var(--ink-soft); letter-spacing: .01em;
}

.chip {
  position: absolute; top: .7rem; left: .7rem;
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.chip-available { background: var(--green-900); color: var(--cream); }
.chip-available::before { content: ""; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: #9CD3A8; margin-right: .45rem; vertical-align: .05em; }
.chip-ask { background: var(--cream); color: var(--soil); }
.chip-tbc { background: rgba(245,239,227,.92); color: var(--ink-soft); }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem .65rem .65rem; }
.card-title { font-size: 1.45rem; font-variation-settings: "opsz" 48; letter-spacing: -0.01em; }
.card-desc { color: var(--ink-soft); margin: .5rem 0 1rem; font-size: .98rem; }
.card-desc:has(+ .card-fruiting) { margin-bottom: .55rem; }
.card-fruiting {
  margin: 0 0 0; padding: .7rem .85rem;
  background: #F1E9DA; border-radius: 8px;
  font-size: .9rem; line-height: 1.45; color: var(--ink);
}
.card-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: auto 0 1rem; padding-top: 1rem; border-top: 1px solid var(--rule);
}
.card-meta dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.card-meta dd { margin: .2rem 0 0; font-weight: 500; }
.card-size { line-height: 1.35; }
.card-meta .meta-price { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card-meta .meta-price dd { margin: 0; }
/* Price only: one baseline row, label left, price right */
.card-meta-single { grid-template-columns: 1fr; }
.card-meta-single > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card-meta-single dd { margin: 0; }
.price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--green-900); }
.price-ask {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.2rem; font-variation-settings: "opsz" 36;
  color: var(--soil); letter-spacing: .005em;
}

/* Animal feed: slim full-width "coming soon" row below the cards */
.feed-rows:empty { display: none; }
.feed-rows { margin-top: 1.75rem; display: grid; gap: .75rem; }
.cards[hidden] + .feed-rows { margin-top: 0; }
.feed-row[hidden] { display: none; }
.feed-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
  padding: .65rem clamp(.75rem, 2vw, 1.1rem);
  border: 1px dashed rgba(156,61,42,.35); border-radius: calc(var(--radius) + 4px);
  background: #F1E9DA;
}
.feed-row-photo {
  flex: none; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; background: var(--sand);
}
.feed-row-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .feed-row-photo { width: 11rem; } }
.feed-row-tag { white-space: nowrap; }
.feed-row-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; min-width: 0; flex: 1; }
.feed-row-tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soil); border: 1px solid currentColor; border-radius: 999px; padding: .2rem .65rem;
}
.feed-row-title { font-size: 1.35rem; font-variation-settings: "opsz" 48; }
.feed-row-desc { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.feed-row-link { white-space: nowrap; }

.catalogue-note { margin-top: 2rem; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Ordering ---------- */

.ordering { background: var(--sand); }
.steps { display: grid; gap: 0; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.step { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.step-num { display: block; font-family: var(--font-display); font-style: italic; font-size: 2.4rem; color: var(--soil); line-height: 1; margin-bottom: 1rem; }
.step h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Bulk ---------- */

.bulk { background: var(--green-900); color: var(--cream); }
.bulk-inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .bulk-inner { grid-template-columns: 1.1fr 1fr; gap: 4.5rem; } }
.bulk-media { margin: 0; }
.bulk-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bulk-copy p { color: rgba(245,239,227,.85); max-width: 32rem; }
.bulk-copy .section-title { margin-bottom: 1.25rem; }
.bulk-list { display: grid; grid-template-columns: 1fr 1fr; margin: 1.5rem 0 2rem; border-top: 1px solid var(--rule-light); }
.bulk-list li { padding: .8rem 0; border-bottom: 1px solid var(--rule-light); font-family: var(--font-display); font-size: 1.15rem; }
.bulk-list li:nth-child(odd) { padding-right: 1rem; }

/* ---------- Ready strip ---------- */

.ready { padding-bottom: calc(var(--section) * .5); }
.ready-strip { display: grid; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 4px); overflow: hidden; }
@media (min-width: 760px) { .ready-strip { grid-template-columns: 1fr 1fr; } }
.ready-col { padding: clamp(1.5rem, 4vw, 2.5rem); }
.ready-col + .ready-col { border-top: 1px solid var(--rule); background: #EFE7D8; }
@media (min-width: 760px) { .ready-col + .ready-col { border-top: 0; border-left: 1px solid var(--rule); } }
.ready-tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.25rem; }
.ready-now { background: var(--green-900); color: var(--cream); }
.ready-pre { background: transparent; color: var(--soil); border: 1px solid currentColor; }
.ready-col li { font-family: var(--font-display); font-size: clamp(1.3rem, 3.5vw, 1.7rem); padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.ready-col li:last-child { border-bottom: 0; }
.ready-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Gallery ---------- */

/* Phone: 2 cols. Feature = 2x2, tall = 1x2, small = 1x1. Dense flow tucks the two smalls beside each tall.
   Row height tracks column width so every cell keeps a ~4:3-ish ratio. */
.gallery {
  --g-gap: .6rem;
  display: grid; gap: var(--g-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: calc((100vw - var(--gutter) * 2 - var(--g-gap)) / 2 * .78);
  grid-auto-flow: row dense;
}
.gallery li { border-radius: var(--radius); overflow: hidden; background: var(--sand); min-width: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery li:hover img { transform: scale(1.03); }
.g-feature { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }

/* Tablet+: 12 cols. Each band = feature 6 + tall 3 + two stacked smalls 3 = 12 cols x 2 rows, no holes. */
@media (min-width: 760px) {
  .gallery {
    --g-gap: 1rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    /* 3 columns wide at ~4:3: (content width - 11 gaps) / 12 * 3 * .72 */
    grid-auto-rows: calc((min(100vw, var(--wrap) + var(--gutter) * 2) - var(--gutter) * 2 - var(--g-gap) * 11) / 4 * .72);
  }
  .g-feature { grid-column: span 6; grid-row: span 2; }
  .g-tall { grid-column: span 3; grid-row: span 2; }
  .g-small { grid-column: span 3; }
}

/* ---------- Delivery ---------- */

.delivery { background: var(--sand); }
.delivery-grid { display: grid; gap: 0; }
@media (min-width: 800px) { .delivery-grid { grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; } }
.delivery-item { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.delivery-item h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.delivery-item p { color: var(--ink-soft); margin: 0; }
.delivery-item p + p { margin-top: .7rem; }

/* ---------- Feed / About ---------- */

.feed { padding-bottom: calc(var(--section) * .5); }
.feed-inner, .about-inner { max-width: 46rem; }
.feed-inner { border-left: 2px solid var(--soil); padding-left: clamp(1.25rem, 3vw, 2rem); }
.feed-inner .section-title { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin-bottom: 1rem; max-width: none; }
.feed-inner p { color: var(--ink-soft); }

.about { padding-top: calc(var(--section) * .5); }
.about-inner { margin: 0 auto; text-align: center; }
.about .eyebrow { justify-content: center; }
.about .eyebrow::after { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.about .section-title { margin: 0 auto 1.5rem; }
.about-lede {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem); line-height: 1.25; color: var(--green-900);
  font-variation-settings: "opsz" 96;
}
.about-inner p:last-child { color: var(--ink-soft); max-width: 36rem; margin: 0 auto; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--rule); }
.faq-inner { display: grid; gap: 1rem; }
@media (min-width: 900px) { .faq-inner { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.15rem, 3vw, 1.35rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.5rem; font-weight: 300; color: var(--soil);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 40rem; }
.faq-body p { margin: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--sand); padding: 4rem 0 7rem; }
.footer-inner { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.wordmark-footer .wordmark-main { color: var(--cream); font-size: 2rem; }
.wordmark-footer .wordmark-sub { color: var(--sand); }
.footer-brand p:last-child { margin-top: 1rem; color: rgba(230,220,200,.8); }
.footer-facts { display: grid; gap: 1.25rem; margin: 0; }
@media (min-width: 600px) { .footer-facts { grid-template-columns: repeat(3, 1fr); } }
.footer-facts dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(230,220,200,.7); margin-bottom: .35rem; }
.footer-facts dd { margin: 0; color: var(--cream); font-family: var(--font-display); font-size: 1.2rem; }
.footer-facts a { text-underline-offset: .25em; }
.footer-small { grid-column: 1 / -1; font-size: .85rem; color: rgba(230,220,200,.65); border-top: 1px solid rgba(230,220,200,.15); padding-top: 1.5rem; margin: 0; }

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-700); color: var(--cream);
  box-shadow: 0 12px 28px -10px rgba(20,32,24,.6), 0 0 0 1px rgba(245,239,227,.15) inset;
  transition: transform .25s var(--ease), background-color .25s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); background: var(--green-900); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.tiles li:nth-child(2), .steps li:nth-child(2), .delivery-item:nth-child(2) { transition-delay: .08s; }
.tiles li:nth-child(3), .steps li:nth-child(3), .delivery-item:nth-child(3) { transition-delay: .16s; }
.tiles li:nth-child(4), .steps li:nth-child(4), .delivery-item:nth-child(4) { transition-delay: .24s; }
.wa-soon { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-img, .scroll-cue-line::after { animation: none !important; }
  .hero-img { transform: none; }
  .tile:hover img, .gallery li:hover img, .btn:hover, .wa-float:hover { transform: none; }
}

.wa-soon{position:fixed;left:50%;bottom:96px;transform:translate(-50%,12px);background:#1F3A2B;color:#F5EFE3;padding:12px 18px;border-radius:999px;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:999;max-width:calc(100vw - 32px);text-align:center}
.wa-soon.show{opacity:1;transform:translate(-50%,0)}

/* Avocado varieties */
.varieties { background: var(--sand); }
.variety-grid { display: grid; gap: 0; margin: 0; }
@media (min-width: 700px) { .variety-grid { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; } }
@media (min-width: 1000px) { .variety-grid { grid-template-columns: repeat(3, 1fr); } }
.variety { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.variety dt { font-family: var(--font-display, serif); font-size: 1.4rem; margin-bottom: .4rem; }
.variety dd { margin: 0; color: var(--ink-soft); }
.variety-tip { margin-top: 2rem; font-size: 1.15rem; font-style: italic; }
.variety-more { color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Planting-season banner (Sprint 1) ---------- */
.season-banner { background: #C9A227; color: #1F3A2B; }
.season-inner { display: flex; align-items: center; justify-content: center; gap: .75rem 1rem; flex-wrap: wrap; padding: .55rem 2.5rem .55rem 1rem; position: relative; }
.season-text { margin: 0; font-weight: 600; text-align: center; }
.season-close { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.5rem; line-height: 1; color: inherit; cursor: pointer; padding: .25rem .5rem; display: none; }
.js .season-close { display: block; }
.season-banner[hidden] { display: none; }

/* ---------- Next-batch notice ---------- */

.batch-notice {
  background: var(--green-900); color: var(--cream);
  border-top: 1px solid rgba(245,239,227,.12);
}
.batch-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem; flex-wrap: wrap;
  padding: 1.15rem 0;
}
.batch-copy { margin: 0; max-width: 40rem; }
.batch-kicker {
  display: block; font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: #C9A227; margin-bottom: .35rem;
}
.batch-copy strong { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.batch-inner .btn { flex: none; }

/* ---------- Care note ---------- */

.care { background: var(--sand); }
.care-inner { max-width: 46rem; }
.care-inner .section-title { margin-bottom: 1.25rem; }
.care-inner p { color: var(--ink-soft); max-width: 40rem; }
.care-inner p + p { margin-top: .9rem; }

/* ---------- Finder (search) ---------- */

.finder-band {
  position: relative; z-index: 3;
  margin-top: -2.25rem;
  padding-bottom: .25rem;
}
.finder {
  background: #FBF8F1;
  border: 1px solid var(--rule);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 18px 40px -24px rgba(31,58,43,.45);
}
.finder-label {
  display: block;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soil); margin-bottom: .55rem;
}
.finder-field { position: relative; }
.finder-input {
  width: 100%; min-height: 48px;
  padding: .7rem 3rem .7rem 1rem;
  border: 1px solid var(--rule); border-radius: 999px;
  background: #fff; color: var(--ink);
  font: 400 1rem/1.3 var(--font-body);
  appearance: none; -webkit-appearance: none;
}
.finder-input::placeholder { color: #7a7468; }
.finder-input::-webkit-search-cancel-button,
.finder-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.finder-band, .finder-input { scroll-margin-top: 84px; }
.hero:has(+ .finder-band) .scroll-cue { display: none; }

.finder-input:focus { outline: 3px solid var(--soil); outline-offset: 2px; border-color: transparent; }
.finder-clear {
  position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; background: transparent;
  color: var(--ink-soft); font-size: 1.35rem; line-height: 1; cursor: pointer;
  border-radius: 50%;
}
.finder-clear:hover { color: var(--ink); background: var(--sand); }
.finder-clear[hidden] { display: none; }

.finder-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  z-index: 30;
  margin: 0; padding: .35rem;
  background: #FBF8F1; border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -18px rgba(31,58,43,.5);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.finder-list.is-above { top: auto; bottom: calc(100% + 6px); }
.finder-list[hidden] { display: none; }
.finder-option {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  min-height: 44px; padding: .55rem .8rem; border-radius: 10px; cursor: pointer;
}
.finder-option-name { font-family: var(--font-display); font-size: 1.1rem; }
.finder-option-meta { color: var(--green-900); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.finder-option[aria-selected="true"], .finder-option:hover { background: #F1E9DA; }
.finder-empty { padding: .8rem .9rem; color: var(--ink-soft); min-height: 44px; display: flex; align-items: center; }

.finder-chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: .85rem;
}
.finder-chips[hidden] { display: none; }
.finder-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .45rem 1rem;
  border-radius: 999px; border: 1px solid var(--rule);
  background: transparent; color: var(--ink);
  font: 500 .95rem var(--font-body);
  text-decoration: none; cursor: pointer;
}
.finder-chip:hover { border-color: var(--green-700); }
.finder-chip.is-active { background: var(--green-900); color: var(--cream); border-color: var(--green-900); }

html:not(.js) .finder-js { display: none; }
html.js .finder-nojs-note { display: none; }
.finder-nojs-note { margin: 0 0 .65rem; color: var(--ink-soft); font-size: .92rem; }

/* Give the overlapping finder a little air above the tiles. */
.finder-band + .tiles-section { padding-top: clamp(2.25rem, 5vw, 3.75rem); }
