/* ===========================================================================
   Fernwell Nutrition & Wellness Studio · design system
   Archetype: Nature-Distilled Calm (#8), warm/food-forward adaptation.
   Fonts: Bricolage Grotesque (display) + Hanken Grotesk (body/UI).
   =========================================================================== */

:root {
  /* palette (named hexes) */
  --oat: #f4efe3;          /* base, warm cream */
  --bare: #eae3d2;         /* whisper-tinted band */
  --ink: #232821;          /* Bark, warm dark green-brown */
  --forest: #1e3327;       /* Deep Forest, structure + hero canvas + primary fill */
  --forest-2: #274536;     /* panel on dark */
  --leaf: #5f8a2f;         /* accent, graphic/badge/icon */
  --leaf-deep: #456a22;    /* accent text on light (AA) */
  --chartreuse: #b7d16a;   /* bright accent, on dark */
  --stone: #6f6d61;        /* muted secondary text on light */
  --fog: #e3ddcf;          /* hairline divider */
  --cream: #f1ece0;        /* text on dark */
  --sage: #b6c1af;         /* muted text on dark */

  /* type scale (foundations §2.2) */
  --fs-hero: clamp(2.6rem, 1.15rem + 5.4vw, 4.85rem);
  --fs-h1:   clamp(2.15rem, 1.2rem + 3.5vw, 3.4rem);
  --fs-h2:   clamp(1.7rem, 1.15rem + 1.9vw, 2.35rem);
  --fs-h3:   clamp(1.18rem, 1rem + 0.72vw, 1.42rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  --fs-small: 0.875rem;
  --fs-kicker: 0.75rem;

  /* spacing */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px; --s10:128px; --s11:160px;

  /* radius */
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;

  /* shadow (green-tinted ink) */
  --sh-1: 0 1px 2px rgba(30,51,39,.06), 0 4px 14px rgba(30,51,39,.06);
  --sh-2: 0 2px 4px rgba(30,51,39,.08), 0 14px 32px rgba(30,51,39,.11);

  /* motion */
  --t-fast: 150ms; --t-base: 240ms; --t-slow: 520ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1220px;

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

/* reset / base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--oat);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--leaf-deep); outline-offset: 2px; border-radius: 3px; }
.section--dark :focus-visible { outline-color: var(--chartreuse); }

/* skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; z-index: 200; }
.skip:focus { left: 0; }

/* layout primitives */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s5); }
.section { padding-block: clamp(64px, 4vw + 40px, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 3vw + 30px, 84px); }
.section--bare { background: var(--bare); }
/* muted 'stone' drops to 4.07:1 directly on the bare band; body/lead copy that sits
   on the band itself uses full ink (cards keep their own lighter surface). */
.section--bare > .wrap .lead { color: var(--ink); }
.section--dark { background: var(--forest); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.measure { max-width: 62ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: var(--fs-kicker); font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--leaf-deep);
  margin-bottom: var(--s3);
}
.section--dark .kicker { color: var(--chartreuse); }
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow-num { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--leaf); }
.lead { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.22rem); color: var(--stone); line-height: 1.6; }
.section--dark .lead { color: var(--sage); }
.center { text-align: center; }
.center .kicker { justify-content: center; }
.center .measure { margin-inline: auto; }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.975rem;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--t-base) var(--ease); }
.btn:active { transform: scale(0.97); }
/* sliding-fill primary */
.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--leaf); transform: translateX(-101%); transition: transform 600ms var(--ease); }
.btn--primary:hover::before { transform: translateX(0); }
.btn--primary:hover { color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover svg { transform: translateX(4px); }
/* on dark surfaces, invert to cream fill */
.section--dark .btn--primary, .btn--cream { background: var(--oat); color: var(--forest); }
.section--dark .btn--primary::before, .btn--cream::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--chartreuse); transform: translateX(-101%); transition: transform 600ms var(--ease); }
.section--dark .btn--primary:hover, .btn--cream:hover { color: var(--forest); box-shadow: none; }
.section--dark .btn--primary:hover::before, .btn--cream:hover::before { transform: translateX(0); }
.btn--ghost { background: transparent; color: currentColor; border: 1.5px solid rgba(35,40,33,.24); }
.section--dark .btn--ghost { border-color: rgba(241,236,224,.32); }
.btn--ghost:hover { border-color: var(--leaf-deep); color: var(--leaf-deep); }
.section--dark .btn--ghost:hover { border-color: var(--chartreuse); color: var(--chartreuse); }

