/*
  Glom Thai — Warm Table stylesheet.
  Desktop-first; breakpoints: 1100px (small laptop), 1023px (tablet), 639px (phone), 379px (narrow phone),
  written in em so layouts also adapt when a visitor raises the browser's default text size.
  Based on the v3 design tokens, with the user's later palette refinements.
*/
@import url('./fonts/fonts.css');

:root {
  --fb-top: 85px; /* menu sheet position where anchor positioning is unsupported: under the header toggle */
  --cream: #F5EEE2;
  --paper: #FBF7F0;
  --sand: #EDE3D3;
  --photo-fill: #E7DCCB;
  --ink: #2B1D16;
  --bark: #5C4636;
  --rule: #D6C7B2;
  --burgundy: #7B2D2B;
  --burgundy-dark: #5A1F1D;
  --yellow: #FFD43B;
  --white: #FFFFFF;
  --walnut: #3A281E;
  --honey: #EFE2C2;
  --on-dark-muted: #FFFFFF;
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --body: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 24px;
  --radius-panel: 32px;
  --gutter: 40px;
  --section-gap: 140px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--burgundy); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--burgundy-dark); text-decoration-thickness: 2px; }
p, h1, h2, h3, h4, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 380; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); letter-spacing: -0.025em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: 1.375rem; line-height: 1.3; font-weight: 400; }
p { max-width: 65ch; text-wrap: pretty; }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
summary { font: inherit; }
a, summary, button { touch-action: manipulation; }

