/* ---------- Colours and sizes used across the whole site ---------- */
/* Light theme colours (the default): white enamel, lagoon cyan and a warm jollof accent */
:root {
  /* Page background: enamel white with a breath of cyan */
  --bg: #f3fafc;
  /* Slightly deeper panel background */
  --panel: #e0f2f7;
  /* Main text colour: deep lagoon ink */
  --ink: #0b2730;
  /* Softer text for notes */
  --ink-soft: #3d5c66;
  /* Lagoon cyan: the main brand colour, dark enough for text */
  --brand: #006a80;
  /* Bright enamel-rim cyan, used for bowl rims and decoration */
  --rim: #12a5c7;
  /* Strong cyan for filled buttons (white text sits on it) */
  --rim-strong: #0a7c96;
  /* Text colour on the strong cyan */
  --on-rim: #ffffff;
  /* Palm-oil gold: highlights and the keyboard focus ring */
  --palm: #e8a317;
  /* Pepper red: errors and the "closed" status */
  --pepper: #b3261e;
  /* WhatsApp button green (darker than WhatsApp's own so white text is readable) */
  --wa: #0e7a40;
  /* Text colour on the WhatsApp button */
  --wa-ink: #ffffff;
  /* Colour of thin lines */
  --line: #c6e3eb;
  /* Colour of the bowl's white enamel */
  --enamel: #ffffff;
  /* Tablecloth check colour (see-through cyan so text stays readable on top) */
  --check: rgba(18, 165, 199, .13);
  /* Steam colour */
  --steam: rgba(11, 39, 48, .28);
  /* Shadow colour under bowls and bars */
  --shadow: rgba(6, 60, 75, .28);
  /* Food colours inside the drawn bowls */
  --jollof: #d4561c;
  --ofada: #c9b48a;
  --ayamase: #3f6b2a;
  --egusi: #d9a42a;
  --yam: #f3eedc;
  --soup: #9a3412;
  --chapman: #c2185b;
  /* Font used everywhere, with safe backups while it loads */
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Rounded corner size for buttons and panels */
  --radius: 14px;
  /* The springy "set down on the table" curve used by the motion */
  --spring: cubic-bezier(.2, .9, .3, 1.25);
  /* Tell the browser to draw built-in controls (scrollbars, inputs) in light style */
  color-scheme: light;
}

/* Dark theme colours, used when the phone is in dark mode and the visitor hasn't forced light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* Deep lagoon night background */
    --bg: #071a20;
    /* Slightly lighter panels */
    --panel: #0e2a32;
    /* Light text */
    --ink: #e4f5f9;
    /* Softer light text */
    --ink-soft: #9cc2cc;
    /* Bright cyan so the brand shows on dark */
    --brand: #6fdcf2;
    /* Brighter rim */
    --rim: #2cc2e3;
    /* Light cyan for filled buttons */
    --rim-strong: #45cbe8;
    /* Dark text on the light cyan */
    --on-rim: #071a20;
    /* Gold stays warm */
    --palm: #f2b941;
    /* Softer red for dark backgrounds */
    --pepper: #ff8a80;
    /* Darker lines */
    --line: #1d3f48;
    /* Bowls stay white but slightly dimmer so they don't glare */
    --enamel: #e8f1f3;
    /* Fainter tablecloth checks */
    --check: rgba(44, 194, 227, .09);
    /* Pale steam on dark */
    --steam: rgba(228, 245, 249, .32);
    /* Deeper shadows */
    --shadow: rgba(0, 0, 0, .55);
    /* Use dark built-in controls */
    color-scheme: dark;
  }
}

