/* ================================================================
   GOOD MUSHROOM — Redesign v4
   Editorial / apothecary direction
   Display: Instrument Serif · Body: Manrope
   Color: refined forest-green system with clay accent
   Mobile-first, fluid, no breakage from 320px → 1920px
   ================================================================ */

:root {
  /* Brand */
  --brand:        oklch(0.62 0.16 145);   /* forest green */
  --brand-deep:   oklch(0.22 0.05 150);   /* near-black forest */
  --brand-mid:    oklch(0.45 0.10 148);
  --brand-soft:   oklch(0.96 0.025 145);  /* tinted surface */
  --brand-veil:   oklch(0.62 0.16 145 / 0.10);
  --clay:         oklch(0.62 0.10 55);    /* warm accent */

  /* Neutrals (ultra-subtle warm whites + cool blacks) */
  --bone:         #FAFAF6;
  --bone-2:       #F1F0E8;
  --bone-3:       #E7E5DA;
  --ink:          #161915;
  --ink-mid:      #545851;
  --ink-light:    #8A8E84;
  --line:         #D9D7CC;
  --line-soft:    #E8E6DC;
  --white:        #ffffff;

  /* Type */
  --font-display: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Scale (fluid) */
  --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --step-1:  clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --step-2:  clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  --step-3:  clamp(1.8rem, 1.45rem + 1.7vw, 2.6rem);
  --step-4:  clamp(2.4rem, 1.8rem + 2.8vw, 3.8rem);
  --step-5:  clamp(3rem,  2rem + 4.5vw,   5.5rem);
  --step-6:  clamp(3.8rem, 2.4rem + 6vw,  7rem);

  /* Spacing */
  --pad-x:    clamp(20px, 4vw, 56px);
  --gap-sm:   clamp(12px, 1.2vw, 18px);
  --gap-md:   clamp(20px, 2.4vw, 32px);
  --gap-lg:   clamp(32px, 4vw, 64px);
  --sec-y:    clamp(64px, 9vw, 140px);

  /* Other */
  --radius:    14px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 25, 18, 0.04), 0 2px 8px rgba(15, 25, 18, 0.04);
  --shadow:    0 6px 22px rgba(15, 25, 18, 0.08);
  --shadow-lg: 0 28px 70px -20px rgba(15, 25, 18, 0.22);
  --transition: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bone); }

/* Type utilities */
.display { font-family: var(--font-display); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; }
.display em { font-style: italic; }
.h-hero { font-family: var(--font-display); font-weight: 400; font-size: var(--step-6); line-height: 0.94; letter-spacing: -0.025em; }
.h-hero em { font-style: italic; color: var(--brand); }
.h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-5); line-height: 0.98; letter-spacing: -0.022em; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.02em; }
.h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.015em; }
.h4 { font-family: var(--font-body);    font-weight: 600; font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.005em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500;
  font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-mid);
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: currentColor; opacity: 0.5;
}
.eyebrow.no-rule::before { display: none; }

.lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink-mid); max-width: 56ch; font-weight: 400; }
.muted { color: var(--ink-mid); }
.mono { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.02em; }

/* Container */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-narrow { max-width: 960px; }
.wrap-wide { max-width: 1440px; }

/* Section */
section { padding: var(--sec-y) 0; position: relative; }
.sec-tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec-bone-2 { background: var(--bone-2); }
.sec-dark { background: var(--brand-deep); color: var(--bone); }
.sec-dark .muted { color: rgba(255,255,255,0.65); }
.sec-dark .eyebrow { color: rgba(255,255,255,0.7); }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; min-height: 48px;
  font-family: var(--font-body); font-weight: 500; font-size: var(--step-0);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform 0.25s var(--transition), background 0.25s var(--transition), color 0.25s var(--transition), border-color 0.25s var(--transition), box-shadow 0.25s var(--transition);
  white-space: nowrap; user-select: none;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; }

.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--brand-deep); }

.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--brand-mid); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }

