/* Nosh Catering: one stylesheet, no inline styles anywhere.
   Direction v3 (Oct 28, 2026): Franco's design. Cream sections alternate with deep navy ones; gold is the
   accent (buttons, eyebrows, icon rings, the hero ring). Header: a text wordmark ("Nosh / Catering Co")
   with uppercase tracked navigation; the plate logo appears only in the footer. Heroes are navy with the
   photo bleeding off the right edge and fading into the navy. Menu cards: photo on top, title, one line,
   a circle arrow. Cormorant Garamond for headings, Jost for body and UI.
   Each section sets its own color tokens (light by default, dark on navy sections), so every component
   reads correctly on either ground. Contrast, light: heading 13.8:1, body 8.7:1, soft 5.7:1, accent 4.8:1.
   Dark: heading 13.8:1, body 10.3:1, soft 7.2:1, gold 8.7:1; navy on the gold button 8.7:1.
   Photos are 600x400 (3:2) and are never shown wider than they comfortably hold; the larger hero and
   call-to-action photos (1500x1000) replace them as they arrive.
   Motion: CSS scroll-driven animations only, no script, off under prefers-reduced-motion. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-wght.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/jost-latin-wght.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Fixed palette (sampled from Franco's design) */
  --navy: #1b2730;          /* header and heroes */
  --navy-section: #202d38;  /* navy content sections */
  --navy-card: #192630;     /* cards on navy */
  --navy-deep: #16222a;     /* chef module and the closing band */
  --navy-footer: #1c252e;
  --cream: #f7f3eb;         /* light sections */
  --cream-alt: #efe8db;     /* the thin trust band */
  --paper: #fcfaf6;         /* cards on cream */
  --gold: #ebbd6f;
  --gold-deep: #dfab55;
  --bronze: #8a6424;        /* gold for small text on cream (4.8:1) */
  --gold-line: #c99a4f;     /* icon rings and hairlines on cream (decorative) */

  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h16M11.5 1.5 16 6l-4.5 4.5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  --phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
  --mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 2.2V17h16V7.2l-8 5.3z M4.6 7l7.4 4.9L19.4 7z'/%3E%3C/svg%3E");
  --pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");

  /* Section tokens: light (cream) by default */
  --bg: var(--cream);
  --surface: var(--paper);
  --heading: #1b2730;
  --text: #3b4651;
  --text-soft: #56616c;
  --accent: var(--bronze);
  --accent-line: var(--gold-line);
  --line: rgba(27, 39, 48, 0.13);
  --line-strong: rgba(27, 39, 48, 0.32);
  --ghost: rgba(27, 39, 48, 0.6);
  --wash: rgba(201, 154, 79, 0.12);

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Jost', Futura, 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;

  --measure: 64ch;
  --wrap: 1200px;
  --gutter: 24px;
  --bleed: max(var(--gutter), (100vw - var(--wrap)) / 2);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 72px;
  --space-6: 96px;
  --radius: 4px;
  --radius-btn: 3px;
}

/* Navy sections take the dark tokens */
.header, .hero, .page-hero, .module--tint, .module--slate, .cta, .footer, .menu-toggle ul {
  --bg: var(--navy-section);
  --surface: var(--navy-card);
  --heading: #f7f3eb;
  --text: #cfd5db;
  --text-soft: #a9b3bc;
  --accent: var(--gold);
  --accent-line: rgba(235, 189, 111, 0.75);
  --line: rgba(247, 243, 235, 0.13);
  --line-strong: rgba(247, 243, 235, 0.32);
  --ghost: rgba(247, 243, 235, 0.72);
  --wash: rgba(235, 189, 111, 0.1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--sans);
  font-size: 106.25%; /* 17px */
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
  font-variant-numeric: lining-nums;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body { margin: 0; min-height: 100vh; }
::selection { background: var(--gold); color: var(--navy); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.16em; text-decoration-thickness: 1px; transition: color 120ms; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
strong { color: var(--heading); font-weight: 500; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--heading);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 1.55rem + 4.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.125rem, 1.45rem + 2.5vw, 3.25rem); line-height: 1.06; }
h3 { font-size: 1.625rem; line-height: 1.2; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 var(--space-2); max-width: var(--measure); }
p.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--heading); }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.2em; }