/* text link with underline-out */
.tlink { position: relative; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--leaf-deep); }
.section--dark .tlink { color: var(--chartreuse); }
.tlink svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }
.tlink::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.tlink:hover::after { transform: scaleX(1); }
.tlink:hover svg { transform: translateX(4px); }

/* ---- utility bar + header ---- */
.utility { background: var(--forest); color: var(--sage); font-size: var(--fs-small); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 7px; }
.utility a { display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--chartreuse); }
.utility svg { width: 15px; height: 15px; color: var(--chartreuse); }
.utility .u-right { display: flex; gap: 20px; }

.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--oat) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--fog); }
.site-header.on-dark { background: color-mix(in srgb, var(--forest) 90%, transparent); border-bottom-color: rgba(241,236,224,.12); }
.site-header::before { content: ""; position: absolute; inset: 0; background: inherit; z-index: -1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; color: var(--forest); }
.on-dark .brand { color: var(--cream); }
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--r-pill); font-weight: 500; font-size: 0.96rem; color: var(--ink); transition: color var(--t-fast), background var(--t-fast); }
.on-dark .nav-links a { color: var(--cream); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--leaf-deep); }
.on-dark .nav-links a:hover, .on-dark .nav-links a[aria-current="page"] { color: var(--chartreuse); }
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* dropdown */
.has-drop { position: relative; }
.drop-btn { display: inline-flex; align-items: center; gap: 5px; }
.drop-btn svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.drop-panel { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--oat); border: 1px solid var(--fog); border-radius: var(--r-md); box-shadow: var(--sh-2); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base); }
.has-drop:hover .drop-panel, .has-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop:hover .drop-btn svg { transform: rotate(180deg); }
.drop-panel a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 0.92rem; color: var(--ink); }
.drop-panel a:hover { background: var(--bare); color: var(--leaf-deep); }

/* mobile nav */
.hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hamburger svg { width: 26px; height: 26px; }
.mobile-panel { display: none; }

/* ---- HERO ---- */
.hero { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; padding-block: clamp(56px, 6vw, 104px) clamp(96px, 9vw, 150px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; z-index: 2; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--chartreuse); font-style: italic; font-weight: 700; }
.hero h1 .dim { color: var(--sage); }
/* headline line-breaks are design intent on wide viewports; drop them so the money
   headline wraps at natural word boundaries on narrow screens (no clipped words). */