.btn-ghost { background: transparent; color: var(--ink); padding: 12px 0; min-height: auto; }
.btn-ghost:hover { color: var(--brand); }

.btn-on-dark { background: var(--bone); color: var(--ink); }
.btn-on-dark:hover { background: var(--brand); color: var(--white); }
.btn-outline-on-dark { background: transparent; color: var(--bone); border-color: rgba(255,255,255,0.25); }
.btn-outline-on-dark:hover { border-color: var(--bone); background: rgba(255,255,255,0.06); }

.btn-sm { padding: 10px 16px; min-height: 38px; font-size: var(--step--1); }
.btn-lg { padding: 16px 28px; min-height: 56px; font-size: var(--step-0); }

/* Link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: gap 0.25s var(--transition), border-color 0.25s var(--transition), color 0.25s var(--transition);
}
.link-arrow:hover { gap: 14px; border-color: var(--brand); color: var(--brand); }
.link-arrow .arr { transition: transform 0.25s var(--transition); }
.link-arrow:hover .arr { transform: translateX(2px); }

/* ================================================================
   ANNOUNCE BAR
   ================================================================ */
.announce {
  background: var(--brand-deep); color: var(--bone);
  font-size: var(--step--1); letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.announce-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px var(--pad-x);
  text-align: center;
}
.announce-inner .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(55,172,40,0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bone) 88%, transparent);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--transition), background 0.3s var(--transition);
}
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md);
  padding: 16px var(--pad-x);
  max-width: var(--container); margin: 0 auto;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-logo-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand);
  position: relative; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-logo-mark::after {
  content: ''; width: 13px; height: 13px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--bone);
  margin-top: -2px;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-block; padding: 8px 14px;
  font-size: var(--step--1); font-weight: 500;
  color: var(--ink-mid); border-radius: var(--radius-pill);
  transition: color 0.2s var(--transition), background 0.2s var(--transition);
}
.nav-links a:hover { color: var(--ink); background: var(--bone-2); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; }
.nav-hamburger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ink); color: var(--bone);
}
.nav-hamburger svg { width: 18px; height: 18px; }
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-hamburger { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bone);
  display: flex; flex-direction: column;
  padding: 24px var(--pad-x) 32px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--transition);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 24px;
}
.mobile-menu-close {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-menu-links {
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.mobile-menu-links a {
  font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.4rem);
  font-weight: 400; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink);
}
.mobile-menu-links a .arr { color: var(--ink-light); font-size: 1.2rem; }
.mobile-menu-links a:hover { color: var(--brand); }
.mobile-menu-foot {
  display: flex; flex-direction: column; gap: 12px; margin-top: 32px;
}
.mobile-menu-meta {
  display: flex; gap: var(--gap-md); flex-wrap: wrap;
  font-size: var(--step--1); color: var(--ink-light);
  padding-top: 24px; border-top: 1px solid var(--line-soft);
  margin-top: 24px;
}

/* ================================================================
   HERO — editorial split
   ================================================================ */
.hero {
  padding: clamp(40px, 6vw, 96px) 0 clamp(72px, 9vw, 140px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.hero-copy { padding-top: clamp(20px, 4vw, 60px); }
.hero-eyebrow { margin-bottom: clamp(24px, 4vw, 40px); }
.hero h1 { margin-bottom: clamp(28px, 3vw, 40px); }
.hero h1 .accent { color: var(--brand); font-style: italic; }
.hero-lede { margin-bottom: clamp(28px, 3vw, 40px); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bone-3);
  box-shadow: var(--shadow-lg);
}
.hero-art picture { display: block; width: 100%; height: 100%; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.04);
  transition: transform 8s linear;
}
.hero-art:hover img { transform: scale(1.10); }
.hero-art-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,25,18,0) 40%, rgba(15,25,18,0.65) 100%);
}
.hero-art-tag {
  position: absolute; top: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  font-size: var(--step--2); font-weight: 600; color: var(--ink);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-art-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero-art-caption {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  color: var(--bone);
  font-family: var(--font-display); font-size: var(--step-2);
  line-height: 1.05; letter-spacing: -0.01em;
}
.hero-art-caption small {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-size: var(--step--1);
  color: rgba(255,255,255,0.78); letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 400;
}
.hero-meta {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  padding-top: var(--gap-md);
  border-top: 1px solid var(--line);
}
.hero-meta dt {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-light); margin-bottom: 6px;
}
.hero-meta dd {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1; letter-spacing: -0.015em;
  color: var(--ink);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
  .hero-art { aspect-ratio: 4 / 3; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: var(--gap-sm) var(--gap-md); }
}
@media (max-width: 480px) {
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; }
  .hero-art-caption { font-size: 1.5rem; }
  .hero-meta dd { font-size: 1.5rem; }
}