/* The same dark colours, used when the visitor taps "Dark" on the switch */
:root[data-theme="dark"] {
  --bg: #071a20;
  --panel: #0e2a32;
  --ink: #e4f5f9;
  --ink-soft: #9cc2cc;
  --brand: #6fdcf2;
  --rim: #2cc2e3;
  --rim-strong: #45cbe8;
  --on-rim: #071a20;
  --palm: #f2b941;
  --pepper: #ff8a80;
  --line: #1d3f48;
  --enamel: #e8f1f3;
  --check: rgba(44, 194, 227, .09);
  --steam: rgba(228, 245, 249, .32);
  --shadow: rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- Basic page setup ---------- */
/* Make widths include padding and borders, which keeps layouts predictable */
*, *::before, *::after { box-sizing: border-box; }

/* Smooth scrolling when tapping links like "See the menu" */
html { scroll-behavior: smooth; }

/* Page-wide text and background */
body {
  /* Remove the browser's default gap around the page */
  margin: 0;
  /* Background colour from the theme */
  background: var(--bg);
  /* Text colour from the theme */
  color: var(--ink);
  /* The site font */
  font-family: var(--font);
  /* Comfortable reading size */
  font-size: 1.0625rem;
  /* Space between lines */
  line-height: 1.55;
  /* Leave room at the bottom for the sticky order bar on phones */
  padding-bottom: 5rem;
  /* Never let anything push the page sideways */
  overflow-x: clip;
  /* Fade colours smoothly when the theme changes */
  transition: background-color .35s ease, color .35s ease;
}

/* The tilted cloth and the dishes sliding in can poke past the screen edge; trim them sideways so the page never scrolls left and right */
html, .hero, .menu { overflow-x: clip; }

/* Pictures never stretch wider than their box */
img { max-width: 100%; display: block; }

/* Links use the brand cyan */
a { color: var(--brand); }

/* A clear gold outline when moving around with the keyboard */
:focus-visible { outline: 3px solid var(--palm); outline-offset: 3px; border-radius: 6px; }

/* The "skip to menu" link stays hidden until a keyboard user tabs to it */
.skip-link {
  /* Take it out of the normal layout */
  position: absolute;
  /* Park it above the top of the screen */
  left: 1rem; top: -4rem;
  /* Style it like a small button */
  background: var(--rim-strong); color: var(--on-rim); padding: .6rem 1rem; border-radius: var(--radius);
  /* Keep it above everything */
  z-index: 50;
}
/* Slide it into view when it gets keyboard focus */
.skip-link:focus { top: 1rem; }

/* ---------- Top bar ---------- */
.topbar {
  /* Name on the left, switch on the right */
  display: flex; align-items: center; justify-content: space-between;
  /* Let the switch drop below the name on very narrow phones */
  flex-wrap: wrap; gap: .75rem;
  /* Space inside the bar, with a 16px side gutter on phones */
  padding: .9rem 1rem;
  /* Keep the content from spreading too wide on big screens */
  max-width: 72rem; margin: 0 auto;
}

/* The name link */
.brand {
  /* Bowl icon and name side by side */
  display: inline-flex; align-items: center; gap: .6rem;
  /* Plain text colour, no underline */
  color: var(--ink); text-decoration: none;
  /* Bold name */
  font-weight: 800; font-size: 1.05rem;
}

/* The small bowl logo: jollof in white enamel with a cyan rim */
.brand-bowl {
  /* Fixed size circle */
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  /* Jollof centre, white enamel, cyan rim */
  background: radial-gradient(circle, var(--jollof) 0 46%, var(--enamel) 48% 76%, var(--rim) 78%);
  /* Don't let it shrink when space is tight */
  flex-shrink: 0;
}

/* The System / Dark / Light switch container */
.theme-switch {
  /* Buttons in a row inside a pill shape */
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel);
}

/* Each theme button */
.theme-switch button {
  /* Use the site font */
  font: inherit; font-size: .85rem;
  /* No border, transparent until picked */
  border: 0; background: transparent; color: var(--ink-soft);
  /* Big enough to tap with a thumb */
  padding: .45rem .8rem; min-height: 2.25rem; border-radius: 999px;
  /* Show a hand cursor on desktop */
  cursor: pointer;
  /* Slide colours smoothly when the pick changes */
  transition: background-color .25s ease, color .25s ease;
}

/* The button that is currently picked */
.theme-switch button[aria-checked="true"] {
  /* Filled with cyan */
  background: var(--rim-strong); color: var(--on-rim); font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  /* Two columns on wide screens (set below), one on phones */
  display: grid; gap: 2.5rem; align-items: center;
  /* Side gutters and space above and below */
  padding: 2rem 1rem 3.5rem;
  /* Limit the width on big screens */
  max-width: 72rem; margin: 0 auto;
}

