/* ============================================================
   ZINARI VENTURES.
   Theme: black and yellow, dual-mode (white light default / near-black dark).
   --accent is yellow for fills and bars (always with black ink on top);
   --accent-text is deep amber for yellow-toned text and icons on light
   ground, so small text keeps WCAG AA. Hero carries its own per-produce
   palette and is independent of these tokens.
   Shape rule: containers 14px, interactive elements pill, inputs 10px.
   ============================================================ */

:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F6F6F4;
  --surface: #FFFFFF;
  --text: #141414;
  --text-dim: #3A3A38;
  --text-muted: #6B6B69;
  --line: rgba(20,20,20,0.15);
  --accent: #F5B301;
  --accent-strong: #D89B00;
  --accent-text: #946200;
  --accent-ink: #141414;
  --err: #B3372B;
  --scrim: linear-gradient(180deg, rgba(20,20,20,0.0) 30%, rgba(20,20,20,0.8) 100%);
}
:root[data-theme="dark"] {
  --bg: #131313;
  --bg-2: #191919;
  --surface: #1F1F1E;
  --text: #F2F2EF;
  --text-dim: #C8C8C4;
  --text-muted: #979792;
  --line: rgba(242,242,239,0.13);
  --accent: #FFC933;
  --accent-strong: #FFD75E;
  --accent-text: #FFC933;
  --accent-ink: #191100;
  --err: #E8705C;
  --scrim: linear-gradient(180deg, rgba(19,19,19,0.05) 30%, rgba(19,19,19,0.88) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s, color 0.35s;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

h1, h2, h3 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
h2 .tick {
  color: var(--accent-ink); background: var(--accent);
  padding: 0 0.18em; border-radius: 8px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.lede { color: var(--text-dim); max-width: 56ch; margin-top: 1.1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }

/* Buttons: pill, tactile, AA contrast both themes */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border-radius: 999px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 0.92rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s, background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-text); outline-offset: 3px;
}
.btn-fill { background: var(--accent); color: var(--accent-ink); }
.btn-fill:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }

/* ---------- NAV ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 68px; display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 559px) { .nav-actions .btn { display: none; } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.05rem;
}
.nav-logo-text { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.05rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--accent-text); }
.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: none; color: var(--text); cursor: pointer;
  display: grid; place-items: center; font-size: 1.05rem;
  transition: border-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-text); }
.hamburger { display: none; }

.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 49;
  background: var(--bg); border-bottom: 1px solid var(--line);
  display: none; flex-direction: column; padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; padding: 0.85rem 0; font-weight: 500;
  border-bottom: 1px solid var(--line); color: var(--text);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- HERO (mobile first) ----------
   Full-bleed poster: giant produce name behind an oversized photo.
   Background and ink retint per produce; every bg/ink pair in the
   PRODUCE data holds WCAG AA contrast, muted text capped at 90% ink. */
