/* ==========================================================
   Oh Crumb Kitchen site styles
   Built to Brand Guidelines v1.0 (Heaps Good, 2024)
   ========================================================== */

:root {
  /* Primary palette exact values from the guidelines */
  --brownie:     #675542;
  --pistachio:   #A6C893;
  --buttercream: #F5F4EB;
  --strawberry:  #EBBEA1;
  --velvet:      #F5D4BF;

  /* Working shades derived from the palette */
  --brownie-deep: #4E3F30;   /* hover / pressed state on brown */
  --ink-soft:     #7C6A57;   /* secondary text on buttercream (5:1) */
  --line:         rgba(103, 85, 66, 0.22);
  --white:        #FFFFFF;
  --error:        #A9452B;

  --font-display: 'Cooper Std', 'Cooper Black', 'Caprasimo', Georgia, serif;
  --font-body:    'Articulat CF', 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script:  'Mascot MVB', 'Yellowtail', 'Brush Script MT', cursive;

  --radius-sm: 10px;
  --radius-lg: 28px;
  --header-h: 76px;

  --scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23A6C893' d='M95.0 50.0L96.7 52.0L97.8 54.2L98.1 56.3L97.3 58.3L95.6 60.1L93.5 61.6L91.2 63.0L89.4 64.4L88.3 65.9L88.0 67.7L88.4 70.0L89.0 72.5L89.4 75.1L89.3 77.5L88.5 79.5L86.8 80.9L84.5 81.6L81.8 81.8L79.2 81.9L77.0 82.2L75.3 82.9L74.1 84.4L73.2 86.5L72.5 89.0L71.6 91.5L70.3 93.5L68.6 94.8L66.4 95.1L64.1 94.6L61.6 93.5L59.4 92.2L57.3 91.3L55.4 91.1L53.7 91.8L51.9 93.2L50.0 95.0L48.0 96.7L45.8 97.8L43.7 98.1L41.7 97.3L39.9 95.6L38.4 93.5L37.0 91.2L35.6 89.4L34.1 88.3L32.3 88.0L30.0 88.4L27.5 89.0L24.9 89.4L22.5 89.3L20.5 88.5L19.1 86.8L18.4 84.5L18.2 81.8L18.1 79.2L17.8 77.0L17.1 75.3L15.6 74.1L13.5 73.2L11.0 72.5L8.5 71.6L6.5 70.3L5.2 68.6L4.9 66.4L5.4 64.1L6.5 61.6L7.8 59.4L8.7 57.3L8.9 55.4L8.2 53.7L6.8 51.9L5.0 50.0L3.3 48.0L2.2 45.8L1.9 43.7L2.7 41.7L4.4 39.9L6.5 38.4L8.8 37.0L10.6 35.6L11.7 34.1L12.0 32.3L11.6 30.0L11.0 27.5L10.6 24.9L10.7 22.5L11.5 20.5L13.2 19.1L15.5 18.4L18.2 18.2L20.8 18.1L23.0 17.8L24.7 17.1L25.9 15.6L26.8 13.5L27.5 11.0L28.4 8.5L29.7 6.5L31.4 5.2L33.6 4.9L35.9 5.4L38.4 6.5L40.6 7.8L42.7 8.7L44.6 8.9L46.3 8.2L48.1 6.8L50.0 5.0L52.0 3.3L54.2 2.2L56.3 1.9L58.3 2.7L60.1 4.4L61.6 6.5L63.0 8.8L64.4 10.6L65.9 11.7L67.7 12.0L70.0 11.6L72.5 11.0L75.1 10.6L77.5 10.7L79.5 11.5L80.9 13.2L81.6 15.5L81.8 18.2L81.9 20.8L82.2 23.0L82.9 24.7L84.4 25.9L86.5 26.8L89.0 27.5L91.5 28.4L93.5 29.7L94.8 31.4L95.1 33.6L94.6 35.9L93.5 38.4L92.2 40.6L91.3 42.7L91.1 44.6L91.8 46.3L93.2 48.1Z'/%3E%3C/svg%3E");
  --scallop-strawberry: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23EBBEA1' d='M95.0 50.0L96.7 52.0L97.8 54.2L98.1 56.3L97.3 58.3L95.6 60.1L93.5 61.6L91.2 63.0L89.4 64.4L88.3 65.9L88.0 67.7L88.4 70.0L89.0 72.5L89.4 75.1L89.3 77.5L88.5 79.5L86.8 80.9L84.5 81.6L81.8 81.8L79.2 81.9L77.0 82.2L75.3 82.9L74.1 84.4L73.2 86.5L72.5 89.0L71.6 91.5L70.3 93.5L68.6 94.8L66.4 95.1L64.1 94.6L61.6 93.5L59.4 92.2L57.3 91.3L55.4 91.1L53.7 91.8L51.9 93.2L50.0 95.0L48.0 96.7L45.8 97.8L43.7 98.1L41.7 97.3L39.9 95.6L38.4 93.5L37.0 91.2L35.6 89.4L34.1 88.3L32.3 88.0L30.0 88.4L27.5 89.0L24.9 89.4L22.5 89.3L20.5 88.5L19.1 86.8L18.4 84.5L18.2 81.8L18.1 79.2L17.8 77.0L17.1 75.3L15.6 74.1L13.5 73.2L11.0 72.5L8.5 71.6L6.5 70.3L5.2 68.6L4.9 66.4L5.4 64.1L6.5 61.6L7.8 59.4L8.7 57.3L8.9 55.4L8.2 53.7L6.8 51.9L5.0 50.0L3.3 48.0L2.2 45.8L1.9 43.7L2.7 41.7L4.4 39.9L6.5 38.4L8.8 37.0L10.6 35.6L11.7 34.1L12.0 32.3L11.6 30.0L11.0 27.5L10.6 24.9L10.7 22.5L11.5 20.5L13.2 19.1L15.5 18.4L18.2 18.2L20.8 18.1L23.0 17.8L24.7 17.1L25.9 15.6L26.8 13.5L27.5 11.0L28.4 8.5L29.7 6.5L31.4 5.2L33.6 4.9L35.9 5.4L38.4 6.5L40.6 7.8L42.7 8.7L44.6 8.9L46.3 8.2L48.1 6.8L50.0 5.0L52.0 3.3L54.2 2.2L56.3 1.9L58.3 2.7L60.1 4.4L61.6 6.5L63.0 8.8L64.4 10.6L65.9 11.7L67.7 12.0L70.0 11.6L72.5 11.0L75.1 10.6L77.5 10.7L79.5 11.5L80.9 13.2L81.6 15.5L81.8 18.2L81.9 20.8L82.2 23.0L82.9 24.7L84.4 25.9L86.5 26.8L89.0 27.5L91.5 28.4L93.5 29.7L94.8 31.4L95.1 33.6L94.6 35.9L93.5 38.4L92.2 40.6L91.3 42.7L91.1 44.6L91.8 46.3L93.2 48.1Z'/%3E%3C/svg%3E");

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--brownie);
  background: var(--buttercream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--strawberry); color: var(--brownie-deep); }
