/* ==========================================================================
   Marie Flair's Culinary — Catering & Event Support, Norwich

   Layout and visual language follow the supplied reference design:
   split hero with an overlapping plate cutout, botanical line-art,
   dark + accent button pairs, circular dish cards with a badge,
   and a portrait on an accent disc.

   The reference's orange is replaced throughout by the brand green
   sampled from the logo. No colour here is invented.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the logo artwork */
  --green-900: #0B3A1D;
  --green-800: #12522A;
  --green-700: #1A7439;   /* core brand green — takes the reference's orange role */
  --green-600: #2D6A3F;
  --green-500: #32813E;
  --olive-400: #8AB34D;
  --lime-300:  #BACB6E;
  --glow-400:  #CED740;
  --glow-300:  #E2E467;
  --ink:       #1F2020;   /* logo linework black — the reference's dark navy role */
  --cream:     #F9FAED;
  --white:     #FFFFFF;

  --ink-70: rgba(31, 32, 32, 0.70);
  --ink-55: rgba(31, 32, 32, 0.55);
  --ink-30: rgba(31, 32, 32, 0.28);
  --line:   rgba(31, 32, 32, 0.14);
  --line-soft: rgba(31, 32, 32, 0.07);
  --sand:   #F4F2E9;

  /* Typography — high-contrast serif display over a geometric sans, as reference */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero:  clamp(2.5rem, 1.5rem + 3.9vw, 4.15rem);
  --fs-h2:    clamp(2rem, 1.4rem + 2.3vw, 3.1rem);
  --fs-h3:    clamp(1.2rem, 1.08rem + 0.5vw, 1.42rem);
  --fs-lead:  clamp(0.96rem, 0.92rem + 0.2vw, 1.04rem);
  --fs-body:  1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.72rem;

  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 8vw, 8rem);

  /* Reference uses soft rounded rectangles, not pills, for buttons */
  --r-btn: 9px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 42px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(11, 58, 29, 0.06);
  --shadow-md: 0 14px 34px -14px rgba(11, 58, 29, 0.20);
  --shadow-lg: 0 34px 66px -26px rgba(11, 58, 29, 0.28);
  --shadow-xl: 0 50px 100px -34px rgba(11, 58, 29, 0.34);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--glow-400); color: var(--green-900); }

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--green-700);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: var(--fs-small);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   3. Botanical line-art decorations
   Generated SVG sprigs, sitting behind content at low opacity — the
   signature texture of the reference design.
   -------------------------------------------------------------------------- */
.decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.17;
}
.decor--soft { opacity: 0.11; }
.decor--flip { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   4. Shared type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--green-700); opacity: 0.5; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: var(--green-700); opacity: 0.5; }
.eyebrow--light { color: var(--lime-300); }
.eyebrow--light::before, .eyebrow--light::after { background: var(--lime-300); }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-55);
  line-height: 1.8;
  max-width: 52ch;
}

/* Centred section heading, flanked by sprigs — as the reference's
   "Our Special Dishes" and "Our Happy Customers" headings */
.section-head { position: relative; z-index: 2; max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }

.head-decor {
  position: absolute;
  top: 50%;
  width: clamp(90px, 13vw, 190px);
  transform: translateY(-50%);
  opacity: 0.19;
  pointer-events: none;
}
.head-decor--l { right: calc(100% + 1.5rem); }
.head-decor--r { left: calc(100% + 1.5rem); transform: translateY(-50%) scaleX(-1); }

/* --------------------------------------------------------------------------
   5. Buttons — reference pairs a dark button with an accent button
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.35s var(--ease-out); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(226, 228, 103, 0.34) 50%, transparent 80%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover::after { transform: translateX(110%); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

/* Dark button — the reference's "Menu" */
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; }

/* Accent button — the reference's orange "Book a table", in brand green */
.btn--accent { background: var(--green-700); color: var(--white); }
.btn--accent:hover { background: var(--green-800); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--green-700); color: var(--green-700); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cream); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--outline-light:hover { border-color: var(--glow-400); color: var(--glow-400); }