/* ================================================================
   MARQUEE / CERT STRIP
   ================================================================ */
.cert-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}
.cert-strip-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(20px, 3vw, 28px) var(--pad-x);
}
.cert-strip-label {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-light); white-space: nowrap;
}
.cert-strip-items {
  display: flex; gap: clamp(16px, 3vw, 36px); flex-wrap: wrap;
  align-items: center; justify-content: center;
}
.cert-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--step--1); font-weight: 600; color: var(--ink);
  letter-spacing: 0.02em;
}
.cert-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}

/* ================================================================
   SECTION HEADER
   ================================================================ */
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 { max-width: 16ch; }
.sec-head-end { color: var(--ink-mid); }
.sec-head-end p { font-size: var(--step-0); line-height: 1.55; max-width: 50ch; }
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: var(--gap-md); align-items: start; }
}

/* ================================================================
   DUAL TRACK (buyers / farmers)
   ================================================================ */
.dual {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.dual-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  background: var(--bone-2);
  border: 1px solid transparent;
  transition: border-color 0.3s var(--transition), transform 0.3s var(--transition);
  min-height: clamp(340px, 30vw, 460px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.dual-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.dual-card.dark { background: var(--brand-deep); color: var(--bone); }
.dual-card.dark .dual-num { color: var(--brand); border-color: rgba(255,255,255,0.18); }
.dual-card.dark .dual-meta { color: rgba(255,255,255,0.62); }
.dual-num {
  display: inline-flex; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: var(--step--1);
  color: var(--brand);
}
.dual-body { margin-top: clamp(36px, 5vw, 56px); }
.dual-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.02; letter-spacing: -0.015em;
  margin-bottom: 14px; max-width: 16ch;
}
.dual-body h3 em { color: var(--brand); font-style: italic; }
.dual-body p { font-size: var(--step-0); line-height: 1.55; max-width: 42ch; opacity: 0.85; }
.dual-meta {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-light);
}
.dual-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dual-meta span::before { content: '·'; }
.dual-meta span:first-child::before { display: none; }
.dual-foot {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid currentColor;
  border-top-color: var(--line);
}
.dual-card.dark .dual-foot { border-top-color: rgba(255,255,255,0.12); }
.dual-foot .link-arrow {
  border-bottom: none; padding-bottom: 0;
}
.dual-card.dark .link-arrow { color: var(--bone); }
.dual-card.dark .link-arrow:hover { color: var(--brand); }
@media (max-width: 760px) {
  .dual { grid-template-columns: 1fr; }
}

/* ================================================================
   PRODUCTS — refined grid
   ================================================================ */
.cat-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(28px, 3vw, 40px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center; justify-content: space-between;
}
.cat-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-filter {
  padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: transparent;
  font-size: var(--step--1); font-weight: 500; color: var(--ink-mid);
  transition: all 0.2s var(--transition);
}
.cat-filter:hover { border-color: var(--ink); color: var(--ink); }
.cat-filter.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.cat-count {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-light);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.cat-card {
  position: relative; display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--transition), border-color 0.3s var(--transition), box-shadow 0.4s var(--transition);
  color: var(--ink);
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.cat-card-image {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--bone-3);
  position: relative;
}
.cat-card-image picture { display: block; width: 100%; height: 100%; }
.cat-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s var(--transition);
}
.cat-card:hover .cat-card-image img { transform: scale(1.06); }
.cat-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink); font-weight: 500;
}
.cat-card-body {
  padding: clamp(20px, 2vw, 24px);
  display: flex; flex-direction: column; gap: 6px;
}
.cat-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.05; letter-spacing: -0.01em;
  color: var(--ink);
}
.cat-card-latin {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--step--1); color: var(--ink-mid);
}
.cat-card-meta {
  margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-light);
}
.cat-card-meta .arr {
  color: var(--ink); font-family: var(--font-body); font-size: var(--step-0);
  transition: transform 0.3s var(--transition);
}
.cat-card:hover .cat-card-meta .arr { transform: translateX(4px); color: var(--brand); }

