/* =====================================================================
   BAKED PURE — Clean modern organic
   Design system: warm paper canvas, forest ink, olive/sage/wheat.
   Type: Fraunces (display) · Hanken Grotesk (body) · mono micro-labels.
   ===================================================================== */

/* ---- Tokens ---------------------------------------------------------- */
:root {
  --paper:      #F7F6F0;
  --paper-2:    #EFECE0;
  --surface:    #FFFFFF;
  --ink:        #1F2A1B;
  --ink-soft:   #47513C;
  --olive:      #5A6B3B;
  --olive-deep: #47562E;
  --sage:       #8C9A76;
  --wheat:      #C9A15A;
  --wheat-soft: #E8D9B4;
  --line:       #E4E1D6;
  --line-soft:  #EDEBE1;

  --shadow-sm: 0 1px 2px rgba(31,42,27,.04), 0 4px 14px rgba(31,42,27,.05);
  --shadow-md: 0 10px 40px rgba(31,42,27,.10);

  --f-display: "Fraunces", Georgia, serif;
  --f-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono:    "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset / base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  font-optical-sizing: auto;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Utility micro-label — the "organic product label" voice */
.eyebrow {
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--olive);
  opacity: .6;
}
.eyebrow.centered::before { display: none; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }

/* ---- Section rhythm -------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-top: .7rem; }
.section-head p { margin: 1rem 0 0; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .85em 1.5em;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s, box-shadow .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.btn--primary { background: var(--olive); color: #F7F6F0; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--olive-deep); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive); }
.btn--arrow svg { transition: transform .35s var(--ease); }
.btn--arrow:hover svg { transform: translateX(4px); }

/* ---- Header / nav ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: baseline; gap: .5rem; font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; }
.brand .dot { color: var(--wheat); }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: .4rem; transition: color .25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--wheat); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 1rem; }

.cart-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: .55rem .95rem; font-weight: 600; font-size: .9rem;
  color: var(--ink); transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cart-btn:hover { border-color: var(--olive); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.cart-count {
  min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 100px;
  background: var(--olive); color: #fff; font-size: .72rem; font-weight: 700;
  display: inline-grid; place-items: center; line-height: 1;
}

.nav-toggle { display: none; background: none; border: 0; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 6px; }

/* ---- Seal (signature element) --------------------------------------- */
.seal { width: 100%; height: 100%; }
.seal .seal-text { font-family: var(--f-mono); font-size: 12.4px; letter-spacing: .18em; fill: var(--olive); text-transform: uppercase; }
.seal .seal-ring { fill: none; stroke: var(--olive); }
.seal-spin { animation: sealspin 26s linear infinite; transform-origin: 100px 100px; }
@keyframes sealspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-spin { animation: none; } }