/* Tracked label above a heading */
.eyebrow {
  display: block; margin: 0 0 14px; max-width: none;
  font: 500 0.8125rem/1.5 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
}

.skip {
  position: absolute; left: var(--space-2); top: -100px;
  background: var(--gold); color: var(--navy); padding: 10px 14px; border-radius: var(--radius-btn); z-index: 10; text-decoration: none; font-weight: 500;
}
.skip:focus { top: var(--space-2); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.muted { color: var(--text-soft); }
.intro { margin-bottom: var(--space-4); }
.intro p:last-child { margin-bottom: 0; }

/* Sections: cream by default, navy for --tint, deep navy for --slate (the chef module). */
.module { padding-block: var(--space-5); background: var(--bg); color: var(--text); }
.module--slate { --bg: var(--navy-deep); position: relative; overflow: clip; }
.module--slate::before {
  content: ''; position: absolute; left: -220px; bottom: -340px; width: 640px; height: 640px;
  border-radius: 50%; border: 1px solid rgba(235, 189, 111, 0.22); pointer-events: none;
}
.module--slate .wrap { position: relative; }
.module:not(.module--tint, .module--slate) + .module:not(.module--tint, .module--slate),
.module:is(.module--tint, .module--slate) + .module:is(.module--tint, .module--slate) { border-top: 1px solid var(--line); }
@media (min-width: 760px) { .module { padding-block: var(--space-6); } }

/* Buttons, with the arrow from the design */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 13px 26px; border-radius: var(--radius-btn);
  font: 500 0.9375rem/1.2 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color 120ms, border-color 120ms, color 120ms;
}
.btn--primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--navy); }
.btn--primary::after, .more::after {
  content: ''; flex: none; width: 18px; height: 12px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform 160ms;
}
.btn--primary:hover::after, .more:hover::after { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--ghost); }
.btn--ghost:hover { background: var(--wash); border-color: var(--accent); color: var(--heading); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: var(--space-3) 0; }
.more { display: inline-flex; align-items: center; gap: 12px; color: var(--heading); text-decoration: none; font-weight: 500; white-space: nowrap; }
.more:hover { color: var(--accent); }

/* Header: navy, text wordmark, uppercase tracked navigation */
.header { position: relative; z-index: 6; background: var(--navy); color: var(--text); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 84px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--gold); line-height: 1; }
.wordmark:hover { color: var(--gold); }
.wordmark__name { font: 500 2.125rem/0.9 var(--serif); letter-spacing: 0.06em; text-transform: uppercase; }
.wordmark__sub { margin-top: 6px; font: 500 0.625rem/1 var(--sans); letter-spacing: 0.42em; text-transform: uppercase; padding-left: 2px; }
.nav { display: none; margin-inline: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; text-decoration: none; font: 500 0.8125rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--heading); padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.header__phone { display: none; align-items: center; gap: 10px; color: var(--heading); text-decoration: none; font-weight: 500; white-space: nowrap; letter-spacing: 0.04em; }
.header__phone::before {
  content: ''; width: 17px; height: 17px; background: var(--gold);
  -webkit-mask: var(--phone) center / contain no-repeat; mask: var(--phone) center / contain no-repeat;
}
.header__phone:hover { color: var(--gold); }
.header .btn { display: none; min-height: 44px; padding: 10px 20px; }
.header__actions { display: flex; align-items: center; gap: var(--space-3); }
.menu-toggle { display: block; position: relative; }
.menu-toggle summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn);
  font: 500 0.8125rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--heading);
}
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-toggle ul {
  list-style: none; margin: 0; padding: var(--space-1) 0;
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px;
  background: var(--navy-card); border: 1px solid var(--line); border-radius: var(--radius); z-index: 5;
}
.menu-toggle li a { display: block; padding: 12px var(--space-3); text-decoration: none; font-weight: 500; color: var(--heading); }
.menu-toggle li a:hover { background: var(--wash); color: var(--gold); }
@media (min-width: 960px) {
  .header__bar { min-height: 96px; }
  .nav { display: block; }
  .header .btn { display: inline-flex; }
  .menu-toggle { display: none; }
}
@media (min-width: 960px) and (max-width: 1099px) { .nav ul { gap: 20px; } .nav a { letter-spacing: 0.1em; } }
@media (min-width: 1180px) { .header__phone { display: inline-flex; } }