/* ================================================================
   PROCESS / TIMELINE
   ================================================================ */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.process-step {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.process-num {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand); margin-bottom: 16px;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.05; letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.process-step p { font-size: var(--step--1); line-height: 1.55; color: var(--ink-mid); }
.sec-dark .process-step { border-top-color: rgba(255,255,255,0.25); }
.sec-dark .process-step p { color: rgba(255,255,255,0.7); }
@media (max-width: 880px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; }
}

/* ================================================================
   QUOTE / TESTIMONIAL — editorial pull
   ================================================================ */
.quote {
  display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-mark {
  font-family: var(--font-display); font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.7; color: var(--brand);
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-text em { color: var(--brand); }
.quote-author {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-body); font-size: var(--step--1);
  color: var(--ink-mid);
}
.quote-author strong { color: var(--ink); font-weight: 600; display: block; }
.quote-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--brand);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .quote { grid-template-columns: 1fr; gap: 24px; }
  .quote-mark { font-size: 6rem; }
}

/* ================================================================
   ABOUT / EDITORIAL ROW
   ================================================================ */
.editorial {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.editorial-image {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--bone-3);
}
.editorial-image picture,
.editorial-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.editorial-image-caption {
  position: absolute; left: 24px; bottom: 24px;
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bone);
  background: rgba(15,25,18,0.5); backdrop-filter: blur(6px);
  padding: 8px 12px; border-radius: var(--radius-pill);
}
.editorial-copy h2 { margin-bottom: clamp(20px, 2vw, 28px); max-width: 14ch; }
.editorial-copy p { font-size: var(--step-1); line-height: 1.5; color: var(--ink-mid); margin-bottom: 18px; max-width: 52ch; }
.editorial-copy .lede + p { font-size: var(--step-0); color: var(--ink-mid); }
.editorial-stats {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  padding-top: var(--gap-md);
  border-top: 1px solid var(--line);
}
.editorial-stats dt {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-light);
}
.editorial-stats dd {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1; letter-spacing: -0.015em; color: var(--ink);
}
@media (max-width: 880px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  .editorial-image { aspect-ratio: 4 / 3; max-width: 560px; }
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta {
  background: var(--brand-deep); color: var(--bone);
  border-radius: 0;
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: auto -10% -40% auto;
  width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.62 0.16 145 / 0.35), transparent 60%);
  filter: blur(60px); pointer-events: none;
}
.final-cta-inner {
  position: relative; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--gap-lg); align-items: end;
}
.final-cta h2 { color: var(--bone); max-width: 14ch; }
.final-cta h2 em { color: var(--brand); font-style: italic; }
.final-cta .lede { color: rgba(255,255,255,0.7); margin-top: 20px; max-width: 50ch; }
.final-cta-actions {
  display: flex; flex-direction: column; gap: 12px;
  min-width: 240px;
}
@media (max-width: 760px) {
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .final-cta-actions .btn { flex: 1; min-width: 140px; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.foot {
  background: var(--ink); color: rgba(255,255,255,0.65);
  padding: clamp(48px, 6vw, 80px) 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.foot-brand h3 {
  font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--bone); margin-bottom: 12px;
  line-height: 1; letter-spacing: -0.015em;
}
.foot-brand h3 em { color: var(--brand); font-style: italic; }
.foot-brand p { font-size: var(--step--1); max-width: 32ch; }
.foot-col h5 {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5); margin-bottom: 18px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: var(--step--1); color: rgba(255,255,255,0.75); transition: color 0.2s; }
.foot-col a:hover { color: var(--brand); }
.foot-contact { display: flex; flex-direction: column; gap: 10px; font-size: var(--step--1); }
.foot-contact a { color: rgba(255,255,255,0.75); }
.foot-contact a:hover { color: var(--brand); }
.foot-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: var(--step--2); color: rgba(255,255,255,0.45);
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   FLOATING ACTIONS (WhatsApp + back to top)
   ================================================================ */
.wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366; color: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  font-weight: 600; font-size: var(--step--1);
  transition: transform 0.25s var(--transition);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float .wa-icon {
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 720px) {
  .wa-float { bottom: 80px; padding: 12px; }
  .wa-float .wa-label { display: none; }
}

.smb {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 8px;
  gap: 6px;
}
.smb a {
  flex: 1; padding: 12px 8px;
  text-align: center;
  font-size: var(--step--1); font-weight: 600;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px;
}
.smb a.primary { background: var(--ink); color: var(--bone); }
.smb a.brand { background: var(--brand); color: var(--white); }
.smb a.wa { background: #25D366; color: var(--white); }
@media (max-width: 720px) {
  .smb { display: flex; }
  body { padding-bottom: 64px; }
}

/* ================================================================
   REVEAL
   ================================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ================================================================
   SMALL UTILITIES
   ================================================================ */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--gap-sm); }
