:root {
  color-scheme: light;
  --green: #173b2d;
  --deep-green: #102b21;
  --muted-green: #4b6151;
  --paper: #fbf5e8;
  --card: #fffdf6;
  --yellow: #f3bc56;
  --line: #e4d9c3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--green); font-family: var(--sans); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a34328; outline-offset: 3px; }
.brand-header :focus-visible, .mobile-order-link:focus-visible { outline-color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 5; inset: 12px auto auto 12px; padding: 12px; background: var(--card); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }

.brand-header { color: var(--card); background: var(--green); }
.brand-row, .wordmark, .order-link { display: flex; align-items: center; }
.brand-row { min-height: 69px; justify-content: space-between; gap: 16px; }
.wordmark { gap: 11px; }
.wordmark p { margin: 0; font: 700 25px/.96 var(--serif); }
.wordmark small { display: block; margin-top: 6px; font: 650 8px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.brand-mark { color: var(--yellow); font: 31px/1 var(--sans); }
.order-link { min-height: 40px; gap: 8px; padding: 0 11px; border: 1px solid #ffffff66; border-radius: 5px; text-decoration: none; font-size: 13px; font-weight: 700; }
.order-link:hover { background: #ffffff15; }
.order-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.order-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding-inline: 5px; border-radius: 50px; background: var(--yellow); color: var(--deep-green); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }

.intro { position: relative; display: flex; align-items: center; min-height: 172px; margin-block: 23px; padding: 23px 31px; overflow: hidden; border: 1px solid #e7b553; border-radius: 10px; background: linear-gradient(105deg, #f7cd77, #f1b547); }
.intro-copy { z-index: 1; }
.eyebrow { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.intro h1 { margin: 7px 0 5px; font: 700 clamp(36px, 4.5vw, 62px)/.98 var(--serif); letter-spacing: -.056em; }
.intro-copy > p:last-child { margin: 10px 0 0; font-size: 14px; }
.intro-bowl { position: absolute; right: 38px; top: 50%; width: 225px; height: auto; transform: translateY(-50%) rotate(-8deg); pointer-events: none; }

.ordering-layout { display: grid; grid-template-columns: minmax(140px, .65fr) minmax(0, 2.8fr) minmax(250px, 1.15fr); align-items: start; gap: 18px; padding-bottom: 40px; }
.categories, .order-panel { position: sticky; top: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.categories { padding: 14px 8px 8px; }
.categories > p { margin: 0 8px 10px; color: var(--muted-green); }
.categories ul, .order-items { margin: 0; padding: 0; list-style: none; }
.categories li + li { margin-top: 3px; }
.categories button { width: 100%; min-height: 41px; padding: 8px 9px; border: 1px solid transparent; border-radius: 5px; background: transparent; text-align: left; font-size: 13px; line-height: 1.2; font-weight: 650; }
.categories button:hover { background: #fff0cb; }
.categories button[aria-pressed="true"] { color: var(--deep-green); background: #f8d47e; border-color: #edc16c; font-weight: 780; }

.dish-section, .order-panel { scroll-margin-block: 14px 76px; }
.section-heading, .order-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.section-heading { margin-bottom: 11px; min-height: 37px; padding: 2px 1px 0; }
.section-heading h2, .order-heading h2 { margin: 0; font: 700 31px/1.03 var(--serif); letter-spacing: -.038em; }
.dish-count, .item-count { color: var(--muted-green); font-size: 12px; font-weight: 650; white-space: nowrap; }
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.dish-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.dish-photo { display: grid; place-items: center; aspect-ratio: 1.88; overflow: hidden; border-bottom: 1px solid #eadfc5; background: linear-gradient(130deg, #fbf0d6, #f4e7c7); }
.dish-photo svg { width: 34px; fill: none; stroke: #64735b; stroke-width: 1.25; stroke-linejoin: round; }
.dish-photo img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.dish-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 12px; }
.dish-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px; }
.dish-heading h3, .dish-price { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.25; }
.dish-heading h3 { overflow-wrap: anywhere; }
.dish-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish-subtitle { margin: 5px 0 0; color: #795032; font: italic 14px/1.25 var(--serif); }
.dish-description { margin: 8px 0 10px; color: var(--muted-green); font-size: 13px; line-height: 1.4; }
.dish-actions { display: flex; justify-content: end; margin-top: auto; }
.add-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; min-width: 70px; padding: 0 10px; border: 0; border-radius: 5px; background: var(--green); color: var(--card); font-size: 13px; font-weight: 750; }
.add-button:hover { background: var(--deep-green); }
.add-button:active { transform: translateY(1px); }
.add-button span { font-size: 17px; line-height: 1; }

.order-panel { padding: 14px; }
.order-heading { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.order-heading h2 { font-size: 24px; }
.empty-order, .order-note { color: var(--muted-green); font-size: 13px; line-height: 1.5; }
.empty-order { margin: 0; padding: 19px 0; }
.order-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-item-name, .order-item-price { margin: 0; font-size: 13px; line-height: 1.3; font-weight: 700; }
.order-item-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.quantity { display: flex; align-items: center; justify-self: start; gap: 4px; border: 1px solid var(--line); border-radius: 5px; }
.quantity button { width: 36px; min-height: 34px; padding: 0; border: 0; border-radius: 4px; background: #fcf4df; font-size: 17px; font-weight: 700; }
.quantity button:hover { background: #fae2a9; }
.quantity-value { min-width: 19px; text-align: center; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px; border-radius: 5px; background: #f8e3af; font-size: 14px; font-weight: 800; }
.order-items:not(:empty) + .order-total { margin-top: 12px; }
.order-total small { margin-left: 3px; color: var(--muted-green); font-size: 10px; }
.order-total strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.order-note { margin: 10px 0 0; font-size: 11px; }
.mobile-order-link { display: none; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 38px); }
  .ordering-layout { grid-template-columns: 142px minmax(0, 1fr); gap: 14px; }
  .order-panel { position: static; grid-column: 2; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 20px); }
  .brand-row { min-height: 56px; }
  .wordmark { gap: 6px; }
  .wordmark p { font-size: 20px; }
  .wordmark small { margin-top: 4px; font-size: 7px; }
  .brand-mark { font-size: 23px; }
  .order-link { min-height: 35px; padding-inline: 7px; gap: 5px; font-size: 11px; }
  .order-link svg { width: 13px; }
  .order-count { height: 20px; min-width: 20px; font-size: 10px; }
  .intro { min-height: 113px; margin-block: 11px 14px; padding: 12px; }
  .intro-copy { max-width: 77%; }
  .intro h1 { font-size: clamp(27px, 7.6vw, 43px); margin-top: 4px; }
  .intro-copy > p:last-child { margin-top: 6px; font-size: 11px; }
  .intro-bowl { right: -13px; width: clamp(105px, 28vw, 155px); }
  .eyebrow { font-size: 9px; }
  .ordering-layout { grid-template-columns: clamp(75px, 21vw, 112px) minmax(0, 1fr); gap: 8px; padding-bottom: 76px; }
  .categories { top: 8px; padding: 8px 3px 4px; }
  .categories > p { margin: 0 4px 5px; }
  .categories button { min-height: 41px; padding: 5px 3px; font-size: clamp(10px, 2.65vw, 13px); }
  .section-heading { margin-bottom: 6px; min-height: 26px; }
  .section-heading h2 { font-size: clamp(21px, 5vw, 27px); }
  .dish-count, .item-count { font-size: 10px; }
  .dish-grid { gap: 6px; }
  .dish-photo { aspect-ratio: 1.4; }
  .dish-photo svg { width: 25px; }
  .dish-body { padding: 6px; }
  .dish-heading { gap: 3px; }
  .dish-heading h3, .dish-price { font-size: clamp(10px, 2.85vw, 13px); }
  .dish-subtitle { margin-top: 4px; font-size: 11px; }
  .dish-description { margin: 5px 0 8px; font-size: 11px; }
  .add-button { min-height: 36px; min-width: 0; width: 100%; font-size: 12px; }
  .order-panel { grid-column: 1 / -1; margin-top: 8px; }
  .mobile-order-link { position: fixed; z-index: 2; right: 10px; bottom: max(9px, env(safe-area-inset-bottom)); left: 10px; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 6px 11px; border: 1px solid var(--deep-green); border-radius: 6px; background: var(--green); color: var(--card); box-shadow: 0 3px 11px #102b2140; font-size: 13px; font-weight: 750; text-decoration: none; }
  .mobile-order-link .order-count { margin-left: 3px; }
  .mobile-order-link strong { font-variant-numeric: tabular-nums; }
}