input, textarea { caret-color: var(--brownie); }
input[type="radio"] { accent-color: var(--brownie); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--brownie);
  letter-spacing: -0.01em;   /* guidelines: tracking -10 */
  line-height: 1.08;
  margin: 0 0 16px;
}

.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-title.center { text-align: center; }
.section-sub {
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 52ch;
}
.section-sub.center { text-align: center; margin-left: auto; margin-right: auto; }

.script-accent,
.script-note {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid var(--brownie);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--brownie);
  color: var(--buttercream);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--brownie);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brownie); color: var(--buttercream); }
.btn-primary:hover { background: var(--brownie-deep); border-color: var(--brownie-deep); }
.btn-outline { background: transparent; color: var(--brownie); }
.btn-outline:hover { background: var(--velvet); }
.btn-light { background: var(--strawberry); border-color: var(--strawberry); color: var(--brownie-deep); }
.btn-light:hover { background: var(--velvet); border-color: var(--velvet); }
.btn:disabled { opacity: .6; cursor: progress; }

.text-link {
  color: var(--brownie);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--strawberry);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--brownie); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 235, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: block; }
.brand-wordmark { height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--brownie);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--strawberry); }
.main-nav .nav-cta {
  background: var(--pistachio);
  color: var(--brownie-deep);
  padding: 9px 20px;
  border-radius: 999px;
  border: 0;
}
.main-nav .nav-cta:hover { background: #B7D3A6; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--brownie);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--buttercream);
  background-image: url('../images/BG-Pattern.png');
  background-size: 1100px auto;
  background-repeat: repeat;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
  isolation: isolate;
}

