/* =============================================================================
   ADORE GREENS — STYLES
   Direction: Hybrid Premium Local Farm + Culinary Produce Brand.
   Mobile-first. Brand tokens live in :root — change colors/fonts there.
   ========================================================================== */

:root {
  /* Palette — warm cream, deep forest green, honey gold, earth neutral, fresh accent */
  --green-900: #10281a;   /* deep forest */
  --green-800: #1c4a30;
  --green-700: #276646;
  --green-600: #2f7d55;
  --green-500: #3d9968;   /* fresh green accent */
  --green-300: #86c9a3;
  --green-100: #e4f2ea;

  --gold: #d29a3f;        /* honey gold */
  --gold-soft: #f0dcb0;
  --gold-deep: #a9762a;

  --cream: #f8f4ea;       /* warm cream */
  --cream-2: #f2ebda;
  --sand: #e9e1cd;        /* earth neutral */
  --ink: #22271f;
  --muted: #5d6a5f;
  --line: #e0dccb;
  --white: #ffffff;

  /* Type — refined serif headline, clean readable body */
  --font-head: "Iowan Old Style", "Palatino Linotype", "Palatino", "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(16, 40, 26, 0.08);
  --shadow-lg: 0 18px 48px rgba(16, 40, 26, 0.16);
  --gap: clamp(1rem, 3vw, 1.85rem);
  --section-y: clamp(3rem, 8vw, 5.75rem);
}

