/* Double H Farm — site styles.
   Everything colour- and type-related keys off the tokens in :root, so the
   palette is one block. Mobile first: the pre-order is built for a phone at
   the market. */

/* palette — "Red Clay, Blue Ridge" (Double H consult, 2026-10-22,
   docs/design-system.md): a cool ridge-haze field; every structural colour
   from the Duroc coats, the red clay and the farm trailer. Blue is ink,
   links and focus — never a fill. */
:root {
  --bg:              #ebeef1;   /* page field — ridge haze */
  --surface:         #fdfdfc;   /* cards, white food mats, inputs */
  --ink:             #1d252c;   /* body text — ridge night (also the hero gradient) */
  --ink-muted:       #4c5861;   /* captions / labels — ridge slate */
  --heading:         #3a1d14;   /* display headings — deep red clay */
  --primary:         #7e3421;   /* Duroc: buttons, eyebrows, active nav */
  --primary-hover:   #62271a;
  --on-primary:      #ffffff;
  --link:            #2b5273;   /* ridge blue — text links only */
  --accent-coral:    #a63d32;   /* trailer brick: wordmark, ≤1 deadline tag/viewport, errors */
  --accent-seaglass: #f6eabf;   /* trailer cream: New-this-week chip, success msg */
  --band-bg:         #3a1d14;   /* red clay at dusk: one feature band + footer, ribbon */
  --band-text:       #f3e9dc;
  --band-stat:       #edd992;   /* trailer butter: band eyebrows, band-button fill */
  --footer-text:     #cdb8a6;   /* clay dust */
  --hairline:        #ccd3d9;   /* DECORATIVE dividers only */
  --hairline-strong: #77838d;   /* inputs / selects / sold-out chip borders (≥3:1) */
  --ribbon-text:     #edd992;
  --focus:           #2b5c85;   /* ring on every light ground, incl. primary buttons */
  --focus-band:      #edd992;   /* ring inside clay bands / footer / ribbon only */

  /* type — Besley (Clarendon: the livestock-bill face) + Overpass (Highway
     Gothic). Besley has no opsz axis, so large headings cannot snap to a
     display cut. Only 600/700 and italic 500 are loaded: set weights. */
  --display: "Besley", Rockwell, Georgia, serif;
  --body: "Overpass", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --step--1: clamp(.86rem, .84rem + .1vw, .92rem);
  --step-0:  clamp(1rem, .97rem + .2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + .8vw, 1.95rem);
  --step-3:  clamp(1.8rem, 1.55rem + 1.3vw, 2.6rem);
  --step-4:  clamp(2.3rem, 1.75rem + 2.4vw, 4rem);

  --maxw: 70rem;
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --radius: 4px;
  --tap: 48px;
  --header-h: 67px;           /* the sticky header's height (the category bar sits under it) */
  --shadow: 0 1px 0 rgba(0,0,0,.03), 0 18px 40px -24px rgba(29,37,44,.30);
}

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--display);
  color: var(--heading);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.small { font-size: var(--step--1); color: var(--ink-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Separators are drawn, not typed: Overpass's middle dot sits hard against
   the next word. The "·" stays in the markup (aria-hidden) for text copies. */
.sep {
  display: inline-block; width: 4px; height: 4px; margin: 0 .45rem 0 .1rem;
  border-radius: 50%; background: currentColor; vertical-align: middle;
  font-size: 0; line-height: 0; overflow: hidden;
}
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 40rem; }
.skip {
  position: absolute; left: -999px; top: .5rem; z-index: 100;
  background: var(--surface); color: var(--ink); padding: .6rem 1rem;
}
.skip:focus { left: .5rem; }
.eyebrow {
  font: 700 var(--step--1)/1.2 var(--body);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .6rem;
}
.eyebrow--band { color: var(--band-stat); }
.lede { font: italic 500 var(--step-1)/1.4 var(--display); color: var(--ink-muted); max-width: 38rem; }
.deadline { color: var(--accent-coral); font-weight: 700; }
.product-price, .feature-price, .cart-line, .cart-total, .checkout-total, .checkout-rows,
.pickup-list, .order-bar { font-variant-numeric: tabular-nums; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: var(--tap); padding: .85rem 1.4rem .75rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 700 var(--step-0)/1.1 var(--body); text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--primary:focus-visible { outline-color: var(--focus); }
.btn--big { min-height: 56px; padding: .9rem 1.6rem; font-size: var(--step-1); }
.btn--small { min-height: 40px; padding: .45rem .9rem; font-size: var(--step--1); }
.btn--ghost-band { border-color: var(--band-text); color: var(--band-text); background: transparent; }
.btn--ghost-band:hover { background: var(--band-text); color: var(--band-bg); }
.btn--band { background: var(--band-stat); color: var(--band-bg); }
.btn--band:hover { background: var(--band-text); color: var(--band-bg); }
.btn--add {
  min-width: 6.5rem; background: var(--surface); color: var(--primary);
  border-color: var(--primary);
}
.btn--add:hover { background: var(--primary); color: var(--on-primary); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-button {
  background: none; border: 0; padding: .25rem; color: var(--link);
  font: inherit; font-size: var(--step--1); text-decoration: underline; cursor: pointer;
}
.band :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.demo-ribbon :focus-visible { outline-color: var(--focus-band); }

/* ── badges ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-block; vertical-align: middle;
  padding: .15rem .5rem; border-radius: 999px;
  font: 700 .72rem/1.4 var(--body); letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
/* Owner-set stock chips (design-system rule 6): New is the only filled chip;
   Sold out is outlined; in stock carries no badge. */
.badge--new { background: var(--accent-seaglass); color: var(--heading); }
.badge--out { background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1.5px var(--hairline-strong); }

/* ── demo ribbon, header, nav ─────────────────────────────────────────── */
.demo-ribbon {
  background: var(--band-bg); color: var(--ribbon-text);
  font: 600 .78rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase;
  text-align: center; padding: .4rem var(--gutter);
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto; padding: .55rem var(--gutter);
  display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap;
}
.wordmark { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; }
.wordmark-name {
  font: 700 clamp(1.05rem, .9rem + .7vw, 1.4rem)/1 var(--display); color: var(--accent-coral);
  letter-spacing: .02em; text-transform: uppercase;
}
.wordmark-sub {
  font: 600 .7rem/1.4 var(--body); color: var(--ink-muted);
  letter-spacing: .14em; text-transform: uppercase;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  order: 3; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: var(--tap); cursor: pointer; padding: 12px 10px; margin-right: -10px;
}
.nav-burger span:not(.sr-only) { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.nav {
  order: 4; flex-basis: 100%; display: none; flex-direction: column;
  border-top: 1px solid var(--hairline); padding: .25rem 0 .5rem;
}
.nav-toggle:checked ~ .nav { display: flex; }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--focus); outline-offset: 2px; }
.nav a {
  display: flex; align-items: center; min-height: var(--tap);
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.nav a[aria-current="page"] { color: var(--primary); }
.cart-pill {
  order: 2; display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: .35rem .85rem; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); font-weight: 700; text-decoration: none;
}
.cart-pill:hover { background: var(--primary-hover); color: var(--on-primary); }
.cart-count {
  display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .3rem;
  border-radius: 999px; background: var(--on-primary); color: var(--primary); font-size: .8rem;
}
@media (min-width: 860px) {
  :root { --header-h: 63px; }
  .nav-burger { display: none; }
  .nav { order: 1; display: flex; flex-direction: row; flex-basis: auto; gap: 1.6rem; border: 0; padding: 0; }
  .nav a { min-height: auto; }
  .nav a:hover { color: var(--primary); }
  .cart-pill { order: 2; }
}

/* ── messages ─────────────────────────────────────────────────────────── */
.messages { list-style: none; margin: 0; padding: 0; }
.msg { padding: .75rem var(--gutter); border-bottom: 1px solid var(--hairline); text-align: center; font-weight: 600; }
.msg--success { background: var(--accent-seaglass); color: var(--ink); }
.msg--error, .msg--warning { background: color-mix(in srgb, var(--accent-coral) 10%, var(--surface)); color: var(--ink); }
.msg--info { background: var(--surface); }

/* ── hero ─────────────────────────────────────────────────────────────
   Text lives in the top 42% of the box, over the sky, ridge and meadow; the
   pigs start at 43% at every viewport. The top-down ridge-night gradient is
   functional (the lede measures 1.4–2.3:1 without it) and fully transparent
   by 42%, so the animals ride clean (design-system rule 4). Measured in the
   consult at eight viewports: lede 4.83–6.43:1, H1 ≥7.66:1. */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  display: flex; min-height: clamp(28rem, calc(100svh - 5rem), 52rem);
}
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 50% 42%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(29 37 44 / .80) 0%, rgb(29 37 44 / .70) 28%,
              rgb(29 37 44 / .48) 36%, rgb(29 37 44 / 0) 42%);
}
.hero-text {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: clamp(1.5rem, 6vh, 4.5rem) var(--gutter) 2rem;
}
.hero h1 { color: #fff; font-size: var(--step-4); font-weight: 700; max-width: 18ch; margin-bottom: .35rem; }
.hero .lede { color: #fff; max-width: 34rem; margin-bottom: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn--ghost-light { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--heading); }
@media (max-width: 820px) {
  .hero { min-height: 72svh; }
  .hero::after {
    background: linear-gradient(180deg, rgb(29 37 44 / .84) 0%, rgb(29 37 44 / .72) 30%,
                rgb(29 37 44 / .40) 38%, rgb(29 37 44 / 0) 42%);
  }
  .hero-photo img { object-position: 69% 50%; }
  /* The CTA docks at the bottom, over the grass below the snouts: the thumb
     zone, and a solid fill needs no gradient. */
  .hero-text { display: flex; flex-direction: column; min-height: inherit; padding-top: 1.25rem; padding-bottom: 1rem; }
  .hero-actions { margin-top: auto; }
  .hero-actions .btn--primary { width: 100%; }
  .hero-actions .btn--ghost-light { display: none; }
}
@media (max-width: 600px) {
  /* The phone source is already cropped to x 36–84% of the frame. */
  .hero-photo img { object-position: 50% 50%; }
}

/* ── home sections ────────────────────────────────────────────────────── */
section { padding-block: clamp(2.25rem, 1.6rem + 3vw, 4rem); }
.hero, .cat { padding-block: 0; }
.how { background: var(--surface); border-bottom: 1px solid var(--hairline); padding-block: 1.5rem; }
.next-pickup { margin-bottom: 1rem; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.how-steps li { display: flex; gap: .8rem; align-items: baseline; }
.how-n {
  flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem;
  border-radius: 50%; background: var(--primary); color: var(--on-primary);
  font: 700 1rem/1 var(--display);
}
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.feature-card a {
  display: flex; flex-direction: column; gap: .35rem; height: 100%;
  padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
.feature-card a:hover { border-color: var(--primary); }
.feature-card .badge { align-self: flex-start; }
.feature-name { font: 700 var(--step-1)/1.2 var(--display); color: var(--heading); }
.feature-price { font-weight: 600; }
.unit { font-weight: 400; color: var(--ink-muted); }

.family-grid { display: grid; gap: 1.75rem; align-items: center; }
.family-photo { border-radius: var(--radius); width: 100%; }
@media (min-width: 860px) { .family-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.pull { margin: 1.25rem 0; padding: .25rem 0 .25rem 1.1rem; border-left: 4px solid var(--accent-coral); }
.pull p { font: italic 500 var(--step-1)/1.4 var(--display); color: var(--heading); margin-bottom: .4rem; }
.pull cite { font-style: normal; font-size: var(--step--1); color: var(--ink-muted); }

.band { background: var(--band-bg); color: var(--band-text); }
.band h2 { color: #fff; }
.band-grid { display: grid; gap: 2rem; align-items: center; }
.band-photo { border-radius: var(--radius); }
@media (min-width: 760px) { .band-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; } }

.market-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.market-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.market-card h3 { margin-bottom: .25rem; }
.market-card p { margin: 0 0 .3rem; }
.market-place { color: var(--ink-muted); }
.market-next { font-weight: 700; color: var(--primary); }

/* ── content pages ────────────────────────────────────────────────────── */
.page { padding-block: clamp(1.75rem, 1.2rem + 2.5vw, 3.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-head { margin-bottom: 1.75rem; }
.prose { max-width: 40rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }
.wide-photo { margin: 0 0 2rem; }
.wide-photo img { width: 100%; max-height: 60vh; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); }
.photo-strip { list-style: none; padding: 0; margin: 2rem auto; display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.photo-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 760px) { .photo-strip { grid-template-columns: repeat(4, 1fr); } }
.cta-line { margin-top: 1.5rem; }

.location-list { list-style: none; padding: 0; margin: 0 auto 2rem; display: grid; gap: 1rem; }
.location {
  display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 1.25rem;
}
.location h2 { font-size: var(--step-2); margin-bottom: .25rem; }
.location p { margin: 0 0 .35rem; }
@media (min-width: 760px) { .location { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.date-chips { list-style: none; padding: 0; margin: .3rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.date-chips li { background: var(--accent-seaglass); color: var(--ink); border-radius: 999px; padding: .2rem .7rem; font-weight: 600; font-size: var(--step--1); }

/* ── the order page ───────────────────────────────────────────────────── */
/* Compact on purpose: success criterion 1 is an order in under two minutes
   on a phone, so the first product should be close to the fold. */
.order-head { padding-block: 1.25rem .75rem; }
.order-head h1 { font-size: var(--step-3); margin-bottom: .3rem; }
.order-head .lede { font: 400 var(--step-0)/1.45 var(--body); color: var(--ink); margin-bottom: .6rem; }
.demo-note { font-size: var(--step--1); background: var(--accent-seaglass); padding: .4rem .7rem; border-radius: var(--radius); display: inline-block; margin: 0; }
.cat-jump {
  position: sticky; top: var(--header-h); z-index: 10;
  display: flex; gap: .4rem; overflow-x: auto; padding-block: .6rem;
  background: var(--bg); border-bottom: 1px solid var(--hairline);
  scrollbar-width: none;
}
.cat-jump a {
  flex: none; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--hairline);
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: var(--step--1); text-decoration: none;
}
.cat { margin-top: 1rem; }
.cat-photo { width: 100%; height: clamp(4.5rem, 14vw, 11rem); object-fit: cover; }
.cat-band .wrap { padding-top: .75rem; }
.cat-band h2, .cat-head h2 { font-size: var(--step-2); margin: 0 0 .2rem; }
.cat-band p { color: var(--ink-muted); }
.cat-head { padding-top: .5rem; }
.cat-head h2 { margin-bottom: .2rem; }
.cat-head p { color: var(--ink-muted); }
.product-list { list-style: none; margin: 0 auto; padding-block: .25rem 1rem; }
.product {
  display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center;
  padding: .95rem 0; border-bottom: 1px solid var(--hairline);
}
.product:has(.product-thumb) { grid-template-columns: auto 1fr auto; }
.product-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.product-name { font-size: var(--step-1); margin: 0 0 .15rem; }
.product-name a { color: var(--heading); text-decoration: none; }
.product-name a:hover { text-decoration: underline; }
.product-name .badge { margin-left: .35rem; }
.product-price { margin: 0; }
.per-lb, .product-note { color: var(--ink-muted); font-size: var(--step--1); }
.product-note { margin: .1rem 0 0; }
.product-action { text-align: right; }
.product-action form { margin: 0; }
.in-cart { margin: .3rem 0 0; font-size: var(--step--1); font-weight: 700; color: var(--primary); }
.product--out .product-name a, .product--out .product-price { color: var(--ink-muted); }
.order-foot { color: var(--ink-muted); font-size: var(--step--1); padding-bottom: 6rem; }
.product-page .product-list { padding: 0; }
.crumbs { margin-bottom: 1rem; }

.order-bar {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 56px; padding: .6rem 1.1rem; border-radius: var(--radius);
  background: var(--band-bg); color: var(--band-text); text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
}
.order-bar:hover { color: #fff; }
.order-bar-cta { color: var(--band-stat); font-weight: 700; }
@media (min-width: 760px) { .order-bar { left: auto; right: 1.5rem; bottom: 1.5rem; min-width: 22rem; } }
body:has(.order-bar) .site-footer { padding-bottom: 6rem; }

/* ── cart & checkout ──────────────────────────────────────────────────── */
.cart-rows, .checkout-rows { list-style: none; margin: 0 0 1rem; padding: 0; }
.cart-row {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: center;
  padding: .9rem 0; border-bottom: 1px solid var(--hairline);
}
.cart-item { display: flex; flex-direction: column; }
.qty-form { display: flex; align-items: center; gap: .5rem; grid-row: 2; }
.qty-form select { min-height: 44px; min-width: 4.5rem; width: auto; padding: .3rem .5rem; }
.cart-line { grid-row: 1 / span 2; grid-column: 2; font-weight: 700; }
.cart-total, .checkout-total { display: flex; justify-content: space-between; font-size: var(--step-1); margin: 1rem 0 .5rem; }
.cart-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; margin-top: 1.5rem; }
.notice { background: var(--accent-seaglass); padding: .9rem 1rem; border-radius: var(--radius); }
.checkout-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--hairline); }
.checkout-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 2.5rem; } .checkout-summary { position: sticky; top: 5rem; } }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.25rem; }
.checkout-summary h2 { font-size: var(--step-2); }
fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; }
legend { font: 700 var(--step-1)/1.2 var(--display); color: var(--heading); margin-bottom: .6rem; padding: 0; }
label.field { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; margin-bottom: .9rem; }
.opt { font-weight: 400; color: var(--ink-muted); font-size: var(--step--1); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--hairline-strong); border-radius: var(--radius); padding: .65rem .75rem; min-height: var(--tap); width: 100%;
}
textarea { min-height: 7rem; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.radio-card {
  display: flex; gap: .8rem; align-items: flex-start; cursor: pointer;
  padding: .8rem 1rem; margin-bottom: .5rem; border: 1.5px solid var(--hairline);
  border-radius: var(--radius); background: var(--surface);
}
.radio-card input { margin-top: .3rem; width: 1.2rem; height: 1.2rem; accent-color: var(--primary); }
.radio-card:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.radio-card > span { display: flex; flex-direction: column; }
.radio-sub { color: var(--ink-muted); }
label.radio { display: flex; gap: .6rem; align-items: center; min-height: 40px; font-weight: 400; }
label.radio input { width: 1.15rem; height: 1.15rem; accent-color: var(--primary); }
.card-field { min-height: 90px; }
.wallets { margin-bottom: 1rem; }
.wallet-btn { margin-bottom: .6rem; min-height: 48px; }
#apple-pay-button { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; height: 48px; }
.wallets-or { text-align: center; color: var(--ink-muted); font-size: var(--step--1); }
.btn--pay { width: 100%; }
.ck-status { min-height: 1.5em; margin: .75rem 0 .25rem; font-weight: 600; }
.ck-status--error { color: var(--accent-coral); }
.ck-status--ok { color: var(--ink); }
.pickup-card { margin: 1rem 0 1.5rem; }
.pickup-when { font: 700 var(--step-2)/1.15 var(--display); color: var(--primary); margin-bottom: .4rem; }
.form-errors, .field-error { color: var(--accent-coral); font-weight: 600; font-size: var(--step--1); }

/* ── chefs ────────────────────────────────────────────────────────────── */
.chefs-grid { display: grid; gap: 2rem; align-items: start; }
.chefs-photo { border-radius: var(--radius); }
@media (min-width: 860px) { .chefs-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }

/* ── pitch ────────────────────────────────────────────────────────────── */
.facts { margin: 0 auto 2.5rem; padding-left: 0; list-style: none; counter-reset: fact; }
.facts > li {
  counter-increment: fact; position: relative; padding: 1.25rem 1.25rem 1rem 3.6rem;
  margin-bottom: 1rem; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
}
.facts > li::before {
  content: counter(fact); position: absolute; left: 1.1rem; top: 1.15rem;
  font: 700 var(--step-3)/1 var(--display); color: var(--accent-coral);
}
.facts h2 { font-size: var(--step-2); }
.receipt { font-size: var(--step--1); color: var(--ink-muted); margin: 0; }

/* ── signup & footer ──────────────────────────────────────────────────── */
.signup-title { font-size: var(--step-1); }
.signup-form label { display: block; font-size: var(--step--1); margin-bottom: .4rem; }
.signup-row { display: flex; gap: .5rem; }
.signup-row input { flex: 1; min-width: 0; }
.signup-done { font-weight: 600; }
.signup-err { color: var(--accent-coral); font-size: var(--step--1); margin-top: .4rem; }
.site-footer { background: var(--band-bg); color: var(--footer-text); padding: 2.5rem 0 1.5rem; font-size: var(--step--1); }
.site-footer a { color: var(--band-text); }
.site-footer a:hover { color: #fff; }
.footer-grid { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 2rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1.3fr; } }
.footer-name { font: 700 var(--step-2)/1 var(--display); color: var(--band-text); text-transform: uppercase; letter-spacing: .02em; }
.footer-brand p { margin-bottom: .45rem; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col > a { min-height: 32px; display: inline-flex; align-items: center; }
.site-footer .signup-title { color: var(--band-text); }
.site-footer .signup-row input { background: #fff; border-color: transparent; }
.site-footer .btn--small { background: var(--band-stat); color: var(--band-bg); }
.footer-bottom { max-width: var(--maxw); margin: 2rem auto 0; padding-inline: var(--gutter); opacity: .8; }

/* ── the owners' pickup list ──────────────────────────────────────────── */
.day-nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.pickup-loc { padding-block: 1rem; border-top: 2px solid var(--heading); }
.pickup-loc h2 { font-size: var(--step-2); }
.pack-totals { columns: 2 14rem; padding-left: 1.2rem; }
.bags { padding-left: 1.4rem; }
.bag { padding: .5rem 0 .6rem; border-bottom: 1px dashed var(--hairline); break-inside: avoid; }
.bag p { margin-bottom: .2rem; }
.bag ul { margin: 0; padding-left: 1.1rem; }
.bag-note { font-style: italic; }
@media print {
  .site-header, .site-footer, .order-bar, .demo-ribbon, .no-print, .messages { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
