/* =====================================================================
   Flavours of Sicily — v8 "bold & playful" theme
   Layout cues: full-bleed colour blocks, chunky display headings with a
   script accent line, a big floating hero product, a static band and a
   static starburst sticker. Colours are Flavours of Sicily's own only.
   Contrast (WCAG AA) checked: cream on red 6.90, cream on red-dark 9.07,
   red on gold-tint 6.84, red-dark on sun-gold 5.30, ink on sun-gold 8.17,
   sun-gold on red 4.03 (large text only), cobalt-text on cream 4.85.
   The ONLY motion on the site is the floating hero granita (home page),
   and it stops under prefers-reduced-motion.
   ===================================================================== */
:root {
  --brand-red: #9F211C;
  --brand-red-dark: #7F1A16;
  --sun-gold: #E7B33F;       /* lemon accent */
  --cobalt: #2181D3;         /* majolica blue: small accents only */
  --cobalt-text: #1B6CB4;
  --navy: #283D76;
  --cream: #F8F1E4;
  --paper: #FFFCF6;
  --ink: #2B211C;
  --muted: #5E5049;
  --line: #E6DAC4;
  --gold-tint: #FBF0D4;      /* lemon tint block */

  --red: var(--brand-red);
  --red-dark: var(--brand-red-dark);
  --gold: var(--sun-gold);

  --header-h: 76px;
  --display: "Abril Fatface", "Playfair Display", Georgia, serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --burst-12: polygon(50.0% 0.0%, 59.3% 15.2%, 75.0% 6.7%, 75.5% 24.5%, 93.3% 25.0%, 84.8% 40.7%, 100.0% 50.0%, 84.8% 59.3%, 93.3% 75.0%, 75.5% 75.5%, 75.0% 93.3%, 59.3% 84.8%, 50.0% 100.0%, 40.7% 84.8%, 25.0% 93.3%, 24.5% 75.5%, 6.7% 75.0%, 15.2% 59.3%, 0.0% 50.0%, 15.2% 40.7%, 6.7% 25.0%, 24.5% 24.5%, 25.0% 6.7%, 40.7% 15.2%);
  --burst-18: polygon(50.0% 0.0%, 57.5% 7.7%, 67.1% 3.0%, 71.5% 12.8%, 82.1% 11.7%, 82.9% 22.4%, 93.3% 25.0%, 90.4% 35.3%, 99.2% 41.3%, 93.0% 50.0%, 99.2% 58.7%, 90.4% 64.7%, 93.3% 75.0%, 82.9% 77.6%, 82.1% 88.3%, 71.5% 87.2%, 67.1% 97.0%, 57.5% 92.3%, 50.0% 100.0%, 42.5% 92.3%, 32.9% 97.0%, 28.5% 87.2%, 17.9% 88.3%, 17.1% 77.6%, 6.7% 75.0%, 9.6% 64.7%, 0.8% 58.7%, 7.0% 50.0%, 0.8% 41.3%, 9.6% 35.3%, 6.7% 25.0%, 17.1% 22.4%, 17.9% 11.7%, 28.5% 12.8%, 32.9% 3.0%, 42.5% 7.7%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--cream); }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; color: var(--red); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1140px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 3rem); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.ph { font-size: .85em; font-style: italic; color: var(--muted); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--red); color: var(--cream); padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; color: var(--cream); }

