/* ==========================================================================
   BRAND TOKENS — swap these when the real palette arrives.
   Every color on the site comes from this block.
   ========================================================================== */
:root {
  /* Approved palette */
  --cocoa: #4A2C20;
  --orange: #E36F3D;              /* Baked Orange */
  --dulce: #C98A54;               /* Dulce de Leche */
  --sage: #78865B;
  --cream: #F7EBDD;               /* Warm Cream */
  --white: #FFFFFF;

  /* The brand colors are used exactly as given. For readable text:
     - white on Baked Orange or Sage only at large bold sizes (19px+), e.g. main buttons
     - small text sits on cocoa, cream, white, or the light tints below (cocoa text) */
  --orange-tint: color-mix(in srgb, var(--orange) 16%, var(--white));
  --sage-tint: color-mix(in srgb, var(--sage) 22%, var(--cream));
  --sage-soft: color-mix(in srgb, var(--sage) 28%, var(--white));
  --dulce-soft: color-mix(in srgb, var(--dulce) 60%, var(--cream));

  --brand-primary: var(--orange);         /* buttons, highlights */
  --brand-primary-dark: var(--cocoa);     /* button hover */
  --brand-accent: var(--dulce);           /* step numbers, large accents */
  --brand-vegan: var(--sage);             /* everything vegan */
  --brand-vegan-dark: var(--cocoa);
  --brand-vegan-soft: var(--sage-soft);

  --bg: var(--cream);
  --surface: var(--white);
  --surface-alt: color-mix(in srgb, var(--dulce) 16%, var(--cream));
  --text: var(--cocoa);
  --text-muted: color-mix(in srgb, var(--cocoa) 75%, var(--cream));
  --border: color-mix(in srgb, var(--dulce) 30%, var(--cream));

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Motion: one standard curve for state changes, decelerate for things arriving, accelerate for things leaving */
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --ease-enter: cubic-bezier(0, 0, 0, 1);
  --ease-exit: cubic-bezier(.3, 0, 1, 1);
  --dur-short: 150ms;
  --dur-medium: 250ms;
  --dur-long: 350ms;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(74, 44, 32, .06), 0 8px 24px rgba(74, 44, 32, .08);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }   /* height: auto keeps the width/height attributes from stretching photos */
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.small-title { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: .75rem; }
.fine-print { font-size: .85rem; color: var(--text-muted); }
.pay-note { text-align: center; margin: 10px 0 0; }
section { padding: clamp(56px, 9vw, 96px) 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-standard), border-color var(--dur-short) var(--ease-standard),
    color var(--dur-short) var(--ease-standard), transform 100ms var(--ease-standard);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--white); font-size: 1.1875rem; font-weight: 700; padding: .65em 1.3em; }
.btn-primary:hover { background: var(--brand-primary-dark); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-primary); }
.btn-sage { background: var(--sage); color: var(--white); font-size: 1.1875rem; font-weight: 700; padding: .65em 1.3em; }
.btn-sage:hover { background: var(--cocoa); }
.btn-outline-sage { background: var(--white); color: var(--text); border-color: var(--sage); }
.btn-outline-sage:hover { background: var(--sage-soft); }
.btn.full { width: 100%; }
.icon-btn { background: none; border: 0; font-size: 1.2rem; cursor: pointer; padding: 8px; color: var(--text-muted); }

/* "¿Prefieres español?" bar (live site only, above the header) */
.lang-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px;
  background: var(--cocoa); color: var(--cream); font-size: .92rem; padding: 6px 48px 6px 16px; position: relative;
}
.lang-bar a { color: var(--cream); font-weight: 700; text-underline-offset: 3px; }
.lang-bar .icon-btn { color: var(--cream); position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1rem; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 40px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.brand-name { white-space: nowrap; }
.main-nav a:hover { color: var(--text); }
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--text); color: var(--bg); font: 600 .95rem var(--font-body);
}
.cart-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; font-size: .75rem;
  background: var(--dulce-soft); color: var(--text);
}
.cart-btn.bump { animation: bump var(--dur-long) var(--ease-standard); }
@keyframes bump { 50% { transform: scale(1.12); } }

/* ============ Hero ============ */
.hero { padding-top: clamp(40px, 7vw, 80px); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.hero h1 em { font-style: italic; color: var(--brand-vegan); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 32ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.next-market {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 16px; font-size: .95rem;
}
/* Shown only when a farmers market is coming up; otherwise no bubble at all */
.next-market:empty { display: none; }
.next-market .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-vegan); box-shadow: 0 0 0 4px var(--brand-vegan-soft); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-plate {
  position: absolute; inset: 6%; border-radius: 50%;
  background: var(--white);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.floating-tag {
  position: absolute; background: var(--surface); border-radius: 999px;
  padding: 8px 14px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
}
.floating-tag.t1 { top: 8%; left: -4%; }
.floating-tag.t2 { bottom: 10%; right: -2%; color: var(--brand-vegan-dark); }

/* ============ Croissant illustration (placeholder for photos) ============ */
.croissant-art { width: 70%; color: var(--tint, var(--brand-primary)); }
.croissant-art.big { width: 72%; }
.croissant-art.small { width: 90px; margin: 0 auto 12px; }
.croissant-art svg { width: 100%; height: auto; overflow: visible; }

/* ============ How it works ============ */
.how { background: var(--surface); border-block: 1px solid var(--border); }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-accent); font: 700 1.2rem var(--font-display); margin-bottom: 14px;
}
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--text-muted); margin: 0; }

