/* Me & Ma: "Golden Hour". Oven orange with butter and cream grounds, crust and cocoa ink for text.
   Phones first (check at 360 px). One warm light look on purpose. */
:root {
  --orange: #FF7F03;   /* brand colour (settings) */
  --orange-deep: #E86A00;
  --crust: #B35F12;    /* dark enough for text on cream */
  --gold: #F2B33D;
  --cream: #F8F0D3;    /* brand background (settings) */
  --butter: #FFF8E6;
  --blush: #F6B8A8;
  --blush-soft: #FCE3DA;
  --sage: #628474;     /* brand second colour (settings) */
  --sage-deep: #4A6A5B;
  --ink: #3A2410;
  --muted: #6E5236;
  --display: "berthold-block-w1g", "Baloo 2", system-ui, sans-serif; /* Berthold Block (Adobe Fonts), the business's own face */
  --logo-light: #F8F0D3; /* "me" and "ma" */
  --logo-amp: #628474;   /* "&" */
  --text: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif; /* secondary face: text, buttons, labels */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-synthesis: none; margin: 0; background: var(--butter); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--crust); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.inner { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.display { font-family: var(--display); }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; }
.eyebrow { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--crust); margin: 0 0 10px; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 58ch; margin: 14px 0 0; }

/* Placeholders the owner still has to fill: easy to spot, removed once replaced. */
.todo { background: repeating-linear-gradient(-45deg, rgba(242,179,61,.25) 0 8px, rgba(242,179,61,.1) 8px 16px); border-radius: 6px; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.photo-tag { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(255,248,230,.94); color: var(--ink); font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 3px 10px 2px; white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px 11px; border-radius: 999px; font-weight: 600; font-size: 1.06rem; letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ink { background: var(--ink); color: var(--butter); box-shadow: 0 5px 0 var(--crust); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--crust); }
.btn-ink:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--crust); }
.btn-big { min-height: 58px; padding: 16px 30px; font-size: 1.12rem; }
.btn-light { background: var(--butter); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover, .btn-light:hover { transform: translateY(-2px); }

/* Top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,127,3,.96); backdrop-filter: saturate(1.2) blur(6px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--orange); }
.top .inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--butter); text-decoration: none; letter-spacing: -0.01em; }
.top .btn { min-height: 42px; padding: 8px 16px; font-size: 0.95rem; }

/* Hero */
.hero { position: relative; background: var(--orange); color: var(--butter); overflow: hidden; }
.hero .inner { display: grid; gap: 28px; padding-block: 28px 84px; position: relative; z-index: 1; }
.hero .tag { justify-self: start; background: var(--butter); color: var(--crust); border-radius: 999px; padding: 5px 14px 3px; font-size: 0.88rem; font-weight: 600; transform: rotate(-3deg); }
.hero h1 { font-size: clamp(4.2rem, 21vw, 8.6rem); font-weight: 900; line-height: .86; letter-spacing: -0.02em; margin-top: 8px; }
.hero p { font-size: 1.18rem; max-width: 30ch; margin: 14px 0 22px; }

/* Hero mascot (owner's request): the bun points at the Order online button */
.hero-mascot { justify-self: center; width: min(78vw, 360px); }
.hero-mascot img { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(90,40,5,.35)); transform-origin: 50% 90%; animation: bob 3.6s ease-in-out infinite; }

/* "Order on WhatsApp" buttons; the header one gets slightly smaller text on the narrowest phones. */
.btn-wa svg { width: 22px; height: 22px; }
@media (max-width: 380px) { .top .btn-wa span { font-size: .92rem; } }

/* Scalloped divider: a crust edge painted in the colour of the next section */
.scallop { position: absolute; left: 0; right: 0; bottom: -1px; height: 30px; width: 100%; display: block; }

section { position: relative; }
.band { padding-block: 64px; }