.container { width: min(100%, 1320px); padding-inline: var(--gutter); margin-inline: auto; }
.section { margin-bottom: var(--section-gap); }
.muted { color: var(--bark); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Focus and skip link ---------- */
.skip { position: absolute; top: -100px; left: 16px; z-index: 20; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 16px; color: var(--paper); }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.on-dark :focus-visible { outline-color: var(--yellow); }

/* ---------- Shared type ---------- */
.on-dark { color: var(--white); }
.on-dark a { color: var(--white); }
.on-dark a:hover { color: var(--yellow); }
.on-dark .text-link { color: var(--yellow); }
.on-dark .text-link:hover { color: var(--white); }
.label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); line-height: 1.5; }
.eyebrow { display: flex; align-items: center; gap: 14px; }
/* Very large text on narrow screens: break long words rather than scroll sideways. */
h1, h2, h3, .label { overflow-wrap: anywhere; }
.hero-copy > * { max-width: 100%; }
.eyebrow::before { content: ''; width: 36px; height: 2px; border-radius: 2px; background: var(--burgundy); flex-shrink: 0; }
.on-dark .eyebrow { color: var(--yellow); }
.on-dark .eyebrow::before { background: var(--yellow); }
.lead { font-family: var(--display); font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.35; font-weight: 360; }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 14px; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; transition: background-color .15s, color .15s, border-color .15s; }
.button:hover { background: var(--ink); color: var(--paper); }
.button.reserve { background: var(--burgundy); border-color: var(--burgundy); color: var(--paper); }
.button.reserve:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); color: var(--paper); }
.button.light { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.button.light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button.light-outline { color: var(--white); border-color: var(--white); }
.button.light-outline:hover { background: var(--cream); color: var(--ink); }
.icon { flex: none; width: 1.125em; height: 1.125em; }
.button .icon { width: 1.25rem; height: 1.25rem; margin-inline: -2px; }
.text-link .icon { width: 1.125rem; height: 1.125rem; }
.arrow { transition: transform .15s; }
.button:hover .arrow, .text-link:hover .arrow { transform: translateX(2px); }
.button:hover .arrow-down { transform: translateY(2px); }
.arrow-down { transition: transform .15s; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.text-link .link-text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover .link-text { text-decoration-thickness: 2px; }

/* ---------- Header and navigation ---------- */
.site-header { padding-block: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: 1.8125rem; line-height: 1.1; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.wordmark:hover { color: var(--ink); }
/* Logo mark beside the written name; the name stays as text. */
/* Logo mark first; the written name is small, letter-spaced and centred on the mark (as on the printed menu). */
.wordmark { gap: 19px; font-size: 1.0625rem; letter-spacing: 0.2em; line-height: 1.2; }
.brand-mark { flex: none; width: auto; height: 54px; }
.footer-brand .brand-mark { height: 56px; }
.desktop-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px 28px; min-width: 0; margin-left: auto; }
.nav-list { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-list a { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; }
.nav-list a:hover { background: var(--honey); color: var(--ink); }
.nav-list a[aria-current='page'] { background: var(--honey); font-weight: 600; }
/* Order dropdown: native popover (button + [popover]). Works by click, tap and keyboard without hover or scripts;
   the browser closes it on an outside click or Escape. Anchored under the button; older browsers fall back to the header's right edge. */
.order-toggle { appearance: none; border: 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 10px; cursor: pointer; anchor-name: --order-toggle; }
.order-toggle .chevron { width: 1.125rem; height: 1.125rem; transition: transform .15s; }
.order-toggle:hover, .order-item:has(.order-panel:popover-open) .order-toggle { background: var(--honey); }
.order-item:has(.order-panel:popover-open) .order-toggle .chevron { transform: rotate(180deg); }
.order-panel { position: absolute; inset: auto; margin: 0; overflow: visible; color: var(--ink); width: max-content; min-width: 15rem; max-width: calc(100vw - 2 * var(--gutter)); padding: 14px 10px 10px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 16px 36px #2B1D1626;
  position-anchor: --order-toggle; top: calc(anchor(bottom) + 8px); right: anchor(right); }
@supports not (anchor-name: --a) {
  .order-panel { top: 82px; right: calc((100% - min(100%, 1320px)) / 2 + var(--gutter)); }
}
.order-panel .label { padding: 0 10px 6px; font-size: 0.75rem; }
.order-panel ul { display: grid; gap: 2px; }
.order-panel a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.25rem; }
.order-panel a:hover { background: var(--honey); color: var(--ink); }
.header-reserve { min-height: 48px; font-size: 0.9375rem; padding-inline: 22px; border-radius: 12px; }
.mobile-nav { display: none; }

/* ---------- Photos ---------- */
.photo { overflow: hidden; border-radius: var(--radius); background: var(--photo-fill); min-width: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home: hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.35fr; gap: 72px; align-items: center; padding-top: 64px; margin-bottom: var(--section-gap); }
.hero-copy { display: grid; justify-items: start; gap: 32px; min-width: 0; }
.hero-controls { display: grid; gap: 24px; width: 100%; }
.hero-order { display: grid; gap: 12px; }
.hero-order .label { color: var(--bark); font-size: 0.6875rem; }
.button.delivery { border-color: var(--burgundy); color: var(--burgundy); min-height: 48px; }
.button.delivery:hover { background: var(--burgundy); color: var(--paper); }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.08; }
.hero-copy > p:not(.label) { font-size: 1.0625rem; color: var(--bark); max-width: 36rem; }
.hero h1 em { color: var(--burgundy); font-weight: 340; }
.hero-photos { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; min-width: 0; }
.hero-photos > .photo { aspect-ratio: 2 / 3; }
.hero-small { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 0; }
.hero-small .photo { position: relative; min-height: 0; }
.hero-small img { position: absolute; inset: 0; }

/* ---------- Home: story ---------- */
.story-panel { background: var(--walnut); border-radius: var(--radius-panel); padding: 88px 80px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 88px; align-items: center; }
.story-panel .photo { aspect-ratio: 4 / 5; }
.story-panel .photo img { object-position: center bottom; }
.story-copy { display: grid; gap: 28px; }
.story-copy h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); color: var(--white); }
.story-copy > p:not(.eyebrow):not(.lead) { color: var(--on-dark-muted); line-height: 1.7; }
.story-copy .actions { margin-top: 8px; }