.gap-md { gap: var(--gap-md); }
.text-center { text-align: center; }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }
.hidden { display: none !important; }

/* ================================================================
   GOOD MUSHROOM — Local overrides (post-import)
   ================================================================ */

/* Use the real logo image in the nav and footer brand, hide the
   CSS-drawn mushroom mark and the inline serif wordmark from the
   mockup. Keeps the design language; keeps the brand logo. */
.nav-logo > .nav-logo-mark { display: none !important; }
.nav-logo > span:not(.nav-logo-mark) { display: none !important; }
.nav-logo img.brand-img {
  display: block;
  height: 40px;
  width: auto;
}
.foot-brand img.brand-img {
  height: 56px; width: auto;
  margin-bottom: 18px;
}
.foot-brand h3 { display: none; }

/* Mobile-menu logo (also overridden to image) */
.mobile-menu .nav-logo > .nav-logo-mark { display: none !important; }
.mobile-menu .nav-logo > span:not(.nav-logo-mark) { display: none !important; }
.mobile-menu .nav-logo img.brand-img { height: 36px; }

@media (max-width: 600px) {
  .nav-logo img.brand-img { height: 36px; }
}

/* ---- Page hero (interior pages) ---- */
.page-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}
.page-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--step-5); line-height: 0.98; letter-spacing: -0.022em;
  color: var(--ink); max-width: 16ch;
}
.page-hero h1 em { color: var(--brand); font-style: italic; }
.page-hero .lede { margin-top: 24px; color: var(--ink-mid); }
.breadcrumb {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-light); margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-mid); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.breadcrumb a:hover { color: var(--brand); border-color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-light); }
@media (max-width: 880px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 28px; align-items: start; }
}

.page-hero-art {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bone-3); box-shadow: var(--shadow-lg);
}
.page-hero-art picture,
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-art-caption {
  position: absolute; left: 18px; bottom: 18px;
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bone);
  background: rgba(15,25,18,0.5); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: var(--radius-pill);
}

