/* Menu-only styles. Shared branding and other pages remain in styles.css. */
.full-menu-body {
  --menu-header-height: 76px;
  --menu-sticky-top: var(--menu-header-height);
  --menu-category-height: 68px;
  /* One content grid for hero copy, category bar, headings, cards and lists. */
  /* Same edge-to-edge width and side padding as the homepage header and hero. */
  --menu-gutter: clamp(18px, 4vw, 66px);
  --menu-content-width: calc(100% - 2 * var(--menu-gutter));
  --menu-card-gap: 20px;
  background: var(--paper);
  min-height: 100vh;
}
.full-menu-body .site-header { min-height: 76px; padding-block: 7px; background: #30251f; }
.full-menu-body .brand img { width: 88px; height: 59px; }
.full-menu-body .brand { font-size: clamp(1.1rem, 1.7vw, 1.5rem); }
.full-menu-body .site-nav { font-size: 0.95rem; }
.full-menu-body :is(a, button, summary):focus-visible {
  outline: 3px solid var(--agave); outline-offset: 4px;
}
.full-menu-body .site-header :is(a, button):focus-visible { outline-color: var(--cream); }
.full-menu-body [hidden] { display: none !important; }
.menu-skip { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 12px 20px;
  border-radius: 6px; background: var(--surface); color: var(--agave); transform: translateY(-150%); }
.menu-skip:focus { transform: translateY(0); }
.full-menu { padding: var(--menu-header-height) 0 36px; }
.full-menu-hero { position: relative; isolation: isolate; background: var(--paper); }
.menu-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.full-menu-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  /* Cream only behind the intro text; the photo shows across the rest of the width. */
  background: linear-gradient(90deg, var(--paper) 0, var(--paper) calc(var(--menu-gutter) + 420px), rgba(255,247,235,.92) calc(var(--menu-gutter) + 560px), rgba(255,247,235,.4) calc(var(--menu-gutter) + 760px), rgba(255,247,235,0) calc(var(--menu-gutter) + 980px)); }