/* ---------- Section headings ---------- */
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-heading > div { display: grid; gap: 14px; }
.section-heading > .actions { display: flex; }

/* ---------- Home: gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-grid .photo { aspect-ratio: 4 / 5; }

/* ---------- Visit information ---------- */
.visit-section { border-top: 1px solid var(--rule); padding-top: 80px; }
.visit-section h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 360; letter-spacing: -0.03em; line-height: 0.95; }
/* Visit: both cards share the taller card's height, aligning their top and bottom edges.
   Content determines height; the phone/tablet layout stacks the cards naturally. */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.visit-card { gap: 0; }
.visit-block { display: flex; flex-direction: column; align-items: start; gap: 14px; width: 100%; padding-block: 24px; }
.visit-block:first-child { padding-top: 0; }
.visit-block:last-child { padding-bottom: 0; }
.visit-block + .visit-block { border-top: 1px solid #EFE6D8; }
.hours-summary { font-family: var(--display); font-size: 1.375rem; line-height: 1.35; margin-bottom: 6px; }
.info-card { background: var(--paper); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; align-items: start; gap: 14px; min-width: 0; }
.info-card h3 { font: 600 0.8125rem/1.5 var(--body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--burgundy); }
.info-card .text-link { margin-top: 2px; }
.address, .contact-value { font-family: var(--display); font-size: 1.375rem; font-weight: 400; line-height: 1.35; }
.contact-value { overflow-wrap: anywhere; text-decoration-thickness: 1px; }
.hours { margin: 0; width: 100%; font-size: 1rem; }
.hours > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 12px; border-bottom: 1px solid #EFE6D8; }
.hours > div:last-child { border-bottom: 0; }
.hours dt { flex: 1 0 7ch; font-weight: 600; }
.hours dd { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; max-width: 100%; text-align: right; color: var(--bark); margin: 0 0 0 auto; }
.hours dd span { white-space: nowrap; }
.hours dd span + span { border-left: 1px solid var(--rule); padding-left: 8px; }
.holiday { font-size: 0.875rem; color: var(--bark); margin-top: auto; padding-top: 8px; }
.holiday a { font-weight: 600; }

/* ---------- Home: Instagram ---------- */
.instagram-panel { background: var(--sand); border-radius: var(--radius-panel); padding: 40px; display: grid; grid-template-columns: 1fr 1.45fr; gap: 72px; align-items: center; }
.instagram-panel .photo { aspect-ratio: 4 / 3; }
.instagram-copy { display: grid; justify-items: start; gap: 24px; }
.instagram-copy h2 { font-size: clamp(2rem, 2.8vw, 2.75rem); }
.instagram-copy em { color: var(--burgundy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--walnut); border-radius: var(--radius-panel) var(--radius-panel) 0 0; padding-block: 80px 30px; }
/* Footer: brand + address/phone/email on the left, four link groups on the right.
   Tablet: brand on top, groups in one row of four. Phone: groups in a 2 × 2 grid. */
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px 64px; }
.footer-brand { display: grid; align-content: start; justify-items: start; gap: 14px; min-width: 0; }
.footer-brand .wordmark { color: var(--white); }
.footer-intro { display: grid; align-content: start; justify-items: start; gap: 14px; }
.footer-intro p { font-size: 0.9375rem; line-height: 1.6; color: var(--on-dark-muted); }
.footer-contact { display: grid; gap: 4px; margin-top: 6px; max-width: 100%; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 40px; font-size: 1.0625rem; line-height: 1.4; overflow-wrap: anywhere; text-underline-offset: 4px; }
.footer-contact .footer-address { display: inline-block; min-height: 0; padding-block: 4px; margin-bottom: 4px; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; min-width: 0; }
.footer-group h2 { overflow-wrap: anywhere; font: 600 0.75rem/1.5 var(--body); color: var(--yellow); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.footer-group a { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.875rem; overflow-wrap: anywhere; max-width: 100%; text-underline-offset: 4px; }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.footer-credit a { display: inline-flex; align-items: center; min-height: 32px; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid #67503B; margin-top: 56px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 0.75rem; color: var(--on-dark-muted); }

/* ---------- Inner page intro ---------- */
.page-intro { padding-top: 56px; display: grid; gap: 24px; margin-bottom: 72px; }
.page-intro h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); }
.page-intro > p:not(.label) { color: var(--bark); font-size: 1.0625rem; max-width: 44rem; }