/* Open/closed status line */
.open-status {
  /* Small pill with a coloured dot before it */
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem; padding: .3rem .8rem;
  border-radius: 999px; background: var(--panel);
  font-size: .9rem; color: var(--ink-soft);
}
/* The coloured dot */
.open-status::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  /* Grey until the script decides open or closed */
  background: var(--ink-soft);
}
/* Green dot when open */
.open-status.is-open::before { background: var(--wa); }
/* Red dot when closed */
.open-status.is-closed::before { background: var(--pepper); }

/* The big name headline */
.hero h1 {
  /* Remove default top margin */
  margin: 0;
  /* Very bold, very large, and it shrinks smoothly on smaller screens */
  font-weight: 800; font-size: clamp(2.5rem, 9vw, 5.5rem);
  /* Use the font's large-size design for tighter letter shapes */
  font-variation-settings: "opsz" 96;
  /* Tight lines and letters for a strong headline */
  line-height: .95; letter-spacing: -0.03em;
  /* Brand cyan */
  color: var(--brand);
  /* Let long words break on the tiniest phones instead of running off the side */
  overflow-wrap: break-word;
}

/* The one-line description under the headline */
.hero-lede {
  /* Readable width (under 80 characters a line) */
  max-width: 34rem;
  /* Slightly bigger than body text */
  font-size: 1.2rem; color: var(--ink-soft);
  margin: 1.25rem 0 1.75rem;
}

/* The row of buttons */
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* Phones and tablets: buttons stretch to share the row, so when they wrap they line up at the same width instead of looking ragged */
@media (max-width: 1000px) { .hero-actions .btn { flex: 1 1 auto; justify-content: center; } }

/* The picture side: a square "corner of the table" that holds the cloth, steam and bowl */
.hero-table {
  /* Lets the cloth, steam and bowl stack on top of each other */
  position: relative; display: grid; place-items: center;
  /* Square, as wide as the column allows */
  width: min(100%, 30rem); aspect-ratio: 1; margin: 0 auto;
}

/* The checked tablecloth: a tilted square made from two see-through stripe patterns */
.cloth {
  /* Fill the table area, slightly inset */
  position: absolute; inset: 6%;
  /* Rounded like a soft cloth corner */
  border-radius: 28px;
  /* Horizontal and vertical cyan stripes cross to make the gingham check */
  background:
    repeating-linear-gradient(0deg, var(--check) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(90deg, var(--check) 0 22px, transparent 22px 44px),
    var(--panel);
  /* Tilted the other way to the bowl, like a cloth thrown on the table */
  transform: rotate(6deg);
}

/* ---------- Buttons ---------- */
.btn {
  /* Icon and text side by side, centred */
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  /* Comfortable thumb size */
  min-height: 3rem; padding: .75rem 1.3rem;
  /* Text style */
  font: inherit; font-weight: 600; text-decoration: none;
  /* Rounded corners, no border by default */
  border-radius: var(--radius); border: 2px solid transparent;
  /* Hand cursor */
  cursor: pointer;
  /* Smooth lift and press feedback */
  transition: transform .18s var(--spring), filter .2s ease, background-color .2s ease;
}
/* Lift a little when hovered with a mouse */
.btn:hover { transform: translateY(-2px); }
/* Squash down when pressed, like pressing a button on a stove */
.btn:active { transform: translateY(1px) scale(.97); }

/* Green WhatsApp button */
.btn-whatsapp { background: var(--wa); color: var(--wa-ink); }
/* Slightly darker when hovered */
.btn-whatsapp:hover { filter: brightness(.93); }

/* Outline button for less important actions */
.btn-quiet { border-color: var(--brand); color: var(--brand); background: transparent; }
/* Light fill when hovered */
.btn-quiet:hover { background: var(--panel); }

/* Full-width button inside the order box */
.btn-block { width: 100%; }

/* The WhatsApp logo size */
.wa-icon { width: 1.3rem; height: 1.3rem; }

/* ---------- The enamel bowls (the site's signature) ---------- */
.enamel {
  /* A perfect circle */
  position: relative; aspect-ratio: 1; border-radius: 50%;
  /* White enamel with a cyan rim, and a soft shadow so it sits on the table */
  background: var(--enamel);
  border: .55em solid var(--rim);
  box-shadow: 0 .7em 1.4em -0.5em var(--shadow);
  /* Hide anything that spills over the circle */
  overflow: hidden;
}

/* A thin darker line inside the rim, like the edge of real enamelware */
.enamel::before {
  content: ""; position: absolute; inset: 3%; border-radius: 50%;
  /* Just an outline, no fill */
  box-shadow: inset 0 0 0 .12em rgba(10, 124, 150, .25);
}

/* The food inside each bowl, drawn as a slightly smaller circle */
.enamel::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  /* Default food colour is jollof orange with a little texture */
  background:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,.25) 0 6%, transparent 7%),
    radial-gradient(circle at 65% 60%, rgba(0,0,0,.12) 0 8%, transparent 9%),
    var(--food, var(--jollof));
}

