:root {
  --paper: #f5f4ec; --card: #fffefa; --kraft: #dcc7a2; --kraft-deep: #b59a6c;
  --soil: #2b2219; --soil-soft: #5c5045; --leaf: #2f5a24; --leaf-deep: #22421a;
  --sprout: #8ab84e; --sorrel: #a3243b; --shiso: #5a2a4e; --line: rgba(43, 34, 25, .14);
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.05rem; color: var(--soil); background: var(--paper); line-height: 1.6; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; color: var(--leaf-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sprout); outline-offset: 2px; }
.muted { color: var(--soil-soft); }
.small { font-size: .88rem; }

.soon-banner { background: var(--sorrel); color: #fff; text-align: center; padding: .6rem 1rem; font-size: .98rem; }
.soon-banner strong { font-family: var(--hand); font-size: 1.45rem; font-weight: 700; margin-right: .3rem; vertical-align: -2px; }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  padding: .75rem clamp(1rem, 4vw, 3rem); background: rgba(245, 244, 236, .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; color: var(--leaf-deep); }
.brand svg { width: 30px; height: 30px; color: var(--leaf-deep); }
.nav nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); flex-wrap: wrap; }
.nav nav a { text-decoration: none; font-weight: 500; }
.nav nav a:hover { color: var(--leaf); text-decoration: underline; text-underline-offset: 4px; }
.nav-book { background: var(--leaf); color: #fff !important; padding: .45rem 1rem; border-radius: 6px; }
.nav-book:hover { background: var(--leaf-deep); text-decoration: none !important; }
.cart-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--leaf-deep); background: transparent; color: var(--leaf-deep); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--soil-soft); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.has { background: var(--sorrel); }

