/* ==========================================================================
   China Gourmet — Goffstown, NH
   Design tokens drawn from the restaurant's printed menu (deep red / gold)
   and the Chinese New Year reference art (crimson, gold, cream).
   ========================================================================== */

:root {
  /* Brand reds — sampled from the printed menu's category blocks */
  --red-900: #5e0f1c;
  --red-800: #7a1526;
  --red-700: #9e1b30; /* primary */
  --red-600: #b81e36;
  --red-500: #c8102e;

  /* Golds — from the New Year reference medallions */
  --gold-600: #b8862f;
  --gold-500: #d4a24c;
  --gold-400: #e8c06b;
  --gold-300: #f2d89a;

  /* Neutrals */
  --cream-50: #fffcf7;
  --cream-100: #fdf6ec;
  --cream-200: #f7ead8;
  --cream-300: #ecdcc4;

  --ink-900: #1e1815;
  --ink-700: #3d332d;
  --ink-500: #6b5d54;

  /* Support */
  --green-700: #2f6b45; /* gluten-free / health badges, echoes menu's green blocks */
  --green-50: #eaf3ed;

  /* Semantic */
  --color-background: var(--cream-50);
  --color-surface: #ffffff;
  --color-foreground: var(--ink-900);
  --color-muted-foreground: var(--ink-500);
  --color-border: var(--cream-300);
  --color-primary: var(--red-700);
  --color-on-primary: #ffffff;
  --color-accent: var(--gold-500);
  --color-ring: var(--gold-600);

  /* Type */
  --font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-body: "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing scale (8pt rhythm) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(30, 24, 21, 0.06), 0 1px 3px rgba(30, 24, 21, 0.08);
  --shadow-md: 0 4px 12px rgba(30, 24, 21, 0.08), 0 2px 4px rgba(30, 24, 21, 0.06);
  --shadow-lg: 0 12px 32px rgba(94, 15, 28, 0.14);

  --header-h: 72px;
  --z-header: 100;
  --z-menubar: 90;
  --z-overlay: 200;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* offset for the sticky header when jumping to an anchor */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

p { margin: 0 0 var(--space-3); }

a { color: var(--red-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-500); }

/* Visible focus for keyboard users on every interactive element */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -100px;
  z-index: calc(var(--z-overlay) + 10);
  background: var(--red-700);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 0; color: #fff; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-3);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-5); } }

.section { padding-block: var(--space-7); }
@media (min-width: 768px) { .section { padding-block: var(--space-8); } }

.section--tint { background: var(--cream-100); }
.section--deep {
  background: var(--red-800);
  color: var(--cream-100);
}
.section--deep h2 { color: #fff; }
.section--deep p { color: var(--cream-200); }

/* --------------------------------------------------------------------------
   Buttons — min 44px touch target
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease,
              border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold-500);
  color: var(--ink-900);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--gold-400); color: var(--ink-900); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

.btn--solid {
  background: var(--red-700);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--solid:hover { background: var(--red-600); color: #fff; }

.btn .icon { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink-900);
  margin-right: auto;
  flex: none; /* never let the navigation squeeze the restaurant name */
}
.brand__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
  background: #fff;
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-700);
}

.nav { display: none; }
@media (min-width: 1100px) {
  .nav { display: flex; align-items: center; gap: var(--space-1); }
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}
.nav a:hover { color: var(--red-700); background: var(--cream-100); }
.nav a[aria-current="page"] {
  color: var(--red-700);
  box-shadow: inset 0 -3px 0 var(--gold-500);
}

/* Compact version of the button for the header bar, so it sits alongside the
   navigation instead of dominating it */
.header__cta { display: none; }
@media (min-width: 700px) {
  .header__cta {
    display: inline-flex;
    min-height: 44px;
    padding: 8px 18px;
    font-size: 0.94rem;
    flex: none;
  }
  .header__cta .icon { width: 17px; height: 17px; }
}