.hero h1 .hbr { display: none; }
@media (min-width: 641px) { .hero h1 .hbr { display: inline; } }
.hero .lead { color: var(--sage); max-width: 46ch; margin-top: var(--s5); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--s7); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid rgba(241,236,224,.14); }
.hero-proof .pf { display: flex; align-items: center; gap: 10px; }
.hero-proof svg { width: 22px; height: 22px; color: var(--chartreuse); flex-shrink: 0; }
.hero-proof .pf-t { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.hero-proof .pf-n { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.hero-proof .pf-l { font-size: var(--fs-small); color: var(--sage); line-height: 1.25; }

/* hero media · organic mask + ambient scatter */
.hero-media { position: relative; aspect-ratio: 1 / 1; min-width: 0; }
.hero-media .bowl { width: 100%; height: 100%; object-fit: cover; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; outline: 1px solid rgba(255,255,255,.1); outline-offset: -1px; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.hero-media .sprig { position: absolute; color: var(--chartreuse); opacity: .85; will-change: transform; }
.hero-media .sprig--1 { top: -4%; left: -6%; width: 82px; }
.hero-media .sprig--2 { bottom: 2%; right: -5%; width: 96px; color: var(--leaf); }
.hero-media .sprig--3 { top: 40%; right: -10%; width: 58px; }
.hero-media .dotring { position: absolute; top: 6%; right: 8%; width: 70px; height: 70px; border: 1.5px dashed rgba(183,209,106,.5); border-radius: 50%; }

/* curved organic divider */
.divider-wave { display: block; width: 100%; height: auto; margin-top: -1px; color: var(--oat); }
.divider-wave--bare { color: var(--bare); }
.divider-wave--forest { color: var(--forest); }

/* ---- stat band ---- */
.statband { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.stat { text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); color: var(--chartreuse); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 8px; font-size: 0.92rem; color: var(--sage); }
.statband .leaf-edge { position: absolute; color: var(--forest-2); opacity: .55; z-index: 1; }
.statband .leaf-edge--l { left: -30px; top: 50%; transform: translateY(-50%); width: 150px; }
.statband .leaf-edge--r { right: -30px; top: 50%; transform: translateY(-50%) scaleX(-1); width: 150px; }

/* ---- card rows ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card { background: var(--oat); border: 1px solid var(--fog); border-radius: var(--r-md); padding: var(--s6); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base); display: flex; flex-direction: column; }
.section--bare .card { background: #fbf8f1; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.badge-ico { width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--leaf) 16%, var(--oat)); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s4); flex-shrink: 0; }
.badge-ico svg { width: 26px; height: 26px; color: var(--leaf-deep); }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.card p { color: var(--stone); font-size: 0.97rem; line-height: 1.55; flex-grow: 1; }
.card .tlink { margin-top: var(--s4); }
.card .num { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--leaf); margin-bottom: var(--s3); }

/* image cards (programs / recipes / journal) */
.icard { background: #fbf8f1; border: 1px solid var(--fog); border-radius: var(--r-md); overflow: hidden; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); display: flex; flex-direction: column; }
.icard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.icard .ph { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.icard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.icard:hover .ph img { transform: scale(1.04); }
.icard .tag { position: absolute; top: 12px; left: 12px; background: color-mix(in srgb, var(--forest) 88%, transparent); color: var(--chartreuse); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.icard .bd { padding: var(--s5) var(--s6) var(--s6); display: flex; flex-direction: column; flex-grow: 1; }
.icard h3 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.icard p { color: var(--stone); font-size: 0.95rem; line-height: 1.55; flex-grow: 1; }
.icard .meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--stone); margin-top: var(--s4); }
.icard .meta span { display: inline-flex; align-items: center; gap: 5px; }
.icard .meta svg { width: 15px; height: 15px; color: var(--leaf); }
.icard .bd .tlink { margin-top: var(--s4); }

/* ---- alternating feature ---- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature--rev .feat-media { order: 2; }
.feat-media { position: relative; }
.feat-media img { width: 100%; border-radius: var(--r-lg); outline: 1px solid rgba(35,40,33,.08); outline-offset: -1px; box-shadow: var(--sh-1); }
.feat-media .ghost { position: absolute; z-index: -1; color: color-mix(in srgb, var(--leaf) 30%, transparent); opacity: .5; }
.feat-media .ghost--tr { top: -40px; right: -40px; width: 170px; }
.feat-media .ghost--bl { bottom: -34px; left: -34px; width: 140px; }
.checklist { list-style: none; padding: 0; margin-top: var(--s5); display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist svg { width: 22px; height: 22px; color: var(--leaf-deep); flex-shrink: 0; margin-top: 2px; }
.checklist b { font-weight: 600; }
.checklist span.t { color: var(--stone); font-size: 0.96rem; }
.section--dark .checklist svg { color: var(--chartreuse); }
.section--dark .checklist span.t { color: var(--sage); }

/* ---- testimonials ---- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: #fbf8f1; border: 1px solid var(--fog); border-radius: var(--r-md); padding: var(--s6); }
.stars { display: flex; gap: 3px; margin-bottom: var(--s4); }
.stars svg { width: 18px; height: 18px; color: var(--leaf); }
.tcard blockquote { font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: var(--s5); }
.tcard .who .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bare); }
.tcard .who b { display: block; font-weight: 600; font-size: 0.95rem; }
.tcard .who span { font-size: 0.83rem; color: var(--stone); }

/* ---- forms ---- */
.form-card { background: #fbf8f1; border: 1px solid var(--fog); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--sh-1); }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; min-height: 46px; border: 1.5px solid var(--fog); border-radius: var(--r-sm); background: var(--oat); font: inherit; color: var(--ink); transition: border-color var(--t-fast); }
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf-deep); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.consent { font-size: 0.8rem; color: var(--stone); margin-top: 4px; }
.form-success { display: none; text-align: center; padding: var(--s6); }
.form-success svg { width: 52px; height: 52px; color: var(--leaf-deep); margin: 0 auto var(--s4); }
.form-success h3 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.form-success p { color: var(--stone); }
form.sent .form-body { display: none; }
form.sent .form-success { display: block; }

/* newsletter inline */
.subscribe { display: flex; gap: 10px; margin-top: var(--s5); flex-wrap: wrap; }
.subscribe input { flex: 1 1 220px; min-height: 48px; padding: 12px 16px; border-radius: var(--r-pill); border: 1.5px solid rgba(241,236,224,.3); background: rgba(241,236,224,.08); color: var(--cream); }
.subscribe input::placeholder { color: var(--sage); }
.subscribe input:focus { outline: none; border-color: var(--chartreuse); }

/* ---- CTA band ---- */
.cta-band { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.cta-band h2 { font-size: var(--fs-h1); }
.cta-panels { display: grid; gap: 16px; }
.cta-panel { background: var(--forest-2); border: 1px solid rgba(241,236,224,.12); border-radius: var(--r-md); padding: var(--s6); }
.cta-panel h3 { font-size: 1.12rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.cta-panel h3 svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--chartreuse); }
.cta-panel p { color: var(--sage); font-size: 0.92rem; }
.cta-band .leaf-bg { position: absolute; right: -60px; bottom: -60px; width: 340px; color: var(--forest-2); opacity: .5; z-index: 1; }

/* ---- recipe / article body ---- */
.article { max-width: 760px; margin-inline: auto; }
.article .lede { font-size: 1.16rem; color: var(--stone); line-height: 1.6; margin-bottom: var(--s6); }
.article h2 { font-size: var(--fs-h2); margin: var(--s7) 0 var(--s4); }
.article h3 { font-size: var(--fs-h3); margin: var(--s6) 0 var(--s3); }
.article p { margin-bottom: var(--s4); color: var(--ink); }
.article ul, .article ol { margin: 0 0 var(--s5) 1.1rem; color: var(--ink); }
.article li { margin-bottom: 8px; }
.article img.body-img { border-radius: var(--r-md); margin: var(--s6) 0; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 28px; padding: var(--s5) 0; border-block: 1px solid var(--fog); margin-bottom: var(--s6); }
.recipe-meta .rm { display: flex; align-items: center; gap: 10px; }
.recipe-meta svg { width: 22px; height: 22px; color: var(--leaf-deep); }
.recipe-meta b { font-family: var(--font-display); font-weight: 700; }
.recipe-meta span { font-size: 0.8rem; color: var(--stone); display: block; }
.ing-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.ing-cols li { list-style: none; padding-left: 22px; position: relative; }
.ing-cols li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.callout { background: var(--bare); border-left: 3px solid var(--leaf); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: var(--s5); margin: var(--s6) 0; }
.callout b { color: var(--leaf-deep); }

/* page hero (interior) */
.phero { background: var(--forest); color: var(--cream); padding-block: clamp(56px, 6vw, 92px) clamp(72px, 7vw, 108px); position: relative; overflow: hidden; }
.phero h1 { font-size: var(--fs-h1); max-width: 20ch; }
.phero .lead { color: var(--sage); max-width: 54ch; margin-top: var(--s4); }
.phero .breadcrumb { font-size: var(--fs-small); color: var(--sage); margin-bottom: var(--s4); }
.phero .breadcrumb a:hover { color: var(--chartreuse); }
.phero .sprig-bg { position: absolute; color: var(--forest-2); opacity: .6; }
.phero .sprig-bg--1 { top: -20px; right: 4%; width: 200px; }
.phero .sprig-bg--2 { bottom: -50px; right: 22%; width: 130px; opacity: .4; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--fog); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: var(--s5) 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--bare); display: flex; align-items: center; justify-content: center; transition: transform var(--t-base), background var(--t-base); }
.faq summary .ic svg { width: 16px; height: 16px; color: var(--leaf-deep); }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--leaf); }
.faq details[open] summary .ic svg { color: var(--oat); }
.faq .ans { padding: 0 0 var(--s5); color: var(--stone); max-width: 66ch; }