.hero::before,
.markets::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--buttercream);
  opacity: .45;
  z-index: -2;
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 26px;
  text-wrap: balance;
  line-height: 1;
}
.ht-line {
  font-size: clamp(2.3rem, 6.4vw, 4.9rem);
  position: relative;
  z-index: 1;
}
.ht-script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--strawberry);
  font-size: clamp(3.4rem, 10vw, 7.6rem);
  letter-spacing: 0;
  line-height: .9;
  margin: -0.18em 0 -0.22em;
  transform: rotate(-4deg);
  position: relative;
  z-index: 0;
  padding: 0 .15em;
  -webkit-text-stroke: 0.035em var(--brownie);
  paint-order: stroke fill;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 44ch;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-market {
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
  padding-top: 12px;
  padding-bottom: 12px;
}
.btn-detail {
  font-weight: 500;
  font-size: 0.85rem;
  opacity: .92;
}
.btn-detail[hidden] { display: none; }
.hero-actions .btn { min-height: 56px; }

.hero-crumble {
  width: clamp(150px, 18vw, 220px);
  margin-top: 40px;
}

.hero-cookie {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hc-1 { width: clamp(180px, 22vw, 320px); top: 4%;  left: -4%; }
.hc-2 { width: clamp(170px, 20vw, 290px); top: -8%; right: -5%; transform: rotate(18deg); }
.hc-3 { width: clamp(170px, 20vw, 300px); bottom: -6%; right: 3%; }

.crumbs i {
  position: absolute;
  z-index: -1;
  display: block;
  width: 7px;
  height: 6px;
  border-radius: 40% 60% 50% 45%;
  background: #B58A5C;
  opacity: .8;
}
.crumbs i:nth-child(1) { top: 30%; left: 20%; }
.crumbs i:nth-child(2) { top: 44%; left: 14%; width: 5px; height: 5px; }
.crumbs i:nth-child(3) { top: 22%; right: 22%; width: 9px; height: 7px; }
.crumbs i:nth-child(4) { top: 58%; right: 16%; }
.crumbs i:nth-child(5) { top: 70%; left: 9%;  width: 10px; height: 8px; }
.crumbs i:nth-child(6) { top: 36%; right: 9%; width: 4px; height: 4px; }
.crumbs i:nth-child(7) { bottom: 14%; left: 30%; width: 6px; height: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .hc-1 { animation: drop-in .9s cubic-bezier(.2,.8,.25,1.1) .05s both; }
  .hc-2 { animation: drop-in-r .9s cubic-bezier(.2,.8,.25,1.1) .15s both; }
  .hc-3 { animation: drop-in .9s cubic-bezier(.2,.8,.25,1.1) .25s both; }
  .hero-crumble { animation: hop 1.1s ease-out .7s both; }
}
@keyframes drop-in   { from { opacity: 0; transform: translateY(-40px); } }
@keyframes drop-in-r { from { opacity: 0; transform: translateY(-40px) rotate(30deg); } }
@keyframes hop {
  0%   { opacity: 0; transform: translateY(24px); }
  45%  { opacity: 1; transform: translateY(-14px); }
  70%  { transform: translateY(0); }
  85%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* ---------- About ---------- */
.about {
  background: var(--velvet);
  padding: clamp(64px, 9vw, 110px) 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-text p {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  max-width: 40ch;
  margin: 0 0 18px;
}
.about-facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  max-width: 560px;
}
.about-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.about-facts li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: var(--scallop) center / contain no-repeat;
}

.about-text .about-signoff {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-top: 26px;
}
.about-crumble {
  margin: 0;
  position: relative;
  justify-self: center;
  max-width: 340px;
}
.crumble-label {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--brownie);
  margin: 0 0 4px -36px;
}
.crumble-label > span { display: inline-block; transform: rotate(-6deg); }
.crumble-arrow {
  display: block;
  width: 26px;
  height: 40px;
  color: var(--brownie);
  margin: 4px 0 -18px 40px;
}