/* ---------- Press ---------- */
/* Press: cards stretch within each row; flexible content keeps article links
   aligned at the bottom even when titles and descriptions have different lengths. */
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.press-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.press-card .photo { border-radius: 0; aspect-ratio: 3 / 2; }
.press-card-content { padding: 30px; display: flex; flex-direction: column; align-items: start; gap: 14px; flex: 1; }
.press-card-content h3 { font-size: 1.375rem; }
.press-card-content .date { font-size: 0.875rem; color: var(--bark); }
.press-card-content > .text-link { margin-top: auto; padding-top: 8px; }
.press-card.highlight { background: var(--walnut); color: var(--white); }
.press-card.highlight .press-card-content { padding: 34px 34px 30px; gap: 14px; }
.press-card.highlight .press-card-content::before { content: ''; width: 36px; height: 2px; border-radius: 2px; background: var(--yellow); margin-bottom: 6px; }
.press-card.highlight .label { color: var(--yellow); }
.press-card.highlight h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); font-style: italic; font-weight: 360; line-height: 1.15; color: var(--white); }
.press-card.highlight .date { color: var(--on-dark-muted); }
.press-card.no-photo h3 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
.press-card.no-photo .date { margin-top: auto; }
.press-card.no-photo .press-card-content > .text-link { margin-top: 0; }
.roundups { border-top: 1px solid var(--rule); }
.roundups li { padding-block: 28px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 48px; }
.roundups li > div { display: grid; gap: 10px; }
.roundups h3 { max-width: 46rem; font-size: 1.3125rem; }
.roundups .label { font-size: 0.75rem; }

/* ---------- Contact ---------- */
/* Contact: the card stack determines the row height. The inset photo fills
   that height, so its top and bottom align with the stack without a fixed height. */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; gap: 64px; }