/* --- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--cream); line-height: 1.6; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.14; margin: 0 0 .5em; color: var(--green-900); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--green-800); color: #fff; padding: .7rem 1rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* --- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--white); }
.section--deep { background: var(--green-900); color: var(--green-100); }
.section--deep .section__title, .section--deep h2, .section--deep h3 { color: #fff; }
.section--gold { background: linear-gradient(150deg, var(--gold-soft), var(--cream-2)); }
.section__head { max-width: 660px; margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.section__eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 700; color: var(--gold-deep); margin: 0 0 .55rem; }
.section--deep .section__eyebrow { color: var(--gold); }
.section__title { font-size: clamp(1.75rem, 4.5vw, 2.6rem); }
.section__lead { font-size: 1.08rem; color: var(--muted); }
.section--deep .section__lead { color: var(--green-100); opacity: .92; }
.section__cta { margin-top: 1.6rem; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.45rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--green-300); }
.btn--ghost:hover { background: var(--green-100); color: var(--green-900); }
.section--deep .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--deep .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .92rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --- Announcement bar ---------------------------------------------------- */
.banner { background: var(--green-900); color: #fff; font-size: .92rem; }
.banner__inner { max-width: var(--maxw); margin: 0 auto; padding: .6rem clamp(1rem, 4vw, 2rem); display: flex; align-items: center; gap: 1rem; }
.banner__inner p { margin: 0; }
.banner__link { color: var(--gold-soft); font-weight: 700; text-decoration: underline; white-space: nowrap; }
.banner__close { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 .3rem; }
.banner__close:hover { opacity: .8; }

/* --- Header / nav -------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(248, 244, 234, 0.92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem clamp(1rem, 4vw, 2rem); max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--green-900); }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-flex; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__links { display: flex; gap: 1.15rem; }
.nav__links a { color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav__links a:hover { color: var(--green-700); text-decoration: none; }
.nav__toggle { display: none; }

/* --- Hero ---------------------------------------------------------------- */
.hero { background: linear-gradient(160deg, var(--green-100), var(--cream) 60%); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem); }
.hero__inner { max-width: 620px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: .8rem; font-weight: 700; color: var(--gold-deep); margin: 0 0 .8rem; }
.hero__title { font-size: clamp(2.1rem, 6.4vw, 3.5rem); margin-bottom: .4em; }
.hero__sub { font-size: clamp(1.05rem, 2.4vw, 1.22rem); color: var(--muted); max-width: 42ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* --- Trust bar ----------------------------------------------------------- */
.trust { background: var(--green-900); }
.trust__list { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: center; padding: 1.1rem clamp(1rem, 4vw, 2rem); max-width: var(--maxw); margin: 0 auto; }
.trust__item { color: var(--green-100); font-size: .92rem; font-weight: 500; position: relative; padding-left: 1.3rem; }
.trust__item::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* --- Photo placeholders (swap for real <img> later) --------------------- */
.photo-ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; text-align: center; padding: 1.25rem;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.5) 0 12px, rgba(255,255,255,0) 12px 24px),
    linear-gradient(150deg, var(--green-100), var(--sand));
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--green-700);
  min-height: 180px; overflow: hidden;
}
.photo-ph__icon { width: 34px; height: 34px; opacity: .75; }
.photo-ph__label { font-family: var(--font-head); font-size: 1rem; color: var(--green-800); }
.photo-ph__tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: rgba(255,255,255,.6); padding: .18rem .5rem; border-radius: 999px; }
.photo-ph--hero { min-height: clamp(240px, 42vw, 400px); box-shadow: var(--shadow-lg); }
.photo-ph--card { min-height: 132px; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.photo-ph--tall { min-height: clamp(260px, 40vw, 420px); }
.photo-ph--product { min-height: clamp(220px, 34vw, 340px); }

/* --- Cards / grids ------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--crops { grid-template-columns: 1fr; }
.grid--tools { grid-template-columns: 1fr; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card__title { font-size: 1.15rem; margin: 0; }
.card__note { color: var(--muted); font-size: .95rem; margin: .4rem 0 0; }

.tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green-700); background: var(--green-100); padding: .22rem .55rem; border-radius: 999px; white-space: nowrap; }
.tag--muted { color: var(--muted); background: var(--sand); }
.tag--gold { color: #fff; background: var(--gold-deep); }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; color: #fff; background: var(--gold-deep); padding: .3rem .65rem; border-radius: 999px; margin-bottom: .8rem; }

/* Crop cards */
.crop-card { display: flex; flex-direction: column; padding: 0; }
.crop-card__body { padding: 1.2rem 1.25rem 1.35rem; }
.crop-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.crop-card__flavor { font-family: var(--font-head); font-size: 1.02rem; color: var(--green-800); margin: 0 0 .35rem; }
.crop-card__uses { color: var(--muted); font-size: .93rem; margin: 0; }

/* --- Steps (Fresh Friday explainer) ------------------------------------- */
.steps { display: grid; gap: var(--gap); grid-template-columns: 1fr; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; background: var(--green-700); color: #fff; font-family: var(--font-head); font-size: 1.25rem; margin-bottom: .8rem; }
.step__title { font-size: 1.2rem; margin: 0 0 .35rem; }
.step__text { color: var(--muted); margin: 0; }

/* --- Split layouts (family / chefs / story) ----------------------------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.family__media, .story__media, .chefs__form { min-width: 0; }

/* Family pack */
.product-card__list { margin: .9rem 0 0; display: grid; gap: .4rem; }
.price-placeholder { margin: 1.2rem 0 0; padding: .85rem .95rem; background: var(--gold-soft); border: 1px dashed var(--gold-deep); border-radius: var(--radius-sm); font-size: .88rem; color: var(--gold-deep); }
.status-line { margin: 1rem 0 0; }

/* Tick list */
.ticklist { display: grid; gap: .6rem; margin: 1.25rem 0 0; }
.ticklist__item { position: relative; padding-left: 1.6rem; }
.ticklist__item::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-500); font-weight: 700; }
.section--deep .ticklist__item::before { color: var(--green-300); }

/* Story */
.story__by { font-size: .95rem; color: var(--muted); margin-top: 1rem; }