.btn { display: inline-block; text-decoration: none; padding: .8rem 1.4rem; border-radius: 6px; font-weight: 700; border: 2px solid transparent; transition: background .15s ease; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--leaf-deep); }
.btn-ghost { border-color: var(--leaf); color: var(--leaf); background: transparent; }
.btn-ghost:hover { background: rgba(47, 90, 36, .08); }
.btn-light { background: #fff; color: var(--leaf-deep); word-break: break-word; }
.btn-small { padding: .5rem .95rem; font-size: .92rem; background: var(--leaf); color: #fff; }
.btn.full { width: 100%; }

/* hero: the grow tray */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3.5rem); }
.lede { font-size: 1.15rem; color: var(--soil-soft); max-width: 32em; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1.2rem; }
.hand-note { font-family: var(--hand); font-size: 1.6rem; color: var(--sorrel); transform: rotate(-1.5deg); margin: .4rem 0 0; }
.tray-wrap { background: var(--soil); padding: 14px; border-radius: 10px; box-shadow: 0 18px 30px -22px rgba(43, 34, 25, .8); }
.tray { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cell { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: #3d6b2c radial-gradient(circle at 30% 30%, #8ab84e 0 18%, transparent 19%) 0 0 / 22px 22px; }
.cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tape { position: absolute; left: 8px; bottom: 10px; background: rgba(240, 230, 200, .94); color: var(--soil); font-family: var(--hand); font-size: 1.25rem; font-weight: 700; line-height: 1; padding: 4px 10px 6px; transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell:nth-child(even) .tape { transform: rotate(2deg); }

/* the founder's note */
.story { padding: 0 clamp(1rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.note { max-width: 720px; margin: 0 auto; background: var(--kraft); padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 3rem); border-radius: 3px; transform: rotate(-.6deg); box-shadow: 0 10px 22px -16px rgba(43, 34, 25, .7); position: relative; }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 120px; height: 26px; margin-left: -60px; background: rgba(245, 238, 215, .85); transform: rotate(2deg); }
.note h2 { color: var(--soil); }
.note p { font-size: 1.08rem; max-width: 60ch; }
.signature { font-family: var(--hand); font-size: 1.9rem; color: var(--leaf-deep); margin: .6rem 0 0; }

.section { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3.5rem); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head p { color: var(--soil-soft); font-size: 1.08rem; }

/* shop */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.6rem; border-bottom: 2px solid var(--line); }
.tab { border: 0; background: transparent; color: var(--soil-soft); padding: .6rem 1rem; font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab span { font-weight: 400; opacity: .7; margin-left: .2rem; }
.tab.on { color: var(--leaf-deep); border-bottom-color: var(--sorrel); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem 1.1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 1.2rem; display: flex; flex-direction: column; }
.card.product { overflow: hidden; }
.pimg { display: block; width: calc(100% + 2.4rem); max-width: none; aspect-ratio: 1 / 1; object-fit: cover; margin: -1.2rem -1.2rem 1rem; background: #e3ead3; }
.dot { display: none; }
.card h3 { font-size: 1.15rem; margin-bottom: .35rem; color: var(--soil); }
.card p { color: var(--soil-soft); font-size: .95rem; margin: 0 0 1rem; }
.opt { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: .92rem; color: var(--soil-soft); }
.opt select { flex: 1; }
.buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
.price { font-family: var(--hand); font-size: 1.75rem; font-weight: 700; color: var(--sorrel); line-height: 1; }

select, input, textarea { font: inherit; color: var(--soil); background: #fff; border: 1.5px solid rgba(43, 34, 25, .22); border-radius: 5px; padding: .6rem .75rem; width: 100%; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--sprout); outline-offset: 1px; border-color: transparent; }

/* services */
.services-band { background: var(--leaf-deep); color: #eef3e4; }
.services-band h2, .services-band h3 { color: #fff; }
.services-band .section-head p { color: #cfe0bb; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem 2.4rem; }
.service { border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 1.1rem; }
.service .num { display: none; }
.service p { color: #d7e4c7; margin: 0 0 .6rem; }
.service .svc-line { color: #fff; }
.service .svc-line strong { font-family: var(--hand); font-size: 1.6rem; color: #f2c9cf; font-weight: 700; }
.service .book-link { color: #fff; }
.link { background: none; border: 0; padding: 0; color: var(--leaf); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* booking */
.booker { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.1rem, 3vw, 2rem); max-width: 760px; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; font-size: .92rem; color: var(--soil-soft); font-weight: 500; }
.svc-meta { color: var(--soil-soft); margin: -.3rem 0 1rem; }
.days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1rem; }
.day { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 6px; padding: .5rem .8rem; font-size: .9rem; font-weight: 500; }
.day.on { border-color: var(--leaf); background: var(--leaf); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; margin-bottom: 1.2rem; }
.slot { border: 1.5px solid var(--leaf); background: #fff; color: var(--leaf); border-radius: 6px; padding: .55rem; font-weight: 700; font-size: .9rem; }
.slot.on { background: var(--leaf); color: #fff; }
.book-form { border-top: 1px dashed var(--line); padding-top: 1.2rem; }
.chosen { background: #edf2e2; border-left: 4px solid var(--sprout); padding: .8rem 1rem; color: var(--leaf-deep); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .8rem; }
.form-error { color: var(--sorrel); font-weight: 700; }
.form-error:empty { display: none; }
.book-done { background: #edf2e2; border-left: 4px solid var(--sprout); padding: 1.1rem 1.3rem; margin-top: 1rem; }
.book-done p { margin: 0; color: var(--leaf-deep); }

/* signup: kraft panel */
.signup { background: var(--kraft); padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 3.5rem); }
.signup-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.signup h2 { color: var(--soil); }
.signup-kicker { font-family: var(--hand); font-size: 2rem; font-weight: 700; color: var(--sorrel); line-height: 1.1; margin-bottom: .6rem; }
.signup-sub { color: var(--soil); max-width: 34em; }
.signup-card { background: var(--card); padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: 4px; box-shadow: 0 12px 24px -18px rgba(43, 34, 25, .7); }
.email-row { display: flex; gap: .6rem; }
.email-row input { flex: 1; min-width: 0; }
.email-row .btn { flex: 0 0 auto; padding: .7rem 1.5rem; }
.consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--soil); margin: .2rem 0 .8rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; flex: 0 0 auto; accent-color: var(--leaf); }
.signup-done { text-align: left; }
.signup-done .btn { margin-top: .9rem; }

/* policies */
.policy-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 3rem; margin: 0; }
.policy-list > div { border-top: 1px solid var(--line); padding: 1rem 0 1.2rem; }
.policy-list dt { font-family: var(--serif); font-size: 1.15rem; color: var(--leaf-deep); margin-bottom: .3rem; }
.policy-list dd { margin: 0; color: var(--soil-soft); }
.policy-list a { color: var(--leaf); font-weight: 700; word-break: break-word; }

.contact { background: var(--leaf); color: #eef3e4; padding: clamp(3rem, 7vw, 4.5rem) clamp(1rem, 5vw, 3.5rem); }
.contact-inner { max-width: 1100px; margin: 0 auto; }
.contact h2 { color: #fff; }
.contact p { max-width: 40em; font-size: 1.08rem; }
.footer { padding: 1.8rem clamp(1rem, 5vw, 3.5rem); font-size: .92rem; color: var(--soil-soft); max-width: 1200px; margin: 0 auto; }
.footer p { margin: .2rem 0; }

/* cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(43, 34, 25, .45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--card); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, .12); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-btn { background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--leaf-deep); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1rem 1.3rem 1.3rem; }
.subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: .2rem; }
.line { display: grid; grid-template-columns: 1fr auto; gap: .4rem .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.line-info { display: flex; flex-direction: column; grid-column: 1 / -1; }
.line-info .warn { color: var(--sorrel); }
.qty { display: flex; align-items: center; gap: .6rem; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--leaf-deep); font-weight: 700; }
.line-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; font-weight: 700; }
.line-price .link { font-size: .82rem; font-weight: 500; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--leaf-deep); color: #fff; padding: .75rem 1.2rem; border-radius: 6px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 60; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .signup-inner { grid-template-columns: 1fr; }
  .nav { justify-content: center; }
}
@media (max-width: 560px) {
  .row2, .row3 { grid-template-columns: 1fr; }
  .tray { grid-template-columns: repeat(2, 1fr); }
  .tape { font-size: 1.1rem; }
  .email-row { flex-direction: column; } .email-row .btn { width: 100%; }
}


/* ---------- taste audit fixes ---------- */
/* weights: 400 / 500 / 600 only */
.btn, .tab, .cart-count, .slot, .form-error, .policy-list a, .link, .line-price, .qty button, .price, .tape, .soon-banner strong, .signup-kicker, .service .svc-line strong { font-weight: 600; }
/* no text under 12px */
.cart-count { font-size: .75rem; }
/* elevation: 1px hairline first, soft shadows under .08 alpha, no blur glass */
.nav { background: var(--paper); backdrop-filter: none; }
.tray-wrap { box-shadow: 0 2px 14px rgba(43, 34, 25, .07); border: 1px solid rgba(43, 34, 25, .5); }
.note { border: 1px solid rgba(43, 34, 25, .12); box-shadow: 0 2px 16px rgba(43, 34, 25, .06); }
.tape { box-shadow: 0 1px 3px rgba(43, 34, 25, .06); border: 1px solid rgba(43, 34, 25, .1); }
.signup-card { border: 1px solid rgba(43, 34, 25, .12); box-shadow: 0 2px 16px rgba(43, 34, 25, .06); }
.drawer { border-left: 1px solid var(--line); box-shadow: -2px 0 24px rgba(43, 34, 25, .07); }
/* motion: transform/opacity only, 200ms tokens, ease-out in */
.drawer { transition: transform 200ms ease-out; }
.toast { transition: transform 200ms ease-out, opacity 200ms ease-out; }
.btn { transition: background-color 150ms ease-out; }
@media (prefers-reduced-motion: reduce) { .drawer, .toast { transition: opacity 150ms linear; } }
/* 44px hit targets */
.cart-btn { width: 44px; height: 44px; }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; }
.tab, .day, .slot, .btn, .icon-btn { min-height: 44px; }
.icon-btn { min-width: 44px; }
.qty button { width: 44px; height: 44px; }
.btn-small { min-height: 44px; }
.consent { min-height: 44px; align-items: center; }
/* loading skeletons that match the cards */
.skel { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 1.2rem; }
.skel .s-img { aspect-ratio: 1 / 1; background: #e6ebdb; margin: -1.2rem -1.2rem 1rem; }
.skel .s-line { height: 14px; background: #e9e6dc; border-radius: 3px; margin-bottom: .6rem; }
.skel .s-line.short { width: 55%; }
.helper { font-size: .875rem; color: var(--soil-soft); font-weight: 400; }


/* ---------- Homegrown By Heroes certification ---------- */
.hbh-badge { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1rem; padding: .45rem 1rem .45rem .45rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--soil); font-size: .92rem; line-height: 1.3; }
.hbh-badge img { width: 56px; height: 56px; flex: 0 0 auto; }
.hbh-badge strong { color: var(--leaf-deep); font-weight: 600; }
.hbh-badge:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.section-head .hbh-line { display: flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--leaf-deep); }
.hbh-line img { width: 40px; height: 40px; flex: 0 0 auto; }
.note a { color: var(--leaf-deep); font-weight: 600; }
.hbh-about { display: flex; gap: 1.4rem; align-items: flex-start; }
.hbh-seal { width: 110px; height: 110px; flex: 0 0 auto; }
.hbh-about a { color: var(--leaf); font-weight: 600; }
.hbh-cert { margin: 1.2rem 0 0; }
.hbh-cert img { display: block; width: 100%; max-width: 560px; height: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 2px 16px rgba(43, 34, 25, .06); }
.hbh-cert figcaption { font-size: .92rem; color: var(--soil-soft); margin-top: .5rem; }
.footer-hbh { display: flex; align-items: center; gap: .9rem; margin-bottom: .4rem; }
.footer-hbh img { width: 56px; height: 56px; display: block; }
.footer-hbh p { margin: 0; }
@media (max-width: 560px) { .hbh-about { flex-direction: column; } .hbh-seal { width: 88px; height: 88px; } }