.menu-hero-inner { width: var(--menu-content-width); margin: auto; min-height: 380px; display: flex; align-items: center; padding: 26px 0 38px; }
.menu-hero-copy { width: min(52%, 590px); }
.full-menu-hero .eyebrow { margin: 0 0 12px; font-size: .76rem; letter-spacing: .18em; color: var(--agave); text-transform: uppercase; font-weight: 800; }
.full-menu-hero h1 { max-width: 10ch; color: var(--agave); font-size: clamp(3rem, 5.4vw, 5.1rem); line-height: .99; letter-spacing: -.035em; }
#menu-intro { max-width: 440px; margin: 15px 0 0; color: #6c5c51; font-size: 1.05rem; line-height: 1.6; }
.menu-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; }
.full-menu-language { display: inline-flex; gap: 7px; }
.full-menu-language a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 20px; border: 1px solid rgba(47,115,82,.5); border-radius: 999px; color: var(--agave); font-size: .82rem; font-weight: 700; background: var(--surface); }
.full-menu-language a.active, .full-menu-language a:hover { color: var(--cream); background: var(--agave); border-color: var(--agave); }
.menu-downloads { position: relative; z-index: 12; display: block; margin: 0; max-width: none; }
.full-menu-hero:has(.menu-downloads[open]) { z-index: 11; }
.menu-downloads summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 0; color: var(--agave); font-size: .85rem; font-weight: 700; cursor: pointer; list-style: none; }
.menu-downloads summary::-webkit-details-marker { display: none; }
.menu-downloads summary::after { content: '⌄'; margin-left: 3px; }
.menu-downloads[open] summary::after { transform: rotate(180deg); }
.full-menu-downloads { position: absolute; top: calc(100% + 5px); left: 0; width: 250px; padding: 8px; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 25px rgba(35,24,20,.13); }
.full-menu-downloads a { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: 5px; color: var(--agave); font-size: .86rem; font-weight: 600; }
.full-menu-downloads a:nth-child(3) { border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; padding-top: 12px; }
.full-menu-downloads a:hover { background: var(--paper); }
.category-bar { position: sticky; top: calc(var(--menu-sticky-top) + 8px); z-index: 10; display: flex; align-items: center; width: var(--menu-content-width); margin: -14px auto 0; padding: 7px; border: 1px solid #eee1d0; border-radius: 999px; background: var(--surface); box-shadow: 0 6px 20px rgba(87,54,26,.07); }
.category-tabs { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; overflow-x: auto; gap: 4px; padding: 3px; scrollbar-width: thin; scrollbar-color: #cbbda9 transparent; overscroll-behavior-x: contain; }
.category-tabs a { position: relative; flex: none; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; color: var(--agave); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.category-tabs a + a::before { content: ''; position: absolute; width: 1px; height: 18px; left: -2px; background: #eee1d0; }
.category-tabs a.active, .category-tabs a:hover { background: var(--agave); color: var(--cream); }
.category-tabs a:focus-visible { outline-offset: -3px; outline-color: var(--tomato-dark); }
.category-scroll { flex: none; width: 36px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--agave); font-size: 1.8rem; cursor: pointer; }
.category-scroll:disabled { color: #bdafa1; cursor: default; }
.category-detail { width: var(--menu-content-width); margin: 34px auto 0;
  /* A short category can still sit right under the sticky bar, so switching never pulls the page up. */
  min-height: calc(100vh - var(--menu-sticky-top) - var(--menu-category-height) - 24px); }
.menu-category, .category-detail { scroll-margin-top: calc(var(--menu-sticky-top) + var(--menu-category-height) + 24px); }
.menu-category + .menu-category { margin-top: 40px; }
.menu-category[hidden] + .menu-category { margin-top: 0; }
.category-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.category-heading h2 { position: relative; padding-bottom: 16px; color: var(--agave); font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.15; }
.category-heading h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--tomato); }
.category-heading h2:focus-visible { outline: 2px solid var(--agave); outline-offset: 5px; }
.category-heading p { margin: 0; color: var(--muted); font-size: .94rem; }
.category-count { margin-left: auto; color: var(--muted); font-size: .75rem; white-space: nowrap; }
/* Adaptive category layouts (chosen per category by tools/build_menu.py):
   featured = row of dish photos + text grid; split = photo beside the list; list = centered list. */
.menu-category { max-width: 1350px; margin-inline: auto; }
.menu-category--split[data-size="small"] { max-width: 1180px; }
.menu-category--list { max-width: 1100px; }
.menu-category--list[data-size="small"] { max-width: 760px; }
.featured-items, .menu-items { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.featured-items { gap: var(--menu-card-gap); margin-bottom: var(--menu-card-gap); }
.menu-items { gap: 12px var(--menu-card-gap); align-content: start; }
.featured-items--cols-2, .menu-items--cols-2 { --cols: 2; }
.featured-items--cols-3, .menu-items--cols-3 { --cols: 3; }
.category-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
/* The photo stays beside a long list while it scrolls. */
.category-photo { position: sticky; top: calc(var(--menu-sticky-top) + var(--menu-category-height) + 24px); margin: 0; overflow: hidden; border: 1px solid #eadfce; border-radius: var(--radius); background: var(--surface); }
.category-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.full-menu-item { min-width: 0; overflow: hidden; border: 1px solid #eadfce; border-radius: var(--radius); background: rgba(255,253,248,.8); }
.item-copy { padding: 14px 18px; }
.item-heading { display: flex; align-items: baseline; gap: 14px; justify-content: space-between; }
.full-menu-item h3 { margin: 0; min-width: 0; font-family: Cinzel, Georgia, serif; font-size: 1.03rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.item-price { color: var(--tomato-dark); font-size: .99rem; white-space: nowrap; }
.item-description { margin: 4px 0 0; color: #6c5c51; font-size: .87rem; line-height: 1.6; }
.featured-item img { width: 100%; aspect-ratio: 1.9; object-fit: cover; }
.featured-item .item-copy { padding: 13px 16px 15px; }
.photo-note { margin: 8px 0 0; color: #756359; font-size: .72rem; line-height: 1.5; }
.menu-price-notice { width: min(var(--menu-content-width), 1350px); margin: 24px auto 0; color: var(--muted); font-size: .76rem; }
.menu-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1199px) {
  .menu-items--cols-3 { --cols: 2; }
  .category-split .menu-items--cols-2 { --cols: 1; }
  .category-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .menu-hero-inner { min-height: 360px; }
  .menu-hero-copy { width: 57%; }
  .full-menu-hero h1 { font-size: clamp(3rem, 5.6vw, 4.4rem); }
  .full-menu-hero::before { background: linear-gradient(90deg, var(--paper) 25%, rgba(255,247,235,.96) 42%, rgba(255,247,235,.1) 75%); }
  .category-heading p { flex-basis: 100%; order: 3; }
  .full-menu-body .brand span { white-space: normal; max-width: 19ch; }
}
@media (min-width: 768px) and (max-width: 999px) {
  .featured-items--cols-3 { --cols: 2; }
}
@media (max-width: 767px) {
  .full-menu-body { --menu-header-height: 68px; }
  .full-menu-body .site-header { min-height: 68px; padding: 7px 14px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
  .full-menu-body .brand { font-size: .95rem; gap: 10px; }
  .full-menu-body .brand span { max-width: 13ch; white-space: normal; }
  .full-menu-body .brand img { width: 65px; height: 44px; flex-shrink: 0; }
  .full-menu-body { --menu-gutter: 18px; }
  .menu-hero-inner { min-height: 0; padding: 26px 0 20px; }
  .menu-hero-copy { width: 100%; }
  .full-menu-hero { display: flex; flex-direction: column; }
  .full-menu-hero h1 { max-width: 12ch; font-size: clamp(2.55rem, 9.5vw, 4rem); }
  .full-menu-hero .eyebrow { font-size: .68rem; margin-bottom: 10px; }
  #menu-intro { font-size: .93rem; margin-top: 12px; max-width: 470px; }
  .menu-actions { margin-top: 15px; gap: 4px 14px; }
  .full-menu-language a { padding: 8px 16px; }
  .menu-hero-photo { position: relative; order: 2; inset: auto; z-index: -2; width: 100%; height: clamp(150px, 42vw, 220px); object-position: center 52%; }
  .full-menu-hero::before { inset: auto 0 0; height: clamp(150px, 42vw, 220px); z-index: -1; background: linear-gradient(var(--paper), transparent 30%); }
  .full-menu-downloads { width: min(250px, calc(100vw - 36px)); }
  .category-bar { width: calc(100% - 20px); top: calc(var(--menu-sticky-top) + 5px); margin-top: -12px; padding: 4px; }
  .category-tabs { gap: 2px; }
  .category-tabs a { padding: 10px 15px; font-size: .78rem; }
  .category-scroll { width: 26px; }
  .category-detail { margin-top: 26px; }
  .category-heading { gap: 12px; margin-bottom: 18px; }
  .category-heading h2 { font-size: 1.85rem; }
  .category-heading p { flex-basis: 100%; order: 3; font-size: .86rem; }
  .featured-items, .menu-items { --cols: 1; gap: 12px; }
  .category-split { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .category-photo { position: static; }
  .category-photo img { aspect-ratio: 16 / 10; }
  .featured-items { margin-bottom: 12px; }
  .featured-item img { aspect-ratio: 1.9; }
  .item-copy { padding: 13px 15px; }
  .full-menu-item h3 { font-size: .98rem; }
  .item-heading { gap: 10px; }
  .item-price { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.full-menu-body) { scroll-behavior: auto; }
  .full-menu-body *, .full-menu-body *::before, .full-menu-body *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