/* --- Forms --------------------------------------------------------------- */
.form__title { font-size: 1.25rem; margin: 0 0 .4rem; }
.section--deep .form__title { color: #fff; }
.form__body { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.section--deep .form__body { color: var(--green-100); opacity: .9; }
.form-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.form-embed iframe { display: block; border: 0; }
.form-placeholder { background: var(--white); border: 2px dashed var(--green-300); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.form-placeholder__label { font-weight: 700; color: var(--green-800); margin: 0 0 .4rem; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.form-placeholder__hint { font-size: .9rem; color: var(--muted); margin: 0 0 1.2rem; }
.form-placeholder code { background: var(--sand); padding: .1rem .35rem; border-radius: 4px; font-size: .85em; }
.form-fields { text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin: 0 0 1.3rem; }
.form-fields__label { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--gold-deep); margin: 0 0 .6rem; }
.form-fields__list { display: grid; gap: .4rem; }
.form-fields__item { position: relative; padding-left: 1.35rem; font-size: .92rem; color: var(--ink); }
.form-fields__item::before { content: "•"; position: absolute; left: .3rem; color: var(--green-500); font-weight: 700; }
.form-placeholder--soon { border-style: solid; border-color: var(--green-300); }
.form-placeholder__soon { font-size: 1rem; color: var(--green-800); margin: 0; }

.shop-grid { margin-top: 1.6rem; }
.shop-card { padding: 1.35rem; }
.shop-card .card__title { margin-bottom: .3rem; }

.tool-card { display: flex; flex-direction: column; padding: 1.35rem; }
.tool-card__foot { margin-top: auto; padding-top: 1rem; }
.tool-card__soon { font-size: .85rem; color: var(--muted); font-style: italic; }

/* --- FAQ accordion ------------------------------------------------------- */
.faq { max-width: 800px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: transparent; border: 0; cursor: pointer; text-align: left; padding: 1.15rem 0; font-family: var(--font-head); font-size: 1.1rem; color: var(--green-900); font-weight: 600; }
.faq__q:hover { color: var(--green-700); }
.faq__icon { font-size: 1.5rem; color: var(--gold-deep); flex: none; line-height: 1; }
.faq__a { padding: 0 0 1.15rem; color: var(--muted); }
.faq__a p { margin: 0; }

/* --- Join / Contact ------------------------------------------------------ */
.join { max-width: 680px; }
.join .form-embed, .join .form-placeholder { margin-top: 1.5rem; }

/* --- Disclaimer ---------------------------------------------------------- */
.disclaimer { border-top: 1px solid var(--line); background: var(--cream-2); }
.disclaimer__inner { display: flex; gap: .9rem; align-items: flex-start; max-width: 840px; margin: 0 auto; padding: 1.6rem clamp(1rem, 4vw, 2rem); }
.disclaimer__icon { flex: none; font-size: 1.3rem; }
.disclaimer p { margin: 0; font-size: .9rem; color: var(--muted); }

/* --- Footer -------------------------------------------------------------- */
.footer { background: var(--green-900); color: var(--green-100); text-align: center; }
.footer__inner { padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1rem, 4vw, 2rem); max-width: var(--maxw); margin: 0 auto; }
.footer__tagline { font-family: var(--font-head); font-size: 1.3rem; color: #fff; margin: 0 0 .5rem; }
.footer__territory { font-size: .95rem; color: var(--green-300); margin: 0 0 1.25rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: center; margin: 0 0 1rem; }
.footer__links a { color: var(--green-100); font-weight: 500; font-size: .95rem; }
.footer__links a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: 1.25rem; justify-content: center; margin: 0 0 1.2rem; }
.footer__social a { color: var(--gold-soft); font-weight: 600; }
.footer__parent, .footer__year { font-size: .85rem; opacity: .8; margin: .3rem 0; }

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 640px) {
  .grid--crops { grid-template-columns: repeat(2, 1fr); }
  .grid--tools { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .grid--crops { grid-template-columns: repeat(3, 1fr); }
  .grid--tools { grid-template-columns: repeat(4, 1fr); }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .story__media { order: 2; }
  .split--reverse .story__body { order: 1; }
}

/* Desktop nav vs mobile menu */
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 2px solid var(--green-300); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; color: var(--green-800); }
  .nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
  .nav__toggle span::before { position: absolute; top: -6px; }
  .nav__toggle span::after { position: absolute; top: 6px; }
  .nav__menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; padding: .5rem clamp(1rem, 4vw, 2rem) 1.2rem; box-shadow: var(--shadow); }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: .8rem; }
  .nav__cta .btn { width: 100%; }
  .header__inner { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media print {
  .header, .banner, .hero__ctas, .nav, .form-placeholder { display: none; }
  body { background: #fff; }
}