/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fbf8f1; border: 1px solid var(--fog); border-radius: var(--r-lg); padding: var(--s7); display: flex; flex-direction: column; }
.plan--feat { background: var(--forest); color: var(--cream); border-color: var(--forest); position: relative; box-shadow: var(--sh-2); }
.plan--feat h3, .plan--feat .price { color: var(--cream); }
.plan .tagpill { align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); background: var(--chartreuse); padding: 4px 11px; border-radius: var(--r-pill); margin-bottom: var(--s4); }
.plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; margin: var(--s3) 0; }
.plan .price span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--stone); }
.plan--feat .price span { color: var(--sage); }
.plan .pdesc { color: var(--stone); font-size: 0.95rem; margin-bottom: var(--s5); }
.plan--feat .pdesc { color: var(--sage); }
.plan ul.plist { list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; gap: 12px; }
.plan ul.plist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.plan ul.plist svg { width: 20px; height: 20px; color: var(--leaf-deep); flex-shrink: 0; margin-top: 1px; }
.plan--feat ul.plist svg { color: var(--chartreuse); }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---- team masthead ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { text-align: left; }
.member .pf { aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden; background: var(--bare); margin-bottom: var(--s4); border: 1px solid var(--fog); display: flex; align-items: flex-end; justify-content: center; }
.member .pf img { width: 100%; height: 100%; object-fit: cover; }
.member .pf.reserved { align-items: center; color: var(--stone); }
.member .pf.reserved svg { width: 46px; height: 46px; opacity: .4; }
.member h3 { font-size: 1.2rem; }
.member .role { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--leaf-deep); font-weight: 600; margin: 4px 0 8px; }
.member p { color: var(--stone); font-size: 0.92rem; }