/* A real photo, once added by script.js, fills the whole bowl and covers the drawing */
.enamel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%; z-index: 2;
}

/* The big hero bowl */
.enamel-hero {
  /* Large on desktop, shrinks on phones */
  width: 72%;
  /* Thicker rim at this size */
  font-size: clamp(13px, 2.6vw, 22px);
  /* Tilted slightly, like it was just set down */
  transform: rotate(-8deg);
  /* Sit above the cloth */
  z-index: 1;
}

/* Food colours for each dish's bowl */
.dish-jollof { --food: var(--jollof); }
/* Ofada: brown-white rice on one side, green ayamase on the other */
.dish-ofada::after { background: linear-gradient(115deg, var(--ofada) 0 55%, var(--ayamase) 56%); }
/* Pounded yam: white swallow on one side, yellow egusi on the other */
.dish-egusi::after { background: linear-gradient(70deg, var(--yam) 0 45%, var(--egusi) 46%); }
/* Pepper soup: deep red broth */
.dish-peppersoup { --food: var(--soup); }
/* Chapman: a pink-red drink */
.dish-chapman { --food: var(--chapman); }

/* ---------- Steam (the hero's living detail) ---------- */
.steam {
  /* Floats above the bowl, doesn't catch taps */
  position: absolute; pointer-events: none;
  /* Wisps side by side */
  display: flex; justify-content: center;
  /* Above the bowl */
  z-index: 3;
}
/* Each wisp line */
.steam svg { width: 1.6em; height: 4.8em; overflow: visible; }
/* The wavy path: a soft, round-ended line in the steam colour */
.steam path { fill: none; stroke: var(--steam); stroke-width: 5; stroke-linecap: round; }

/* The hero steam sits just above the middle of the bowl */
.steam-hero { top: 4%; left: 50%; transform: translateX(-50%); font-size: clamp(16px, 3.4vw, 26px); gap: .4em; }

/* The small steam above a dish bowl: hidden until the dish is in the order */
.steam-dish { bottom: 55%; left: 50%; transform: translateX(-50%); font-size: 9px; gap: .2em; opacity: 0; transition: opacity .4s ease; }
/* Show the steam once the dish is "hot" (added to the order) */
.dish.is-hot .steam-dish { opacity: 1; }

/* Chapman bubbles: hidden by default (shown by the motion section) */
.bubbles { position: absolute; inset: 14%; border-radius: 50%; z-index: 1; overflow: hidden; }

/* ---------- Menu ---------- */
.menu {
  /* Side gutters and space around */
  padding: 3rem 1rem;
  max-width: 72rem; margin: 0 auto;
  /* Menu list and order box: stacked on phones, side by side on wide screens (set below) */
  display: grid; gap: 2rem;
}

/* Heading area spans the full width */
.section-head { grid-column: 1 / -1; max-width: 40rem; }
/* Section headings */
.section-head h2, .section-title {
  margin: 0 0 .5rem; font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--brand);
}
/* Note under the menu heading */
.section-head p { margin: 0; color: var(--ink-soft); }

/* The list of dishes */
.dishes {
  /* Remove bullet points and default spacing */
  list-style: none; margin: 0; padding: 0;
  /* Each dish on its own row */
  display: grid; gap: 0;
}