/* ---------- Menu ----------
   The scalloped awning comes straight from the printed menu card. */
.treats {
  padding: 0 0 clamp(72px, 10vw, 120px);
  --stripe: 84px;
}
.awning {
  height: calc(var(--stripe) * 1.15);
  margin-bottom: clamp(44px, 6vw, 72px);
  background: repeating-linear-gradient(90deg,
    var(--strawberry) 0 var(--stripe),
    #E4E2D7 var(--stripe) calc(var(--stripe) * 2));
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--stripe) / 2) no-repeat,
    radial-gradient(circle calc(var(--stripe) / 2) at 50% 0, #000 98%, transparent 100%) bottom left / var(--stripe) calc(var(--stripe) / 2) repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--stripe) / 2) no-repeat,
    radial-gradient(circle calc(var(--stripe) / 2) at 50% 0, #000 98%, transparent 100%) bottom left / var(--stripe) calc(var(--stripe) / 2) repeat-x;
}

.menu-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.menu-head .section-sub { margin: 0 auto; }

.menu-group h3 {
  font-size: 1.9rem;
  margin-bottom: 14px;
}
.menu-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-group li {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-group li:last-child { border-bottom: 0; }
.new-tag {
  display: inline-block;
  vertical-align: 0.15em;
  margin-left: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--strawberry);
  color: var(--brownie-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.2;
}

.menu-brownies {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}
.menu-group-lead h3 { font-size: clamp(2.4rem, 4vw, 3rem); }
.menu-group-lead li { font-size: 1.32rem; }

.menu-photo { margin: 0; }
.menu-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 85%;
  border-radius: var(--radius-lg);
}
.menu-photo figcaption {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1;
  margin: 14px 0 0 8px;
  transform: rotate(-3deg);
  transform-origin: left;
}

.menu-more {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(56px, 7vw, 80px);
  padding-top: clamp(36px, 5vw, 48px);
  border-top: 3px solid var(--brownie);
}

.menu-custom {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  align-items: center;
  margin-top: clamp(56px, 7vw, 88px);
  background: var(--velvet);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.menu-custom img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.menu-custom-text { padding: clamp(28px, 4vw, 52px); }
.menu-custom-text h3 { font-size: clamp(2rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.menu-custom-text p { font-size: 1.15rem; max-width: 42ch; margin: 0 0 24px; }

/* ---------- Wholesale ---------- */
.wholesale {
  background: var(--brownie);
  color: var(--buttercream);
  position: relative;
  overflow: hidden;
}
.wholesale-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 420px;
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 96px);
}
.wholesale .section-title { color: var(--buttercream); }
.wholesale .script-accent {
  display: block;
  color: var(--strawberry);
  font-size: 1.15em;
  line-height: 1;
  margin-top: 4px;
  transform: rotate(-3deg);
  transform-origin: left;
}
.wholesale p {
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 0 0 30px;
  color: var(--buttercream);
}
.wholesale-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
  background: var(--scallop-strawberry) center / contain no-repeat;
  display: grid;
  place-items: center;
}
.wholesale-visual img {
  width: 62%;
  transform: rotate(-12deg);
}

/* ---------- Markets ---------- */
.markets {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 10vw, 120px) 0;
  background-image: url('../images/BG-Pattern.png');
  background-size: 1100px auto;
}
.markets-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 760px;
}
.market-item {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 30px 22px 22px;
  border: 1px solid var(--line);
}
.market-date {
  flex: none;
  width: 104px;
  height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--scallop) center / contain no-repeat;
  color: var(--brownie-deep);
  text-align: center;
  line-height: 1;
}
.market-date .day {
  font-family: var(--font-display);
  font-size: 2.1rem;
}
.market-date .month {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}
.market-info { flex: 1; min-width: 0; }
.market-info h3 { font-size: 1.5rem; margin: 0 0 6px; }
.market-info p { margin: 0; }
.market-when { font-weight: 700; }
.market-where { color: var(--ink-soft); }
.market-directions { margin-top: 8px !important; font-size: 0.95rem; }