/* Script accent line (echoes the logo's hand-written "of") */
.script, .eyebrow { font-family: var(--script); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.2; color: var(--red); margin: 0 0 .35rem; letter-spacing: 0; text-transform: none; }
.rule { display: block; width: 84px; height: 5px; border-radius: 3px; background: var(--sun-gold); margin: 0 0 1.5rem; }
.center .rule { margin-inline: auto; }
.intro { font-size: 1.18rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.7rem; border-radius: 999px; font: 700 1rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; border: 2px solid var(--red); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { background: var(--red); color: var(--cream); }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--red); }
.btn-cream:hover { background: var(--sun-gold); border-color: var(--sun-gold); color: var(--red-dark); }
.btn-outline-cream { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn-outline-cream:hover { background: var(--cream); color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.75rem 0 1rem; }
.center .actions, .actions.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-top: 5px solid var(--brand-red); border-bottom: 2px solid var(--brand-red); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: .25rem; }
.brand .logo { display: block; height: 58px; width: auto; }
.site-nav ul { list-style: none; display: flex; gap: .35rem; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .45rem 1rem; text-decoration: none; color: var(--red); font: 700 .9rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; border: 2px solid transparent; }
.site-nav a:hover { border-color: var(--red); color: var(--red); }
.site-nav a[aria-current="page"] { background: var(--red); color: var(--cream); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--red); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle .bar { width: 20px; height: 2px; background: var(--red); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: calc(var(--header-h) + 7px) 0 auto 0; background: var(--brand-red); border-bottom: 5px solid var(--sun-gold); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; padding: .75rem 1.5rem 1.5rem; gap: 0; }
  .site-nav a { color: var(--cream); font-family: var(--display); font-size: 1.9rem; font-weight: 400; letter-spacing: .01em; text-transform: none; padding: .55rem .25rem; border-radius: 0; border: 0; border-bottom: 1px solid rgba(248, 241, 228, .3); }
  .site-nav a:hover { color: var(--sun-gold); border-color: rgba(248, 241, 228, .3); }
  .site-nav a[aria-current="page"] { background: transparent; color: var(--sun-gold); }
  .site-nav :focus-visible { outline-color: var(--sun-gold); }
}

