/* Layout: one centred column (max 1120px); hero is text + photo side by side, stacking on phones.
   Palette comes from the product: the cup's leaf green, the peach backdrop of the photos,
   dragon fruit pink and mango for small highlights. */
:root {
  --leaf: #1f5d3a;
  --leaf-deep: #143f27;
  --peach: #f8ece0;
  --paper: #fffaf5;
  --dragon: #c4206a;
  --mango: #f3a712;
  --ink: #1e2620;
  --muted: #5d6a61;
  --line: #ead9c8;
  --todo: #fff1b8;

  --font-display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (max-width: 720px) { html { scroll-padding-top: 128px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--mango); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(44px, 7vw, 76px); letter-spacing: -0.01em; color: var(--leaf-deep); }
h2 { font-weight: 800; font-size: clamp(34px, 4.5vw, 48px); color: var(--leaf-deep); }
h3 { font-weight: 600; font-size: 24px; color: var(--ink); }
p { margin: 0; }

.todo { background: var(--todo); border-radius: 4px; padding: 0 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--leaf); text-decoration: none; margin-right: auto;
}
.logo-mark { width: 44px; height: 44px; border-radius: 50%; }
.site-header nav { display: flex; gap: 20px; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--leaf); }
@media (max-width: 720px) {
  .site-header { gap: 12px; }
  .site-header { flex-wrap: wrap; row-gap: 4px; padding-bottom: 4px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 4px; overflow-x: auto; }
  .site-header nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; font-size: 15px; white-space: nowrap; }
  .site-header nav a:first-child { padding-left: 0; }
  .site-header nav a:last-child { padding-right: 0; }
  .wordmark { font-size: 20px; white-space: nowrap; }
  .button-small { white-space: nowrap; padding: 0 14px; font-size: 14px; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--leaf);
  background: var(--leaf); color: #fff;
  font-weight: 600; text-decoration: none;
  transition: background .15s, transform .15s;
}
.button:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); }
.button:active { transform: translateY(1px); }
.button-ghost { background: transparent; color: var(--leaf); }
.button-ghost:hover { background: var(--peach); color: var(--leaf-deep); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Shared section rhythm */
main > section { max-width: 1120px; margin: 0 auto; padding: 72px var(--gutter); }
.section-head { display: grid; gap: 8px; margin-bottom: 32px; }
.section-head p { color: var(--muted); max-width: 52ch; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
  padding-top: 48px !important;
}
.hero-text { display: grid; gap: 20px; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--dragon); }
.lead { font-size: 20px; color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sizes-note { font-size: 15px; color: var(--muted); }
.sizes-note strong { color: var(--ink); }
.hero-photo { margin: 0; position: relative; isolation: isolate; }
.hero-photo img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 12px var(--peach); }
.hero-photo::after {
  content: ""; position: absolute; right: 4%; bottom: 6%;
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: var(--mango); mix-blend-mode: multiply; opacity: .85; z-index: -1;
  transform: translate(30%, 20%);
}
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-photo { order: -1; max-width: min(420px, 72vw); justify-self: center; width: 100%; }
}