/* ============ Menu ============ */
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.menu-head p { margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--surface); font: 500 .95rem var(--font-body); cursor: pointer; color: var(--text);
}
.chip:hover { border-color: var(--brand-primary); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.vegan-chip[aria-pressed="true"] { background: var(--sage-soft); border-color: var(--sage); color: var(--text); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: border-color var(--dur-short) var(--ease-standard);
}
.card:hover { border-color: color-mix(in srgb, var(--dulce) 55%, var(--border)); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.card-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tint) 16%, var(--bg));
}
.card-media { overflow: hidden; }
.card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface); white-space: nowrap; }
.badge.vegan { background: var(--sage-soft); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sage); }
.badge.veggie { background: var(--white); color: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--brand-vegan); }
.badge.seasonal { background: var(--orange-tint); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--orange); }
.badge.best { background: var(--dulce-soft); color: var(--text); }
.chip.veggie-chip[aria-pressed="true"] { background: var(--white); border-color: var(--sage); color: var(--text); box-shadow: inset 0 0 0 1px var(--sage); }
.grid-empty { grid-column: 1 / -1; }

/* Homepage: seasonal + favorites */
.highlight-block + .highlight-block { margin-top: clamp(48px, 7vw, 72px); }
.highlights .section-title { margin-bottom: 0; }

/* Menu page */
.main-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.page-intro { padding-block: clamp(40px, 6vw, 64px) 8px; }
.page-intro h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .2em; }
.page-intro .lead { max-width: 46ch; margin-bottom: 20px; }
.menu-page { padding-top: 24px; }
.filter-bar {
  position: sticky; top: 68px; z-index: 10; padding: 12px 0; margin-bottom: 12px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.label-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 24px; font-size: .88rem; color: var(--text-muted); }
.label-key > span { display: inline-flex; align-items: center; gap: 8px; }
.allergen-note { margin: 28px 0 0; max-width: 70ch; }
.pickup-strip { background: var(--surface); border-top: 1px solid var(--border); padding-block: 40px; }
.pickup-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.pickup-strip h2 { font-size: 1.5rem; margin-bottom: .2em; }
.pickup-strip p { margin: 0; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin-bottom: .3em; }
.card-body p { color: var(--text-muted); font-size: .95rem; margin-bottom: .6em; }
.allergens { font-size: .78rem; color: var(--text-muted); }
.card-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 12px; }
.card-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.box-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.box-label { font-size: .78rem; font-weight: 600; color: var(--text-muted); margin-right: 2px; }
.size-chip {
  min-width: 40px; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font: 600 .88rem var(--font-body); cursor: pointer;
}
.size-chip:hover { border-color: var(--orange); }
.size-chip[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.in-order { margin: 0; font-size: .8rem; font-weight: 600; color: var(--text); }
.in-order::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 6px; vertical-align: middle; }
.mini-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 8px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.cart-detail { display: block; color: var(--text); font-size: .8rem; line-height: 1.35; margin: 2px 0; }
.summary small { display: block; font-size: .78rem; color: var(--text-muted); }

/* ===== Menu page: Square categories ===== */
.menu-section + .menu-section { margin-top: 40px; }
.menu-section { padding: 0; scroll-margin-top: 140px; }
.group-title { font-size: 1.4rem; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.card .stepper button:disabled { opacity: .35; cursor: not-allowed; }
.topping-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.topping-list .box-label { width: 100%; }
.topping-chip { padding: 6px 12px; font-size: .82rem; }
.topping-chip[aria-pressed="true"] { background: var(--sage-soft); border-color: var(--sage); color: var(--text); }
.price { font: 700 1.2rem var(--font-display); }
.add-btn, .btn-primary.add-btn { padding: .55em 1.1em; font-size: .9rem; font-weight: 600; background: var(--cocoa); color: var(--cream); }
.add-btn:hover { background: var(--orange); color: var(--white); }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--surface-alt); border-radius: 999px; padding: 3px; }
.stepper button {
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); font-size: 1.1rem; color: var(--text);
}
.stepper span { min-width: 24px; text-align: center; font-weight: 600; }

/* ============ Vegan ============ */
section.vegan { background: var(--sage-tint); color: var(--text); font-size: 1.05rem; border-block: 4px solid var(--sage); }
.vegan-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vegan h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.vegan p { color: var(--text); }
.vegan .fine-print { color: var(--text-muted); }
.vegan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; text-align: center;
  color: var(--text); text-decoration: none; transition: border-color var(--dur-short) var(--ease-standard);
}
.mini-card:hover { border-color: color-mix(in srgb, var(--dulce) 55%, var(--border)); }
.mini-card .croissant-art { width: 70%; margin: 0 auto 8px; }
.mini-card .badge { margin-bottom: 6px; }
.mini-card strong { display: block; font-family: var(--font-display); }
.mini-card > span:last-child { color: var(--text-muted); font-size: .95rem; }
.plant-lead { font-size: 1.1rem; font-weight: 500; }
.diet-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 24px; }
.diet-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.diet-card h3 { font-size: 1.15rem; color: var(--text); margin-bottom: .3em; }
.diet-card p { margin: 0; font-size: .95rem; }
.vegan .hero-ctas { margin: 0 0 20px; }

