/* ---- tokens ------------------------------------------------------------ */
:root {
  --cane-900: #14331f;
  --cane-700: #1f4d2e;
  --cane-500: #3a7d4f;
  --cane-100: #dfeee2;
  --gold-600: #b57a17;
  --gold-500: #d99a2b;
  --gold-100: #fbeed3;
  --cream:    #faf6ee;
  --paper:    #ffffff;
  --ink:      #22201c;
  --ink-soft: #5d574c;
  --line:     #e4ddcd;

  --wrap: 1080px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 51, 31, .06), 0 8px 24px rgba(20, 51, 31, .07);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

a { color: var(--cane-700); text-decoration-color: rgba(31, 77, 46, .35); text-underline-offset: 3px; }
a:hover { color: var(--cane-500); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--cane-700); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

/* ---- header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; }
.brand-mark {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: linear-gradient(150deg, var(--cane-500), var(--cane-900));
  box-shadow: inset 0 0 0 3px var(--gold-500);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.12rem; }
.brand-text small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: .94rem; font-weight: 500; color: var(--ink);
}
.site-nav a:hover { background: var(--cane-100); color: var(--cane-900); }
.site-nav .nav-cta { background: var(--cane-700); color: #fff; }
.site-nav .nav-cta:hover { background: var(--cane-900); color: #fff; }

.nav-toggle, .nav-toggle-label { display: none; }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .97rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--gold-500); color: var(--cane-900); }
.btn-primary:hover { background: var(--gold-600); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--cane-700); color: var(--cane-700); }
.btn-outline:hover { background: var(--cane-700); color: #fff; }

/* ---- hero -------------------------------------------------------------- */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(180deg, rgba(20,51,31,.72), rgba(20,51,31,.88)),
    repeating-linear-gradient(97deg, #2c6b3f 0 14px, #245934 14px 30px);
  padding: clamp(72px, 12vw, 132px) 0;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 52ch; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 700; margin-bottom: 14px;
}

/* ---- sections ---------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 88px) 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 40px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }

/* ---- product cards ----------------------------------------------------- */
.product { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-photo { aspect-ratio: 4 / 3; background: var(--cane-100); }

/* ---- price list (farm-stand menu) --------------------------------------- */
.menu { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.menu .card h2 { font-size: 1.35rem; margin-bottom: 14px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.price-list li + li { border-top: 1px dashed var(--line); }
.price-list .leader { flex: 1; }
.price-list .amount { font-family: var(--serif); font-size: 1.2rem; color: var(--cane-900); white-space: nowrap; }
.price-list li.is-out .item { color: var(--ink-soft); }
.note { font-size: .92rem; margin: 14px 0 0; }

/* ---- story + visit strip ------------------------------------------------ */
.story { max-width: 720px; }
.story p { color: var(--ink-soft); font-size: 1.06rem; }
.visit-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  padding: 28px 32px; box-shadow: var(--shadow);
}
.visit-strip h2 { font-size: 1.5rem; margin-bottom: .3em; }
.visit-strip p { margin: 0; }

/* Spanish lines under the English ones: same message, quieter voice */
.es-p { font-style: italic; color: var(--ink-soft); }
.es-block {
  border-left: 3px solid var(--gold-500); padding-left: 16px; margin: 6px 0 18px;
  font-style: italic;
}
.hero-es { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--gold-500); margin-top: -.2em; }
.hero .lede-es { font-style: italic; color: rgba(255,255,255,.72); margin-top: -.4em; }
.page-head .es-p { margin-top: .7em; }

/* Spanish name next to the English one */
.es {
  display: inline-block; margin-left: .35em;
  font-family: var(--sans); font-size: .62em; font-weight: 500; font-style: italic;
  color: var(--gold-600); letter-spacing: .01em;
}


.signoff { font-family: var(--serif); font-style: italic; color: var(--cane-700); }

/* ---- map ---------------------------------------------------------------- */
.map iframe {
  display: block; width: 100%; aspect-ratio: 4 / 3; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cane-100);
}
.map-note { font-size: .88rem; margin-top: 10px; }
.directions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: .25em; }
.product-body .unit { font-size: .82rem; color: var(--ink-soft); margin-bottom: .9em; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.price { font-family: var(--serif); font-size: 1.45rem; color: var(--cane-900); }
.price span { font-size: .8rem; font-family: var(--sans); color: var(--ink-soft); }

.badge {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: var(--gold-100); color: var(--gold-600);
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.badge-off { background: #eee9dd; color: var(--ink-soft); }

/* ---- steps ------------------------------------------------------------- */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 26px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-500); color: var(--cane-900);
  display: grid; place-items: center; font-weight: 700; font-family: var(--serif);
}

/* ---- notice ------------------------------------------------------------ */
.notice {
  border: 1px dashed var(--gold-600); background: var(--gold-100);
  border-radius: var(--radius); padding: 20px 24px; color: #5b430c;
}
.notice strong { color: #4a3708; }
.notice p:last-child { margin-bottom: 0; }

/* ---- page header ------------------------------------------------------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(44px, 7vw, 72px) 0; }
.page-head p { max-width: 58ch; margin-bottom: 0; color: var(--ink-soft); font-size: 1.08rem; }

/* ---- prose / forms ----------------------------------------------------- */
.prose { max-width: 68ch; }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: .4em; }

.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .96rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--cane-500); }

/* ---- footer ------------------------------------------------------------ */
.site-footer { background: var(--cane-900); color: rgba(255,255,255,.78); margin-top: auto; padding-top: 56px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--gold-500); }
.site-footer .muted { color: rgba(255,255,255,.62); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 40px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.14); padding-block: 20px; font-size: .87rem;
}

/* ---- mobile nav -------------------------------------------------------- */
@media (max-width: 760px) {
  .nav-toggle-label {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
  }
  .nav-toggle-label span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .nav-cta { text-align: center; margin-top: 6px; }
  .header-inner { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
