/* Carvee & Kylie — landing page.
   Palette sampled from the shop's own logo banner: deep maroon wordmark,
   flag blue "&", warm cream ground. Display face is Baloo 2 — rounded and
   chunky, chosen to echo the logo's bubbly hand-lettering rather than fight it.
   Contrast is verified: maroon/white 8.75:1, blue/white 5.35:1, eyebrow 5.17:1. */

@font-face {
  font-family: 'Baloo 2';
  src: url('/assets/fonts/baloo2-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('/assets/fonts/baloo2-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --cream:      #fffaf4;
  --cream-2:    #fdf3e7;
  --cream-3:    #f8e8d5;
  --ink:        #1a1512;
  --ink-2:      #5b524b;
  --ink-3:      #8d837b;
  --line:       #ece2d6;
  --brand:      #882834;   /* logo wordmark maroon */
  --brand-hi:   #6f1f2a;
  --brand-deep: #4a1119;
  --blue:       #3960e0;   /* logo "&" / flag blue — "open" status */
  --gold:       #b8770a;   /* rating star (graphic: 3:1 rule) */
  --gold-ink:   #8f5c07;   /* eyebrow TEXT: needs 4.5:1 on cream */
  --warn:       #b45309;   /* "closed" — amber, never reads as the brand */

  --display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shadows are tinted with the brand maroon, not neutral black — on a cream
     ground a grey shadow reads as dirt. */
  --sh-sm: 0 2px 8px rgb(90 25 35 / .08);
  --sh-md: 0 10px 26px rgb(90 25 35 / .13);
  --sh-lg: 0 20px 48px rgb(90 25 35 / .17);

  --radius:     18px;
  --radius-lg:  26px;
  --wrap:       1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.center { text-align: center; }

.sr-only, .skip {
  position: absolute; left: -9999px; top: 0;
}
.skip {
  z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.08; letter-spacing: -0.005em; margin: 0; font-weight: 800;
}

.eyebrow {
  margin: 0 0 10px; color: var(--gold-ink);
  font-family: var(--body);
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------------- scroll reveal ----------------
   Only armed when JS is present (html.js), so content is never hidden
   from no-JS visitors or crawlers. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); }
  .js [data-reveal].is-in {
    opacity: 1; transform: none;
    transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
  }
  /* Grid children stagger so a row arrives as a sweep, not a slab. */
  .js .cards > [data-reveal]:nth-child(2).is-in,
  .js .cats  > [data-reveal]:nth-child(2).is-in,
  .js .steps > [data-reveal]:nth-child(2).is-in { transition-delay: .08s; }
  .js .cards > [data-reveal]:nth-child(3).is-in,
  .js .cats  > [data-reveal]:nth-child(3).is-in,
  .js .steps > [data-reveal]:nth-child(3).is-in { transition-delay: .16s; }
  .js .cats  > [data-reveal]:nth-child(n+4).is-in { transition-delay: .1s; }
  .js .hero-art[data-reveal].is-in { transition-delay: .12s; }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block; border: 0; border-radius: 999px;
  padding: 12px 26px; font-family: var(--display); font-size: 16px; font-weight: 700;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-lg { padding: 15px 36px; font-size: 19px; }
.btn-go { background: var(--brand); color: #fff; box-shadow: var(--sh-sm); }
.btn-go:hover { background: var(--brand-hi); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand); }
.btn-cream { background: var(--cream); color: var(--brand-deep); box-shadow: var(--sh-md); }
.btn-cream:hover { background: #fff; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------------- nav ---------------- */
.nav { position: sticky; top: 0; z-index: 50; background: transparent; transition: background .25s, box-shadow .25s; }
.nav.is-stuck { background: rgb(255 250 244 / .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), var(--sh-sm); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; margin-right: auto; }
/* The badge is the real logo now — a round image, not a lettered tile. */
.brand-mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%; object-fit: contain;
  background: transparent;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-family: var(--display); font-size: 19px; font-weight: 800; }
.brand-txt small { color: var(--ink-2); font-size: 12px; letter-spacing: .04em; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { position: relative; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  background: var(--brand); border-radius: 2px; transition: right .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; padding: 40px 0 76px;
  background:
    radial-gradient(58% 70% at 82% 26%, rgb(248 232 213 / .95), transparent 70%),
    radial-gradient(40% 55% at 6% 8%, rgb(253 243 231 / .9), transparent 70%);
}
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero h1 { font-size: clamp(38px, 6vw, 68px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lede { margin: 0 0 30px; font-size: clamp(16px, 1.55vw, 19px); color: var(--ink-2); max-width: 52ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; color: var(--ink-2); box-shadow: var(--sh-sm);
}
.chip strong { color: var(--ink); }
.chip .star { width: 15px; height: 15px; fill: var(--gold); stroke: none; }
.dotlight { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.chip-open .dotlight { background: var(--blue); box-shadow: 0 0 0 3px rgb(57 96 224 / .20); }
.chip-shut .dotlight { background: var(--warn); box-shadow: 0 0 0 3px rgb(180 83 9 / .18); }

/* staggered photo collage + mascot badge */
.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto;          /* without this the height="" attribute
                                         wins and aspect-ratio is ignored */
  aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-lg); background: var(--cream-2);
  box-shadow: var(--sh-lg);
}
.shot-1, .shot-3 { transform: translateY(28px); }

.mascots {
  position: absolute; left: -34px; bottom: 4px; z-index: 2;
  width: 132px; height: 132px; border-radius: 50%;
  object-fit: cover; object-position: 50% 32%;
  border: 5px solid var(--cream);
  box-shadow: var(--sh-lg);
  background: var(--cream-2);
}

/* ---------------- stats band ---------------- */
.stats { background: var(--brand-deep); color: var(--cream); }
.stats-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 34px; text-align: center;
}
.stats-in > * + * { border-left: 1px solid rgb(255 250 244 / .16); }
.stat strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; color: #fff;
}
.stat span { font-size: 13px; opacity: .78; }

/* ---------------- sections ---------------- */
.sect, #visit, #menu, #popular { scroll-margin-top: 92px; }
.sect { padding: 84px 0; }
.sect-alt { background: var(--cream-2); }
.sect h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.sect-lede { margin: 0 0 32px; color: var(--ink-2); font-size: 17px; max-width: 56ch; }

/* popular — first card is the hero of the row */
/* auto-fit so the row stays even whatever the featured count is (watermarked
   photos are filtered out, so it is not always 4). */
.cards { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
/* Cards stretch to the tallest in the row; make the body a column and push the
   price down so prices line up instead of leaving dead space under short cards. */
.card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.card-pic { overflow: hidden; }
.card-pic img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; background: var(--cream-2); transition: transform .4s; }
.card:hover .card-pic img { transform: scale(1.05); }
.card-body { padding: 16px 18px 20px; flex: 1 1 auto; display: flex; flex-direction: column; }
.card-body h3 { font-size: 19px; margin-bottom: 6px; }
.card-body p { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin-top: auto; font-family: var(--display); font-size: 19px !important; font-weight: 800; color: var(--brand) !important; }


/* category tiles */
.cats { list-style: none; margin: 30px 0 36px; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.cat-tile a {
  position: relative; display: block; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--sh-md);
  transition: transform .2s, box-shadow .2s;
}
.cat-tile a:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cat-tile img { width: 100%; height: 172px; object-fit: cover; background: var(--cream-2); transition: transform .45s; }
.cat-tile a:hover img { transform: scale(1.07); }
.cat-meta {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px;
  background: linear-gradient(to top, rgb(30 8 12 / .92), rgb(30 8 12 / .5) 52%, transparent);
}
.cat-meta strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; }
.cat-meta small { font-size: 12.5px; opacity: .92; }