/* Mobile menu toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--ink-900);
  cursor: pointer;
}
@media (min-width: 1100px) { .nav-toggle { display: none; } }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--cream-50);
  padding: var(--space-2) 0 var(--space-4);
}
.mobile-nav[data-open="true"] { display: block; }
@media (min-width: 1100px) { .mobile-nav { display: none !important; } }
/* :not(.btn) matters — this rule is more specific than .btn--solid, so
   without it the call button's text would be overridden to dark ink. */
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--space-2);
  border-bottom: 1px solid var(--cream-200);
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav a:not(.btn):last-of-type { border-bottom: 0; }
.mobile-nav .btn { width: 100%; margin-top: var(--space-3); }

/* --------------------------------------------------------------------------
   Hero — echoes the Chinese New Year reference: deep red field,
   gold medallions, pagoda skyline
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(170deg, var(--red-600) 0%, var(--red-700) 45%, var(--red-800) 100%);
  color: #fff;
  overflow: hidden;
  padding-block: var(--space-7) 0;
  text-align: center;
}
@media (min-width: 768px) { .hero { padding-top: var(--space-8); } }

.hero__decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  /* explicit height: an inline SVG with only a width set does not
     reliably derive its height from the viewBox */
  height: clamp(110px, 17vw, 230px);
  display: block;
  z-index: -1;
  pointer-events: none;
  color: var(--red-900);
}

.hero__decor svg { display: block; }

.hero__logo {
  width: 148px; height: 148px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 4px solid var(--gold-500);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.26);
}
@media (min-width: 768px) { .hero__logo { width: 180px; height: 180px; } }

.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--space-3);
}
.hero h1 { color: #fff; margin-bottom: var(--space-2); }
.hero h1 .hero__zh {
  display: block;
  font-size: 0.36em;
  letter-spacing: 0.3em;
  color: var(--gold-400);
  margin-top: var(--space-2);
  font-weight: 400;
}

.hero__tagline {
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  color: var(--cream-200);
  max-width: 46ch;
  margin: 0 auto var(--space-5);
}
.hero__tagline strong { color: var(--gold-300); font-weight: 700; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-5);
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  margin-bottom: var(--space-7);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.95rem;
  color: var(--cream-100);
}
.hero__status .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #57c785;
  flex: none;
  box-shadow: 0 0 0 4px rgba(87, 199, 133, 0.22);
}
.hero__status[data-open="false"] .dot { background: #e8c06b; box-shadow: 0 0 0 4px rgba(232, 192, 107, 0.22); }

/* Floating decorative medallions */
.medallion { position: absolute; opacity: 0.5; }
.medallion--1 { top: 8%;  left: 6%;  width: 68px; height: 68px; }
.medallion--2 { top: 22%; right: 8%; width: 96px; height: 96px; opacity: 0.38; }
.medallion--3 { top: 58%; left: 12%; width: 54px; height: 54px; opacity: 0.32; }
.medallion--4 { top: 46%; right: 14%; width: 44px; height: 44px; opacity: 0.42; }
@media (max-width: 767px) {
  .medallion--2, .medallion--3 { display: none; }
  .medallion--1 { width: 46px; height: 46px; }
  .medallion--4 { width: 34px; height: 34px; }
}

/* Small gold diamonds scattered across the hero, as in the reference art */
.diamond {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--gold-400);
  opacity: 0.55;
  transform: rotate(45deg);
  border-radius: 1px;
}
@media (max-width: 767px) { .diamond { width: 6px; height: 6px; opacity: 0.45; } }

/* Hanging lanterns */
/* viewBox is 60x130, so the height must be set explicitly (~2.17x width) */
.lantern { position: absolute; top: 0; width: 46px; height: 100px; opacity: 0.9; }
.lantern--a { left: 8%;  animation: sway 6s ease-in-out infinite; }
.lantern--b { right: 10%; animation: sway 7.5s ease-in-out infinite reverse; }
@media (max-width: 767px) { .lantern { width: 34px; height: 74px; } .lantern--a { left: 3%; } .lantern--b { right: 3%; } }

@keyframes sway {
  0%, 100% { transform: rotate(-3.5deg); }
  50%      { transform: rotate(3.5deg); }
}