/* ============ Photos ============ */
.brand-logo { height: 50px; }
/* The logo is a fine line drawing: bigger on wide screens so it doesn't look faint */
@media (min-width: 861px) { .brand-logo { height: 66px; } }
.footer-logo { height: 72px; width: auto; margin-bottom: 8px; }
.hero-frame { position: absolute; inset: 12px; border-radius: 50%; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo img { width: 72%; height: 88%; object-fit: contain; }
.gallery-section { padding-block: clamp(48px, 7vw, 80px); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
@media (min-width: 861px) { .past-events .gallery { grid-template-columns: repeat(4, 1fr); } }   /* 8 catering photos: 2 rows of 4 */
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery figcaption { margin-top: 10px; font-size: .92rem; color: var(--text-muted); }
/* Tiles from her Instagram: a small camera mark in the corner, and they open the post */
.ig-post a { position: relative; display: block; border-radius: var(--radius); }
.ig-post a::after {
  content: ""; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(74, 44, 32, .78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7EBDD' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23F7EBDD' stroke='none'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ig-post a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.sticker-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
/* Die-cut sticker with a transparent background: no card, just a soft shadow that follows its shape */
.quote-sticker { width: 100%; height: auto; filter: drop-shadow(0 8px 16px rgba(74, 44, 32, .15)); }
/* Die-cut sticker (transparent background): no card, centered, soft shadow that follows its shape */
.about-photo.sticker-photo { background: none; box-shadow: none; aspect-ratio: auto; border-radius: 0; justify-self: center; width: 100%; max-width: 380px; margin-inline: auto; }
.sticker-photo img { width: 100%; height: auto; object-fit: initial; border-radius: 0; box-shadow: none; filter: drop-shadow(0 8px 16px rgba(74, 44, 32, .15)); }
.quote-inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; max-width: 1000px; }
.quote-sticker { position: sticky; top: 100px; }
.past-events { padding-top: 0; }
.past-events .section-title { margin-bottom: 24px; }
.offer-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }

/* ============ Announcement bar + language switch ============ */
.lang-switch { display: flex; padding: 3px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); }
.lang-switch button {
  border: 0; background: none; cursor: pointer; padding: 5px 10px; border-radius: 999px;
  font: 600 .8rem var(--font-body); color: var(--text-muted);
}
.lang-switch button[aria-pressed="true"] { background: var(--cocoa); color: var(--cream); }
/* Visible keyboard focus on everything clickable */
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 2px; border-radius: 4px; }
.site-footer :focus-visible { outline-color: var(--cream); }
/* Headings focused by script (drawer steps) are not controls: no ring */
h3[tabindex="-1"]:focus-visible { outline: none; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--cocoa); color: var(--cream); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ============ Catering ============ */
.cater-teaser { background: var(--surface); border-block: 1px solid var(--border); }
.cater-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cater-inner .lead { max-width: 46ch; }
.cater-hero { padding-bottom: clamp(40px, 6vw, 72px); }
.event-photo {
  margin: 0; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden;
  background: var(--surface-alt); box-shadow: var(--shadow);
}
.event-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-photo img + .event-photo-ph { display: none; }
.event-photo-ph { height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--text-muted); font-size: .9rem; }
.event-photo-ph .croissant-art { width: 45%; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 28px; }
.offer-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.offer-card .croissant-art { width: 40%; margin-bottom: 12px; }
.offer-card h3 { font-size: 1.3rem; }
.offer-card p { color: var(--text-muted); }
.offer-card .offer-price { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--border); color: var(--text); font-weight: 600; }
/* Catering: dietary note, kept small (not a feature band) */
.diet-band { padding-block: 8px 40px; }
.diet-band-inner {
  max-width: 720px; text-align: center; padding: 20px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.diet-band-inner h2 { font-size: 1.2rem; margin-bottom: .3em; }
.diet-band-inner p { color: var(--text-muted); font-size: .95rem; margin-bottom: .6em; }
.diet-band-badges { display: flex; justify-content: center; gap: 8px; }

/* Homepage: dietary info, a quiet section near the FAQ */
.diet-info { padding-block: clamp(40px, 6vw, 64px); border-top: 1px solid var(--border); }
.diet-head { display: flex; align-items: flex-end; gap: 14px; }
.diet-leaf { width: 26px; height: auto; flex-shrink: 0; margin-bottom: 10px; }
.diet-info .diet-card { border-left: 4px solid var(--sage); display: flex; flex-direction: column; }
.diet-info .diet-card h3 { margin-bottom: .55em; }
.diet-info .diet-card h3 .badge { font: 600 .95rem var(--font-body); padding: 4px 12px; }
.diet-info .diet-card p { flex: 1; }
.diet-link { align-self: flex-start; margin-top: 12px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--text); border-bottom: 2px solid var(--sage); }
.diet-link:hover { border-bottom-color: var(--cocoa); }
.diet-info-title { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.diet-info .plant-lead { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.diet-info .diet-cards { margin: 16px 0; }
.diet-info + .faq { padding-top: 16px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.quote-form { display: grid; gap: 16px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; font-weight: 500; font-size: .92rem; }
.quote-form input:not([type="checkbox"]):not([type="radio"]), .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-weight: 400; background: var(--surface); color: var(--text);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--orange); }
.quote-form fieldset { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 16px 14px; margin: 0; background: var(--surface); }
.quote-form legend { font-weight: 500; font-size: .92rem; padding: 0 6px; }
.quote-form .check-label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-top: 6px; }
.quote-form .check-label input { accent-color: var(--orange); width: 18px; height: 18px; }
.quote-form .btn { justify-self: start; }
/* "Email me news" opt-in, in the order drawer and the catering form */
form .check-label.news-opt { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .9rem; color: var(--text-muted); }
form .check-label.news-opt input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--orange); }
.quote-done { text-align: center; }
.quote-done .check { margin-top: 24px; }