.btn--glow { background: var(--glow-400); color: var(--green-900); }
.btn--glow:hover { background: var(--glow-300); }

.btn--sm { padding: 0.72rem 1.4rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--green-700);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Branded media placeholder
   Any <img> that fails to load is removed by main.js, revealing this panel.
   Drop a real file at the same path and it simply appears.
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(226, 228, 103, 0.45) 0%, transparent 55%),
    linear-gradient(158deg, var(--green-700) 0%, var(--green-800) 45%, var(--green-900) 100%);
  isolation: isolate;
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 46%, transparent 0 21%, rgba(249,250,237,0.20) 21% 21.4%, transparent 21.4%),
    radial-gradient(circle at 50% 46%, transparent 0 27%, rgba(249,250,237,0.13) 27% 27.3%, transparent 27.3%),
    repeating-linear-gradient(52deg, rgba(249,250,237,0.05) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.media::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(249, 250, 237, 0.62);
  pointer-events: none;
}
.media img {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.media--zoom:hover img { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              padding 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
  padding-block: 0.55rem;
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 64px; width: auto; transition: height 0.4s var(--ease); }
.site-header.is-stuck .brand img { height: 52px; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  font-size: 0.92rem;
  padding-block: 0.35rem;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--green-700); }

.nav-cta { flex: none; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}
.nav-toggle span { position: relative; display: block; width: 18px; height: 1.5px; background: var(--ink); transition: background-color 0.2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Hero — split layout, overlapping plate, line-art, social row
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 12vw, 10.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  background: var(--white);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero .decor--a { top: 2%;  left: -5%;  width: clamp(180px, 20vw, 300px); }
.hero .decor--b { top: 6%;  right: 30%; width: clamp(130px, 15vw, 230px); }
.hero .decor--c { bottom: -6%; left: 34%; width: clamp(200px, 26vw, 380px); }

.hero h1 {
  font-size: var(--fs-hero);
  margin-bottom: 1.5rem;
  max-width: 13ch;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--green-700); }

.hero .lead { margin-bottom: 2.2rem; max-width: 44ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.6rem; }

/* Social row with the trailing rule, as reference */
.hero__social { display: flex; align-items: center; gap: 0.7rem; }
.hero__social ul { display: flex; gap: 0.7rem; list-style: none; margin: 0; padding: 0; }
.hero__social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: all 0.35s var(--ease);
}
.hero__social svg { width: 16px; height: 16px; }
.hero__social a:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
  transform: translateY(-3px);
}
.hero__social .rule { flex: 1; height: 1px; background: var(--line); }

/* --- Hero art: big rounded frame + overlapping circular plate ------------- */
.hero__art { position: relative; min-height: clamp(400px, 42vw, 560px); }

.hero__frame {
  position: absolute;
  inset: 0 0 8% 18%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.hero__plate {
  position: absolute;
  left: -4%;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 9px solid var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 3;
}
.hero__plate::after { font-size: 0.85rem; padding: 0.9rem; }

.hero__badge {
  position: absolute;
  right: -3%;
  bottom: 16%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.25rem;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  animation: float-y 5.5s ease-in-out infinite;
}
.hero__badge img { width: 40px; height: 40px; object-fit: contain; }
.hero__badge b { display: block; font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; line-height: 1.2; }
.hero__badge span { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-55); }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------------------------
   8b. Page banner — the compact hero on every inner page
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: clamp(8.5rem, 12vw, 11rem);
  padding-bottom: clamp(3rem, 5.5vw, 4.5rem);
  background: var(--cream);
  text-align: center;
  overflow: hidden;
}
.page-hero .decor--a { top: -12%; left: -4%; width: clamp(150px, 17vw, 260px); }
.page-hero .decor--b { bottom: -22%; right: -3%; width: clamp(170px, 19vw, 300px); }
.page-hero h1 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.page-hero .lead { margin-inline: auto; }

.crumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--ink-55);
}
.crumb a { transition: color 0.3s var(--ease); }
.crumb a:hover { color: var(--green-700); }
.crumb svg { width: 13px; height: 13px; opacity: 0.5; }
.crumb [aria-current] { color: var(--green-700); }

/* Centred "view everything" link under a teaser grid */
.more { display: flex; justify-content: center; margin-top: clamp(2.2rem, 4vw, 3.2rem); }

/* --------------------------------------------------------------------------
   9. Marquee strip
   -------------------------------------------------------------------------- */
.strip { background: var(--ink); color: var(--cream); padding-block: 1.05rem; overflow: hidden; }
.strip__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip ul { display: flex; align-items: center; gap: 3rem; list-style: none; margin: 0; padding: 0 1.5rem 0 0; }
.strip li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}
.strip li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--glow-400); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   10. Sections — generic
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; overflow: hidden; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section > .shell { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   11. About — portrait on an accent disc, as the reference's chef panel
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about h2 { font-size: var(--fs-h2); margin-bottom: 1.2rem; }
.about p + p { margin-top: 1rem; }
.about__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }

.chef { position: relative; display: grid; place-items: center; min-height: clamp(360px, 40vw, 520px); }
/* The accent disc — reference puts the chef on a solid orange circle */
.chef__disc {
  position: absolute;
  width: min(94%, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 30%, var(--glow-400) 0%, var(--olive-400) 34%, var(--green-700) 72%);
  box-shadow: var(--shadow-lg);
}
/* An arch-framed photograph sitting over the disc and breaking its top edge */
.chef__cut {
  position: relative;
  z-index: 2;
  width: min(68%, 350px);
  aspect-ratio: 3 / 4;
  border-radius: 200px 200px var(--r-lg) var(--r-lg);
  overflow: hidden;
  transform: translateY(-8%);
  border: 8px solid var(--white);
  box-shadow: var(--shadow-xl);
}
.chef__cut img { object-fit: cover; object-position: center; }

.checklist { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.9rem 1.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.94rem; line-height: 1.5; color: var(--ink-70); }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--green-700); }

/* Alternating rows on the Services page put the image first */
.about__grid--flip { grid-template-columns: 1fr 1.05fr; }

.svc-art { position: relative; }
.svc-art__media {
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin-inline: auto;
}

.svc-ico {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(26, 116, 57, 0.09);
  color: var(--green-700);
  margin-bottom: 1.3rem;
}
.svc-ico svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   12b. Services — circular dish cards with a badge, as "Our Special Dishes"
   -------------------------------------------------------------------------- */
.dishes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.75rem);
}

.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.35rem 2rem;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.dish:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }

.dish__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 1.35rem;
  /* Visible so the badge can overlap the plate edge, as the reference does.
     The circle is held by rounding the layers individually instead. */
  overflow: visible;
}
.dish__media::before,
.dish__media img { border-radius: 50%; }
.dish__media::after { font-size: 0.85rem; padding: 0.9rem; }
.dish:hover .dish__media img { transform: scale(1.07); }

/* Dark circular badge overlapping the plate, as the reference's price tag */
.dish__badge {
  position: absolute;
  top: 4%;
  right: 2%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease);
}
.dish__badge svg { width: 23px; height: 23px; }
.dish:hover .dish__badge { background: var(--green-700); transform: rotate(-8deg) scale(1.06); }

.dish h3 { font-size: var(--fs-h3); margin-bottom: 0.55rem; }
.dish p { font-size: 0.9rem; color: var(--ink-55); line-height: 1.65; margin-bottom: 1.1rem; }
.dish .link-arrow { margin-top: auto; }