/* Fresh from the oven */
.fresh { background: var(--cream); }
.fresh .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
/* Phones: a swipeable strip (like an Instagram carousel). Wider: a grid sized to how many there are. */
.products { list-style: none; padding: 4px 0 14px; margin: 24px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(62%, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.products::-webkit-scrollbar { display: none; }
.products li { scroll-snap-align: start; min-width: 0; }
.card { display: grid; grid-template-rows: auto 1fr; height: 100%; background: var(--butter); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 2px 0 rgba(58,36,16,.08); transition: transform .25s ease, box-shadow .25s ease; }
.card .pic { position: relative; aspect-ratio: 4 / 5; background: var(--blush-soft); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 16px; display: grid; gap: 4px; align-content: start; }
.card .name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.15; }
.card .price { font-size: 1rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.card:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 14px 24px -14px rgba(58,36,16,.45); }
.products li:nth-child(even) .card:hover { transform: translateY(-4px) rotate(1deg); }
.skeleton .pic, .skeleton .line { background: linear-gradient(90deg, #F3E6C2, #FBF2DA, #F3E6C2); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .line { height: 14px; border-radius: 6px; }
.skeleton .line.short { width: 50%; }
.fallback { margin-top: 28px; background: var(--butter); border-radius: 28px; padding: 26px 22px; display: grid; gap: 14px; justify-items: start; }
.fallback img { width: 120px; border-radius: 50%; }
.fallback p { margin: 0; max-width: 46ch; }

/* Our story */
.story { background: var(--butter); }
.story .inner { display: grid; gap: 30px; align-items: center; }
.story .copy p { margin: 16px 0 0; max-width: 60ch; }
.signature { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.5rem; color: var(--crust); margin-top: 18px; }

/* Why people love us */
.love { background: var(--cream); }
.love-grid { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.love-grid li { background: var(--butter); border-radius: 26px; padding: 22px 20px; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; transition: transform .25s ease; }
.love-grid li:hover { transform: rotate(-1.2deg) scale(1.01); }
.love-grid .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--orange); color: var(--butter); }
.love-grid .ico svg { width: 30px; height: 30px; }
.love-grid .ico path, .love-grid .ico circle, .love-grid .ico line { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.love-grid h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.15; }
.love-grid p { margin: 6px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.45; }

/* Visit us */
.visit { background: var(--butter); color: var(--ink); }
.visit .inner { display: grid; gap: 28px; }
.facts { display: grid; gap: 18px; margin: 22px 0 0; }
.facts dt { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--crust); }
.facts dd { margin: 2px 0 0; font-size: 1.12rem; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Final call + footer */
.order-cta { background: var(--orange); color: var(--butter); text-align: center; }
.order-cta .inner { display: grid; justify-items: center; gap: 18px; padding-block: 62px; }
.order-cta h2 { max-width: 16ch; }
footer { background: var(--ink); color: #EAD9BF; font-size: 1rem; }
footer .inner { display: grid; gap: 16px; padding-block: 36px 40px; }
footer .brand { color: var(--butter); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: #FFD9A8; }
footer p { margin: 0; }

/* Motion: things rise like dough. Visible at rest; JS adds .motion only when motion is welcome. */
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-8px); opacity: .5; } }
@keyframes shimmer { to { background-position: -200% 0; } }
.motion .rise:not(.in) { opacity: 0; }
.motion .rise.in { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }

/* Real-content additions (from meandma.in) */
.hero .hero-line { font-family: var(--display); font-weight: 700; font-style: italic; font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.15; margin: 14px 0 6px; max-width: 22ch; }
.hero .hero-line + p { margin-top: 0; }
/* The stall and founders, straight on the page (transparent picture). */
.story-art { position: relative; justify-self: center; width: 100%; max-width: 640px; padding: 0 2% 4%; isolation: isolate; }
.story-art img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(58,36,16,.12)); }
.journey { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 0; counter-reset: step; }
.journey li { position: relative; padding: 0 0 18px 34px; display: grid; gap: 2px; }
.journey li::before { content: ""; position: absolute; left: 6px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--butter), 0 0 0 6px var(--orange); }
.journey li::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--orange) 0 5px, transparent 5px 10px); }
.journey li:last-child::after { display: none; }
.journey b { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.journey span { color: var(--muted); }
.visit a:not(.btn) { color: var(--crust); }
.visit-lede { margin: 14px 0 0; max-width: 46ch; font-size: 1.08rem; color: var(--muted); }
.delivery-pic { position: relative; justify-self: center; align-self: center; width: 100%; max-width: 420px; }
.delivery-pic img { border-radius: 200px 200px 28px 28px; box-shadow: 0 0 0 8px var(--cream), 0 22px 36px -20px rgba(58,36,16,.5); }
.delivery-pic .note { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) rotate(-2deg); background: var(--orange); color: var(--butter); font-family: var(--display); font-weight: 700; padding: 8px 18px; border-radius: 999px; white-space: nowrap; font-size: 1rem; box-shadow: 0 6px 0 var(--crust); }
.order-cta .mascot { width: 130px; height: auto; margin-bottom: -6px; transform-origin: 50% 90%; animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(2deg); } }
@media (min-width: 900px) {
  .visit .inner { align-items: center; }
}

/* Pure veg: the familiar green veg mark */
.veg-mark { width: 18px; height: 18px; flex: none; }
.veg-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: #fff; color: #1E6B32; border-radius: 999px; padding: 6px 14px 4px 10px; font-weight: 600; font-size: 1rem; box-shadow: 0 4px 0 rgba(58,36,16,.18); }
.hero .veg-chip + .hero-line { margin-top: 12px; }
.love-grid .ico .veg-big { width: 30px; height: 30px; }
.love-grid .ico .veg-big rect, .love-grid .ico .veg-big circle { stroke-linecap: butt; }
.love-grid .ico .veg-big circle { fill: #1E8A3C; stroke: none; }
.love-grid .ico .veg-big rect { fill: #fff; stroke: #1E8A3C; stroke-width: 2.4; }
.foot-veg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* The logo, set in Berthold Block: "me" and "ma" in cream, "&" in sage (owner's spec). */
.logo-type { font-family: var(--display); font-weight: 400; font-style: normal; letter-spacing: 0; text-transform: lowercase; white-space: nowrap; }
.logo-type .lm { color: var(--logo-light); }
.logo-type .la { color: var(--logo-amp); }
.hero h1.logo-type { font-size: clamp(4.4rem, 22vw, 9rem); line-height: .9; letter-spacing: 0; }
.brand.logo-type { font-size: 1.6rem; line-height: 1; }
/* Berthold Block has one weight: headings use it as drawn (no faux bold or italic). */
h1, h2, h3, .brand, .card .name, .journey b, .delivery-pic .note, .hero .hero-line { letter-spacing: 0.005em; }

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

/* Wider screens */
@media (min-width: 640px) {
  .products { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; overflow: visible; }
  .products[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
  .products[data-count="1"] { grid-template-columns: minmax(0, 320px); }
  .love-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .band { padding-block: 96px; }
  .hero-mascot { width: 100%; max-width: 430px; }
  .hero .inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-block: 90px 110px; }
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .products[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
  .story .inner { grid-template-columns: 1.25fr .85fr; gap: 44px; }
  .story-art { max-width: none; margin-left: -12px; }
  .visit .inner { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 48px; }
}