/* ============ Market ============ */
.market-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.market-lead { font-size: 1.08rem; color: var(--text-muted); margin: 0 0 32px; max-width: 40rem; }
/* Pickup section: home pickup (main, wider) + farmers market (extra) */
.pickup-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.market-lines-title { margin-top: 28px; }
/* Market days: cards like the home pickup card (stripe in the market's color) */
.market-lines { display: grid; gap: 12px; }
.market-line { display: flex; gap: 18px; align-items: flex-start; padding: 18px 22px; }
.market-line h4 { display: flex; align-items: center; font: 600 1.3rem/1.2 var(--font-display); margin: 0 0 6px; }
.market-line p { margin: 0 0 2px; }
.market-line .muted { font-size: .92rem; }
.market-line-main { min-width: 0; flex: 1; }
.market-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; }
.market-line-actions .market-directions { margin: 0; }
.date-tile {
  flex-shrink: 0; width: 64px; padding: 8px 0; text-align: center; line-height: 1.1;
  background: var(--surface-alt); border-radius: 12px;
}
.date-tile b { display: block; font: 700 1.7rem/1.1 var(--font-display); }
.date-tile small { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.btn-small { padding: 8px 16px; font-size: .92rem; margin: 0 !important; }
.market-empty { border-left-color: var(--border); margin: 0; }
.cal-hint { margin-top: 10px; }
.home-card { padding: 22px 24px; }
.home-card h3 { font-size: 1.45rem; }
.home-card p:not(.market-next):not(.muted) { margin: 8px 0 16px; }
.home-pickup .date-list, .market-extra .date-list { margin-top: 12px; }
.market-extra .market-card { padding: 14px 18px; }
.market-extra .market-card h3 { font-size: 1.1rem; }
.market-name { font: 700 1.3rem var(--font-display); margin-bottom: .3em; }
.market .muted { margin-bottom: .2em; }
.market .btn { margin-top: 16px; }
.market-mascot { width: 170px; height: auto; margin-top: 28px; }

/* Multiple markets: each has a color dot used on its card, dates, and pickup buttons */
.mdot { display: inline-block; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--border); margin-right: 8px; vertical-align: middle; }
.mdot-orange { background: var(--orange); }
.mdot-sage { background: var(--sage); }
.mdot-dulce { background: var(--dulce); }
/* Home pickup: cocoa, shaped like a little house */
.mdot-cocoa { background: var(--cocoa); border-radius: 0; clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.mcard-cocoa { border-left-color: var(--cocoa) !important; }
.market-home-note { margin: 6px 0 0; font-size: .92rem; color: var(--text-muted); }
.next-market .mdot { margin-right: 0; box-shadow: 0 0 0 4px var(--surface-alt); }
.market-cards { display: grid; gap: 12px; margin-top: 8px; }
.market-card { background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--orange); border-radius: var(--radius-sm); padding: 16px 20px; }
.market-card.mcard-sage { border-left-color: var(--sage); }
.market-card.mcard-dulce { border-left-color: var(--dulce); }
.market-card h3 { display: flex; align-items: center; font-size: 1.15rem; margin-bottom: .35em; }
.market-card p { margin: 0 0 .25em; }
.market-when { font-size: .98rem; }
.market-next { font-size: .9rem; font-weight: 600; color: var(--text-muted); margin-bottom: .4em !important; }
.market-directions { display: inline-block; margin-top: 6px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); }
.market-directions:hover { border-bottom-color: var(--cocoa); }
.date-list .dl-main { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.date-list .dl-main small { display: flex; align-items: center; font-size: .82rem; color: var(--text-muted); }
.date-list .dl-main .mdot { width: 8px; height: 8px; margin-right: 6px; }
.pickup-market { display: flex; align-items: center; justify-content: center; margin-top: 4px; font-size: .72rem; line-height: 1.25; color: var(--text-muted); }
.pickup-market .mdot { width: 8px; height: 8px; margin-right: 5px; }.date-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.date-list li {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px;
}
.date-list .cal, .date-list .cal-chip { text-align: center; line-height: 1.1; min-width: 44px; }
.date-list .cal b, .date-list .cal-chip b { display: block; font: 700 1.3rem var(--font-display); }
.date-list .cal small, .date-list .cal-chip small { text-transform: uppercase; font-size: .7rem; color: var(--brand-primary-dark); font-weight: 600; }
.date-list .status { margin-left: auto; font-size: .8rem; color: var(--text-muted); }
.date-list .open { color: var(--text); font-weight: 600; }

/* ============ About ============ */
.about { background: color-mix(in srgb, var(--cream) 35%, var(--white)); }
.about-copy .section-title { font-size: clamp(2rem, 4.5vw, 3rem); }
.about-copy p { max-width: 60ch; }
.about-copy .btn { margin-top: 8px; }
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--surface);
  display: grid; place-items: center; box-shadow: var(--shadow);
}