/* One dish row: bowl, name and price, then quantity buttons */
.dish {
  display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: 1rem;
  /* Space and a thin line between dishes */
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
/* Add a line above the first dish so the list has a top edge */
.dish:first-child { border-top: 1px solid var(--line); }

/* Holds the bowl and its steam together */
.bowl-wrap { position: relative; }

/* Small bowls in the menu */
.enamel-dish { width: 4.5rem; font-size: 7px; }

/* Dish name */
.dish h3 { margin: 0; font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
/* Dish price in bold brand cyan */
.price { margin: .15rem 0 0; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }

/* Quantity controls: minus, number, plus */
.qty { display: inline-flex; align-items: center; gap: .35rem; }
/* The round minus and plus buttons */
.qty button {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 2px solid var(--rim-strong); background: transparent; color: var(--brand);
  font: inherit; font-size: 1.4rem; font-weight: 600; line-height: 1; cursor: pointer;
  /* Springy press feedback */
  transition: transform .15s var(--spring);
}
/* Shrink a little when pressed */
.qty button:active { transform: scale(.88); }
/* The plus button is filled so it stands out */
.qty button.plus { background: var(--rim-strong); color: var(--on-rim); }
/* Hide the minus button and number until at least one is added */
.qty:not(.has-items) .minus, .qty:not(.has-items) .count { display: none; }
/* The number between the buttons */
.qty .count { min-width: 1.5rem; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; display: inline-block; }

/* ---------- Order box ---------- */
.order {
  /* Panel look */
  background: var(--panel); border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem; align-self: start;
  /* A cyan ring that flashes when food is added (see motion section) */
  box-shadow: 0 0 0 0 transparent;
}
/* Order box heading */
.order-title { margin: 0 0 .5rem; font-size: 1.4rem; font-weight: 800; }
/* The running list of chosen dishes */
.order-summary { margin: 0 0 .75rem; color: var(--ink-soft); white-space: pre-line; }
/* When food has been chosen, make the summary normal text colour */
.order-summary.filled { color: var(--ink); }
/* The food total line: label on the left, big number on the right */
.order-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin: 0 0 1.25rem; padding-top: .75rem; border-top: 1px dashed var(--line);
}
/* The total number itself */
.order-total strong { font-size: 1.6rem; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }

/* The delivery choice group */
.area { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; min-width: 0; }
/* The "Where should it go?" question */
.area legend { font-weight: 600; margin-bottom: .4rem; padding: 0; }
/* Each option, with a big tap area */
.area label {
  display: flex; align-items: center; gap: .6rem; min-height: 2.75rem;
  padding: .4rem .8rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); cursor: pointer;
  /* Smooth highlight when picked */
  transition: border-color .2s ease, box-shadow .2s ease;
}
/* Highlight the picked option */
.area label:has(input:checked) { border-color: var(--rim-strong); box-shadow: inset 0 0 0 1px var(--rim-strong); }
/* Radio dots use the cyan */
.area input { accent-color: var(--rim-strong); width: 1.1rem; height: 1.1rem; }

/* Label above the address box */
.field { display: block; font-weight: 600; margin-bottom: .35rem; }
/* "(optional...)" in lighter text */
.optional { font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
/* The address box itself */
textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .8rem;
  resize: vertical;
}

/* Delivery fee note */
.order-note { font-size: .92rem; color: var(--ink-soft); margin: 1rem 0; }
/* Error message in pepper red */
.order-error { color: var(--pepper); font-weight: 600; margin: .75rem 0 0; }

/* ---------- Hours, delivery, location ---------- */
.info, .faq { padding: 3rem 1rem; max-width: 72rem; margin: 0 auto; }
/* Three blocks: stacked on phones, a row on wide screens (set below) */
.info-grid { display: grid; gap: 2rem; margin-top: 1.5rem; }
/* Small headings inside each block */
.info-block h3 { margin: 0 0 .75rem; font-size: 1.15rem; font-weight: 800; }
/* Notes inside blocks */
.info-block p { margin: 0 0 1rem; color: var(--ink-soft); }