/* Heroes: navy, text on the left, the photo bleeding off the right edge and fading into the navy */
.hero, .page-hero { position: relative; overflow: clip; background: var(--navy); color: var(--text); padding-block: var(--space-3) var(--space-5); }
.page-hero__grid { display: grid; gap: var(--space-4); align-items: center; }
.page-hero__grid > div { position: relative; z-index: 1; }
.page-hero__grid > img {
  width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter));
  aspect-ratio: 3 / 2; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 82%, transparent 100%);
}
.page-hero__grid > img.portrait { aspect-ratio: 4 / 5; object-position: center top; }
.page-hero h1, .hero h1 { max-width: 20ch; font-size: clamp(2.5rem, 1.55rem + 3.2vw, 4rem); }
.page-hero .lead, .page-hero p { max-width: 54ch; }
.crumbs { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--text-soft); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.proof { display: flex; flex-wrap: wrap; gap: 8px var(--space-3); margin: var(--space-3) 0 0; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--text); }
.proof li { display: inline-flex; align-items: center; gap: 10px; }
.proof li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); flex: none; }
/* the ring from the design: decorative, the words are hidden from assistive tech */
.ring { display: none; }
@media (min-width: 900px) {
  .hero, .page-hero { padding-block: var(--space-4) var(--space-5); }
  .page-hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: var(--space-3); min-height: 440px; }
  .page-hero__grid > img {
    width: calc(100% + var(--bleed)); margin: 0 calc(-1 * var(--bleed)) 0 0; align-self: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .page-hero__grid > img.portrait { width: min(100%, 460px); margin: 0 auto; border-radius: 50%; -webkit-mask-image: none; mask-image: none; aspect-ratio: 1 / 1; border: 1px solid rgba(235, 189, 111, 0.6); padding: 10px; }
}
@media (min-width: 1100px) {
  .ring {
    display: grid; place-items: center; position: absolute; z-index: 2; top: -70px; right: max(24px, (100vw - var(--wrap)) / 2 - 60px);
    width: 250px; height: 250px; border-radius: 50%; border: 1px solid rgba(235, 189, 111, 0.85); margin: 0;
    font: 500 0.75rem/1.9 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); text-align: center; padding: 70px 46px 0;
  }
}

/* Figures strip under the home hero */
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); list-style: none; margin-top: var(--space-4); margin-bottom: 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--line); }
.stats strong { display: block; margin-bottom: 4px; font: 500 clamp(2.25rem, 1.7rem + 2.2vw, 3.25rem)/1 var(--serif); color: var(--heading); }
.stats span { font-size: 0.9375rem; color: var(--text); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* "At a glance" box under a hero: a framed summary written for people and AI answers */
.glance { position: relative; z-index: 1; background: rgba(22, 34, 42, 0.92); border: 1px solid rgba(235, 189, 111, 0.55); border-radius: var(--radius); margin-top: var(--space-4); padding: var(--space-3); max-width: 820px; }
.glance h2 { font: 500 0.8125rem/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-2); }
.glance p:last-child { margin-bottom: 0; }

/* Pill bar: the menu groups, each with a round dish photo */
.pills { background: var(--cream); border-bottom: 1px solid var(--line); padding-block: 22px; }
.pills ul { display: flex; flex-wrap: wrap; gap: 12px 14px; list-style: none; margin: 0; padding: 0; }
.pills a {
  display: inline-flex; align-items: center; gap: 14px; padding: 5px 24px 5px 5px; min-height: 58px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px;
  text-decoration: none; color: var(--heading); font-size: 0.9375rem; font-weight: 500;
  transition: border-color 120ms, background-color 120ms;
}
.pills a:hover { border-color: var(--gold-line); background: #fff; color: var(--heading); }
.pills img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--gold-line); }
.pills a { white-space: nowrap; }
@media (max-width: 1099px) {
  .pills { padding-block: 16px; }
  .pills ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x proximity; }
  .pills ul::-webkit-scrollbar { display: none; }
  .pills li { flex: none; scroll-snap-align: start; }
  .pills a { min-height: 50px; padding-right: 18px; gap: 10px; font-size: 0.875rem; }
  .pills img { width: 40px; height: 40px; }
}
@media (min-width: 1100px) { .pills ul { justify-content: space-between; flex-wrap: nowrap; } }