/* ============ FAQ ============ */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange); transition: transform var(--dur-medium) var(--ease-standard); }
details[open] > :not(summary) { animation: enter var(--dur-medium) var(--ease-enter); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--text-muted); }

/* ============ Footer ============ */
.site-footer { background: var(--text); color: var(--bg); padding: 48px 0 24px; }
.site-footer .muted { color: color-mix(in srgb, var(--cream) 75%, var(--cocoa)); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 32px; }
.footer-title { font-size: .95rem; font-weight: 600; color: var(--cream); margin: 0 0 12px; opacity: .8; }
.footer-markets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-markets li { display: flex; align-items: baseline; font-size: .92rem; line-height: 1.45; }
.footer-markets .mdot { margin-top: 5px; }
.footer-brand { font-size: 1.5rem; margin-bottom: .2em; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--bg); text-decoration: none; opacity: .85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.copyright { font-size: .85rem; color: color-mix(in srgb, var(--cream) 75%, var(--cocoa)); margin: 32px 0 0; }

/* ============ Cart drawer ============ */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(74, 44, 32, .5); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--bg); z-index: 50; display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; box-shadow: -8px 0 32px rgba(0,0,0,.15);
  transition: transform var(--dur-medium) var(--ease-exit), visibility 0s linear var(--dur-medium);
}
.drawer.open { transform: none; visibility: visible; transition: transform var(--dur-long) var(--ease-enter); }
.drawer-backdrop:not([hidden]) { animation: fade-in var(--dur-long) var(--ease-enter); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 1.4rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--border); background: var(--surface); }
.total-row { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 1.1rem; }
.tax-note { margin: 0 0 12px; font-size: .85rem; color: var(--text-muted); }

.cart-items { list-style: none; padding: 0; margin: 0 0 24px; }
.cart-items li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-thumb { width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; background: color-mix(in srgb, var(--tint) 18%, var(--bg)); }
.cart-thumb img { display: block; width: 52px; height: 52px; }   /* exact square; object-fit: cover crops the photo */
.cart-thumb .croissant-art { width: 80%; }
.cart-info { flex: 1; min-width: 0; }
.cart-info strong { display: block; font-size: .95rem; }
.cart-info small { color: var(--text-muted); }
.cart-empty { text-align: center; padding: 40px 0; color: var(--text-muted); }

.pickup-options { display: block; }
.pickup-opt {
  border: 1.5px solid var(--border); background: var(--surface); border-radius: var(--radius-sm);
  padding: 10px 8px; cursor: pointer; text-align: center; font: inherit; color: var(--text);
}
.pickup-opt small { display: block; color: var(--text-muted); font-size: .75rem; }
.pickup-opt b { font-family: var(--font-display); font-size: 1.05rem; }
.pickup-opt[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-tint); box-shadow: inset 0 0 0 1px var(--orange); }
/* Home pickup: time slots under the days */
.slot-block { margin-top: 20px; }
.slot-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot-opt {
  border: 1.5px solid var(--border); background: var(--surface); border-radius: 999px;
  padding: 8px 6px; cursor: pointer; font: 600 .92rem var(--font-body, inherit); color: var(--text);
}
.slot-opt[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-tint); box-shadow: inset 0 0 0 1px var(--orange); }