/* ---- Hero ------------------------------------------------------------ */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); letter-spacing: -0.03em; }
.hero-copy h1 em { font-style: italic; color: var(--olive); }
.hero-copy .lede { margin: 1.6rem 0 2.2rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.hero-media { position: relative; }
.hero-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-seal {
  position: absolute; width: clamp(96px, 12vw, 140px); aspect-ratio: 1;
  right: -18px; bottom: -22px; background: var(--paper);
  border-radius: 50%; padding: 12px; box-shadow: var(--shadow-md);
}

.trust-row { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.trust { display: flex; flex-direction: column; gap: .1rem; }
.trust .n { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.trust .l { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- Photo placeholders (swap for real images) ---------------------- */
/* Elegant, on-brand fallbacks so nothing ever renders as a broken box.
   To use real photos: replace .photo blocks with <img src="images/breads/xyz.jpg" alt="…">. */
.photo {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 15%, color-mix(in srgb, var(--tone, var(--wheat-soft)) 60%, #fff) 0%, transparent 55%),
    linear-gradient(150deg, color-mix(in srgb, var(--tone, var(--wheat-soft)) 55%, var(--paper)) 0%, color-mix(in srgb, var(--tone, var(--wheat-soft)) 88%, #b89a63) 100%);
  isolation: isolate;
}
.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: center / auto 46% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 80' fill='none' stroke='%236b5a2e' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M20 78V27'/%3E%3Cpath d='M20 30q-9-3-9-13 9 3 9 13'/%3E%3Cpath d='M20 30q9-3 9-13-9 3-9 13'/%3E%3Cpath d='M20 42q-9-3-9-13 9 3 9 13'/%3E%3Cpath d='M20 42q9-3 9-13-9 3-9 13'/%3E%3Cpath d='M20 54q-9-3-9-13 9 3 9 13'/%3E%3Cpath d='M20 54q9-3 9-13-9 3-9 13'/%3E%3Cpath d='M20 24q-6-4-6-11 6 3 6 11'/%3E%3Cpath d='M20 24q6-4 6-11-6 3-6 11'/%3E%3C/svg%3E");
  opacity: .4; mix-blend-mode: multiply;
}
.photo .photo-label {
  position: absolute; z-index: 2; left: 14px; bottom: 12px;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 80%, transparent); background: color-mix(in srgb, var(--paper) 80%, transparent);
  padding: .3em .6em; border-radius: 6px; backdrop-filter: blur(3px);
}
.photo .wheat-mark { position: absolute; z-index: 2; inset: 0; margin: auto; width: 46%; opacity: .5; }
.photo .wheat-mark path { stroke: color-mix(in srgb, var(--olive) 75%, #6b5a2e); }

/* tones per product */
.t-sourdough   { --tone: #E7D3A9; }
.t-rye         { --tone: #D8C4A0; }
.t-multigrain  { --tone: #E2CFA0; }
.t-cheese      { --tone: #EBD89A; }
.t-cinnamon    { --tone: #E5C79A; }
.t-buns        { --tone: #EAD3A4; }
.t-einkorn     { --tone: #E9DCB4; }
.t-white       { --tone: #EFE6CF; }
.t-hero        { --tone: #E8D6AE; }
.t-story       { --tone: #DED0AE; }
.t-market      { --tone: #D9E0C8; }

/* ---- Breads catalog -------------------------------------------------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--olive) 30%, var(--line)); }
.card .photo { aspect-ratio: 5/4; }
.card-photo { width: 100%; aspect-ratio: 5/4; object-fit: cover; display: block; }
.hero-photo img, .split .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.card-top h3 { font-size: 1.42rem; }
.card .price { font-family: var(--f-mono); font-weight: 500; font-size: 1rem; color: var(--olive); white-space: nowrap; }
.card .spec { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.card .desc { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.tag-organic {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--olive); border: 1px solid color-mix(in srgb, var(--olive) 35%, var(--line));
  padding: .3em .55em; border-radius: 6px;
}
.add-btn {
  display: inline-flex; align-items: center; gap: .45em; background: var(--ink); color: var(--paper);
  border: 0; border-radius: 100px; padding: .6em 1.05em; font-weight: 600; font-size: .85rem;
  transition: background .25s, transform .25s;
}
.add-btn:hover { background: var(--olive); transform: translateY(-1px); }

/* ---- Feature / split ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .photo { aspect-ratio: 4/3; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin: .7rem 0 1.1rem; }
.checklist { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { flex: none; margin-top: 3px; color: var(--olive); }

/* ---- Band (dark organic) -------------------------------------------- */
.band { background: var(--olive-deep); color: var(--wheat-soft); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--wheat); }
.band .eyebrow::before { background: var(--wheat); }
.band h2 { color: #F7F6F0; }
.band-quote { font-family: var(--f-display); font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.22; color: #F7F6F0; font-weight: 400; max-width: 20ch; }
.band-quote .mono { display: block; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat); margin-top: 1.4rem; }

/* ---- Markets --------------------------------------------------------- */
.market-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.market {
  display: grid; grid-template-columns: 1.4fr 1.6fr 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.market:hover { background: color-mix(in srgb, var(--wheat-soft) 22%, transparent); }
.market h3 { font-size: 1.35rem; }
.market .addr { color: var(--ink-soft); font-size: .95rem; }
.market .when { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; color: var(--olive); text-transform: uppercase; }
.market .map-link { font-weight: 600; font-size: .88rem; color: var(--olive); display: inline-flex; align-items: center; gap: .35em; }
.market .map-link:hover { text-decoration: underline; }
.todo-flag { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; color: var(--wheat); text-transform: uppercase; }

/* ---- Forms ----------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem .95rem; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--olive) 15%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .85rem; color: var(--sage); font-family: var(--f-mono); letter-spacing: .04em; }

/* ---- Story timeline -------------------------------------------------- */
.timeline { display: grid; gap: 0; margin-top: 2rem; }
.tl { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl .yr { font-family: var(--f-mono); font-weight: 500; color: var(--wheat); font-size: 1.05rem; letter-spacing: .04em; }
.tl h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.tl p { margin: 0; color: var(--ink-soft); }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--paper) 78%, transparent); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer .brand { color: #F7F6F0; font-size: 1.5rem; }
.site-footer h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat); font-weight: 500; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a, .footer-col p { color: color-mix(in srgb, var(--paper) 70%, transparent); font-size: .95rem; margin: 0; transition: color .25s; }
.footer-col a:hover { color: #F7F6F0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(247,246,240,.12); font-size: .82rem; color: color-mix(in srgb, var(--paper) 55%, transparent); font-family: var(--f-mono); letter-spacing: .04em; }
.footer-bottom a { color: inherit; }

/* ---- Reveal on scroll ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Page hero (interior) ------------------------------------------- */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-top: .7rem; }
.page-hero p { max-width: 56ch; margin: 1.2rem 0 0; }

/* ---- Motion: hero load choreography --------------------------------- */
/* Headline lines ride up from behind a mask; everything else staggers in.
   Everything is gated behind no-preference, so reduced-motion users get a
   fully static, fully visible page with zero animation. */
.hero-title .line { display: block; overflow: hidden; padding-bottom: .12em; }
.hero-title .line > span { display: block; }

@keyframes fadeUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes lineUp   { from { transform: translateY(115%); }            to { transform: translateY(0); } }
@keyframes fadeScale{ from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sealIn   { from { opacity: 0; transform: scale(.55) rotate(-35deg); }   to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow    { opacity: 0; animation: fadeUp .7s var(--ease) .1s both; }
  .hero-title .line > span { transform: translateY(115%); animation: lineUp .9s var(--ease) both; }
  .hero-title .line:nth-child(1) > span { animation-delay: .16s; }
  .hero-title .line:nth-child(2) > span { animation-delay: .28s; }
  .hero-title .line:nth-child(3) > span { animation-delay: .40s; }
  .hero-copy .lede         { opacity: 0; animation: fadeUp .7s var(--ease) .52s both; }
  .hero-copy .hero-actions { opacity: 0; animation: fadeUp .7s var(--ease) .64s both; }
  .hero-media  { opacity: 0; animation: fadeScale 1s var(--ease) .32s both; }
  .hero-seal   { opacity: 0; animation: sealIn .9s var(--ease) .95s both; }

  /* Interior pages get a lighter version of the same entrance */
  .page-hero .eyebrow { opacity: 0; animation: fadeUp .6s var(--ease) .06s both; }
  .page-hero h1       { opacity: 0; animation: fadeUp .7s var(--ease) .16s both; }
  .page-hero p        { opacity: 0; animation: fadeUp .7s var(--ease) .3s both; }
}

/* ---- Motion: refined hovers ----------------------------------------- */
.card .photo { transition: transform .55s var(--ease); }
.card:hover .photo { transform: scale(1.045); }
.hero-photo { transition: transform .6s var(--ease); }
.hero-media:hover .hero-photo { transform: translateY(-4px); }

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 440px; }
  .split { grid-template-columns: 1fr; }
  .split .photo { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .market { grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; }
  .market .map-link { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); transform: translateY(-135%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; box-shadow: var(--shadow-md); }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 70px 1fr; gap: 1rem; }
  .market { grid-template-columns: 1fr; }
}

/* =====================================================================
   Add-ons: market alert bar · quantity steppers · mobile order bar
   ===================================================================== */

/* ---- "This week at the market" alert bar ---------------------------- */
.market-alert {
  background: linear-gradient(180deg, var(--olive-deep) 0%, #3f4d28 100%);
  color: var(--wheat-soft);
  border-bottom: 1px solid rgba(201,161,90,.28);
}
.market-alert[hidden] { display: none; }
.market-alert-inner {
  display: flex; align-items: center; justify-content: center; gap: .85rem;
  padding: .72rem var(--gutter); position: relative; min-height: 46px;
}

/* location pin — "here's where to find us this week" */
.ma-icon { color: var(--wheat); flex: none; display: block; }

.ma-text {
  margin: 0; display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; line-height: 1.2; flex-wrap: wrap; justify-content: center;
}
.ma-tag {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--wheat); font-weight: 500; white-space: nowrap;
}
.ma-where { color: #F7F6F0; font-weight: 600; white-space: nowrap; }
.ma-short { display: none; }
.ma-sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; flex: none; }
.ma-time { font-family: var(--f-mono); font-size: .8rem; color: var(--wheat-soft); white-space: nowrap; }

.ma-link {
  display: inline-flex; align-items: center; gap: .3em; color: var(--wheat);
  font-weight: 600; font-size: .84rem; white-space: nowrap; margin-left: .3rem;
  transition: gap .3s var(--ease);
}
.ma-link:hover { gap: .55em; }
.ma-link svg { transition: transform .3s var(--ease); }

.ma-close {
  position: absolute; right: calc(var(--gutter) - .3rem); top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: rgba(247,246,240,.06); border: 0;
  color: var(--wheat-soft); display: grid; place-items: center; opacity: .8;
  transition: background .2s, opacity .2s;
}
.ma-close:hover { background: rgba(247,246,240,.14); opacity: 1; }
.ma-close:focus-visible { outline: 2px solid var(--wheat); outline-offset: 2px; }

@media (max-width: 720px) {
  .market-alert-inner { gap: .6rem; padding: .62rem calc(var(--gutter) + 1.8rem) .62rem var(--gutter); }
  .ma-text { gap: .4rem .5rem; font-size: .82rem; }
  .ma-tag { display: none; }              /* the pulsing dot already signals "now" */
  .ma-full { display: none; }
  .ma-short { display: inline; }
  .ma-link { display: none; }             /* redundant with the nav on mobile */
  .ma-time { font-size: .74rem; }
}

/* ---- Quantity stepper (injected into each card) --------------------- */
.card-foot { justify-content: flex-start; }
.card-foot .add-btn { flex: 1; justify-content: center; }
.card .tag-organic { align-self: flex-start; margin-top: .1rem; }
.qty {
  display: inline-flex; align-items: center; gap: .1rem; flex: none;
  border: 1px solid var(--line); border-radius: 100px; padding: .16rem; background: var(--surface);
}
.qty-btn {
  width: 27px; height: 27px; border: 0; background: transparent; border-radius: 50%;
  font-size: 1.05rem; color: var(--ink); display: grid; place-items: center; line-height: 1;
  transition: background .2s, color .2s;
}
.qty-btn:hover { background: var(--paper-2); color: var(--olive); }
.qty-btn:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.qty-val { min-width: 22px; text-align: center; font-family: var(--f-mono); font-size: .92rem; font-weight: 500; }

/* ---- Mobile sticky order bar ---------------------------------------- */
.mobile-order-bar { display: none; }
@media (max-width: 680px) {
  .mobile-order-bar.show {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid var(--line);
  }
  .mob-btn {
    display: flex; align-items: center; justify-content: center; gap: .55rem; width: 100%;
    background: var(--olive); color: var(--paper); font-weight: 600; font-size: 1rem;
    padding: .95em; border-radius: 100px; box-shadow: var(--shadow-md);
  }
  .mob-btn:active { transform: translateY(1px); }
  .mob-count {
    background: var(--wheat); color: var(--ink); min-width: 21px; height: 21px; padding-inline: 5px;
    border-radius: 100px; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700;
  }
  body.has-order-bar { padding-bottom: 76px; }
}

/* ---- Featured market (with live map embed) -------------------------- */
.featured-market {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.fm-info { padding: clamp(1.6rem, 3.5vw, 2.8rem); display: flex; flex-direction: column; }
.fm-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: .5rem 0 1.4rem; }
.fm-details { list-style: none; margin: 0 0 1.9rem; padding: 0; display: grid; gap: .9rem; }
.fm-details li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); }
.fm-details svg { color: var(--olive); flex: none; margin-top: 2px; }
.fm-details strong { color: var(--ink); font-weight: 600; }
.fm-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
.fm-map { min-height: 360px; position: relative; background: var(--paper-2); }
.fm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 820px) {
  .featured-market { grid-template-columns: 1fr; }
  .fm-map { min-height: 280px; }
}

/* =====================================================================
   Bread detail modal (click a card) + Nutrition Facts label
   ===================================================================== */
.card { cursor: pointer; position: relative; }
.card::after {
  content: "View details";
  position: absolute; top: 12px; left: 12px; z-index: 3; pointer-events: none;
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  background: color-mix(in srgb, var(--ink) 84%, transparent); color: var(--paper);
  padding: .35em .6em; border-radius: 6px; opacity: 0; transform: translateY(-4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover::after { opacity: 1; transform: none; }

body.modal-open { overflow: hidden; }
.bread-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(.8rem, 4vw, 2.5rem); }
.bread-modal[hidden] { display: none; }
.bm-overlay { position: absolute; inset: 0; background: rgba(20,26,16,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bm-panel {
  position: relative; z-index: 1; width: 100%; max-width: 940px; max-height: 90vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  animation: bmIn .35s var(--ease);
}
@keyframes bmIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bm-panel { animation: none; } }
.bm-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s, transform .3s var(--ease);
}
.bm-close:hover { background: var(--paper-2); transform: rotate(90deg); }
.bm-close:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }

.bm-content { display: grid; grid-template-columns: 1fr 296px; }
.bm-left { padding: clamp(1.4rem, 3vw, 2.4rem); min-width: 0; }
.bm-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 1.4rem; }
.bm-media .photo { width: 100%; height: 100%; }
.bm-left .tag-organic { margin-bottom: .7rem; }
.bm-left h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 .5rem; }
.bm-pricerow { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.bm-pricerow .price { font-family: var(--f-mono); color: var(--olive); font-size: 1.2rem; font-weight: 500; }
.bm-pricerow .spec { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.bm-desc { color: var(--ink-soft); margin: 0; }
.bm-sec { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.2rem; }
.bm-sec h3 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin: 0 0 .4rem; }
.bm-sec p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.bm-buy { display: flex; align-items: center; gap: .8rem; margin-top: 1.7rem; }
.bm-buy .add-btn { flex: 1; justify-content: center; padding: .85em 1.2em; font-size: .95rem; }

.bm-nutrition { background: var(--paper); border-left: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 1.7rem); display: flex; flex-direction: column; }

/* Canadian-style Nutrition Facts label */
.nfacts { background: #fff; color: #000; border: 2px solid #000; border-radius: 5px; padding: 7px 10px; font-family: var(--f-body); line-height: 1.15; font-size: 13px; }
.nf-title { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: .96; }
.nf-title span { display: block; font-size: 12px; font-weight: 600; }
.nf-serving { font-weight: 600; padding: 3px 0; }
.nf-rule { border: 0; border-top: 1px solid #000; margin: 2px 0; }
.nf-rule-mid { border: 0; border-top: 4px solid #000; margin: 2px 0; }
.nf-rule-thick { border: 0; border-top: 8px solid #000; margin: 2px 0; }
.nf-cal { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 19px; }
.nf-dv { text-align: right; font-weight: 700; font-size: 12px; padding: 1px 0 2px; }
.nf-row { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; border-top: 1px solid #000; }
.nf-row.sub { padding-left: 16px; }
.nf-row.sub2 { padding-left: 30px; }
.nf-row strong { font-weight: 800; }
.nf-foot { font-size: 10.5px; padding-top: 4px; border-top: 4px solid #000; margin-top: 1px; }
.nf-note { font-size: 11px; color: var(--sage); margin-top: .8rem; font-family: var(--f-mono); letter-spacing: .03em; }

@media (max-width: 760px) {
  .bm-content { grid-template-columns: 1fr; }
  .bm-nutrition { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- FAQ accordion --------------------------------------------------- */
.faq-list { max-width: 780px; margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.35rem 0; display: flex; justify-content: space-between;
  align-items: center; gap: 1.2rem; font-family: var(--f-display); font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500; color: var(--ink); transition: color .2s;
}
.faq-item summary:hover { color: var(--olive); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
.faq-ico {
  flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--olive); border-color: var(--olive); color: #fff; }
.faq-a { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 66ch; }
.faq-a a { color: var(--olive); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