.hero {
  position: relative;
  background: var(--p-bg, #274D25);
  color: var(--p-ink, #F2F0E6);
  padding-top: 68px;
}
.hero-stage {
  position: relative;
  min-height: 66dvh;
  display: grid; place-items: center;
  overflow: hidden;
}
.hero-word {
  position: absolute; inset: 0;
  display: grid; place-items: start center;
  padding-top: 5dvh;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--p-ink);
  white-space: nowrap;
  user-select: none;
}
.hero-photo {
  position: relative; z-index: 1;
  width: min(74vw, 56dvh);
  aspect-ratio: 1;
  margin-top: 10dvh;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  box-shadow: 0 42px 90px -30px rgba(0,0,0,0.55);
}
.hero-stage.swapping .hero-photo img { opacity: 0; transform: scale(0.95); }
.hero-stage.swapping .hero-word { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero { transition: background-color 0.7s ease, color 0.7s ease; }
  .hero-photo img { transition: opacity 0.35s ease, transform 0.35s ease; }
  .hero-word { transition: opacity 0.35s ease; }
}
.hero-foot {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding-top: 1.6rem; padding-bottom: 2.2rem;
}
.hero-meta { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: color-mix(in srgb, var(--p-ink) 90%, transparent); }
.hero-meta strong { font-weight: 700; color: var(--p-ink); }
.hero-tag { margin-top: 0.5rem; max-width: 38ch; font-size: 0.98rem; color: color-mix(in srgb, var(--p-ink) 90%, transparent); }
.hero-actions { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.btn-ink { background: var(--p-ink); color: var(--p-bg); }
.btn-ink:hover { transform: translateY(-2px); }
.hero :focus-visible { outline: 2px solid var(--p-ink); outline-offset: 3px; }

@media (min-width: 768px) {
  .hero-stage { min-height: 68dvh; }
  .hero-word { place-items: center; padding-top: 0; }
  .hero-photo { width: min(44vw, 60dvh); margin-top: 10dvh; }
  .hero-foot {
    flex-direction: row; align-items: flex-end; justify-content: space-between;
    padding-bottom: 2.6rem;
  }
}

/* Entry animation (hero only, staggered) */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(22px); animation: rise 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
  .rise:nth-child(2) { animation-delay: 0.1s; }
  .rise:nth-child(3) { animation-delay: 0.2s; }
  .rise:nth-child(4) { animation-delay: 0.3s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- SECTIONS ---------- */
section { padding: clamp(4rem, 9vh, 7rem) 0; }

/* Bento: 3 items, 3 asymmetric cells, image-backed */
.bento {
  display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto;
  gap: 1.2rem; margin-top: 3rem;
}
.cell {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; color: var(--text);
  min-height: 240px; display: flex; align-items: flex-end;
  transition: transform 0.3s, border-color 0.3s;
}
.cell:hover { transform: translateY(-5px); border-color: var(--accent); }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell::after { content: ''; position: absolute; inset: 0; background: var(--scrim); }
.cell-body { position: relative; z-index: 1; padding: 1.8rem; }
.cell-body i { font-size: 1.7rem; color: var(--accent-strong); }
:root[data-theme="light"] .cell-body i,
:root[data-theme="light"] .cell-body h3,
:root[data-theme="light"] .cell-body p { color: #F7F5F1; }
:root[data-theme="light"] .cell-body i { color: #FFC933; }
.cell-body h3 { font-size: 1.35rem; margin: 0.6rem 0 0.35rem; color: #F2EFEA; }
.cell-body p { font-size: 0.9rem; color: rgba(242,239,234,0.82); max-width: 40ch; }
.cell-tall { grid-row: span 2; min-height: 500px; }
.cell-plain { background: var(--surface); }
.cell-plain::after { display: none; }
.cell-plain .cell-body h3 { color: var(--text); }
.cell-plain .cell-body p { color: var(--text-dim); }
.cell-plain .cell-body i { color: var(--accent-text); }

/* Produce: horizontal scroll-snap rail */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.rail {
  display: flex; gap: 1.1rem; margin-top: 2.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail-card {
  flex: 0 0 218px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: transform 0.3s, border-color 0.3s;
}
.rail-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.rail-card img { height: 150px; width: 100%; object-fit: cover; }
.rail-card .body { padding: 1rem 1.1rem 1.2rem; }
.rail-card strong { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 1.05rem; }
.rail-card span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Coffee: same theme family, deeper tint (no theme flip) */
.coffee { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coffee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.coffee-media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.coffee-media img { width: 100%; height: 100%; object-fit: cover; }
.regions { margin-top: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.5rem; }
.region { border-top: 2px solid var(--line); padding-top: 0.9rem; }
.region:hover { border-top-color: var(--accent); }
.region strong { font-family: 'Fredoka', sans-serif; font-weight: 500; }
.region span { display: block; font-size: 0.84rem; color: var(--text-muted); margin-top: 0.15rem; }

/* About / stats: no cards, hairline stat row */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 2.5rem; }
.stat { border-left: 2px solid var(--line); padding-left: 1.2rem; }
.stat b {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 2.4rem;
  font-variant-numeric: tabular-nums; color: var(--accent-text); display: block; line-height: 1.1;
}
.stat span { font-size: 0.86rem; color: var(--text-dim); }

/* Contact */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.3rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item i { color: var(--accent-text); font-size: 1.25rem; margin-top: 0.15rem; }
.contact-item small { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.contact-item span { font-weight: 500; }

form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; color: var(--text);
  font-family: 'Nunito', sans-serif; font-size: 0.95rem;
  transition: border-color 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-text); outline: none; }
.field textarea { resize: vertical; }
.field .err { display: none; font-size: 0.8rem; color: var(--err); }
.field.invalid input { border-color: var(--err); }
.field.invalid .err { display: block; }

.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 120%);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.8rem 1.5rem; font-size: 0.9rem; z-index: 60;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.toast.show { transform: translate(-50%, 0); }

/* Footer: light precision footer (mobile first).
   Brand column with notes and world clocks, right link columns with
   mono uppercase labels, centered mono bottom bar. */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}
.ftr-top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.ftr-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 30rem; }
.ftr-note { font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); }
.ftr-clocks { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 0.4rem; padding: 0; }
.ftr-clock { display: flex; flex-direction: column; gap: 0.1rem; }
.clock-time {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.82rem; font-variant-numeric: tabular-nums; color: var(--text);
}
.clock-city { font-size: 0.74rem; color: var(--text-muted); }
.clock-zone {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
}
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.ftr-col { display: flex; flex-direction: column; gap: 0.55rem; }
.ftr-label {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.3rem;
}
.ftr-col a { font-size: 0.9rem; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.ftr-col a:hover { color: var(--accent-text); }
.ftr-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: center; align-items: center; gap: 0.85rem; flex-wrap: wrap;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); text-align: center;
}
.ftr-bottom .sep { color: var(--accent-text); }
.ftr-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ftr-bottom a:hover { color: var(--accent-text); }
@media (min-width: 768px) {
  .ftr-top { grid-template-columns: 1.3fr 1fr; }
  .ftr-cols { display: flex; gap: 3.5rem; justify-content: flex-end; }
}

/* Tinted band (same theme family, no inversion) */
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Process: numbered-free vertical steps, icon badges */
.steps { margin-top: 2.5rem; display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); align-items: start; }
.step-badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 1.3rem;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-dim); font-size: 0.93rem; max-width: 62ch; margin-top: 0.3rem; }