/* Pickup calendar: marked days are buttons with a dot per place (home in cocoa, markets in their color) */
.pickup-cal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-month { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.cal-nav {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  font-size: 1.3rem; line-height: 1; color: var(--text); cursor: pointer;
}
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-wd { font-size: .72rem; color: var(--text-muted); padding-bottom: 4px; }
.cal-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; font-size: .95rem; }
.cal-off { color: color-mix(in srgb, var(--text-muted) 55%, transparent); }
.cal-day {
  border: 1.5px solid var(--border); background: var(--surface); font: 600 .95rem var(--font-body, inherit);
  color: var(--text); cursor: pointer; padding: 2px 0;
}
.cal-day, .slot-opt, .pickup-opt, .chip, .cal-nav {
  transition: background-color var(--dur-short) var(--ease-standard), border-color var(--dur-short) var(--ease-standard),
    color var(--dur-short) var(--ease-standard), box-shadow var(--dur-short) var(--ease-standard), transform 100ms var(--ease-standard);
}
.cal-day:active, .slot-opt:active, .pickup-opt:active, .chip:active, .cal-nav:active:not(:disabled) { transform: scale(.95); }
.cal-day:hover { border-color: var(--orange); }
.cal-day[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-tint); box-shadow: inset 0 0 0 1px var(--orange); }
.cal-dots { display: flex; gap: 3px; margin-top: 2px; }
.cal-dots .mdot { width: 6px; height: 6px; margin: 0; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; font-size: .8rem; color: var(--text-muted); }
.cal-legend span { display: inline-flex; align-items: center; }
.cal-legend .mdot { width: 8px; height: 8px; margin-right: 6px; }
.cal-choice { display: grid; gap: 8px; margin-top: 12px; }
.cal-choice .pickup-opt { display: flex; align-items: center; gap: 8px; text-align: left; }
.cal-choice .pickup-opt small { margin-left: auto; }
/* Where the chosen pickup is */
.pickup-where { margin-top: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; }
.pickup-where p { margin: 0 0 6px; }
.where-title { display: flex; align-items: center; }

form.drawer-body label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 14px; }
form.drawer-body input, form.drawer-body textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; background: var(--surface); color: var(--text);
}
form.drawer-body input:focus, form.drawer-body textarea:focus { outline: none; border-color: var(--brand-primary); }
.back-link { background: none; border: 0; padding: 0; margin-bottom: 16px; cursor: pointer; color: var(--text-muted); font: inherit; }
.summary { background: var(--surface-alt); border-radius: var(--radius-sm); padding: 14px; margin: 8px 0 16px; font-size: .9rem; }
.summary div { display: flex; justify-content: space-between; }
.summary .sum-total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; font-weight: 700; }

/* Card payment step (Square's card fields render inside .card-box) */
.test-banner { background: var(--orange-tint); color: var(--text); border: 1px dashed var(--orange); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .85rem; font-weight: 600; margin: 0 0 12px; }
.wallets { display: grid; gap: 10px; margin-bottom: 4px; }
.wallets #google-pay { min-height: 44px; }
.apple-pay-btn { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: black; display: block; width: 100%; height: 44px; border: 0; border-radius: var(--radius-sm); cursor: pointer; }
.pay-or { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: .85rem; color: var(--text-muted); }
.pay-or::before, .pay-or::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.card-box { min-height: 90px; margin-bottom: 4px; }
.form-error { color: var(--cocoa); font-weight: 600; font-size: .9rem; margin: 8px 0 0; padding-left: 10px; border-left: 3px solid var(--orange); }
.form-error:empty { display: none; }
.check {
  width: 64px; height: 64px; border-radius: 50%; margin: 40px auto 16px;
  display: grid; place-items: center; font-size: 2rem; color: var(--white); background: var(--brand-vegan);
}

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 150%);
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 18px;
  font-weight: 500; z-index: 60; width: max-content; max-width: calc(100% - 32px); text-align: center;
  opacity: 0; visibility: hidden; transition: transform var(--dur-medium) var(--ease-standard), opacity var(--dur-medium) var(--ease-standard), visibility var(--dur-medium);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
/* Menu page: the box bar sits at the bottom, so messages appear at the top instead */
body[data-page="menu"] .toast { bottom: auto; top: 84px; transform: translate(-50%, -150%); }
body[data-page="menu"] .toast.show { transform: translate(-50%, 0); }

/* ============ Motion ============
   Everything here is extra: content is visible without it, and the
   prefers-reduced-motion rule at the bottom turns all of it off. */


/* 2. Hero photo cross-fade with a slow zoom; floating tags bob gently */
.hero-frame.rotating .hero-photo { opacity: 0; transition: opacity 1.2s ease; }
.hero-frame.rotating .hero-photo.is-active { opacity: 1; animation: slow-zoom 7s ease-out both; }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.floating-tag { animation: float 4.5s ease-in-out infinite; }
.floating-tag.t2 { animation-delay: -2.2s; }
@keyframes float { 50% { transform: translateY(-7px); } }

/* 3. Mascot walks in with a little step bounce */
.market-mascot.walk-in { animation: walk-in 2.2s cubic-bezier(.25, .6, .3, 1) both, step-bob .37s ease-in-out 6 alternate; }
@keyframes walk-in { from { translate: -70vw 0; } to { translate: 0 0; } }
@keyframes step-bob { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-8px) rotate(1.5deg); } }