/* steps */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--sh-sm);
}
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 50%; background: var(--brand); color: #fff;
  font-family: var(--display); font-size: 21px; font-weight: 800;
  box-shadow: var(--sh-sm);
}
.steps h3 { font-size: 20px; margin-bottom: 7px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* visit */
.visit-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start; }
.visit-logo { width: min(260px, 70%); height: auto; border-radius: 50%; margin-bottom: 22px; }
.addr-line { font-size: 17px; margin: 0 0 20px; }
.visit-in .btn { margin: 0 8px 8px 0; }

.hours-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--sh-sm); }
.hours-card h3 { font-size: 20px; margin-bottom: 14px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th { text-align: left; font-weight: 600; color: var(--ink-2); padding: 8px 0; }
.hours td { text-align: right; padding: 8px 0; font-variant-numeric: tabular-nums; }
.hours-now { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.hours-now.is-open { color: var(--blue); }
.hours-now.is-shut { color: var(--warn); }

/* cta band */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--brand-deep); color: var(--cream);
  padding: 82px 0; text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 120% at 50% 0%, rgb(136 40 52 / .55), transparent 70%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 10px; }
.cta-band p { margin: 0 0 28px; opacity: .84; font-size: 17px; }

/* footer */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 46px 0 30px; font-size: 14px; color: var(--ink-2); }
.foot-in { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.foot-logo { width: 110px; height: auto; border-radius: 50%; margin-bottom: 14px; }
.foot p { margin: 0 0 4px; }
.foot-brand strong { color: var(--ink); font-size: 15px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--brand); text-decoration: underline; }
.fine { margin-top: 24px; font-size: 12px; color: var(--ink-3); }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding-bottom: 56px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 460px; }
  .shot-1, .shot-3 { transform: none; }
  .mascots { left: auto; right: -18px; top: -26px; bottom: auto; width: 104px; height: 104px; }
  .visit-in { grid-template-columns: 1fr; gap: 30px; }
  .nav-links { display: none; }
  .stats-in { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stats-in > *:nth-child(3) { border-left: 0; }
}