/* Opening hours list */
.hours { margin: 0; }
/* Each day row: day on the left, hours on the right */
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem .6rem; border-radius: 8px; }
/* Remove default spacing on the day and time */
.hours dt, .hours dd { margin: 0; }
/* Today's row is highlighted */
.hours div.today { background: var(--panel); font-weight: 600; }
/* Sunday's "Closed" in red */
.hours div[data-day="0"] dd { color: var(--pepper); }

/* Delivery areas as large words */
.areas { list-style: none; padding: 0; margin: 0 0 .75rem; font-size: 1.6rem; font-weight: 800; line-height: 1.2; color: var(--brand); }

/* The address */
.info-block .address { color: var(--ink); font-weight: 600; }
/* Visible reminder that the address is still a placeholder */
.placeholder-note { font-weight: 400; font-size: .85rem; color: var(--ink-soft); font-style: italic; }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; }
/* Each question box */
.faq details { border-bottom: 1px solid var(--line); }
/* The first one also gets a line above */
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 1rem; }
/* The question line you tap */
.faq summary {
  cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: 1.1rem;
  /* Hide the default triangle so we can draw our own */
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
/* Hide the triangle in Safari too */
.faq summary::-webkit-details-marker { display: none; }
/* Our own plus sign on the right, which turns as the answer opens */
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; transition: transform .25s var(--spring); }
/* Turn the plus into an x shape when open */
.faq details[open] summary::after { transform: rotate(45deg); }
/* The answer text */
.faq details p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 40rem; }

/* ---------- Footer ---------- */
.footer {
  /* Centred, quiet text with a line above */
  text-align: center; padding: 2.5rem 1rem; border-top: 1px solid var(--line);
  color: var(--ink-soft); max-width: 72rem; margin: 2rem auto 0;
}
/* Tighter spacing between footer lines */
.footer p { margin: .3rem 0; }
/* Smaller copyright line */
.footer .small { font-size: .85rem; }