/* Closing invitation card in the grid */
.dish--cta {
  justify-content: center;
  background: linear-gradient(150deg, var(--green-700) 0%, var(--green-900) 100%);
  padding-block: 2.4rem;
}
.dish--cta h3 { color: var(--white); }
.dish--cta p { color: rgba(249, 250, 237, 0.75); }

/* --------------------------------------------------------------------------
   13b. Menu page
   -------------------------------------------------------------------------- */
.menu-intro { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Jump-to-section chips */
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}
.chip {
  padding: 0.58rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: var(--ink-70);
  transition: all 0.3s var(--ease);
}
.chip:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
}

.menu-note {
  max-width: 66ch;
  margin-inline: auto;
  text-align: center;
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: var(--ink-55);
}
.menu-note strong { color: var(--ink); font-weight: 400; }

/* Alternating bands are tighter than a full section */
.menu-block { padding-block: clamp(3rem, 5.5vw, 4.5rem); }
.menu-block .section-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.menu-block .section-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.5rem); }
.menu-block .lead { font-style: italic; font-family: var(--font-display); font-size: 1.1rem; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.1rem clamp(2rem, 5vw, 4.5rem);
  max-width: 940px;
  margin-inline: auto;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: 0; }

.menu-item__name {
  position: relative;
  padding-left: 1.15rem;
  font-size: 1.02rem;
  color: var(--ink);
}
/* A small leaf-green marker in place of a bullet */
.menu-item__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50% 0 50% 50%;
  background: var(--olive-400);
  transform: rotate(45deg);
}
.menu-item__note {
  padding-left: 1.15rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-55);
}

/* Buffet options row */
.buffet-opts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.buffet-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.96rem;
}
.buffet-opt svg { width: 19px; height: 19px; color: var(--green-700); flex: none; }

/* --------------------------------------------------------------------------
   14. Gallery
   -------------------------------------------------------------------------- */
.gallery__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); position: relative; z-index: 2; }
.filter {
  padding: 0.6rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: transparent;
  font-size: 0.85rem;
  color: var(--ink-70);
  transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--green-700); color: var(--green-700); }
.filter.is-active { background: var(--green-700); border-color: var(--green-700); color: var(--white); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 205px);
  /* Mixed tile spans leave holes when placed strictly in order; dense packing
     lets the small tiles backfill them so the mosaic stays solid. */
  grid-auto-flow: dense;
  gap: clamp(0.6rem, 1.2vw, 1rem);
  position: relative;
  z-index: 2;
}
.tile { position: relative; border-radius: var(--r-md); border: 0; padding: 0; overflow: hidden; background: transparent; cursor: pointer; }
.tile--w2 { grid-column: span 2; }
.tile--h2 { grid-row: span 2; }
.tile .media { position: absolute; inset: 0; border-radius: inherit; }
.tile.is-hidden { display: none; }

.tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
  text-align: left;
  background: linear-gradient(to top, rgba(31,32,32,0.86) 0%, rgba(31,32,32,0.14) 46%, transparent 72%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.tile:hover .tile__overlay, .tile:focus-visible .tile__overlay { opacity: 1; }
.tile__overlay b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--white); transform: translateY(8px); transition: transform 0.45s var(--ease-out); }
.tile__overlay span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--glow-400); transform: translateY(8px); transition: transform 0.45s var(--ease-out) 0.05s; }
.tile:hover .tile__overlay b, .tile:hover .tile__overlay span { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(31, 32, 32, 0.95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__frame {
  position: relative;
  width: min(1000px, 100%);
  max-height: 82vh;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.5s var(--ease-out);
}
.lightbox.is-open .lightbox__frame { transform: scale(1); }
.lightbox__frame .media { position: absolute; inset: 0; }
.lightbox__caption { margin-top: 1.3rem; text-align: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 4;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border: 1px solid rgba(249,250,237,0.28);
  border-radius: 50%;
  background: rgba(31,32,32,0.5);
  color: var(--cream);
  transition: all 0.3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav svg, .lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   16. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-banner__inner {
  position: relative;
  display: grid; place-items: center;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 130% at 50% -10%, rgba(206, 215, 64, 0.26) 0%, transparent 60%),
    linear-gradient(140deg, var(--green-700) 0%, var(--green-800) 50%, var(--green-900) 100%);
  color: var(--white);
  overflow: hidden;
}
.cta-banner .decor { opacity: 0.14; }
.cta-banner .decor--a { top: -12%; left: -4%; width: clamp(180px, 20vw, 300px); }
.cta-banner .decor--b { bottom: -18%; right: -3%; width: clamp(200px, 22vw, 340px); }
.cta-banner h2 { font-size: var(--fs-h2); color: var(--white); margin-bottom: 1rem; max-width: 20ch; position: relative; z-index: 2; }
.cta-banner p { font-size: var(--fs-lead); color: rgba(249, 250, 237, 0.8); max-width: 56ch; margin-bottom: 2.2rem; position: relative; z-index: 2; }
.cta-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
/* Let the columns actually shrink: without this, a nowrap button inside sets a
   min-content floor and the card overflows the screen on narrow phones. */
.contact__grid > * { min-width: 0; }
.contact .decor--a { bottom: -6%; left: -5%; width: clamp(180px, 20vw, 320px); }
.contact__aside h2 { font-size: var(--fs-h2); margin-bottom: 1.1rem; }

.contact__details { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.contact__details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__details .ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(26,116,57,0.09); color: var(--green-700); }
.contact__details .ico svg { width: 20px; height: 20px; }
.contact__details b { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-55); margin-bottom: 0.15rem; }
.contact__details a, .contact__details span { font-size: 1rem; }
.contact__details a:hover { color: var(--green-700); }

@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   17b. WhatsApp — enquiry panel + floating button
   -------------------------------------------------------------------------- */
.wa-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.wa-card__icon {
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(26, 116, 57, 0.10);
  color: var(--green-700);
}
.wa-card__icon svg { width: 34px; height: 34px; }
.wa-card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 0.9rem; text-wrap: balance; }
.wa-card p { color: var(--ink-55); line-height: 1.75; max-width: 44ch; margin-inline: auto; }
.wa-card__btn {
  margin-top: 1.9rem;
  max-width: 100%;
  /* Overrides .btn's nowrap so a narrow screen wraps the label instead of
     stretching the card past the viewport edge. */
  white-space: normal;
  text-wrap: balance;
}
.wa-card__btn svg { width: 19px; height: 19px; }
.wa-card__alt {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.7;
}
.wa-card__alt a { color: var(--green-700); border-bottom: 1px solid var(--line); }
.wa-card__alt a:hover { border-bottom-color: var(--green-700); }

/* Floating button — bottom-LEFT, so it never collides with back-to-top.
   Uses WhatsApp's own green: people recognise it instantly, which is the
   whole point of a floating contact bubble. */
.wa-float {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  height: 56px;
  padding: 0 1.35rem 0 1rem;
  border-radius: var(--r-pill);
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.6), var(--shadow-md);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wa-float svg { width: 27px; height: 27px; flex: none; }
.wa-float__label {
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -8px rgba(37, 211, 102, 0.7), var(--shadow-lg);
}
.wa-float:focus-visible { outline: 3px solid var(--green-900); outline-offset: 3px; }