@media (max-width: 620px) {
  .hero { padding-top: 16px; }
  .brand-txt small { display: none; }
  .sect { padding: 58px 0; }
  .cards, .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body h3 { font-size: 16px; }
  .card-body p { display: none; }
  .cat-tile img { height: 136px; }
  .hero-cta .btn { flex: 1 1 auto; text-align: center; }
  .foot-in { flex-direction: column; gap: 20px; }
}

/* ================= catering: services strip ================= */
.services { background: var(--brand-deep); color: var(--cream); padding: 26px 0; }
.services-lead {
  margin: 0 0 12px; text-align: center; font-size: 12.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; opacity: .72;
}
.svc-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
}
.svc-list li {
  font-family: var(--display); font-weight: 700; font-size: clamp(16px, 2vw, 21px);
  display: flex; align-items: center; gap: 26px;
}
.svc-list li::after { content: '·'; opacity: .45; }
.svc-list li:last-child::after { content: ''; }

/* ================= catering: package cards ================= */
.pkgs {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); align-items: start;
}
.pkg {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pkg-head h3 { font-size: 23px; margin-bottom: 4px; }
.pkg-sub { margin: 0; color: var(--ink-2); font-size: 14px; }

.pkg-price { margin: 16px 0 2px; font-family: var(--display); line-height: 1; }
.pkg-price .from { font-family: var(--body); font-size: 13px; color: var(--ink-2); font-weight: 600; }
.pkg-price strong { font-size: 34px; font-weight: 800; color: var(--brand); }
.pkg-price span { font-size: 15px; color: var(--ink-2); font-weight: 700; }
.pkg-min { margin: 0 0 14px; font-size: 13px; color: var(--ink-2); }

.pkg-inc { list-style: none; margin: 14px 0 16px; padding: 0; font-size: 14.5px; }
.pkg-inc li { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; }
.pkg-inc .qty {
  flex: none; display: grid; place-items: center; min-width: 22px; height: 22px;
  border-radius: 7px; background: #f9ebed; color: var(--brand);
  font-family: var(--display); font-weight: 800; font-size: 13px;
}

.pkg-tiers { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.pkg-tiers th { text-align: left; font-weight: 600; color: var(--ink-2); padding: 5px 0; }
.pkg-tiers td { text-align: right; padding: 5px 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.pkg-notes { margin: 0 0 18px; font-size: 12.5px; color: var(--ink-2); }
.pkg-notes dt { font-weight: 700; color: var(--ink); margin-top: 8px; }
.pkg-notes dd { margin: 0; }

.pkg-cta { margin-top: auto; text-align: center; }

/* ================= catering: course tiles ================= */
.courses { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.course-tile a {
  display: block; height: 100%; padding: 20px 20px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; box-shadow: var(--sh-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.course-tile a:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand); }
.course-tile strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 800; }
.course-tile small { display: block; color: var(--brand); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.course-eg {
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 13px; color: var(--ink-2); line-height: 1.45;
}

.chip a { color: inherit; text-decoration: none; }
.chip a:hover { color: var(--brand); }

@media (max-width: 980px) {
  .pkgs, .courses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .pkgs, .courses { grid-template-columns: 1fr; }
  .svc-list { gap: 8px 18px; }
  .svc-list li { gap: 18px; font-size: 15px; }
}

/* ================= page head (menu / book) ================= */
.page-head { padding: 26px 0 20px; background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.page-head h1 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 10px; }
.menu-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.menu-tools .search { position: relative; flex: 1 1 260px; max-width: 420px; }
.menu-tools .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.menu-tools .search input {
  width: 100%; height: 46px; padding: 0 16px 0 42px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 15.5px; color: inherit;
}
.menu-tools .search input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

/* ================= course rail + dish lists ================= */
.course-rail { position: sticky; top: 74px; z-index: 30; background: rgb(255 250 244 / .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.course-rail-in { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.course-rail-in::-webkit-scrollbar { display: none; }
.course-rail a {
  flex: none; padding: 8px 15px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 700; text-decoration: none;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line);
}
.course-rail a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.menu-body { padding-bottom: 20px; }
.course { padding-top: 34px; scroll-margin-top: 140px; }
.course h2 { font-size: 26px; display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.course h2 .count { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--brand); }

.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.dish {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 9px 14px 9px 9px; box-shadow: var(--sh-sm);
}
.dish img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; flex: none; background: var(--cream-2); }
.dish-mark {
  width: 52px; height: 52px; border-radius: 9px; flex: none;
  display: grid; place-items: center; background: #f9ebed; color: var(--brand);
  font-family: var(--display); font-weight: 800; font-size: 21px;
}
.dish-name { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.no-results { padding: 50px 0; text-align: center; color: var(--ink-2); }

/* ================= booking form ================= */
.book { padding-bottom: 40px; }
.book > .wrap:first-child { padding-top: 26px; }
.book h1 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 10px; }
.book-grid { display: grid; grid-template-columns: 1fr 350px; gap: 30px; align-items: start; margin-top: 26px; }

.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--sh-sm); }
.step > h2 { font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step .step-n {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 50%; background: var(--brand); color: #fff;
  font-family: var(--display); font-size: 17px; font-weight: 800;
}

.pick-pkgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pick-pkg { display: flex; gap: 13px; align-items: flex-start; padding: 15px 16px; border: 2px solid var(--line); border-radius: 13px; cursor: pointer; transition: border-color .15s, background .15s; }
.pick-pkg:hover { border-color: var(--ink-3); }
.pick-pkg:has(input:checked) { border-color: var(--brand); background: #fdf6f7; }
.pick-pkg input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.pick-body { display: flex; flex-direction: column; gap: 2px; }
.pick-body strong { font-family: var(--display); font-size: 18px; }
.pick-body small { color: var(--ink-2); font-size: 13px; }
.pick-price { font-weight: 800; color: var(--brand); font-size: 15px; margin-top: 3px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.fields label.wide { grid-column: 1 / -1; }
.fields input, .fields textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
  font: inherit; font-weight: 400; color: var(--ink); background: #fff; resize: vertical;
}
.fields input:focus-visible, .fields textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

.pick-group { border: 0; padding: 0; margin: 0 0 22px; }
.pick-group legend {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 0 10px;
  font-family: var(--display); font-size: 19px; font-weight: 800;
}
.counter { font-family: var(--body); font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--cream-2); border-radius: 999px; padding: 3px 10px; }
.counter.is-full { background: #f9ebed; color: var(--brand); }

.pick-dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; grid-template-columns: repeat(2, 1fr); }
.pick-dish { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; background: #fff; }
.pick-dish:hover { border-color: var(--ink-3); }
.pick-dish:has(input:checked) { border-color: var(--brand); background: #fdf6f7; }
.pick-dish:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.pick-dish input { accent-color: var(--brand); width: 17px; height: 17px; margin-top: 1px; flex: none; }
.pick-dish small { display: block; color: var(--ink-3); font-size: 11.5px; }

.hint { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }
.field-error { color: #c0392b; font-size: 13.5px; margin: 10px 0 0; font-weight: 600; }

.book-side { position: sticky; top: 92px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--sh-md); }
.summary h2 { font-size: 20px; margin-bottom: 12px; }
.summary-empty { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.sum-lines { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; margin: 0 0 12px; font-size: 14px; }
.sum-lines dt { color: var(--ink-2); }
.sum-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 12px; }
.sum-total strong { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--brand); }
.summary-cta { width: 100%; margin-top: 6px; }

.book-done { text-align: center; padding: 70px 20px; }
.book-done .tick { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: #f9ebed; color: var(--brand); display: grid; place-items: center; font-size: 30px; font-weight: 800; }
.book-done h2 { font-size: 32px; margin-bottom: 10px; }
.book-done p { color: var(--ink-2); margin: 0 0 8px; }

@media (max-width: 1000px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-side { position: static; }
  .dishes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dishes, .pick-dishes, .fields { grid-template-columns: 1fr; }
  .step { padding: 18px 16px; }
}

/* WhatsApp hand-off on the booking confirmation */
.book-done .done-lede { font-size: 17px; color: var(--ink); margin: 6px 0 20px; }
.book-done .btn { margin: 0 6px 10px; }

/* 404 */
.notfound { padding: 80px 20px 100px; text-align: center; }
.notfound h1 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 12px; }
.notfound .lede { margin-inline: auto; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 22px; }

.course-note { margin: -6px 0 14px; color: var(--ink-2); font-size: 14.5px; max-width: 60ch; }
.inline-link { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.page-sub { margin: 8px 0 0; font-family: var(--display); font-size: clamp(17px,2vw,22px); font-weight: 700; color: var(--brand); }

/* ================= FAQ ================= */
.faqs { margin-top: 26px; max-width: 820px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; font-size: clamp(17px, 2vw, 20px); font-weight: 700; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--brand); line-height: 1;
}
.faq[open] summary::after { content: '−'; }
.faq summary:hover h3 { color: var(--brand); }
.faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.faq p { margin: 0 0 20px; color: var(--ink-2); font-size: 15.5px; max-width: 72ch; }

/* ================= nav: mobile panel ================= */
.nav-toggle { display: none; }
.nav-links-cta { display: none; }

@media (max-width: 900px) {
  /* Links used to be display:none here, leaving mobile with no navigation. */
  .nav-toggle {
    display: grid; place-items: center; flex: none;
    width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; cursor: pointer;
  }
  .nav-bars { display: grid; gap: 5px; width: 20px; }
  .nav-bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] .nav-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-cta { display: none; }          /* the CTA moves inside the panel */

  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-top: 1px solid var(--line);
    box-shadow: var(--sh-md); padding: 8px 20px 18px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 2px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links-cta {
    display: block; margin-top: 14px; text-align: center;
    border-bottom: 0 !important; color: #fff !important; font-size: 17px;
  }
  .nav { position: sticky; }
  .nav-in { position: relative; }
  .nav.is-open { background: var(--cream); }
}

/* ================= booking: collapsible course pickers =================
   85 mains in a flat list ran ~5,800px on mobile, burying every later
   course. Groups now collapse, sub-head by source course, and report
   progress at the top of the step. */
.menu-progress {
  list-style: none; margin: 0 0 20px; padding: 14px 16px;
  background: var(--cream-2); border-radius: 12px;
  display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.menu-progress li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.pg-tick {
  display: grid; place-items: center; width: 20px; height: 20px; flex: none;
  border-radius: 50%; background: #fff; border: 1px solid var(--line);
  color: transparent; font-size: 12px; font-weight: 800;
}
.menu-progress li.is-done .pg-tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.menu-progress li.is-done .pg-name { color: var(--ink); font-weight: 600; }
.pg-name { flex: 1 1 auto; }
.pg-count { font-variant-numeric: tabular-nums; font-weight: 700; }

.pick-group { border: 1px solid var(--line); border-radius: 13px; padding: 0; margin: 0 0 12px; overflow: hidden; background: #fff; }
.pick-group legend { display: contents; }
.group-head {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 15px 16px; border: 0; background: #fff; cursor: pointer;
  font: inherit; text-align: left; color: inherit;
}
.group-head:hover { background: var(--cream-2); }
.group-head:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.group-name { flex: 1 1 auto; font-family: var(--display); font-size: 18px; font-weight: 800; }
.group-chev {
  flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-2px,-2px);
  transition: transform .2s;
}
.group-head[aria-expanded="true"] .group-chev { transform: rotate(-135deg) translate(-3px,-3px); }
.group-body { padding: 0 16px 16px; }

.group-filter {
  width: 100%; margin: 0 0 12px; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--cream);
}
.group-filter:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.group-none { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }

.pick-sub {
  margin: 14px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-ink);
}
.pick-sub span { color: var(--ink-3); font-weight: 700; letter-spacing: 0; }
.pick-sub:first-child { margin-top: 0; }

/* A long course (mains has 85) scrolls inside its own panel, so the step stays
   navigable and the courses below remain visible instead of being pushed
   thousands of pixels down. */
.group-body { max-height: min(58vh, 460px); overflow-y: auto; overscroll-behavior: contain; }
.group-body::-webkit-scrollbar { width: 10px; }
.group-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; border: 3px solid #fff; }
.pick-group:has(.group-body:not([hidden])) { box-shadow: var(--sh-sm); }

/* ================= hero: real buffet photography =================
   One large shot at its own aspect ratio — these flat-lays are dense edge to
   edge and a square crop clips whole trays — with the rest as thumbnails. */
.hero-art--gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-art--gallery .shot-feature { grid-column: 1 / -1; margin: 0; }
.hero-art--gallery .shot-feature img {
  /* Bound by height, letting width follow, so the box is exactly the photo:
     no crop and no letterboxed dead space inside the rounded corners. */
  width: auto; max-width: 100%; height: auto; max-height: 56vh;
  margin-inline: auto; aspect-ratio: auto;
  border-radius: var(--radius-lg); box-shadow: var(--sh-lg); background: var(--cream-2);
}
.hero-art--gallery .shot-small { margin: 0; }
.hero-art--gallery .shot-small img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 14px; box-shadow: var(--sh-md); background: var(--cream-2);
}
/* With real buffet photography the mascots just cover a thumbnail — and the
   logo is already in the header, so hide the badge in this layout. */
.hero-art--gallery .mascots { display: none; }
@media (max-width: 900px) { .hero-art--gallery { max-width: 520px; } }

/* ================= customer order tracking ================= */
.track { padding: 30px 0 70px; }
.track h1 { font-size: clamp(30px,4.6vw,46px); margin-bottom: 10px; }
.track-form { display:flex; flex-wrap:wrap; gap:12px; margin:22px 0 8px; }
.track-form input {
  flex:1 1 260px; min-width:220px; padding:14px 16px;
  border:1px solid var(--line); border-radius:12px; background:#fff;
  font:inherit; font-size:17px; letter-spacing:.06em; text-transform:uppercase;
}
.track-form input:focus-visible { outline:2px solid var(--brand); outline-offset:1px; }
.track-error { margin:14px 0 4px; color:#c0392b; font-weight:600; }

.track-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius);
              padding:26px 24px; box-shadow:var(--sh-md); margin-top:24px; max-width:680px; }
.track-hi { margin:0; color:var(--ink-2); font-size:15px; }
.track-ref { margin:2px 0 14px; font-family:var(--display); font-weight:800; font-size:22px; letter-spacing:.04em; }
.track-state { margin:0 0 18px; font-family:var(--display); font-weight:800; font-size:clamp(22px,3vw,30px); color:var(--brand); }
.track-state.is-cancelled { color:var(--warn); }

.track-steps { list-style:none; margin:0 0 6px; padding:0; display:grid; gap:0; }
.track-steps li { display:flex; align-items:center; gap:12px; padding:9px 0; position:relative; color:var(--ink-3); font-size:15px; }
.track-steps li .dot {
  width:16px; height:16px; border-radius:50%; flex:none;
  border:2px solid var(--line); background:#fff; position:relative; z-index:1;
}
/* connector line between the dots */
.track-steps li:not(:last-child)::before {
  content:''; position:absolute; left:7px; top:26px; bottom:-9px; width:2px; background:var(--line);
}
.track-steps li.is-done { color:var(--ink); }
.track-steps li.is-done .dot { border-color:var(--brand); background:var(--brand); }
.track-steps li.is-done:not(:last-child)::before { background:var(--brand); }
.track-steps li.is-now .lbl { font-weight:800; }
.track-steps li.is-now .dot { box-shadow:0 0 0 4px #f9ebed; }

.track-facts { display:grid; grid-template-columns:1fr 1fr; gap:10px 22px; margin:20px 0 0;
               padding-top:18px; border-top:1px solid var(--line); font-size:14.5px; }
.track-facts div { display:flex; flex-direction:column; gap:2px; }
.track-facts dt { color:var(--ink-2); font-size:12.5px; font-weight:700; }
.track-facts dd { margin:0; font-weight:600; }
.track-log { margin-top:18px; }
.track-log summary { cursor:pointer; font-size:13px; color:var(--ink-2); }
.track-log ol { margin:10px 0 0; padding-left:18px; font-size:13px; color:var(--ink-2); }
.track-cta { margin:22px 0 0; }
@media (max-width:560px){ .track-facts{grid-template-columns:1fr} }