/* Why choose: an intro beside four icon features divided by rules */
.features { display: grid; gap: var(--space-4); align-items: center; }
.features > div p:last-child { margin-bottom: 0; }
.features h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.features ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) 0; list-style: none; margin: 0; padding: 0; }
.features li { padding: 0 var(--space-2); text-align: center; border-left: 1px solid var(--line); }
.features li:nth-child(odd) { border-left: 0; }
.features svg { display: block; width: 72px; height: 72px; margin: 0 auto 14px; color: var(--accent); }
.features h3 { font: 600 0.8125rem/1.35 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--heading); margin-bottom: 8px; }
.features li p { margin: 0 auto; font-size: 0.875rem; line-height: 1.5; color: var(--text-soft); max-width: 18ch; }
@media (min-width: 760px) { .features ul { grid-template-columns: repeat(4, 1fr); } .features li:nth-child(odd) { border-left: 1px solid var(--line); } .features li:first-child { border-left: 0; } }
@media (min-width: 1000px) { .features { grid-template-columns: 5fr 7fr; gap: var(--space-5); } .features li:first-child { border-left: 1px solid var(--line); } }

/* Section head with an optional "view all" link on the right */
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.section-head h2 { margin-bottom: 10px; }
.section-head p { margin-bottom: 0; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr auto; align-items: end; gap: var(--space-4); } .section-head .more { margin-bottom: 6px; } }

/* Cards: photo on top, title, short text, and the circle arrow. The whole card is the link. */
.cards, .menu-cards { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.cards li, .menu-cards li {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 160ms, transform 160ms;
}
.cards li:hover, .menu-cards li:hover { border-color: var(--accent-line); }
.cards img, .menu-cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: 0; transition: transform 400ms; }
.cards li:hover img, .menu-cards li:hover img { transform: scale(1.03); }
.cards h3 a, .menu-cards h3 a { text-decoration: none; color: var(--heading); }
.cards h3 a::after, .menu-cards h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.cards li:focus-within, .menu-cards li:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.cards h3 a:focus-visible, .menu-cards h3 a:focus-visible { outline: none; }
.card__body { position: relative; flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-content: start; padding: 18px 20px 20px; }
.card__body > * { grid-column: 1; }
.card__arrow {
  grid-column: 2 !important; grid-row: 1 / span 2; align-self: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--accent-line); display: grid; place-items: center; color: var(--accent); transition: background-color 160ms, color 160ms;
}
.card__arrow::after { content: ''; width: 15px; height: 10px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.cards li:hover .card__arrow, .menu-cards li:hover .card__arrow { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.menu-cards h3 { font: 500 1.125rem/1.3 var(--sans); margin: 0; }
.menu-cards p { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--text-soft); }
.cards h3 { font-size: 1.5rem; margin: 0 0 6px; }
.cards p { margin: 0; font-size: 0.9375rem; }
@media (min-width: 600px) { .cards, .menu-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .menu-cards { grid-template-columns: repeat(4, 1fr); }
  .menu-cards[data-count="3"], .menu-cards[data-count="6"] { grid-template-columns: repeat(3, 1fr); }
  /* five cards: three on top, two centered below */
  .menu-cards[data-count="5"] { grid-template-columns: repeat(6, 1fr); }
  .menu-cards[data-count="5"] > li { grid-column: span 2; }
  .menu-cards[data-count="5"] > li:nth-child(4) { grid-column: 2 / span 2; }
}

/* Three-up text columns */
.cols { display: grid; gap: var(--space-4); }
.cols > div { border-top: 1px solid var(--accent-line); padding-top: var(--space-3); }
.cols h3 { font-size: 1.5rem; }
.cols p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .cols { grid-template-columns: repeat(3, 1fr); } .cols--2 { grid-template-columns: repeat(2, 1fr); } }

/* Text beside one or two photos */
.duo { display: grid; gap: var(--space-4); align-items: center; }
.duo__photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); align-items: end; }
.duo__photos img, .duo__photo img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.duo__photos img:first-child { margin-bottom: var(--space-4); aspect-ratio: 4 / 5; }
.duo__photo { max-width: 600px; }
@media (min-width: 900px) { .duo { grid-template-columns: 6fr 6fr; gap: var(--space-6); } }
.points > div { border-top: 1px solid var(--line); padding-top: var(--space-2); margin-top: var(--space-3); }
.points h3 { font-size: 1.375rem; margin-bottom: 8px; }
.points p:last-child { margin-bottom: 0; }