/* Ingredients strip */
.pantry { padding-top: 0 !important; padding-bottom: 0 !important; display: grid; gap: 12px; }
.pantry > p { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pantry ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pantry li { padding: 6px 14px; border-radius: 999px; background: var(--peach); font-weight: 600; font-size: 15px; }

/* Menu */
.menu-group { border-top: 2px solid var(--line); }
.menu-group:last-of-type { border-bottom: 2px solid var(--line); }
.menu-group summary {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 22px 4px;
  cursor: pointer; list-style: none;
}
.menu-group summary::-webkit-details-marker { display: none; }
.group-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 4vw, 28px); color: var(--leaf-deep); }
.group-meta { color: var(--muted); font-size: 15px; }
.chevron { width: 28px; height: 28px; margin-left: auto; fill: none; stroke: var(--leaf); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.menu-group[open] .chevron { transform: rotate(180deg); }
.menu-group summary:hover .group-name { color: var(--leaf); }
.menu-group .dishes { padding-bottom: 32px; }
.badge-soon {
  padding: 4px 12px; border-radius: 999px; background: var(--mango); color: var(--leaf-deep);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge-save {
  display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; vertical-align: middle;
  background: var(--mango); color: var(--leaf-deep); font-family: var(--font-body); font-size: 13px; font-weight: 700;
}
.soon { display: grid; gap: 16px; padding-bottom: 32px; color: var(--muted); }
.mysteries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mystery {
  display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--peach) 0 14px, #fff 14px 28px);
  border: 2px dashed var(--line);
}
.mystery span { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 6vw, 56px); color: var(--leaf); opacity: .35; }
@media (prefers-reduced-motion: reduce) { .chevron { transition: none; } }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.dish {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--peach); border-radius: var(--radius); overflow: hidden;
}
.dish img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.dish-photo { position: relative; }
.dish-photo input { position: absolute; opacity: 0; pointer-events: none; }
.dish-photo .photo-podda, .pick-podda:checked ~ .photo-regular { display: none; }
.pick-podda:checked ~ .photo-podda { display: block; }
.size-switch { position: absolute; left: 12px; bottom: 12px; display: flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgb(255 255 255 / .9); }
.size-switch label { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--leaf); cursor: pointer; }
.pick-regular:checked ~ .size-switch .for-regular, .pick-podda:checked ~ .size-switch .for-podda { background: var(--leaf); color: #fff; }
.pick-regular:focus-visible ~ .size-switch .for-regular, .pick-podda:focus-visible ~ .size-switch .for-podda { outline: 3px solid var(--mango); outline-offset: 2px; }
.dish-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 20px; }
.dish .base { font-weight: 600; }
.dish .top { color: var(--muted); font-size: 15px; }
.prices { list-style: none; margin: 8px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 4px; }
.prices li { display: flex; justify-content: space-between; gap: 12px; }
.prices span { color: var(--muted); }
.prices b { font-variant-numeric: tabular-nums; color: var(--leaf-deep); }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.story-logo { margin: 0; }
.story-logo img { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 50%; box-shadow: 0 0 0 12px var(--peach); }
.story-text { display: grid; gap: 14px; }
.story-text > p:not(.eyebrow) { color: var(--muted); max-width: 60ch; }
.values { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.values li { display: grid; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--peach); }
.values b { color: var(--leaf-deep); }
.values span { color: var(--muted); font-size: 15px; }
.spelling { margin-top: 4px; padding: 16px 20px; border: 2px dashed var(--line); border-radius: var(--radius); }
.spelling h3 { font-size: 17px; margin-bottom: 4px; }
.spelling p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; }
  .story-logo img { max-width: 240px; }
}

.story h1 { font-size: clamp(32px, 5vw, 48px); }
.story-cta { display: grid; gap: 12px; justify-items: start; padding: 32px; border-radius: var(--radius); background: var(--peach); }
.story-cta p { color: var(--muted); }
.site-header nav a[aria-current="page"] { color: var(--leaf); }

/* Order */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.way { display: grid; gap: 12px; align-content: start; padding: 28px; border: 2px solid var(--line); border-radius: var(--radius); }
.way p { color: var(--muted); }
.way .button { justify-self: start; margin-top: 4px; }
.way .note { font-size: 14px; }
.apps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app {
  display: grid; justify-items: center; gap: 8px; height: 100%; padding: 16px 12px 14px;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-weight: 700; font-size: 15px; color: var(--leaf);
}
.app img { height: 64px; width: auto; object-fit: contain; }
a.app:hover { border-color: var(--leaf); }
.app-soon { color: var(--muted); }
.app-soon img { filter: grayscale(1); opacity: .45; }

/* Find us */
.find-us { display: grid; gap: 24px; }
.find-us .section-head { margin-bottom: 0; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.facts div { padding: 20px; background: var(--peach); border-radius: var(--radius); display: grid; gap: 4px; }
.facts dt { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 19px; font-weight: 600; justify-self: start; }
.find-us > .button { justify-self: start; }
.facts small.muted { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  max-width: 1120px; margin: 0 auto; padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 15px;
}
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 10px;
  border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 600; text-decoration: none; transition: border-color .15s;
}
.social-link:hover { border-color: var(--leaf); }
.brand-logo { width: 28px; height: 28px; flex: none; }
.social-link small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.follow { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--peach); }
.follow h3 { font-size: 20px; }
.social-big .social-link { min-height: 56px; padding: 0 22px 0 12px; font-size: 17px; }
.social-big .brand-logo { width: 34px; height: 34px; }