/* ---------- Full-bleed colour blocks ---------- */
.block { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.block-cream { background: var(--cream); }
.block-lemon { background: var(--gold-tint); }
.block-red { background: var(--brand-red); color: var(--cream); }
.block-red h1, .block-red h2, .block-red h3 { color: var(--cream); }
.block-red .script, .block-red .eyebrow { color: var(--sun-gold); }
.block-red a:not(.btn) { color: var(--cream); }
.block-red :focus-visible { outline-color: var(--sun-gold); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.pt0 { padding-top: 0; }

/* Majolica tile strip: CSS-only diamonds in red with lemon and blue centres */
.tile-strip { height: 22px; background-color: var(--cream);
  background-image:
    radial-gradient(circle at 50% 50%, var(--cobalt) 0 2.5px, transparent 3px),
    radial-gradient(circle at 50% 50%, var(--sun-gold) 0 6px, transparent 6.5px),
    linear-gradient(45deg, transparent 0 35%, var(--brand-red) 35% 65%, transparent 65%),
    linear-gradient(-45deg, transparent 0 35%, var(--brand-red) 35% 65%, transparent 65%);
  background-size: 22px 22px; background-position: center; border-block: 2px solid var(--brand-red); }

/* Static band (no scrolling): red with cream words */
.band { background: var(--brand-red); color: var(--cream); border-block: 4px solid var(--sun-gold); overflow: hidden; white-space: nowrap; padding: .85rem 0; }
.band p { margin: 0; font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 1.6rem); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.band .dot { color: var(--sun-gold); padding: 0 .6em; }

/* Static starbursts and sticker */
.burst { position: absolute; clip-path: var(--burst-12); pointer-events: none; }
.sticker { position: absolute; z-index: 3; display: grid; place-items: center; width: 132px; height: 132px; text-decoration: none; transform: rotate(-12deg); color: var(--red-dark); font: 400 1.5rem/1 var(--display); text-align: center; }
.sticker::before { content: ""; position: absolute; inset: 0; background: var(--sun-gold); clip-path: var(--burst-18); z-index: -1; }
.sticker span { display: block; }
.sticker:hover { color: var(--ink); }
.sticker:focus-visible { outline-offset: 2px; border-radius: 50%; }

/* ---------- Home: hero ---------- */
.hero { background: var(--cream); position: relative; overflow: hidden; min-height: calc(100vh - var(--header-h) - 7px); min-height: calc(100svh - var(--header-h) - 7px); display: flex; align-items: center; padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(2rem, 5vh, 3.5rem); }
.hero::before, .hero::after { content: ""; position: absolute; width: clamp(96px, 13vw, 168px); aspect-ratio: 1; pointer-events: none; background-color: var(--paper);
  background-image: radial-gradient(circle at 50% 50%, var(--cobalt) 0 9%, var(--sun-gold) 9.5% 20%, transparent 21%),
    radial-gradient(circle at 0 0, var(--brand-red) 0 30%, transparent 31%), radial-gradient(circle at 100% 0, var(--brand-red) 0 30%, transparent 31%),
    radial-gradient(circle at 0 100%, var(--brand-red) 0 30%, transparent 31%), radial-gradient(circle at 100% 100%, var(--brand-red) 0 30%, transparent 31%);
  background-size: 50% 50%; border: 5px solid var(--brand-red); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--sun-gold); transform: rotate(45deg); }
.hero::before { left: calc(-1 * clamp(45px, 7vw, 90px)); top: 10%; }
.hero::after { right: calc(-1 * clamp(45px, 7vw, 90px)); bottom: 12%; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.hero-title { margin: 0 0 .25rem; line-height: 1; }
.hero-title .logo-hero { width: min(400px, 78vw); height: auto; margin: 0 auto; }
.hero-stage { position: relative; width: clamp(220px, min(36vh, 34vw), 340px); aspect-ratio: 1; margin: .75rem auto 1.25rem; }
.hero-stage .burst { inset: -14%; background: var(--gold-tint); clip-path: var(--burst-18); }
.hero-float { position: relative; width: 100%; height: 100%; animation: fos-float 7s ease-in-out infinite; will-change: transform; }
.hero-float img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; border-radius: 50%; border: 8px solid var(--paper); box-shadow: 0 0 0 4px var(--brand-red), 0 22px 30px -12px rgba(127, 26, 22, .45); }
.hero-stage .sticker { right: -38%; top: -4%; }
@keyframes fos-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
.tagline { font-family: var(--display); font-size: clamp(1.45rem, 3.2vw, 2.2rem); line-height: 1.15; color: var(--red); margin: 0; max-width: 22ch; }

/* Home: intro block (lemon) with cart on a static starburst */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-copy .intro { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.cart-art { position: relative; justify-self: center; width: min(360px, 80%); margin: 2rem 0; }
.cart-art .burst { inset: -22% -30%; background: var(--brand-red); }
.cart-art img { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 180px 180px 18px 18px; border: 6px solid var(--cream); transform: rotate(3deg); }

/* Home: Our flavours (red block, static cards) */
.flavours-head { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: end; margin-bottom: 2.5rem; }
.flavours-head h2 { margin-bottom: .1rem; font-size: clamp(2.4rem, 6vw, 4rem); }
.flavours-head p:last-child { margin: 0; }
.flavour-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.flavour-card { background: var(--cream); color: var(--ink); border-radius: 18px; padding: 1.4rem 1.3rem 1.5rem; border-top: 10px solid var(--sun-gold); position: relative; }
.flavour-card:nth-child(4n+2), .flavour-card:nth-child(4n+4) { border-top-color: var(--cobalt); }
.flavour-card::after { content: ""; position: absolute; top: 1rem; right: 1rem; width: 18px; height: 18px; background: var(--brand-red); transform: rotate(45deg); box-shadow: inset 0 0 0 5px var(--brand-red), inset 0 0 0 9px var(--sun-gold); }
.flavour-card h3 { color: var(--red); font-size: 1.45rem; margin: 0 1.6rem .2rem 0; }
.flavour-card .en { display: block; font: 700 .76rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt-text); margin-bottom: .6rem; }
.flavour-card p { margin: 0; font-size: .98rem; color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-head { background: var(--brand-red); color: var(--cream); padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.page-head h1 { color: var(--cream); margin-bottom: .35em; }
.page-head .eyebrow { color: var(--sun-gold); }
.page-head .intro { color: var(--cream); max-width: 40rem; }
.page-head .container, .page-head .narrow { position: relative; z-index: 1; }
.page-head::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; background: var(--brand-red-dark); clip-path: var(--burst-12); }
.page-head :focus-visible { outline-color: var(--sun-gold); }

.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-grid .lead { font-size: 1.15rem; }
.photo { margin: 0 0 2rem; position: relative; }
.photo img { width: 100%; border-radius: 16px; }
.photo-arch img { border-radius: 200px 200px 16px 16px; border: 6px solid var(--paper); box-shadow: 0 0 0 4px var(--brand-red); max-height: 560px; object-fit: cover; }
.photo-wide img { aspect-ratio: 576 / 528; object-fit: cover; }
.photo figcaption { font-size: .92rem; color: var(--muted); margin-top: .7rem; padding-left: .75rem; border-left: 4px solid var(--sun-gold); }
.prose .photo { max-width: 420px; }
.book-block h2 { margin-bottom: .4em; }
.book-block .actions { justify-content: center; }

/* Menu page list */
.menu-list { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.menu-item { background: var(--paper); border-radius: 16px; border-top: 8px solid var(--sun-gold); padding: 1.3rem 1.4rem; }
.menu-item:nth-child(4n+2), .menu-item:nth-child(4n+3) { border-top-color: var(--brand-red); }
.menu-item h2 { font-size: 1.5rem; margin-bottom: .25rem; }
.menu-item .en { display: block; font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt-text); margin-top: .3rem; }
.menu-item p { margin: 0; color: var(--muted); }
.fresh-note { font-weight: 700; color: var(--red); font-size: 1.15rem; border-left: 5px solid var(--sun-gold); padding: .4rem 0 .4rem 1rem; margin: 0 0 2.5rem; }

/* Note box (pricing / menu) */
.note-box { background: var(--brand-red); color: var(--cream); border-radius: 24px; padding: clamp(1.75rem, 4vw, 2.75rem); margin: 0 0 2.5rem; position: relative; overflow: hidden; }
.note-box h2 { color: var(--cream); font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: .4rem; }
.note-box p { margin: 0; position: relative; z-index: 1; }
.note-box a:not(.btn) { color: var(--cream); }
.note-box :focus-visible { outline-color: var(--sun-gold); }
.note-box::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px; background: var(--sun-gold); clip-path: var(--burst-12); opacity: .9; }
.note-action { margin-top: 1.25rem !important; }

/* Pricing tables */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; align-items: start; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: 18px; overflow: hidden; border: 3px solid var(--brand-red); }
.price-table caption { text-align: left; font-family: var(--display); font-size: 1.8rem; color: var(--red); padding: 0 0 .5rem .2rem; }
.price-table thead th { background: var(--brand-red); color: var(--cream); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; text-align: left; padding: .65rem 1rem; }
.price-table thead th:last-child, .price-table td { text-align: right; white-space: nowrap; }
.price-table tbody th { font-weight: 400; text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.price-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--red); }
.price-table tbody tr:last-child > * { border-bottom: 0; }