/* ---- Forms ---- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.form-card.dark {
  background: var(--brand-deep); color: var(--bone);
  border-color: rgba(255,255,255,0.10);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--font-mono);
  font-size: var(--step--2); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-mid);
  margin-bottom: 8px;
}
.form-card.dark .form-group label { color: rgba(255,255,255,0.65); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; min-height: 48px;
  background: var(--bone); border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  transition: border-color 0.2s var(--transition), background 0.2s var(--transition);
}
.form-card.dark .form-group input,
.form-card.dark .form-group select,
.form-card.dark .form-group textarea {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); color: var(--bone);
}
.form-card.dark .form-group input::placeholder,
.form-card.dark .form-group textarea::placeholder { color: rgba(255,255,255,0.40); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand); background: var(--white);
}
.form-card.dark .form-group input:focus,
.form-card.dark .form-group select:focus,
.form-card.dark .form-group textarea:focus {
  background: rgba(255,255,255,0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .field-error { border-color: #c63a3a; }
.form-note {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-light); margin-top: 14px; text-align: center;
}
.form-card.dark .form-note { color: rgba(255,255,255,0.55); }
.success-msg {
  display: none; margin-top: 16px; padding: 14px 18px;
  background: var(--brand-veil); border: 1px solid var(--brand);
  border-radius: var(--radius);
  font-size: var(--step--1); color: var(--ink);
}
.form-card.dark .success-msg { background: rgba(55,172,40,0.18); color: var(--bone); }

/* ---- Form tabs (contact page) ---- */
.contact-tabs {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--bone-2); border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.contact-tabs .tab-btn {
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 500;
  font-size: var(--step--1); color: var(--ink-mid);
  background: transparent;
  transition: background 0.2s var(--transition), color 0.2s var(--transition);
}
.contact-tabs .tab-btn:hover { color: var(--ink); }
.contact-tabs .tab-btn.active {
  background: var(--ink); color: var(--bone);
}
.form-panel { display: none; }
.form-panel.active { display: block; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: clamp(20px, 2vw, 28px) 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; width: 100%; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 400; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-toggle {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 1rem;
  color: var(--ink-mid);
  transition: background 0.25s var(--transition), color 0.25s var(--transition), transform 0.25s var(--transition), border-color 0.25s var(--transition);
}
.faq-item.open .faq-toggle {
  background: var(--brand); color: var(--white);
  border-color: var(--brand); transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--transition), padding 0.3s var(--transition);
}
.faq-answer-inner { padding-top: 16px; font-size: var(--step--1); line-height: 1.6; color: var(--ink-mid); max-width: 64ch; }
.faq-item.open .faq-answer { max-height: 600px; }

/* ---- Spec list (product pages) ---- */
.spec-list {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(24px, 3vw, 32px);
}
.spec-row {
  display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 18px; padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec-row:last-child { border-bottom-color: var(--line); }
.spec-key {
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-light);
}
.spec-val { font-size: var(--step--1); line-height: 1.55; color: var(--ink); }
.sec-dark .spec-row { border-bottom-color: rgba(255,255,255,0.10); }
.sec-dark .spec-row:last-child { border-bottom-color: rgba(255,255,255,0.18); }
.sec-dark .spec-key { color: rgba(255,255,255,0.55); }
.sec-dark .spec-val { color: var(--bone); }
@media (max-width: 600px) {
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---- Price callout ---- */
.price-callout {
  background: var(--brand-veil);
  border-left: 3px solid var(--brand);
  padding: 20px 24px;
  margin-top: clamp(24px, 3vw, 32px);
  font-size: var(--step--1); line-height: 1.6;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.price-callout strong { color: var(--ink); }
.sec-dark .price-callout {
  background: rgba(55,172,40,0.12);
  border-left-color: var(--brand);
  color: rgba(255,255,255,0.85);
}
.sec-dark .price-callout strong { color: var(--bone); }

/* ---- Two-up section grid (spec + form) ---- */
.two-up {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}
@media (max-width: 900px) { .two-up { grid-template-columns: 1fr; gap: 36px; } }

/* ---- Editorial helper (reverse) ---- */
.editorial.reverse { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.editorial.reverse .editorial-image { order: 2; }
@media (max-width: 880px) { .editorial.reverse .editorial-image { order: 0; } }

/* ---- Process timeline alt layout (single col on small) ---- */
@media (max-width: 600px) {
  .process-step { padding-top: 18px; }
}

/* ---- Small visual fix: mono inline tags ---- */
.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-mid);
}
.tag-pill::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand);
}