/* All 20 cuisines as a compact index */
.index { columns: 1; column-gap: var(--space-4); list-style: none; margin: 0 0 var(--space-3); padding: 0; }
.index li { break-inside: avoid; display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.index a { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--heading); text-decoration: none; white-space: nowrap; }
.index a:hover { color: var(--accent); }
.index span { font-size: 0.9375rem; color: var(--text-soft); }
@media (min-width: 600px) { .index { columns: 2; } }
@media (min-width: 960px) { .index { columns: 3; } }

/* Price table: a menu list on desktop, labeled rows on phones */
.prices { width: 100%; border-collapse: collapse; max-width: 820px; font-variant-numeric: lining-nums tabular-nums; }
.prices caption { text-align: left; padding-bottom: var(--space-2); color: var(--text-soft); font-size: 0.9375rem; }
.prices th, .prices td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.prices thead th { font: 500 0.8125rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); border-bottom: 1px solid var(--accent-line); }
.prices td.service { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; color: var(--heading); }
.prices td.num { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.prices td.num small { font-family: var(--sans); font-size: 0.875rem; font-weight: 400; color: var(--text-soft); }
@media (max-width: 599px) {
  .prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prices tr { display: block; padding: 10px 0; }
  .prices td { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); border: 0; padding: 3px 10px; }
  .prices td.service { display: block; padding-bottom: 6px; }
  .prices td:not(.service)::before { content: attr(data-label); font-weight: 400; color: var(--text-soft); font-family: var(--sans); font-size: 0.9375rem; }
  .prices td.num { font-size: 1.375rem; }
  .prices tbody tr { border-bottom: 1px solid var(--line); }
}

/* Chef module */
.chef { display: grid; gap: var(--space-4); align-items: center; }
.chef img { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; width: 100%; max-width: 420px; border: 1px solid var(--accent-line); padding: 10px; }
.chef blockquote { margin: 0 0 var(--space-3); font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.1; font-weight: 500; font-style: italic; color: var(--accent); max-width: 18ch; }
.chef blockquote p { max-width: none; margin: 0; }
.chef blockquote p::before { content: '\201C'; }
.chef blockquote p::after { content: '\201D'; }
@media (min-width: 760px) { .chef { grid-template-columns: minmax(260px, 2fr) 3fr; gap: var(--space-6); } }

/* FAQ: native disclosure, no script */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-2); align-items: center; padding: 18px 0; font-weight: 500; font-size: 1.125rem; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent-line); font: 400 1.25rem/1 var(--sans); color: var(--accent); flex: none; }
.faq details[open] summary::after { content: '\2013'; }
.faq summary h3 { font: inherit; margin: 0; color: inherit; }
.faq details > div { padding: 0 0 var(--space-3); }