/* Granita guide */
.compare { margin: 0 0 2rem; }
.compare dt { font-family: var(--display); font-size: 1.5rem; color: var(--red); padding-top: 1.2rem; }
.compare dd { margin: .3rem 0 0; padding: 0 0 1.2rem; border-bottom: 2px dashed var(--line); color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.card { background: var(--paper); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.25rem); border: 3px solid var(--brand-red); }
.card-lemon { background: var(--gold-tint); border-color: var(--sun-gold); }
.card h2 { font-size: 1.9rem; }
.details { margin: 0; }
.details dt { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--red); margin-top: 1.4rem; }
.details dt:first-child { margin-top: 0; }
.details dd { margin: .2rem 0 0; }
.social { list-style: none; padding: 0; margin: 0; }
.social li { margin: .2rem 0; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 2px solid #CDBFA6; border-radius: 12px; padding: .7rem .9rem; min-height: 50px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(33, 129, 211, .25); }
.field [aria-invalid="true"] { border-color: #A3211B; }
.error { color: #A3211B; font-size: .9rem; font-weight: 700; margin: .3rem 0 0; }
.error:empty { display: none; }
.contact-form .btn { width: 100%; margin-bottom: .8rem; }
.thanks { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--gold-tint); border: 2px solid var(--red); }
.thanks p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-red); color: var(--cream); padding: 3rem 0 2.5rem; border-top: 5px solid var(--sun-gold); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.site-footer .brand .logo { height: 76px; }
.footer-meta { margin: 0; font-size: .95rem; }
.site-footer .footer-meta a { color: var(--cream); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-meta a:hover { color: var(--sun-gold); }
.copyright { margin: 0; font-size: .85rem; color: var(--cream); opacity: .9; }
.site-footer :focus-visible { outline-color: var(--sun-gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .flavour-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split, .about-grid { grid-template-columns: 1fr; }
  .split-copy { text-align: center; }
  .split-copy .rule { margin-inline: auto; }
  .split-copy .actions { justify-content: center; }
  .about-grid .photo { max-width: 380px; margin-inline: auto; }
  .flavours-head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .contact-grid, .price-grid, .menu-list { grid-template-columns: 1fr; }
  .hero-stage .sticker { right: -24%; top: -10%; width: 104px; height: 104px; font-size: 1.15rem; }
}
@media (max-width: 560px) {
  .flavour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .container, .narrow { width: calc(100% - 2.5rem); }
  .actions .btn { width: 100%; }
  .brand .logo { height: 50px; }
  .hero::before, .hero::after { display: none; }
}

/* Buttons inside red panels flip to cream */
.note-box .btn-primary, .block-red .btn-primary { background: var(--cream); border-color: var(--cream); color: var(--red); }
.note-box .btn-primary:hover, .block-red .btn-primary:hover { background: var(--sun-gold); border-color: var(--sun-gold); color: var(--red-dark); }
.note-box .btn-ghost { border-color: var(--cream); color: var(--cream); }
.note-box .btn-ghost:hover { background: var(--cream); color: var(--red); }
@media (max-width: 480px) {
  .hero-stage { width: min(64vw, 270px); }
}
@media (max-width: 760px) {
  .note-box::after { width: 96px; height: 96px; right: -34px; top: -34px; bottom: auto; }
  .note-box h2 { padding-right: 2.5rem; }
}
@media (max-width: 480px) {
  .hero-stage .sticker { top: -4%; right: -20%; }
}

/* Hero uses the cart photo (portrait arch) */
.hero-stage--cart { width: clamp(200px, min(30vh, 28vw), 280px); aspect-ratio: 3 / 4; }
.hero-stage--cart .hero-float img { border-radius: 999px 999px 18px 18px; object-position: 50% 40%; }
.hero-stage--cart .burst { inset: -12% -22%; }
.hero-stage--cart .sticker { right: -52%; top: 0; }
.hero-stage--cart + .tagline, .hero-stage--cart ~ .tagline { position: relative; z-index: 4; margin-top: 2rem; }
.cart-art img.granita-art { object-position: 50% 50%; }
.hero-stage--cart ~ .tagline { max-width: 30ch; }

/* Hero corner motifs: the sun and lemons from the cart print (static) */
.hero::before, .hero::after { background: center / contain no-repeat; border: 0; box-shadow: none; transform: none; width: clamp(110px, 14vw, 190px); }
.hero::before { background-image: url("images/motif-sun.svg"); left: calc(-1 * clamp(20px, 3vw, 40px)); top: 8%; transform: rotate(-10deg); }
.hero::after { background-image: url("images/motif-lemon.svg"); right: calc(-1 * clamp(10px, 2vw, 30px)); bottom: 10%; transform: rotate(8deg); }
.cart-art img.scoop-art { object-position: 50% 62%; }

/* Home page bottom strip: flowing cart print, same thickness as the original tile strip */
.tile-strip.tile-strip--cart { height: 22px; background-color: var(--cream);
  background-image: url("images/cart-print-band.jpg"); background-size: auto 22px;
  background-repeat: repeat-x; background-position: center center;
  border-block: 2px solid var(--brand-red); }

/* Hero cart as a plain cut-out (no frame), floating like Cono Gelato's cone */
.hero-stage--cutout { width: clamp(270px, min(50vh, 38vw), 440px); aspect-ratio: 900 / 1099; }
.hero-stage--cutout .hero-float img { object-fit: contain; border: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 22px 18px rgba(127, 26, 22, .28)); }
.hero-stage--cutout .sticker { right: -34%; top: 6%; }

/* Flavour cards: three even rows of four, every box the same size */
.flavour-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
.flavour-card:nth-child(n) { border-top-color: var(--sun-gold); }
.flavour-card:nth-child(even) { border-top-color: var(--cobalt); }
@media (max-width: 1000px) { .flavour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flavour-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

/* Pricing page: event packages */
.packages { margin: 0 0 2.5rem; }
.packages-title { font-family: var(--display); color: var(--red); font-size: 1.8rem; margin: 0 0 1rem; }
.package-card { max-width: none; background: var(--paper); border: 3px solid var(--brand-red); border-radius: 18px; overflow: hidden; }
.package-card .package-num { margin: 0; background: var(--brand-red); color: var(--cream); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: .65rem 1rem; }
.package-card h3 { font-family: var(--display); color: var(--red); font-size: 1.6rem; margin: 1rem 1.2rem .4rem; }
.package-card .package-price { font-family: var(--display); color: var(--red); font-size: 1.6rem; line-height: 1.2; margin: .1rem 1.2rem .6rem; }
.package-card ul { margin: 0 1.2rem 1.2rem; padding-left: 1.2rem; line-height: 1.8; }
.package-card li::marker { color: var(--gold, #e3a72f); }
.package-card .package-price .price-note { font-family: var(--sans); font-size: .8rem; font-weight: 400; color: var(--muted); letter-spacing: 0; vertical-align: middle; margin-left: .3rem; }
.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (max-width: 640px) { .package-grid { grid-template-columns: 1fr; } }
.package-card .package-desc { margin: 0 1.2rem .7rem; color: var(--muted); font-style: italic; font-size: .95rem; line-height: 1.5; }

/* Contact page: event enquiry form */
.contact-form .form-title { font-family: var(--display); color: var(--red); font-size: 1.8rem; margin: 0 0 1rem; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.contact-form .field-note { margin: -.15rem 0 .45rem; font-size: .85rem; font-style: italic; color: var(--muted); }
.field select { width: 100%; font: inherit; color: var(--ink); background-color: var(--cream); border: 2px solid #CDBFA6; border-radius: 12px; padding: .7rem 2.6rem .7rem .9rem; min-height: 50px; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--brand-red) 50%), linear-gradient(135deg, var(--brand-red) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(33, 129, 211, .25); }
.contact-form { border-top: 6px solid var(--sun-gold); }
@media (max-width: 560px) { .contact-form .field-row { grid-template-columns: 1fr; } }
.contact-form .field-note--after { margin: .4rem 0 0; }
.contact-stack { max-width: 680px; display: grid; gap: 1.5rem; }
.email-box { text-align: center; }
.email-box-label { margin: 0 0 .3rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.email-box-addr { margin: 0; font-size: 1.1rem; }
.email-box .email-box-addr + .email-box-label { margin-top: 1.2rem; }
.footer-sep { margin: 0 .6rem; color: var(--sun-gold); }
@media (max-width: 560px) { .footer-meta { display: flex; flex-direction: column; gap: .3rem; } .footer-sep { display: none; } }
.addons { margin: 0 0 2.5rem; }
.addon-card { background: var(--paper); border: 3px solid var(--sun-gold); border-radius: 18px; padding: 1.4rem 1.6rem; min-height: 4rem; }
.addon-list { margin: 0; padding-left: 1.2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 2rem; }
.addon-list:empty { display: none; }
@media (max-width: 640px) { .addon-list { grid-template-columns: 1fr; } }
.packages-includes { margin: -.25rem 0 1.4rem; font-size: 1rem; line-height: 1.55; }
.packages-includes strong { color: var(--red); }
.packages-includes-note { font-style: italic; color: var(--muted); font-size: .92rem; }
.addon-list { display: block; list-style: none; padding: 0; }
.addon-list li { display: flex; align-items: baseline; gap: .8rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.addon-list li:last-child { border-bottom: 0; }
.addon-name { font-weight: 700; color: var(--ink); }
.addon-name::after { content: ""; }
.addon-price { margin-left: auto; font-family: var(--display); color: var(--red); font-size: 1.15rem; white-space: nowrap; }
.addons { max-width: 460px; margin-left: auto; margin-right: auto; text-align: center; }
.addons .addon-card { padding: 1rem 1.4rem; }
.addons .addon-list li { justify-content: center; padding: .55rem 0; }

/* =====================================================================
   v44: single-page flow (index.html #home / #about / #packages / #contact)
   ===================================================================== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.onepage-section { scroll-margin-top: calc(var(--header-h) + 7px); }
/* Section titles demoted from h1 to h2 keep the h1 look */
.page-head .page-title { font-size: clamp(2.8rem, 8vw, 5rem); color: var(--cream); margin-bottom: .35em; }
/* Active nav item while scrolling (same look as aria-current="page") */
.site-nav a.is-active { background: var(--red); color: var(--cream); }
@media (max-width: 900px) {
  .site-nav a.is-active { background: transparent; color: var(--sun-gold); }
}

/* =====================================================================
   v44: MOBILE OPTIMISATION — phones and small tablets only.
   Desktop (> 900px) is untouched by everything below.
   ===================================================================== */
html, body { overflow-x: clip; }   /* belt and braces against stray decorative overflow */
.footer-meta a, .email-box-addr, .details dd { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  /* Open menu: scrolls if the screen is short (landscape phones) */
  .site-nav { max-height: calc(100vh - var(--header-h) - 7px); max-height: calc(100dvh - var(--header-h) - 7px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; }
}

@media (max-width: 760px) {
  /* Tighter vertical rhythm */
  .block { padding: 2.75rem 0; }
  .section { padding: 2.5rem 0; }
  .page-head { padding: 2.75rem 0 2.25rem; }
  .page-head::after { width: 200px; height: 200px; right: -70px; top: -70px; }
  .split { gap: 1.5rem; }
  .cart-art { width: min(300px, 72%); }
  .flavours-head { margin-bottom: 1.75rem; }
  .packages-title, .contact-form .form-title { font-size: 1.6rem; }
  .package-grid { gap: 1.1rem; }
  .packages-includes { font-size: .98rem; }
  .note-box { border-radius: 20px; }
  .note-box .actions .btn, .note-box .note-action .btn { width: 100%; }

  /* Forms: full width, 16px text so iOS doesn't zoom on focus */
  .field input, .field select, .field textarea { font-size: 16px; width: 100%; max-width: 100%; min-width: 0; }
  .field input[type="date"], .field input[type="time"] { display: block; -webkit-appearance: none; appearance: none; text-align: left; }
  .field input::-webkit-date-and-time-value { text-align: left; }

  /* Footer: stacked, tappable links */
  .site-footer { padding: 2.25rem 0 2rem; }
  .footer-meta a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25rem; }
  .site-footer .brand .logo { height: 64px; }
}

@media (max-width: 560px) {
  .container, .narrow { width: calc(100% - 2.5rem); }   /* 1.25rem side padding */
  .footer-meta { align-items: center; gap: 0; }
  /* Home hero: keep the cart, sticker and motifs inside the screen */
  .hero { min-height: 0; padding: 1.25rem 0 2.25rem; }
  .hero-title .logo-hero { width: min(300px, 76vw); }
  .hero-stage--cutout { width: min(60vw, 240px); margin: .5rem auto 1rem; }
  .hero-stage--cutout .sticker { width: 88px; height: 88px; font-size: 1rem; right: -16%; top: -2%; }
  .hero-stage--cart ~ .tagline { margin-top: 1.25rem; font-size: 1.4rem; }
  .flavour-card { padding: 1.15rem 1.1rem 1.25rem; }
  .card { padding: 1.25rem; border-radius: 18px; }
  .addon-card, .addons .addon-card { padding: .9rem 1.1rem; }
  .package-card h3 { margin: .85rem 1rem .35rem; }
  .package-card .package-desc { margin: 0 1rem .6rem; }
  .package-card ul { margin: 0 1rem 1rem; }
  .menu-item { padding: 1.1rem 1.15rem; }
  .compare dt { font-size: 1.3rem; }
}

@media (max-width: 400px) {
  .container, .narrow { width: calc(100% - 2rem); }     /* 1rem side padding on the smallest phones */
  .header-inner { gap: .5rem; }
  .brand .logo { height: 46px; }
  .flavours-head h2 { font-size: 2.2rem; }
  .band p { font-size: 1.05rem; }
}
@media (max-width: 760px) {
  /* Bigger tap area for the inline "Contact us" link without shifting the text */
  .note-box p a:not(.btn) { padding-block: .8rem; }
}

/* Tighter spacing around the Instagram button on phones */
@media (max-width: 760px) {
  .section:has(+ .book-block) { padding-bottom: 1.25rem; }
  .book-block { padding: 1.5rem 0; }
}