/* 3b. Answers to a tap (classes added by app.js for one play) */
@keyframes enter { from { opacity: 0; transform: translateY(4px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes settle { from { transform: scale(.92); } }
@keyframes from-next { from { opacity: 0; transform: translateX(12px); } }
@keyframes from-prev { from { opacity: 0; transform: translateX(-12px); } }
.play-enter { animation: enter var(--dur-medium) var(--ease-enter); }
.play-settle { animation: settle var(--dur-short) var(--ease-standard); }
.play-next { animation: from-next var(--dur-medium) var(--ease-enter); }
.play-prev { animation: from-prev var(--dur-medium) var(--ease-enter); }

/* 4. Croissant flying to the Order button */
.fly-ghost { position: fixed; z-index: 70; width: 64px; height: 64px; pointer-events: none; display: grid; place-items: center; }
.fly-ghost .croissant-art { width: 100%; }
.fly-ghost img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }
.cart-btn.bump .cart-count { animation: pop var(--dur-long) var(--ease-standard); }
@keyframes pop { 40% { transform: scale(1.5); background: var(--orange); color: var(--white); } }

/* 8. Floating order bar (phones only) */
.order-bar { display: none; }
@media (max-width: 860px) {
  .order-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(74, 44, 32, .1);
    transform: translateY(110%); transition: transform var(--dur-long) var(--ease-standard);
  }
  .order-bar.show { transform: none; }
  .order-bar:empty { display: none; }
  body.bar-visible { padding-bottom: 80px; }
  body.bar-visible .toast { bottom: 96px; }
}

/* 9. Hover effects (mouse/trackpad only) */
@media (hover: hover) and (pointer: fine) {
  .main-nav a { position: relative; }
  .main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange);
    transform: scaleX(0); transform-origin: left; transition: transform var(--dur-medium) var(--ease-standard);
  }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* ============ Phone menu button, hero pause, catering portrait, compact dates ============ */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--cocoa); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hero-pause {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--cocoa); color: var(--cream); box-shadow: var(--shadow);
}
.hero-pause svg { width: 16px; height: 16px; fill: currentColor; }
.hero-frame.stopped .hero-photo { animation-play-state: paused; }
.cater-hero .event-photo { aspect-ratio: 4 / 5; max-width: 460px; justify-self: center; width: 100%; }
.cater-hero .event-photo img { object-position: center 25%; }
@media (max-width: 480px) {
  .date-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; }
  .date-list .cal { grid-row: span 2; }
  .date-list .status { margin-left: 0; font-size: .78rem; }
}