/* Grades: one wide + two, never three equal */
.grades { margin-top: 3rem; display: grid; gap: 1.2rem; }
.grade { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 1.5rem; }
.grade b { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.9rem; color: var(--accent-text); display: block; }
.grade small { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 0.2rem 0 0.6rem; }
.grade p { font-size: 0.9rem; color: var(--text-dim); }
@media (min-width: 768px) {
  .grades { grid-template-columns: 1fr 1fr; }
  .grade-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
  .grade-wide p { max-width: 60ch; }
}

/* Consulting: accordion per discipline */
.acc { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.acc details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.acc summary { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 1.25rem;
}
.acc summary h3 { font-size: 1.2rem; flex: 1; }
.acc-chev { color: var(--text-muted); font-size: 1.2rem; transition: transform 0.25s; }
.acc details[open] .acc-chev { transform: rotate(180deg); }
.acc-body { padding: 0 1.4rem 1.5rem; display: grid; gap: 1rem; }
.acc-lede { grid-column: 1 / -1; color: var(--text-dim); font-size: 0.93rem; max-width: 70ch; }
.svc strong { display: block; font-size: 0.95rem; }
.svc span { font-size: 0.85rem; color: var(--text-muted); }
@media (min-width: 768px) { .acc-body { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }

/* Why us: icon-left rows */
.why-grid { margin-top: 2.5rem; display: grid; gap: 1.8rem; }
.why { display: flex; gap: 1rem; align-items: flex-start; }
.why i { color: var(--accent-text); font-size: 1.5rem; margin-top: 0.1rem; }
.why strong { display: block; font-size: 1.02rem; }
.why p { font-size: 0.9rem; color: var(--text-dim); margin-top: 0.2rem; max-width: 44ch; }
@media (min-width: 768px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }

/* Mission: quote plus icon-top values */
.mission-quote {
  border-left: 4px solid var(--accent); padding-left: 1.4rem; margin-top: 2rem;
  font-family: 'Fredoka', sans-serif; font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.4; max-width: 34ch;
}
.values { margin-top: 3rem; display: grid; gap: 2rem; }
.value i {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 1.25rem;
}
.value strong { display: block; font-size: 1.02rem; margin-top: 0.9rem; }
.value p { font-size: 0.9rem; color: var(--text-dim); margin-top: 0.3rem; max-width: 40ch; }
@media (min-width: 768px) { .values { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }

/* Story prose */
.story-prose { max-width: 64ch; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; color: var(--text-dim); }
.story-prose strong { color: var(--text); }

/* Leadership rows */
.team { margin-top: 3rem; display: flex; flex-direction: column; }
.member { display: grid; gap: 1.2rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.6rem;
  display: grid; place-items: center;
}
.member-role { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.member h3 { font-size: 1.4rem; margin: 0.25rem 0 0.6rem; }
.member p { color: var(--text-dim); font-size: 0.95rem; max-width: 72ch; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag { font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text-dim); }
@media (min-width: 768px) { .member { grid-template-columns: auto 1fr; gap: 2.5rem; } }

/* Footer social */
.ftr-social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.ftr-social a {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text-dim); font-size: 1.05rem;
  text-decoration: none; transition: color 0.2s, border-color 0.2s;
}
.ftr-social a:hover { color: var(--accent-text); border-color: var(--accent); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .hamburger { display: grid; }
  .about-grid, .coffee-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .bento { grid-template-columns: 1fr; }
  .cell-tall { grid-row: auto; min-height: 320px; }
  .contact-grid, .form-row { grid-template-columns: 1fr; }
  .stats { gap: 1.6rem; }
}

/* ---------- CONSULTING PAGE ---------- */
.page-hero { padding: calc(68px + clamp(2rem, 6vh, 3.5rem)) 0 clamp(2.5rem, 6vh, 4rem); }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 16ch; }
.page-hero h1 .tick {
  color: var(--accent-ink); background: var(--accent);
  padding: 0 0.18em; border-radius: 8px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.page-hero-media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .page-hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.disc { padding: 2.8rem 0; border-top: 1px solid var(--line); display: grid; gap: 1.8rem; }
.disc-head .acc-icon { margin-bottom: 1rem; }
.disc-head h2 { font-size: 1.6rem; }
.disc-head p { color: var(--text-dim); font-size: 0.93rem; margin-top: 0.6rem; max-width: 46ch; }
.svc-grid { display: grid; gap: 1.1rem; align-content: start; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
@media (min-width: 768px) { .disc { grid-template-columns: 300px 1fr; gap: 3rem; } }

.book-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 768px) { .book-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

/* ---------- PROCESS HOVER-REVEAL ---------- */
.process-grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
.process-grid .steps { margin-top: 0; }
.process-preview { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.process-preview img { width: 100%; height: 100%; object-fit: cover; }
.process-preview img.swap { opacity: 0; transform: scale(1.04); }
.step { cursor: pointer; padding: 1.5rem 1rem; margin: 0 -1rem; border-radius: 12px; transition: background 0.2s; }
.step.active { background: var(--bg-2); }
@media (prefers-reduced-motion: no-preference) {
  .process-preview img { transition: opacity 0.25s ease, transform 0.25s ease; }
}
@media (min-width: 768px) {
  .process-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .process-preview { position: sticky; top: 92px; aspect-ratio: 4 / 3; }
}

/* ---------- MISSION WITH PHOTO BACKGROUND ---------- */
.mission { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; color: #F5F3EE; }
.mission-bg { position: absolute; inset: 0; }
.mission-bg img { width: 100%; height: 100%; object-fit: cover; }
.mission::after { content: ''; position: absolute; inset: 0; background: rgba(17,15,11,0.86); }
.mission .wrap { position: relative; z-index: 1; }
.mission h2 { color: #F5F3EE; }
.mission .value strong { color: #F5F3EE; }
.mission .value p { color: rgba(245,243,238,0.85); }

/* ---------- WHY US WITH SIDE IMAGE ---------- */
.why-split { display: grid; gap: 2.5rem; margin-top: 2.5rem; align-items: start; }
.why-split .why-grid { margin-top: 0; grid-template-columns: 1fr; }
.why-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.why-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 768px) {
  .why-split { grid-template-columns: 1.1fr 0.9fr; }
  .why-media { position: sticky; top: 92px; aspect-ratio: 4 / 5; }
}

/* ---------- DITHERED BARN SCENE (footer) ---------- */
.ftr-scene { margin-top: 3rem; line-height: 0; color: var(--text-dim); }
.ftr-scene svg { display: block; width: 100%; height: auto; min-height: 70px; }
.ftr-scene + .ftr-bottom { margin-top: 0; }

/* ---------- PRODUCTS PAGE ---------- */
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 2rem; }
.filter-chip {
  padding: 0.55rem 1.2rem; border-radius: 999px; border: 1px solid var(--line);
  background: none; color: var(--text-dim);
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.85rem; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.filter-chip:hover:not(.active) { border-color: var(--accent); color: var(--accent-text); }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 2rem; }
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.product-card.hidden { display: none; }
.product-card img { height: 150px; width: 100%; object-fit: cover; }
.product-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-body strong { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 1.05rem; }
.product-note { font-size: 0.8rem; color: var(--text-muted); }
.price { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.1rem; margin-top: auto; }
.price span { font-size: 0.78rem; color: var(--text-muted); font-family: 'Nunito', sans-serif; font-weight: 700; }
.card-actions { display: flex; gap: 0.6rem; align-items: center; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.stepper button {
  width: 32px; height: 32px; border: none; background: none; color: var(--text);
  cursor: pointer; font-size: 1rem; display: grid; place-items: center;
}
.stepper output { min-width: 26px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.add-btn { flex: 1; justify-content: center; padding: 0.6rem 1rem; font-size: 0.85rem; }

.cart-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.4rem; border-radius: 999px; border: none;
  background: var(--accent); color: var(--accent-ink);
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.35);
}
.cart-fab:active { transform: scale(0.97); }
.cart-count {
  background: var(--accent-ink); color: var(--accent);
  border-radius: 999px; min-width: 22px; height: 22px;
  display: grid; place-items: center; font-size: 0.78rem; padding: 0 6px;
}
.cart-backdrop {
  position: fixed; inset: 0; background: rgba(10,10,10,0.45); z-index: 65;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw);
  background: var(--surface); border-left: 1px solid var(--line); z-index: 70;
  display: flex; flex-direction: column; transform: translateX(105%);
}
@media (prefers-reduced-motion: no-preference) {
  .cart-drawer { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
}
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.3rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: flex; flex-direction: column; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 0.8rem; padding: 0.9rem 0; border-top: 1px solid var(--line); align-items: center; }
.cart-row:first-child { border-top: none; }
.cart-row strong { font-size: 0.95rem; }
.cart-row .sub { font-size: 0.8rem; color: var(--text-muted); }
.cart-row-right { display: flex; align-items: center; gap: 0.7rem; }
.line-total { font-weight: 800; font-size: 0.9rem; min-width: 76px; text-align: right; }
.remove-btn { border: none; background: none; color: var(--text-muted); cursor: pointer; font-size: 1.05rem; }
.remove-btn:hover { color: var(--err); }
.cart-empty { text-align: center; color: var(--text-muted); padding: 3rem 1rem; }
.cart-empty i { font-size: 2.2rem; color: var(--accent-text); display: block; margin-bottom: 0.6rem; }
.cart-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.cart-total { display: flex; justify-content: space-between; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.15rem; }

/* Mobile: each process step shows its own image card (harvest gets the
   harvest photo and so on). Desktop keeps the hover preview panel instead. */
.step-img { display: none; }
@media (max-width: 767px) {
  .process-preview { display: none; }
  .step-img { display: block; margin-top: 0.9rem; }
  .step-img img {
    width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
    border-radius: 12px; border: 1px solid var(--line);
  }
}