/* pill row */
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--fog); background: #fbf8f1; border-radius: var(--r-pill); padding: 8px 16px; font-size: 0.9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.pill svg { width: 16px; height: 16px; color: var(--leaf-deep); }

/* section head */
.shead { margin-bottom: var(--s7); }
.shead.center { max-width: 60ch; margin-inline: auto; }
.shead h2 { font-size: var(--fs-h2); }
.shead p { margin-top: var(--s3); }
.shead-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: var(--s7); flex-wrap: wrap; }
.shead-row h2 { font-size: var(--fs-h2); }

/* ---- footer ---- */
.site-footer { background: var(--forest); color: var(--sage); position: relative; overflow: hidden; padding-top: var(--s9); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; position: relative; z-index: 2; }
.foot-brand .brand { color: var(--cream); margin-bottom: var(--s4); }
.foot-brand p { color: var(--sage); font-size: 0.95rem; max-width: 34ch; }
.foot-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chartreuse); margin-bottom: var(--s4); font-weight: 700; }
.foot-col a, .foot-col p { display: block; color: var(--sage); font-size: 0.94rem; padding: 4px 0; }
.foot-col a:hover { color: var(--cream); }
.socials { display: flex; gap: 10px; margin-top: var(--s4); }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(241,236,224,.18); display: flex; align-items: center; justify-content: center; }
.socials a:hover { border-color: var(--chartreuse); color: var(--chartreuse); }
.socials svg { width: 18px; height: 18px; }
/* mega footer brand word */
.foot-word { font-family: var(--font-display); font-weight: 800; font-size: min(25vw, 300px); line-height: 0.8; color: var(--forest-2); letter-spacing: -0.03em; margin-top: var(--s8); text-align: center; user-select: none; position: relative; z-index: 2; }
.foot-legal { border-top: 1px solid rgba(241,236,224,.12); margin-top: var(--s7); padding-block: var(--s5) var(--s6); position: relative; z-index: 2; }
.foot-legal .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--sage); }
.disclaimer { background: #16261d; color: var(--sage); font-size: 0.78rem; line-height: 1.6; }
.disclaimer .wrap { padding-block: var(--s5); }
.disclaimer b { color: var(--sage); }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 70ms); }

/* ambient sprig drift */
@keyframes drift { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.hero-media .sprig--1 { animation: drift 7s var(--ease) infinite; }
.hero-media .sprig--2 { animation: drift 9s var(--ease) infinite 0.6s; }
.hero-media .sprig--3 { animation: drift 6s var(--ease) infinite 0.3s; }

/* =========== responsive =========== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin-inline: auto; order: -1; }
  .feature, .feature--rev .feat-media { grid-template-columns: 1fr; order: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .grid-3, .tgrid, .team-grid, .price-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }

  /* mobile panel */
  .mobile-panel { display: block; position: fixed; inset: 0; z-index: 150; background: var(--forest); color: var(--cream); padding: 80px var(--s5) var(--s7); overflow-y: auto; transform: translateX(100%); transition: transform var(--t-base) var(--ease); visibility: hidden; }
  .mobile-panel.open { transform: translateX(0); visibility: visible; }
  .mobile-panel a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; border-bottom: 1px solid rgba(241,236,224,.12); color: var(--cream); }
  .mobile-panel .sub a { font-family: var(--font-body); font-size: 1rem; font-weight: 500; padding: 10px 0 10px 16px; color: var(--sage); border: none; }
  .mobile-panel .m-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .mobile-panel .m-close svg { width: 28px; height: 28px; }
  .mobile-panel .btn { margin-top: var(--s5); width: 100%; justify-content: center; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .field-2, .ing-cols { grid-template-columns: 1fr; }
  .hero-proof { gap: 18px; }
  .utility .u-left { display: none; }
  .foot-word { font-size: 34vw; }
  /* keep decorative bleeders from poking past the mobile edge */
  .feat-media .ghost, .phero .sprig-bg, .statband .leaf-edge, .cta-band .leaf-bg, .hero-media .sprig--2, .hero-media .sprig--3 { display: none; }
  .hero-media .sprig--1 { left: 0; width: 56px; }
  .recipe-meta { gap: 20px; }
}

/* =========== reduced motion =========== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media .sprig { animation: none !important; }
  .icard:hover .ph img { transform: none; }
  .btn--primary::before, .btn--cream::before, .section--dark .btn--primary::before { transition: none; }
  * { scroll-behavior: auto !important; }
}