/* ============ Policies page ============ */
.policies { padding-block: clamp(40px, 6vw, 72px); }
.policies h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: .2em; }
.policies section { padding: 28px 0 0; scroll-margin-top: 100px; }
.policies h2 { font-size: 1.6rem; padding-top: 20px; border-top: 1px solid var(--border); }
.policies h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 18px 0 6px; }
.policies p, .policies li { color: var(--text); max-width: 68ch; }
.policies ul { padding-left: 20px; }
.policies li + li { margin-top: 6px; }
.policy-toc { margin: 16px 0 8px; font-size: .95rem; line-height: 1.9; }
.policy-toc a, .policies p a { color: var(--text); text-decoration-color: var(--orange); text-underline-offset: 3px; }
/* Decisions the owner still has to make: highlighted until replaced */
.todo { background: var(--orange-tint); border-bottom: 2px dashed var(--orange); padding: 0 3px; border-radius: 3px; }
.drawer .fine-print a, .quote-form .fine-print a { color: var(--text); text-decoration-color: var(--orange); }
/* ============ Responsive ============ */
/* Header: nav moves to its own scrollable row before it gets crowded */
@media (max-width: 1080px) {
  .header-inner { position: relative; gap: 12px; }
  .lang-switch { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: -16px; right: -16px; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 16px 24px rgba(74, 44, 32, .12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; font-size: 1.05rem; color: var(--text); border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner, .vegan-inner, .market-inner, .about-inner, .cater-inner { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .quote-inner { grid-template-columns: 1fr; gap: 24px; }
  .quote-sticker { position: static; max-width: 220px; justify-self: center; }
  .hero-art { max-width: 240px; order: -1; }
  .hero-pause { left: 12%; transform: none; width: 36px; height: 36px; }
  .hero-inner { gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .about-photo, .about-photo.sticker-photo { max-width: 280px; margin-inline: auto; justify-self: center; }
  .market-mascot { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .filter-bar { position: static; }
}
@media (max-width: 480px) {
  .cart-btn > span:not(.cart-count) { display: none; }
  .floating-tag { font-size: .75rem; }
  .product-grid { grid-template-columns: 1fr; }
  .diet-cards, .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery figure:last-child:nth-child(odd) { grid-column: span 2; }
  .gallery figure:last-child:nth-child(odd) img { aspect-ratio: 16 / 9; }
  .gallery figcaption { font-size: .82rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  }
/* Phones: homepage favorites + seasonal show 2 per row as compact cards
   (photo, labels, name, price, Add). The full description stays on the menu page. */
@media (max-width: 600px) {
  .highlights .product-grid, .menu-page .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .highlights .card-media, .menu-page .card-media { aspect-ratio: 1; }
  .highlights .badges, .menu-page .badges { top: 8px; left: 8px; right: 8px; gap: 4px; }
  .highlights .badge, .menu-page .card .badge { font-size: .68rem; padding: 3px 7px; }
  .highlights .card-body, .menu-page .card-body { padding: 12px; }
  .highlights .card-body h3, .menu-page .card-body h3 { font-size: 1rem; margin-bottom: .2em; }
  .highlights .card-body p, .highlights .allergens, .menu-page .card-body p { display: none; }
  .menu-page .allergens { font-size: .7rem; line-height: 1.35; }
  .highlights .card-foot, .menu-page .card-foot { gap: 8px; padding-top: 10px; }
  .highlights .box-label, .menu-page .box-label { width: 100%; }
  .highlights .size-chip, .menu-page .size-chip { min-width: 0; padding: 4px 8px; font-size: .78rem; }
  .highlights .card-buy, .menu-page .card-buy { flex-wrap: wrap; }
  .highlights .price, .menu-page .price { font-size: 1rem; }
  .highlights .add-btn, .menu-page .add-btn { padding: .45em .9em; font-size: .85rem; }
  .highlights .stepper button, .menu-page .stepper button { width: 28px; height: 28px; }
  .highlights .stepper span, .menu-page .stepper span { min-width: 18px; }
  .highlights .menu-head .btn { width: 100%; }
}
/* ============ Homepage: full-screen hero, catering split band, closing photo band ============ */
.btn-light { background: var(--cream); color: var(--cocoa); border-color: var(--cream); font-size: 1.1875rem; font-weight: 700; padding: .65em 1.3em; }
.btn-light:hover { background: var(--white); border-color: var(--white); }
.band-title { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: .35em; }

/* Hero: one full screen of photos (or video), her logo, the slogan, two buttons */
.home-hero {
  position: relative; overflow: hidden; display: grid; place-items: center; text-align: center;
  min-height: min(calc(100svh - 72px), 860px); padding: 72px 16px 88px; color: var(--cream);
}
.home-hero-media { position: absolute; inset: 0; background: var(--cocoa); }
.home-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero-media::after {   /* cocoa veil so the text always reads */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74, 44, 32, .55) 0%, rgba(74, 44, 32, .38) 45%, rgba(74, 44, 32, .62) 100%);
}
.home-hero-media.rotating .home-hero-img { opacity: 0; transition: opacity 1.6s ease; }
.home-hero-media.rotating .home-hero-img.is-active { opacity: 1; animation: slow-zoom 9s ease-out both; }
.home-hero-media.stopped .home-hero-img { animation-play-state: paused; }
.home-hero-content { position: relative; z-index: 1; max-width: 760px; }
/* Bolder cut of her logo (thicker strokes, from assets/brand/original), large enough to read over the photos */
.home-hero-logo { width: clamp(300px, 48vw, 600px); height: auto; margin-inline: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)) drop-shadow(0 4px 22px rgba(0, 0, 0, .3)); }
.home-hero-title { margin: 18px 0 0; font-weight: 700; }
.home-hero-kicker { display: block; font: italic 400 1.6rem var(--font-display); margin-bottom: 8px; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.home-hero-slogan { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(2.8rem, 7.5vw, 5.2rem); line-height: 1.02; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.home-hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.home-hero .next-market { background: color-mix(in srgb, var(--cream) 94%, transparent); color: var(--text); border: 0; text-align: left; }
.home-hero .hero-pause { left: auto; right: 20px; bottom: 20px; transform: none; background: rgba(74, 44, 32, .72); }

/* Catering: cocoa band with text, big photo to the edge */
.split-band { padding: 0; display: grid; grid-template-columns: 1fr 1.15fr; background: var(--cocoa); color: var(--cream); }
.split-copy { align-self: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px); max-width: 620px; justify-self: end; }
.split-copy p { color: color-mix(in srgb, var(--cream) 88%, transparent); font-size: 1.08rem; margin-bottom: 28px; }
.split-photo { min-height: 420px; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Closing photo with one button */
.photo-cta { position: relative; padding: 0; min-height: clamp(320px, 42vw, 460px); display: grid; place-items: center; text-align: center; overflow: hidden; }
.photo-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-cta::after { content: ""; position: absolute; inset: 0; background: rgba(74, 44, 32, .5); }
.photo-cta-content { position: relative; z-index: 1; padding: 48px 16px; }
.photo-cta h2 { color: var(--cream); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 24px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }

@media (max-width: 860px) {
  .home-hero { min-height: min(calc(100svh - 64px), 720px); padding: 56px 16px 80px; }
  .home-hero-kicker { font-size: 1.1rem; }
  .split-band { grid-template-columns: 1fr; }
  .split-copy { justify-self: stretch; max-width: none; }
  .split-photo { min-height: 260px; order: -1; }
}

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

/* Pickup section on phones: home card, then the calendar, then the market lines */
@media (max-width: 860px) {
  .pickup-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .pickup-grid .home-pickup { display: contents; }
  .pickup-calendar-col { order: 1; margin-top: 28px; }
  .pickup-grid .market-lines-title, .pickup-grid .market-lines, .pickup-grid .home-pickup > .fine-print { order: 2; }
}
@media (max-width: 480px) {
  .market-line { gap: 14px; padding: 16px; }
  .date-tile { width: 54px; }
}
.market-lines + .fine-print { margin-top: 14px; }
.footer-markets .mdot-cocoa { background: var(--cream); }