/* A gentle nudge on load so it is noticed, then it settles */
@keyframes wa-pop {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.wa-float { animation: wa-pop 0.5s var(--ease-out) 0.9s both; }

/* On small screens collapse to a circle so it never covers content */
@media (max-width: 620px) {
  .wa-card { padding: 2rem 1.25rem 2.25rem; }
  .wa-card__btn { padding-inline: 1.1rem; }

  /* Collapse to a circle the same size as the back-to-top button opposite it */
  .wa-float { height: 56px; width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(249, 250, 237, 0.66); padding-top: clamp(3.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
.site-footer .decor { opacity: 0.07; bottom: -10%; right: -3%; width: clamp(220px, 24vw, 380px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); position: relative; z-index: 2; }
.footer__brand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.3rem; }
.footer__brand img { width: 60px; height: auto; }
.footer__brand b { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--white); line-height: 1.1; }
.footer__brand span { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--glow-400); }
.site-footer p { font-size: 0.9rem; line-height: 1.7; max-width: 40ch; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.73rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 1.3rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.68rem; }
.footer__list a { font-size: 0.91rem; transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer__list a:hover { color: var(--glow-400); padding-left: 5px; }

.socials { display: flex; gap: 0.55rem; margin-top: 1.5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(249,250,237,0.2); border-radius: 50%; transition: all 0.35s var(--ease); }
.socials svg { width: 16px; height: 16px; }
.socials a:hover { background: var(--glow-400); border-color: var(--glow-400); color: var(--ink); transform: translateY(-3px); }

.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgba(249,250,237,0.13); font-size: 0.82rem; position: relative; z-index: 2; }

.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  display: grid; place-items: center;
  /* Same footprint as the WhatsApp bubble opposite it, so the pair matches */
  width: 56px; height: 56px;
  border: 0; border-radius: 50%;
  background: var(--green-700); color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.4s var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); transform: translateY(-3px); }
.to-top svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------------------
   19. Scroll reveal — gated on .js so nothing is invisible without JS
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .dishes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  html { scroll-padding-top: 84px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.is-open {
    position: fixed; inset: 0; z-index: 110;
    display: flex; flex-direction: column; justify-content: center;
    gap: 0.3rem; padding: 6rem 2rem 3rem;
    background: var(--cream);
    animation: fade-up 0.4s var(--ease-out) both;
  }
  .nav-links.is-open li { width: 100%; text-align: center; }
  .nav-links.is-open a { display: block; padding: 0.8rem 0; font-family: var(--font-display); font-size: 1.75rem; }
  .nav-links.is-open a::after { display: none; }
  .nav-links.is-open .nav-cta-mobile { display: block; margin-top: 1.4rem; }
  .nav-links.is-open .nav-cta-mobile a { display: inline-flex; font-family: var(--font-body); font-size: 0.9rem; }
  .nav-toggle { position: relative; z-index: 120; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; min-height: clamp(330px, 60vw, 440px); }
  .hero h1, .hero .lead { max-width: none; }
  .hero__badge { right: 1%; bottom: 10%; }

  .about__grid,
  .about__grid--flip { grid-template-columns: 1fr; }
  .chef { order: -1; margin-bottom: 2rem; }
  .svc-art { margin-bottom: 2rem; }

  .contact__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head-decor { display: none; }
}

@media (max-width: 620px) {
  :root { --r-xl: 26px; --r-lg: 20px; }

  .hero { padding-top: 7.5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__frame { inset: 0 0 10% 20%; }
  .hero__plate { width: 54%; border-width: 7px; }
  .hero__badge { padding: 0.7rem 1rem; gap: 0.6rem; }
  .hero__badge img { width: 32px; height: 32px; }
  .hero__badge b { font-size: 0.88rem; }
  .hero__badge span { font-size: 0.6rem; }
  .hero__social a { width: 38px; height: 38px; }

  .checklist { grid-template-columns: 1fr; }
  .dishes__grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr; }

  .gallery__grid { grid-auto-rows: 150px; }
  .tile--w2, .tile--h2 { grid-column: span 2; grid-row: span 1; }

  .menu-list { grid-template-columns: 1fr; }
  .buffet-opt { width: 100%; justify-content: center; }

  .footer__bar { justify-content: center; text-align: center; }
  .decor { display: none; }
}

/* --------------------------------------------------------------------------
   21. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .strip, .lightbox, .gallery__filters, .decor { display: none !important; }
  body { color: #000; }
  .media { background: #eee !important; }
}