/* --------------------------------------------------------------------------
   Value strip
   -------------------------------------------------------------------------- */

.strip {
  background: var(--ink-900);
  color: var(--cream-100);
  padding-block: var(--space-3);
}
.strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.strip__list .icon { width: 20px; height: 20px; color: var(--gold-400); flex: none; }

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */

.section-head { text-align: center; margin-bottom: var(--space-6); }
.section-head--left { text-align: left; }

.section-head__eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-700);
  margin-bottom: var(--space-2);
}
.section--deep .section-head__eyebrow { color: var(--gold-400); }

.section-head p {
  max-width: 62ch;
  margin-inline: auto;
  color: var(--color-muted-foreground);
  font-size: 1.05rem;
}
.section--deep .section-head p { color: var(--cream-200); }
.section-head--left p { margin-inline: 0; }

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: var(--space-3) auto var(--space-4);
  max-width: 240px;
  color: var(--gold-500);
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.55;
}
.rule .icon { width: 22px; height: 22px; flex: none; }

/* --------------------------------------------------------------------------
   Feature cards (Chef's Specialties highlights)
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
/* Mobile-first, ascending order: the wider query must come last so it wins. */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Recommended cards carry a dish name plus prices, so they need more room
   than the plain info cards before going to three across. */
@media (min-width: 700px) { .grid--reco { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .grid--reco { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4) var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}
.card__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-700);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 46px; height: 46px;
  color: var(--red-700);
  margin-bottom: var(--space-3);
}
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--color-muted-foreground); margin-bottom: var(--space-3); font-size: 0.98rem; }
.card__price {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--red-700);
  margin-bottom: var(--space-4);
}

/* Push each card's button to the bottom so a row of cards lines up
   even when the descriptions differ in length */
.card__btn {
  margin-top: auto;
  align-self: flex-start;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.94rem;
}
.card__btn .icon { width: 17px; height: 17px; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  color: var(--red-700);
}
.card__link:hover { gap: 12px; }
.card__link .icon { width: 18px; height: 18px; transition: transform 200ms ease; }

/* --------------------------------------------------------------------------
   Menu — category navigation
   -------------------------------------------------------------------------- */

.menubar {
  position: sticky;
  top: var(--header-h);
  z-index: var(--z-menubar);
  background: var(--cream-100);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(30, 24, 21, 0.05);
}
.menubar__scroll {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: thin;
  padding-block: 10px;
  /* keep the row from becoming a page-level horizontal scroll */
  -webkit-overflow-scrolling: touch;
}
.menubar__scroll::-webkit-scrollbar { height: 6px; }
.menubar__scroll::-webkit-scrollbar-thumb { background: var(--cream-300); border-radius: 999px; }

.menubar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.menubar a:hover { background: var(--red-700); color: #fff; border-color: var(--red-700); }
.menubar a.is-active {
  background: var(--red-700);
  color: #fff;
  border-color: var(--red-700);
}

/* --------------------------------------------------------------------------
   Menu — categories and dish rows
   -------------------------------------------------------------------------- */

.menu-note {
  background: var(--cream-200);
  border: 1px solid var(--cream-300);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  font-size: 0.95rem;
  color: var(--ink-700);
}
.menu-note p:last-child { margin-bottom: 0; }
.menu-note strong { color: var(--ink-900); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  padding: 0;
  margin: 0 0 var(--space-5);
  list-style: none;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.legend li { display: inline-flex; align-items: center; gap: 8px; }

.cat { margin-bottom: var(--space-7); scroll-margin-top: calc(var(--header-h) + 76px); }

.cat__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-3);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-4);
  border-bottom: 2px solid var(--gold-500);
}
.cat__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 700;
  color: var(--red-700);
  margin: 0;
}
.cat__meta {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--color-muted-foreground);
}

.cat__desc {
  font-size: 0.96rem;
  color: var(--ink-700);
  background: var(--cream-100);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
}

.dishes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .dishes--2col { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-6); } }

.dish { padding-bottom: var(--space-2); border-bottom: 1px dashed var(--cream-300); }