/* Row of social media buttons */
.socials { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
/* Each round social button */
.social {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 2px solid var(--rim-strong); color: var(--brand);
  /* Springy hover lift */
  transition: transform .2s var(--spring), background-color .2s ease, color .2s ease;
}
/* The icon size */
.social svg { width: 1.35rem; height: 1.35rem; }
/* Fill with cyan on hover */
.social:hover { background: var(--rim-strong); color: var(--on-rim); transform: translateY(-3px) rotate(-6deg); }
/* WhatsApp's button is filled green because it is the main way to reach the kitchen */
.social-wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
/* Keep WhatsApp green on hover too */
.social-wa:hover { background: var(--wa); color: var(--wa-ink); }

/* ---------- Sticky order bar (phones and tablets only) ---------- */
.order-bar {
  /* Stuck to the bottom of the screen */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  /* Total on the left, button on the right */
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  /* Space inside, plus room for the iPhone home bar */
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 2px solid var(--rim);
  box-shadow: 0 -6px 18px -10px var(--shadow);
}
/* Make sure the "hidden" attribute really hides it */
.order-bar[hidden] { display: none; }
/* The total text */
.order-bar-total { font-variant-numeric: tabular-nums; min-width: 0; }
/* The money part in bold cyan */
.order-bar-total strong { color: var(--brand); font-weight: 800; }
/* The button doesn't shrink */
.order-bar .btn { flex-shrink: 0; }

/* ---------- Wider screens ---------- */
/* Tablets and up */
@media (min-width: 48rem) {
  /* Hero: text and bowl side by side */
  .hero { grid-template-columns: 1.15fr 1fr; padding-top: 3rem; }
  /* Hours, delivery and location in three columns */
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  /* Bigger bowls in the menu */
  .dish { grid-template-columns: 5.5rem 1fr auto; }
  .enamel-dish { width: 5.5rem; font-size: 8px; }
  /* The menu sits on a checked tablecloth band on bigger screens */
  .menu {
    background:
      repeating-linear-gradient(0deg, var(--check) 0 18px, transparent 18px 36px),
      repeating-linear-gradient(90deg, var(--check) 0 18px, transparent 18px 36px);
    border-radius: 28px; padding: 3rem 2rem;
  }
  /* The dish list gets a solid backing so text never sits on the checks */
  .dishes { background: var(--bg); border-radius: 20px; padding: .5rem 1.25rem; }
  /* Remove the outer lines inside the solid backing */
  .dish:first-child { border-top: 0; }
  .dish:last-child { border-bottom: 0; }
  /* The section intro also gets a solid backing */
  .section-head { background: var(--bg); border-radius: 20px; padding: 1rem 1.25rem; }
}

/* Laptops and desktops */
@media (min-width: 64rem) {
  /* Menu list on the left, order box on the right */
  .menu { grid-template-columns: 1.4fr 1fr; }
  /* Order box follows you as you scroll the menu */
  .order { position: sticky; top: 1rem; }
  /* No need for the sticky bottom bar when the order box is always visible */
  .order-bar { display: none !important; }
  /* No extra bottom padding needed either */
  body { padding-bottom: 0; }
}

/* ---------- Very small phones (320px) ---------- */
@media (max-width: 22rem) {
  /* Slightly smaller bowls and gaps so everything fits */
  .dish { grid-template-columns: 3.5rem 1fr; gap: .75rem; }
  .enamel-dish { width: 3.5rem; font-size: 5px; }
  /* Put the quantity buttons on their own line under the name */
  .qty { grid-column: 2; }
  /* Smaller theme buttons */
  .theme-switch button { padding: .4rem .6rem; }
  /* Tighter order bar */
  .order-bar .btn { padding: .6rem .9rem; }
  /* Smaller order bar text */
  .order-bar-total { font-size: .92rem; }
}

/* =====================================================================
   MOTION: a Lagos kitchen at work. Steam rises, dishes are set down on
   the table as you scroll, and the order reacts when you add food.
   Everything below only runs when the visitor hasn't asked for less motion,
   and only animates transform and opacity so it stays smooth on cheap phones.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* --- Hero: the bowl is set down on the cloth when the page opens --- */
  .enamel-hero { animation: set-down .9s var(--spring) .1s both; }
  /* The cloth slides in a moment earlier, like it's spread first */
  .cloth { animation: cloth-in .8s cubic-bezier(.2, .8, .3, 1) both; }

  /* --- Steam: each wisp rises, sways and fades, over and over --- */
  .steam svg { animation: steam-rise 3.2s ease-in-out infinite; opacity: 0; }
  /* Second wisp starts later so they don't move together */
  .steam svg:nth-child(2) { animation-delay: 1.1s; }
  /* Third wisp starts later again and is a bit slower */
  .steam svg:nth-child(3) { animation-delay: 2.1s; animation-duration: 3.6s; }
  /* Hero steam waits for the bowl to land before rising */
  .steam-hero svg { animation-delay: 1s; }
  .steam-hero svg:nth-child(2) { animation-delay: 2s; }
  .steam-hero svg:nth-child(3) { animation-delay: 2.9s; }
  /* Dish steam only moves while that dish is in the order (saves battery) */
  .dish:not(.is-hot) .steam-dish svg { animation-play-state: paused; }
  /* All looping motion pauses while its part of the page is off screen (script.js adds this class) */
  .is-offscreen .steam svg, .is-offscreen .bubbles::before, .is-offscreen .bubbles::after { animation-play-state: paused; }

  /* --- Chapman: two bubbles float up through the drink --- */
  .bubbles::before, .bubbles::after {
    content: ""; position: absolute; bottom: -12%; width: 16%; aspect-ratio: 1; border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    animation: bubble-up 2.6s ease-in infinite;
  }
  /* First bubble on the left */
  .bubbles::before { left: 28%; }
  /* Second bubble on the right, smaller and later */
  .bubbles::after { left: 58%; width: 11%; animation-delay: 1.3s; }

  /* --- Scroll: dishes slide across the table and settle, one after another --- */
  /* Before they arrive, dish rows are pushed to the side and see-through (only when script.js is running) */
  .js-motion .dish:not(.is-in) { opacity: 0; transform: translateX(2.5rem); }
  /* The bowl starts turned, as if it's still being carried */
  .js-motion .dish:not(.is-in) .enamel-dish { transform: rotate(-35deg) scale(.85); }
  /* When a dish arrives, it slides into place */
  .js-motion .dish { transition: opacity .5s ease, transform .6s var(--spring); transition-delay: var(--delay, 0s); }
  /* And its bowl turns and settles with a little bounce */
  .js-motion .enamel-dish { transition: transform .7s var(--spring); transition-delay: var(--delay, 0s); }

  /* --- Adding food: the bowl hops, the number pops, the order bar bounces --- */
  .enamel-dish.hop { animation: hop .45s var(--spring); }
  /* The count between the buttons pops bigger then settles */
  .qty .count.pop { animation: pop .35s var(--spring); }
  /* The sticky bar on phones jumps up and lands */
  .order-bar.bounce { animation: bar-bounce .55s var(--spring); }
  /* The order box on desktop flashes a cyan ring */
  .order.flash { animation: ring .7s ease-out; }
  /* The sticky bar slides up from the bottom the first time it appears */
  .order-bar:not([hidden]) { animation: bar-in .45s var(--spring); }

  /* --- Open now: the green dot breathes gently --- */
  .open-status.is-open::before { animation: breathe 2.4s ease-in-out infinite; }
}