/* Price strip under a hero or in a section */
.price-strip { display: grid; gap: var(--space-3); list-style: none; margin: var(--space-3) 0; padding: 0; max-width: 820px; }
.price-strip li { border-top: 1px solid var(--accent-line); padding-top: var(--space-2); }
.price-strip strong { display: block; font-family: var(--serif); font-size: 2.25rem; font-weight: 600; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.price-strip strong small { font-family: var(--sans); font-size: 0.875rem; font-weight: 400; color: var(--text-soft); }
.price-strip span { display: block; font-size: 0.9375rem; color: var(--text); }
@media (min-width: 600px) { .price-strip { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }

/* Dishes: one card per dish, the 600x400 photo on top at up to about 380px wide */
.dishes { display: grid; gap: var(--space-5); }
.dishes h3, .dishes h4 { font: 500 0.875rem/1.3 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent-line); padding-bottom: 12px; margin-bottom: var(--space-3); }
.dishes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.dishes li { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dishes img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.dishes li > div { padding: 18px 20px 22px; }
.dishes li strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; color: var(--heading); margin-bottom: 6px; }
.dishes li span { display: block; font-size: 0.9375rem; line-height: 1.5; color: var(--text-soft); }
@media (min-width: 600px) { .dishes ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .dishes ul { grid-template-columns: repeat(3, 1fr); } .dishes ul:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
.vegan-cuisine + .vegan-cuisine { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.vegan-cuisine > h3 { font-size: 2rem; }
.vegan-cuisine > p { margin-bottom: var(--space-4); }

.samples { display: grid; gap: 20px; list-style: none; margin: 0 0 var(--space-3); padding: 0; }
.samples li { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--accent-line); border-radius: var(--radius); padding: var(--space-3); }
.samples h3, .samples h4 { font-size: 1.5rem; margin-bottom: 8px; }
.samples p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .samples { grid-template-columns: repeat(3, 1fr); } }

/* Numbered steps, 01 02 03 */
.steps { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
.steps li { border-top: 1px solid var(--line); padding-top: var(--space-3); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.75rem; font-weight: 500; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.steps h3 { font-size: 1.5rem; }
.steps p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }

/* Related links as pills */
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.related a { display: inline-block; padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; color: var(--heading); }
.related a:hover { border-color: var(--accent-line); background: var(--wash); color: var(--heading); }

/* Form */
.form { max-width: 760px; }
.form__grid { display: grid; gap: var(--space-3); }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__grid .span-2 { grid-column: span 2; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 0.9375rem; color: var(--heading); }
.field small { color: var(--text-soft); font-size: 0.875rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--heading); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-btn);
  padding: 12px 14px; min-height: 50px; width: 100%;
}
.field ::placeholder { color: var(--text-soft); opacity: 1; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 0.9375rem; color: var(--text-soft); }

/* Facts list (chef module, company pages) and the entity fact table */
.facts { list-style: none; margin: var(--space-3) 0; padding: 0; border-top: 1px solid var(--line-strong); }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.fact-table { display: grid; gap: 0; margin: var(--space-3) 0 0; max-width: 820px; border-top: 1px solid var(--line-strong); }
.fact-table div { display: grid; gap: 4px var(--space-3); padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact-table dt { font-weight: 500; color: var(--heading); }
.fact-table dd { margin: 0; color: var(--text); }
@media (min-width: 600px) { .fact-table div { grid-template-columns: 220px 1fr; } }

/* Closing band: deep navy, text on the left, a photo fading in from the right */
.cta { position: relative; overflow: clip; background: var(--navy-deep); color: var(--text); padding-block: var(--space-5); border-top: 1px solid rgba(235, 189, 111, 0.3); }
.cta__grid { display: grid; gap: var(--space-4); align-items: center; }
.cta__grid > div { position: relative; z-index: 1; }
.cta h2 { max-width: 18ch; }
.cta__grid > img {
  width: calc(100% + 2 * var(--gutter)); max-width: none; margin: 0 calc(-1 * var(--gutter)) calc(-1 * var(--space-5));
  aspect-ratio: 3 / 2; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 35%); mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
}
@media (min-width: 900px) {
  .cta { padding-block: var(--space-5); }
  .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); }
  .cta__grid > img {
    width: calc(100% + var(--bleed)); margin: calc(-1 * var(--space-5)) calc(-1 * var(--bleed)) calc(-1 * var(--space-5)) 0; height: calc(100% + 2 * var(--space-5)); aspect-ratio: auto; min-height: 420px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%); mask-image: linear-gradient(to right, transparent 0, #000 45%);
  }
}

/* E-E-A-T note above the footer */
.trust { background: var(--cream-alt); padding-block: var(--space-3); border-top: 1px solid var(--line); }
.trust p { margin: 0; max-width: 100ch; font-size: 0.9375rem; color: var(--text-soft); }
.trust a { color: var(--heading); }