/* WhatsApp order (cart.js) */
.prices li { align-items: center; }
.prices b { margin-left: auto; }
.add {
  margin-left: 4px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--leaf);
  background: #fff; color: var(--leaf); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.add:hover { background: var(--leaf); color: #fff; }
.add.added { background: var(--leaf); color: #fff; }
.way-actions { display: flex; flex-wrap: wrap; gap: 10px; }
html:not(.has-cart) [data-open-cart] { display: none; }

.cart-bar { position: fixed; inset: auto 0 16px; display: flex; justify-content: center; padding: 0 16px; z-index: 20; pointer-events: none; }
.cart-bar[hidden] { display: none; }
.cart-bar button {
  pointer-events: auto; display: flex; align-items: center; gap: 14px; width: min(100%, 520px);
  min-height: 56px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--leaf-deep); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 30px rgb(20 63 39 / .3);
}
.cart-total { font-variant-numeric: tabular-nums; }
.cart-cta { margin-left: auto; color: var(--mango); }
body:has(.cart-bar:not([hidden])) .site-footer { padding-bottom: 104px; }

.cart {
  width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0;
  border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.cart::backdrop { background: rgb(20 30 24 / .45); }
.cart form { display: grid; gap: 14px; padding: 24px; }
.cart-head { display: flex; align-items: center; justify-content: space-between; }
.cart-head h2 { font-size: 24px; }
.cart-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--peach); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.line-name { display: grid; }
.line-name span { color: var(--muted); font-size: 14px; }
.line-total { min-width: 72px; text-align: right; font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; color: var(--leaf); }
.qty output { min-width: 20px; text-align: center; font-weight: 700; }
.cart-empty { color: var(--muted); }
.cart-warn { padding: 10px 14px; border-radius: 12px; background: #fff1b8; color: var(--ink); font-size: 15px; }
.cart-warn[hidden] { display: none; }
.cart-sum { margin: 0; display: grid; gap: 4px; }
.cart-sum div { display: flex; justify-content: space-between; }
.cart-sum dt { color: var(--muted); }
.cart-sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-sum .save dd { color: var(--dragon); font-weight: 600; }
.cart-sum .grand { padding-top: 6px; border-top: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.cart-sum .grand dt { color: var(--ink); }
.cart label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.cart input, .cart textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.cart input:focus, .cart textarea:focus { outline: none; border-color: var(--leaf); }
.cart-send[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.cart .note { color: var(--muted); font-size: 13px; }
@media (max-width: 560px) {
  .cart { width: 100%; max-width: none; margin: auto 0 0; border-radius: var(--radius) var(--radius) 0 0; }
  .cart-cta { font-size: 14px; }
}

/* Phones */
@media (max-width: 720px) {
  main > section { padding-top: 44px; padding-bottom: 44px; }
  .dish img { aspect-ratio: 4 / 3; }
  .section-head { margin-bottom: 20px; }
}

/* Pickup or PickMe Flash */
.options { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.options li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--peach); }
.options span:not(.badge-save) { color: var(--muted); font-size: 15px; }
.cart-mode { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cart-mode legend { margin-bottom: 8px; padding: 0; font-weight: 600; font-size: 15px; }
.mode { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; }
.mode > span { display: grid; gap: 2px; height: 100%; padding: 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 400; }
.mode small { color: var(--muted); font-size: 13px; }
.mode .badge-save { margin-left: 0; justify-self: start; }
.mode input:checked + span { border-color: var(--leaf); box-shadow: inset 0 0 0 1px var(--leaf); }
.mode input:focus-visible + span { outline: 3px solid var(--mango); outline-offset: 2px; }
.flash-info { padding: 10px 14px; border-radius: 12px; background: var(--peach); font-size: 15px; }
.flash-info[hidden], .flash-only[hidden], .cart-sum div[hidden] { display: none; }

/* Live menu from Cost Studio (menu.js) */
.menu-group[hidden] { display: none; }
.menu-note { padding: 10px 14px; border-radius: 12px; background: var(--peach); color: var(--ink); }
.menu-note[hidden] { display: none; }
.prices .sold-out { margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: var(--line); color: var(--muted); font-size: 13px; font-style: normal; font-weight: 700; }
.prices li[data-sold-out] b { color: var(--muted); text-decoration: line-through; }
.dish-sold-out img { filter: grayscale(.6); opacity: .75; }