.dish__line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
}
.dish__num {
  flex: none;
  min-width: 2.6em;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--red-700);
  font-size: 0.92rem;
}
.dish__name {
  font-weight: 600;
  color: var(--ink-900);
  /* wrap between words; never split a word mid-syllable */
  overflow-wrap: break-word;
  min-width: 0;
}
.dish__dots {
  flex: 1 1 auto;
  min-width: 12px;
  border-bottom: 1px dotted var(--cream-300);
  transform: translateY(-4px);
}
.dish__price {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}
.dish__price .unit {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--color-muted-foreground);
  margin-right: 2px;
}
.dish__desc {
  margin: 4px 0 0;
  padding-left: 2.6em;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-muted-foreground);
  line-height: 1.5;
}
.dish--nonum .dish__desc { padding-left: 0; }

/* Multi-price rows (e.g. Sm / Lg, Lunch / Dinner) */
.dish__prices {
  flex: none;
  display: inline-flex;
  gap: var(--space-3);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
.dish__prices span { display: inline-flex; gap: 5px; align-items: baseline; }
.dish__prices .unit {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-muted-foreground);
}

/* Rows with several price options: name on one line, options beneath it */
.dish--stack .dish__line { flex-wrap: wrap; }
.dish--stack .dish__dots { display: none; }
.dish--stack .dish__prices {
  flex: 1 0 100%;
  justify-content: flex-start;
  gap: var(--space-4);
  margin-top: 6px;
  padding-left: 2.6em;
  white-space: normal;
  flex-wrap: wrap;
}
.dish--stack.dish--nonum .dish__prices { padding-left: 0; }

/* On narrow screens a name plus two prices will not fit on one line,
   so the price options drop beneath the dish name. */
@media (max-width: 560px) {
  .dish__line { flex-wrap: wrap; }
  .dish__prices {
    flex: 1 0 100%;
    justify-content: flex-start;
    gap: var(--space-4);
    margin-top: 4px;
    padding-left: 2.6em;
  }
  .dish--nonum .dish__prices { padding-left: 0; }
}

.pricehead {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-700);
}
.pricehead span { min-width: 3.4em; text-align: right; }

/* Badges — never rely on colour alone; each carries a text label */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--spicy { background: #fdeaec; color: #a2132a; border: 1px solid #f3c3ca; }
.tag--gf { background: var(--green-50); color: var(--green-700); border: 1px solid #c3ddcd; }
.tag .icon { width: 12px; height: 12px; }

/* --------------------------------------------------------------------------
   Health & Diet / Lunch feature panels
   -------------------------------------------------------------------------- */

.panel {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .panel { grid-template-columns: 1fr 1fr; gap: var(--space-7); } }
.panel--flip .panel__media { order: -1; }
@media (min-width: 900px) { .panel--flip .panel__media { order: 1; } }

.panel__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  background: var(--cream-100);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.section--deep .panel__media {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.16);
}
.panel__media svg { width: 100%; height: 100%; max-width: 320px; }

.checklist { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; flex: none; color: var(--gold-500); margin-top: 3px; }

.pricelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.pricelist .dish__num { color: inherit; opacity: 0.75; }

/* Favourites tables inside the feature panels.
   Colours are inherited from the panel so text stays readable on both the
   deep red and the cream backgrounds. */
.fav {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  color: inherit;
}
.fav caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: inherit;
  padding-bottom: var(--space-3);
}
.fav th, .fav td { padding: 10px 0; vertical-align: baseline; }
.fav thead th {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  padding-bottom: 6px;
}
.fav tbody th {
  text-align: left;
  font-weight: 600;
  padding-right: var(--space-3);
}
.fav th + th, .fav td {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  padding-left: var(--space-4);
}
.fav tbody tr { border-bottom: 1px dashed var(--cream-300); }
.fav tbody tr:last-child { border-bottom: 0; }
.fav__num { font-weight: 700; opacity: 0.7; margin-right: 4px; }