/* The hero bowl drops from above, turns and lands at its tilt */
@keyframes set-down {
  from { transform: translateY(-2rem) rotate(-30deg) scale(.9); opacity: 0; }
  70% { opacity: 1; }
  to { transform: rotate(-8deg); opacity: 1; }
}
/* The cloth slides in from the side and turns to its angle */
@keyframes cloth-in {
  from { transform: translateX(2rem) rotate(14deg); opacity: 0; }
  to { transform: rotate(6deg); opacity: 1; }
}
/* A wisp of steam: appears low, drifts up and sideways, stretches and fades */
@keyframes steam-rise {
  0% { transform: translateY(30%) scaleY(.6); opacity: 0; }
  30% { opacity: 1; }
  60% { transform: translateY(-25%) translateX(12%) scaleY(1.05); opacity: .7; }
  100% { transform: translateY(-70%) translateX(-8%) scaleY(1.2); opacity: 0; }
}
/* A bubble floats from the bottom of the glass to the top and fades */
@keyframes bubble-up {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-560%) scale(1); opacity: 0; }
}
/* The bowl hops up and lands with a squash */
@keyframes hop {
  0% { transform: translateY(0); }
  40% { transform: translateY(-28%) rotate(10deg); }
  75% { transform: translateY(0) scale(1.06, .94); }
  100% { transform: none; }
}
/* The number grows and settles */
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.6); }
  100% { transform: scale(1); }
}
/* The order bar jumps up and lands */
@keyframes bar-bounce {
  0% { transform: translateY(0); }
  35% { transform: translateY(-14px); }
  65% { transform: translateY(0); }
  82% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
/* The order bar slides up from below the screen */
@keyframes bar-in {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
/* A cyan ring grows around the order box and fades */
@keyframes ring {
  from { box-shadow: 0 0 0 0 var(--rim); }
  to { box-shadow: 0 0 0 14px transparent; }
}
/* The open dot grows and shrinks gently */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .6; }
}

/* ---------- People who prefer less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  /* Jump instead of smooth scrolling */
  html { scroll-behavior: auto; }
  /* Turn off every transition and animation, just in case */
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Show still steam softly so the bowls still look hot */
  .steam svg { opacity: .6; }
}

/* AI chat assistant: on phones and tablets, lift its round button above the order bar while the bar is showing */
@media (max-width: 63.99rem) {
  /* Only while the order bar is visible (it appears once a dish is added) */
  :root:has(#order-bar:not([hidden])) { --ma-offset-bottom: 88px; }
}

/* Small note box at the bottom of the screen (for example "this is a sample website") */
#site-note {
  /* Fixed near the bottom, centred, above the order bar and chat button */
  position: fixed; left: 50%; bottom: 100px; z-index: 60;
  /* Never wider than the screen */
  width: max-content; max-width: min(420px, calc(100vw - 32px));
  /* Look: dark pill with light text in both themes */
  background: #0b2a33; color: #fff; padding: 10px 16px; border-radius: 14px;
  /* Text and shadow */
  font-size: 0.92rem; line-height: 1.4; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  /* Hidden until shown, slightly lower */
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  /* Smooth fade and slide */
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
/* Visible state */
#site-note.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