.markets-empty {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.markets-empty[hidden] { display: none; }
.markets-empty img { width: 190px; margin: 0 auto 18px; }
.markets-empty h3 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 10px; }
.markets-empty p { font-size: 1.1rem; margin: 0 0 26px; }
.markets-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact-intro p { font-size: 1.15rem; max-width: 36ch; }
.contact-alt { margin-top: 28px; }
.contact-alt a {
  color: var(--brownie);
  font-weight: 700;
  text-decoration-color: var(--strawberry);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
}
.enquiry-type {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
}
.enquiry-type legend {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0;
  margin-bottom: 10px;
}
.enquiry-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-form .chip {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border: 1.5px solid rgba(103, 85, 66, 0.35);
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  background: var(--buttercream);
  transition: background-color .15s ease, border-color .15s ease;
}
.contact-form .chip input {
  margin: 0;
  width: 16px;
  height: 16px;
  padding: 0;
}
.contact-form .chip:hover { border-color: var(--brownie); }
.contact-form .chip:has(input:checked) {
  background: var(--velvet);
  border-color: var(--brownie);
}
.contact-form .chip:has(input:focus-visible) {
  outline: 3px solid var(--brownie);
  outline-offset: 2px;
}
.contact-form .enquiry-extra[hidden] { display: none; }
.optional { font-weight: 500; color: var(--ink-soft); }
.field-hint {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: -4px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.contact-form input,
.contact-form textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(103, 85, 66, 0.35);
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  background: var(--buttercream);
  color: var(--brownie);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brownie);
  box-shadow: 0 0 0 3px var(--strawberry);
}
.contact-form [aria-invalid="true"] {
  border-color: var(--error);
  background: #FBF1EC;
}
.contact-form [aria-invalid="true"]:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(169, 69, 43, 0.22);
}
.field-error {
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}
.field-error[hidden] { display: none; }
.contact-form .btn { width: 100%; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 16px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 1.2em;
}
.form-status.success { color: #4F7A3A; }
.form-status.error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brownie);
  color: var(--buttercream);
  padding: 44px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: center;
}
.footer-nav a {
  color: var(--buttercream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
}
.footer-nav a:hover { border-bottom-color: var(--strawberry); }
.footer-legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 244, 235, 0.18);
  font-size: 0.9rem !important;
  opacity: .9;
}
.footer-logo { height: 52px; width: auto; }
.footer-inner p { margin: 0; font-size: 0.95rem; }
.footer-social { display: flex; gap: 12px; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 244, 235, 0.12);
  color: var(--buttercream);
  transition: background-color .15s ease, color .15s ease;
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { background: var(--strawberry); color: var(--brownie-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-crumble { max-width: 260px; }
  .wholesale-inner { grid-template-columns: 1fr; min-height: 0; }
  .wholesale-visual { width: min(70%, 260px); }
  .contact-inner { grid-template-columns: 1fr; }
  .hc-3 { display: none; }
  .menu-brownies { grid-template-columns: 1fr 1fr; }
  .menu-group-lead { grid-column: 1 / -1; }
  .menu-group-lead ul { columns: 2; column-gap: 40px; }
  .menu-group-lead li { break-inside: avoid; }
  .menu-more { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .brand-wordmark { height: 40px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--buttercream);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 26px;
    gap: 14px;
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a { font-size: 1.1rem; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .hc-1 { top: auto; bottom: 2%; left: -16%; opacity: .9; }
  .hc-2 { width: 130px; top: -48px; right: -52px; }
  .hero { padding-top: 64px; }
  .contact-form .chip { padding: 8px 13px; font-size: 0.92rem; }
  .hero-crumble { margin-top: 32px; }

  .market-item { gap: 18px; padding: 18px; }
  .market-date { width: 84px; height: 84px; }
  .market-date .day { font-size: 1.7rem; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .treats { --stripe: 56px; }
  .menu-brownies { gap: 16px; }
  .menu-group-lead ul { columns: 1; }
  .menu-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .menu-more .menu-group h3 { font-size: 1.5rem; }
  .menu-more .menu-group li { font-size: 1.02rem; }
  .about-facts { grid-template-columns: 1fr; }
  .menu-custom { grid-template-columns: 1fr; }
  .menu-custom img { height: 260px; min-height: 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-social { justify-content: center; }
}