/* Compact variant used in the Recommended cards */
.fav--compact { font-size: 0.94rem; margin-bottom: var(--space-3); }
.fav--compact th, .fav--compact td { padding: 8px 0; }
.fav--compact tbody th { font-weight: 600; }
.fav--compact th + th, .fav--compact td { padding-left: var(--space-3); }
.fav__sep { color: var(--color-muted-foreground); font-weight: 400; margin: 0 3px; }

/* The lunch/dinner deal callout */
.panel__media--plain {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.18);
}
.deal { width: 100%; text-align: center; }
.deal__lead {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-3);
}
.deal__hero {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: var(--space-4);
}
.deal__hero span {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 6px 0;
}
.deal__rule {
  border: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.28);
  margin: 0 0 var(--space-4);
}
.deal__note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  font-size: 0.94rem;
  color: var(--cream-200);
  margin: 0;
}
.deal__note .icon { width: 22px; height: 22px; flex: none; color: var(--gold-400); margin-top: 2px; }

/* On the deep red panel, lift everything to light text */
.section--deep .fav { color: var(--cream-100); }
.section--deep .fav caption { color: #fff; }
.section--deep .fav tbody tr { border-bottom-color: rgba(255, 255, 255, 0.2); }
.section--deep .fav td { color: var(--gold-300); }
.section--deep .fav__num { color: var(--gold-400); opacity: 1; }
.pricelist li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
}
.section--tint .pricelist li,
.section:not(.section--deep) .pricelist li { border-bottom-color: var(--cream-300); }

/* --------------------------------------------------------------------------
   Visit / info
   -------------------------------------------------------------------------- */

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red-700);
  font-size: 1.24rem;
}
.info-card h3 .icon { width: 24px; height: 24px; flex: none; }

.hours { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px dashed var(--cream-300); }
.hours th { font-weight: 600; color: var(--ink-700); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-900); font-weight: 600; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr[data-today="true"] th,
.hours tr[data-today="true"] td { color: var(--red-700); font-weight: 700; }

.addr { font-style: normal; font-size: 1.05rem; line-height: 1.7; }
.addr a { font-weight: 700; }

.pay { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-3); list-style: none; padding: 0; }
.pay li {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
  background: var(--cream-100);
}

.allergy {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: #fff8e8;
  border: 1px solid #f0dcae;
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-top: var(--space-5);
}
.allergy .icon { width: 26px; height: 26px; color: var(--gold-600); flex: none; }
.allergy p { margin: 0; font-size: 0.98rem; color: var(--ink-700); }
.allergy strong { color: var(--ink-900); }

/* --------------------------------------------------------------------------
   Call-to-order band
   -------------------------------------------------------------------------- */

.callband {
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  color: #fff;
  text-align: center;
  padding-block: var(--space-7);
}
.callband h2 { color: #fff; }
.callband p { color: var(--cream-200); max-width: 54ch; margin-inline: auto; }
.callband__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--gold-400);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.callband__phone:hover { color: var(--gold-300); }
.callband__phone .icon { width: 1em; height: 1em; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink-900);
  color: var(--cream-200);
  padding-block: var(--space-6) var(--space-4);
  font-size: 0.95rem;
}
.footer a { color: var(--gold-400); }
.footer a:hover { color: var(--gold-300); }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--space-3);
}
.footer__grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { text-decoration: underline; }
.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-variant-numeric: tabular-nums;
}
.footer__hours li span:last-child { white-space: nowrap; color: #cfc5bb; }
.footer__hours li[data-today="true"] span { color: var(--gold-400); font-weight: 700; }
.footer__bottom {
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a89e96;
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-3); }
.footer__brand img {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  object-fit: cover;
  background: #fff;
}
.footer__brand span { font-family: var(--font-display); font-size: 1.24rem; font-weight: 700; color: #fff; }

/* Back to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-menubar);
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--red-700);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
}
.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red-600); }
.to-top .icon { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Scroll reveal + motion preferences
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  .card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Print — a clean, ink-friendly takeaway menu
   -------------------------------------------------------------------------- */

@media print {
  .header, .menubar, .to-top, .hero__actions, .callband, .footer__bottom { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-block: 12pt; }
  .cat { break-inside: avoid; margin-bottom: 18pt; }
  .dish { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