/* Footer (Franco's layout): brand with the plate logo, menu categories, quick links, contact */
.footer { background: var(--navy-footer); color: var(--text); padding: var(--space-5) 0 var(--space-3); font-size: 0.9375rem; }
.footer p { max-width: none; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__top { display: grid; gap: var(--space-4); padding-bottom: var(--space-4); }
.footer__brand .brand { display: inline-block; }
.footer__brand img { width: 88px; height: 88px; }
.footer__brand p { color: var(--text-soft); margin: 16px 0 0; max-width: 36ch; }
.footer .footer__title { font: 500 0.9375rem/1.3 var(--sans); letter-spacing: 0.04em; color: var(--gold); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__col a { display: inline-block; padding: 5px 0; }
.footer__contact li { display: flex; align-items: center; gap: 12px; padding: 5px 0; }
.footer__contact li::before { content: ''; width: 17px; height: 17px; flex: none; background: var(--gold); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.footer__contact .ic-phone { --icon: var(--phone); }
.footer__contact .ic-mail { --icon: var(--mail); }
.footer__contact .ic-pin { --icon: var(--pin); }
.footer__contact p { color: var(--text-soft); margin: 10px 0 0; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.footer__social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: var(--space-3); color: var(--text-soft); font-size: 0.875rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); }
.footer__bottom a { display: inline-block; line-height: 2.4; color: var(--text-soft); }
@media (min-width: 600px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .footer__top { grid-template-columns: 4fr 3fr 2fr 3fr; gap: var(--space-4); }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: var(--space-2); }
.measure { max-width: var(--measure); }

/* Prose for legal pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); margin-top: var(--space-5); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* Motion on scroll (Gonzalo's request, Oct 27): CSS scroll-driven animations, no script.
   Elements rise into place as they enter the viewport (no fading, so text is always readable), photos drift at their own pace, and the hero ring
   turns with the page. Browsers without support show the page static, and prefers-reduced-motion turns
   all of it off. Nothing above the fold animates in, so LCP is untouched. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* movement only: text is never faded (build kit rule), so it stays readable at every scroll position */
    @keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
    @keyframes rise-left { from { transform: translateX(-24px); } to { transform: none; } }
    @keyframes drift-up { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
    @keyframes drift-down { from { transform: translateY(-32px); } to { transform: translateY(32px); } }
    @keyframes ring-turn { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(90px) rotate(-14deg); } }
    @keyframes hero-drift { from { transform: translateY(0); } to { transform: translateY(70px); } }

    .intro, .section-head, .module > .wrap > h2, .module > .wrap > .eyebrow, .module > .wrap > p,
    .cards > li, .menu-cards > li, .features li, .cols > div, .points > div, .dishes li, .steps li, .samples li, .fact-table div,
    .price-strip li, .faq details, .related li, .form .field, .form .span-2,
    .chef img, .chef > div, .duo__text, .cta__grid > div, .footer__top > div {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .index li { animation: rise-left linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    /* a cascade across a row: later items finish a little later */
    .cards > li:nth-child(4n + 2), .menu-cards > li:nth-child(4n + 2), .features li:nth-child(2), .cols > div:nth-child(2), .steps li:nth-child(2), .samples li:nth-child(2), .price-strip li:nth-child(2), .dishes li:nth-child(3n + 2) { animation-range: entry 8% entry 52%; }
    .cards > li:nth-child(4n + 3), .menu-cards > li:nth-child(4n + 3), .features li:nth-child(3), .cols > div:nth-child(3), .steps li:nth-child(3), .samples li:nth-child(3), .price-strip li:nth-child(3), .dishes li:nth-child(3n) { animation-range: entry 16% entry 64%; }
    .cards > li:nth-child(4n), .menu-cards > li:nth-child(4n), .features li:nth-child(4), .steps li:nth-child(4) { animation-range: entry 24% entry 76%; }

    /* photos move at their own pace while they cross the viewport */
    .duo__photos img:first-child, .duo__photo img { animation: drift-up linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .duo__photos img:last-child { animation: drift-down linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .duo__photos { padding-block: 40px; }
    .page-hero__grid > img { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }

    /* the ring turns as the page starts to scroll; the chef module's ring drifts */
    .ring { animation: ring-turn linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .module--slate::before { animation: drift-up linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}

/* Home: the full cuisine index under the featured menu cards */
.index-title { font-size: 1.75rem; margin: var(--space-5) 0 var(--space-2); }

/* HTML sitemap page */
.sitemap { display: grid; gap: var(--space-4); }
.sitemap h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); }
.sitemap h3 { font-size: 1.375rem; }
.sitemap h3 a { text-decoration: none; }
.sitemap ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sitemap li { border-bottom: 1px solid var(--line); }
.sitemap li a { display: block; padding: 10px 0; text-decoration: none; color: var(--heading); }
.sitemap li a:hover { color: var(--accent); }
@media (min-width: 760px) { .sitemap { grid-template-columns: 1fr 1fr; } .sitemap--menus { grid-template-columns: repeat(3, 1fr); } }