.contact-top { padding-top: 56px; margin-bottom: 72px; }
.contact-intro.page-intro { padding: 0; margin: 0; }
.contact-description { display: grid; gap: 10px; color: var(--bark); font-size: 1.0625rem; max-width: 34ch; }
.contact-description p { text-wrap: balance; }
.contact-cards { display: grid; grid-template-columns: 1fr; align-content: stretch; gap: 20px; }
.contact-cards .info-card { padding: 32px 36px; }
.contact-cards .contact-value { font-size: 1.375rem; }
.contact-photo { position: relative; min-height: 0; }
.contact-photo > .photo { position: absolute; inset: 0; height: 100%; width: 100%; }
.join-panel { padding: 72px 80px; background: var(--walnut); border-radius: var(--radius-panel); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.join-copy { display: grid; gap: 20px; }
.join-copy h2 { color: var(--white); }
.join-copy > p:not(.eyebrow) { color: var(--on-dark-muted); }
/* Three link groups that sit side by side when they fit and wrap otherwise. */
.online-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.online-grid > .online-group { flex: 1 1 auto; min-width: 0; }
.online-group { display: grid; align-content: start; gap: 20px; border-top: 1px solid var(--rule); padding-top: 24px; }
.online-group h2 { font: 600 0.8125rem/1.5 var(--body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--burgundy); }
.online-group .profile-links { display: flex; flex-wrap: wrap; gap: 12px; }
.online-group .profile-links li { min-width: 0; max-width: 100%; }
.online-group .button { min-height: 48px; max-width: 100%; padding: 10px 20px; border-color: var(--burgundy); color: var(--burgundy); font-size: 1rem; overflow-wrap: anywhere; }
.online-group .button:hover { background: var(--burgundy); color: var(--paper); }

/* ---------- Menu ---------- */
/* Menu: page intro beside the printed-menu stack (links to the PDF); the text menu is the main content below. */
.menu-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); gap: 40px 72px; align-items: center; margin: 24px 0 96px; padding: 64px 72px; background: var(--walnut); border-radius: var(--radius-panel); }
.menu-top .page-intro { margin-bottom: 0; padding-top: 0; }
.menu-top h1 { overflow-wrap: normal; }
.menu-top.on-dark h1 { color: var(--white); }
.menu-top.on-dark .page-intro > p:not(.label), .menu-top.on-dark .menu-printed-copy p { color: var(--on-dark-muted); }
.menu-top .menu-stack-page { box-shadow: 0 2px 4px #0000002E, 0 16px 34px #00000040; }
.menu-printed { display: grid; grid-template-columns: minmax(0, min(13rem, 42%)) minmax(0, 1fr); align-items: center; gap: 48px; }
.menu-printed-copy { display: grid; justify-items: start; gap: 16px; }
.menu-printed-copy p { color: var(--bark); font-size: 1rem; }
.menu-stack { display: grid; padding: 6% 24% 10% 2%; }
.menu-stack-page { grid-area: 1 / 1; width: 100%; height: auto; background: var(--white); border-radius: 6px; box-shadow: 0 2px 4px #2B1D161F, 0 14px 30px #2B1D1626; transition: transform .25s ease; }
.menu-stack-page:first-child { transform: translate(30%, 4%) rotate(7deg); }
.menu-stack-page:last-child { transform: rotate(-3deg); }
.menu-stack:hover .menu-stack-page:first-child { transform: translate(36%, 3%) rotate(9deg); }
.menu-stack:hover .menu-stack-page:last-child { transform: translate(-2%, -2%) rotate(-4deg); }
.menu-text h2 { font-size: 2rem; }
.menu-text { margin: 0 0 var(--section-gap); padding-top: 64px; border-top: 1px solid var(--rule); }
.menu-text-head .menu-intro { color: var(--bark); }
.menu-text-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.menu-text-lead { display: grid; gap: 14px; }
.menu-text-about { color: var(--bark); }
.menu-content { columns: 2; column-gap: 72px; column-rule: 1px solid var(--rule); }
.menu-category { margin-bottom: 48px; }
.menu-category h3, .menu-section-note { break-after: avoid; }
.menu-item, .menu-footnote { break-inside: avoid; }
.menu-footnote { color: var(--bark); font-size: 0.9375rem; margin-top: 12px; }
.menu-category h3 { font-size: 1.625rem; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.menu-item { padding-block: 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; border-bottom: 1px solid var(--rule); }
.menu-item h4 { font: 600 1rem/1.4 var(--body); }
.menu-item p { font-size: 1rem; color: var(--bark); margin-top: 4px; }
.menu-item .price { font-weight: 600; white-space: nowrap; }
.menu-notes { font-size: 0.9375rem; color: var(--bark); display: grid; gap: 6px; padding: 20px 24px; background: var(--paper); border-radius: 16px; }
.menu-intro { font-family: var(--display); font-size: 1.375rem; line-height: 1.4; max-width: 36rem; }
.menu-subtitle { display: inline-block; font: 600 0.75rem/1.5 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); vertical-align: middle; margin-left: 10px; }
.menu-section-note { color: var(--bark); font-size: 0.9375rem; margin-top: 10px; }
.menu-item .menu-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; font-size: 0.8125rem; color: var(--bark); }
.menu-tag { font-weight: 600; letter-spacing: 0.06em; color: var(--burgundy); }
.menu-note { white-space: nowrap; }
.menu-spice, .menu-star { display: inline-flex; align-items: center; gap: 1px; color: var(--burgundy); }
.menu-spice .icon, .menu-star .icon { width: 1.125rem; height: 1.125rem; }
.menu-key-row { display: flex; align-items: center; gap: 10px; }
.button-meta { font-weight: 500; opacity: 0.85; }
.menu-printed-copy .button { text-align: left; max-width: 100%; }
.menu-printed-copy { min-width: 0; }
.menu-printed-copy p { overflow-wrap: anywhere; }
.menu-empty { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 48px; display: grid; justify-items: start; gap: 20px; max-width: 820px; margin: 0 0 120px; }
.menu-empty h2 { font-size: 2.25rem; }
.menu-empty > p:not(.label) { color: var(--bark); }
.preview-note { font-size: 0.875rem; }

/* ---------- Small laptop ---------- */
@media (max-width: 68.75em) {
  .hero { gap: 40px; }
  .menu-top { grid-template-columns: 1fr; padding: 56px; }
  .menu-printed { max-width: min(36rem, 100%); }
  .story-panel { padding: 64px 48px; gap: 48px; }
  .info-card { padding: 26px; }
  .join-panel { padding: 56px 48px; grid-template-columns: 1fr; }
  .contact-layout { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; width: 100%; }
  .footer-contact { margin-top: 0; }
}

/* ---------- Tablet ---------- */
@media (max-width: 63.9375em) {
  :root { --gutter: 32px; --section-gap: 100px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 650px; }
  .hero-photos { width: 100%; }
  .hero-photos > .photo { aspect-ratio: 5 / 6; }
  .story-panel { grid-template-columns: 1fr 1fr; gap: 36px; padding: 56px 36px; }
  .story-copy .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
  .gallery-grid { gap: 16px; }
  .instagram-panel { gap: 40px; padding: 32px; }
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-card.highlight { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .press-card.highlight .photo { aspect-ratio: auto; height: 100%; min-height: 16rem; }
  .online-grid { gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-top { padding-top: 40px; margin-bottom: 64px; }
  .contact-description { max-width: 40ch; }
  .visit-section { padding-top: 64px; }
  .info-grid { grid-template-columns: 1fr; }
  .menu-content { columns: 1; }
  .menu-top { margin-bottom: 72px; padding: 48px 40px; }
  .menu-printed { max-width: min(34rem, 100%); }
  .menu-text-head { grid-template-columns: 1fr; align-items: start; }
  .desktop-nav { gap: 12px 10px; }
  .site-header .wordmark { font-size: 1rem; gap: 17px; }
  .site-header .brand-mark { height: 46px; }
  .nav-list { gap: 2px; }
  .nav-list a, .order-toggle { padding-inline: 12px; }
  .header-reserve { padding-inline: 18px; }
  .contact-photo { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Without popover support (older browsers): no toggle; the menu shows as a plain list under the header. */
@supports not selector(:popover-open) {
  .mobile-toggle { display: none !important; }
  .mobile-menu-panel { position: static !important; width: 100% !important; box-shadow: none !important; margin-top: 8px !important; }
}
@supports not (anchor-name: --a) {
  .mobile-menu-panel { top: var(--fb-top); right: var(--gutter); }
}

/* ---------- Compact navigation (burger menu at 899px and below) ---------- */
@media (max-width: 56.1875em) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .mobile-toggle { appearance: none; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1.5px solid var(--ink); border-radius: 12px; padding: 8px 16px 8px 14px; background: transparent; color: var(--ink); font-size: 0.9375rem; font-weight: 600; anchor-name: --mobile-toggle; }
  .mobile-toggle .icon { width: 1.125rem; height: 1.125rem; }
  .mobile-toggle .when-open { display: none; }
  .mobile-nav:has(.mobile-menu-panel:popover-open) .mobile-toggle { background: var(--ink); color: var(--paper); }
  .mobile-nav:has(.mobile-menu-panel:popover-open) .when-open { display: inline-flex; }
  .mobile-nav:has(.mobile-menu-panel:popover-open) .when-closed { display: none; }

  /* The menu sheet */
  .mobile-menu-panel { margin: 0; inset: auto; position: absolute; position-anchor: --mobile-toggle; top: calc(anchor(bottom) + 12px); right: anchor(right);
    width: min(26rem, calc(100vw - 2 * var(--gutter))); padding: 6px 24px 24px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; box-shadow: 0 20px 44px #2B1D1633; }
  .mobile-pages a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding-block: 12px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
  .mobile-pages a .icon { width: 1.25rem; height: 1.25rem; color: var(--bark); transition: transform .15s; }
  .mobile-pages a:hover .icon { transform: translateX(3px); }
  .mobile-pages a[aria-current='page'] { color: var(--burgundy); }
  .mobile-pages a[aria-current='page'] .icon { color: var(--burgundy); }
  .mobile-order { padding-top: 22px; display: grid; gap: 12px; }
  .mobile-order .label { font-size: 0.75rem; }
  .mobile-order-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: 10px; }
  .mobile-order-links .button { width: 100%; min-height: 48px; padding: 10px 14px; border-color: var(--burgundy); color: var(--burgundy); }
  .mobile-order-links .button:hover { background: var(--burgundy); color: var(--paper); }
  .mobile-menu-panel > .button { width: 100%; margin-top: 20px; min-height: 52px; }
}

/* ---------- Compact printed-menu header (699px and below) ---------- */
@media (max-width: 43.6875em) {
  .menu-top { margin: 16px 0 56px; gap: 32px; padding: 36px 22px 32px; }
  .menu-printed { grid-template-columns: minmax(0, min(6.25rem, 30%)) minmax(0, 1fr); gap: 24px 20px; }
  .menu-printed-copy { display: contents; }
  .menu-printed-copy .nowrap { display: inline-block; max-width: 100%; white-space: normal; }
  .menu-printed-copy .button { grid-column: 1 / -1; width: 100%; padding-inline: 16px; text-align: center; }
}

/* ---------- Phone ---------- */
@media (max-width: 39.9375em) {
  :root { --gutter: 20px; --radius: 20px; --radius-panel: 24px; --section-gap: 72px; --fb-top: 73px; }
  body { font-size: 1rem; }
  h1 { font-size: 2.5rem; }
  .hero h1 { font-size: 2.375rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3125rem; }
  .label { font-size: 0.75rem; }
  .eyebrow { gap: 10px; }
  .eyebrow::before { width: 28px; }

  .site-header { padding-block: 20px; gap: 16px; }
  .wordmark { font-size: 0.9375rem; gap: 17px; letter-spacing: 0.18em; }
  .brand-mark { height: 44px; }

  /* Flatten the nonsemantic copy wrapper to preserve the phone heading/button spacing. */
  .hero { padding-top: 40px; gap: 28px; }
  .hero-copy { display: contents; }
  /* The story introduces the restaurant on phones; keep the hero focused on actions and photos. */
  .hero-copy > p:not(.label) { display: none; }
  .hero-photos { margin-top: 12px; }
  .actions { width: 100%; gap: 12px; }
  .hero-copy .actions, .story-copy .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .actions .button { padding-inline: 12px; }
  .hero-photos { gap: 12px; grid-template-columns: 1.3fr 1fr; }
  .hero-photos > .photo { aspect-ratio: 2 / 3; }
  .hero-small { gap: 12px; }

  .story-panel { grid-template-columns: 1fr; padding: 40px 22px; gap: 32px; }
  .story-panel .photo { aspect-ratio: 4 / 3; }
  .story-copy { gap: 22px; }
  .story-copy h2 { font-size: 1.875rem; }
  .lead { font-size: 1.25rem; }
  .story-copy .lead { font-size: 1.125rem; }
  .story-copy > p:not(.eyebrow):not(.lead) { font-size: 0.9375rem; }

  .section-heading { margin-bottom: 28px; gap: 20px; }
  .section-heading > .button { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .visit-section { padding-top: 56px; }
  .visit-section h2 { font-size: 2.375rem; }
  .address, .contact-value, .contact-cards .contact-value, .hours-summary { font-size: 1.25rem; }
  .info-grid { grid-template-columns: 1fr; gap: 14px; }
  .visit-block { padding-block: 22px; }
  .info-card { padding: 26px 22px; }
  .hours-summary { font-size: 1.125rem; }
  .hours { font-size: 0.9375rem; }

  .instagram-panel { padding: 16px 16px 28px; gap: 24px; grid-template-columns: 1fr; }
  .instagram-panel .photo { aspect-ratio: 4 / 3; border-radius: 18px; }
  .instagram-copy { gap: 18px; padding-inline: 8px; }
  .instagram-copy h2 { font-size: 1.875rem; }
  .instagram-copy .button { width: 100%; }

  .site-footer { padding-block: 48px 24px; }
  .footer-grid { gap: 32px; }
  .footer-brand { grid-template-columns: 1fr; }
  .footer-contact { margin-top: 6px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-group a, .footer-contact a { min-height: 44px; }
  .footer-bottom { margin-top: 36px; display: grid; gap: 8px; }

  .page-intro { padding-top: 24px; margin-bottom: 40px; gap: 18px; }
  .page-intro h1 { font-size: 2.5rem; }
  .page-intro > p:not(.label) { font-size: 1rem; }

  .press-grid { grid-template-columns: 1fr; gap: 16px; }
  .press-card-content { padding: 24px 22px; }
  .press-card.highlight { display: flex; }
  .press-card.highlight .photo { aspect-ratio: 3 / 2; min-height: 0; }
  .press-card.highlight .press-card-content { padding: 28px 22px 22px; }
  .roundups li { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; }
  .roundups h3 { font-size: 1.3125rem; }

  .contact-top { padding-top: 24px; margin-bottom: 48px; }
  .contact-description { font-size: 1rem; gap: 10px; }
  .contact-layout { gap: 24px; }
  .contact-cards { gap: 16px; }
  .contact-cards .info-card { padding: 28px 24px; }
  .contact-photo { aspect-ratio: 4 / 3; }
  .join-panel { padding: 40px 22px; gap: 28px; }
  .join-panel .actions { display: grid; }
  .online-grid > .online-group { flex-basis: 100%; }

  .menu-text { padding-top: 48px; }
  .menu-item h4 { font-size: 1rem; }
  .menu-empty { padding: 30px 22px; margin-bottom: 72px; }
  .menu-empty .button { width: 100%; }
}

/* ---------- Narrow phone (320–379px) ---------- */
@media (max-width: 23.6875em) {
  :root { --gutter: 16px; }
  h1, .page-intro h1 { font-size: 2.25rem; }
  .hero h1 { font-size: 2.125rem; }
  .wordmark { font-size: 0.875rem; gap: 15px; letter-spacing: 0.12em; }
  .brand-mark { height: 40px; }
  .site-header { column-gap: 10px; }
  .site-header .brand-mark { height: 38px; }
  .mobile-toggle { padding-inline: 12px; gap: 6px; }
  .mobile-menu-panel { padding-inline: 18px; }
  .hero-copy .actions, .story-copy .actions { grid-template-columns: 1fr; }
  .hide-narrow { display: none; }
  .menu-printed { grid-template-columns: minmax(0, min(5.5rem, 30%)) minmax(0, 1fr); }

  .email-card .contact-value { font-size: 1.25rem; }
  .address { font-size: 1.25rem; }
  .story-copy h2 { font-size: 1.625rem; }
  .instagram-copy h2 { font-size: 1.75rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .menu-stack:hover .menu-stack-page:first-child { transform: translate(30%, 4%) rotate(7deg); }
  .menu-stack:hover .menu-stack-page:last-child { transform: rotate(-3deg); }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
