:root {
  color-scheme: light;
  --ivory: #f5f0e6;
  --paper: #fcfaf5;
  --cream: #ede5d4;
  --ink: #232420;
  --muted: #605b51;
  --olive: #3b4b3d;
  --gold: #796037;
  --line: #d8cebe;
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid #916629; outline-offset: 4px; }
input[type="checkbox"] { accent-color: var(--olive); width: 18px; height: 18px; flex: none; margin: 0; }
svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 1; padding: 10px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 12px clamp(20px, 5vw, 94px);
  border-bottom: 1px solid #e7dfd1;
  background: #f9f5eb;
}
.brand img { display: block; width: clamp(166px, 24vw, 240px); height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); }
.site-header nav a {
  display: grid;
  align-items: center;
  min-height: 44px;
  font-size: .69rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 750;
  text-decoration: none;
}
.site-header nav a:hover, .site-header [aria-current] { text-decoration: underline; text-underline-offset: 7px; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}
.sheet {
  width: min(calc(100% - clamp(36px, 9vw, 96px)), 940px);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) 0 74px;
}
h1, .menu-section > h2 {
  color: var(--olive);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  letter-spacing: -.035em;
}
h1 { margin-bottom: 12px; }
.tools {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tools > summary { color: #151512; width: fit-content; text-decoration: none; }
.tools > summary:hover { text-decoration: underline; }
.tool-count {
  margin-left: 6px;
  padding-inline: 6px;
  background: var(--ivory);
}
.filters { padding: 5px 0 17px; }
.filter-fields { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px 24px; }
.filter-fields label { display: grid; gap: 5px; min-width: 0; font-size: .84rem; font-weight: 700; }
.filter-fields input, .filter-fields select {
  min-height: 46px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #a99f8c;
  border-radius: 0;
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
}
.filter-fields select {
  appearance: none;
  padding-right: 36px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%233b4b3d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px 16px no-repeat;
}
.filter-actions {
  position: relative;
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 2px 22px;
  margin-top: 12px;
}
summary, .text-button {
  color: var(--olive);
  min-height: 44px;
  padding: 10px 0;
  text-underline-offset: 5px;
  font-size: .88rem;
  font-weight: 700;
}
summary { text-decoration: underline; }
.text-button { border: 0; background: transparent; text-decoration: underline; }
.reset { margin-inline-start: auto; }
.variant-filter { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: .88rem; cursor: pointer; }
.filter-panel[open] { width: 100%; }
.selection-count { display: inline-block; margin-left: 4px; padding: 0 6px; background: var(--cream); text-decoration: none; }
fieldset { margin: 6px 0 12px; padding: 10px 16px 16px; min-width: 0; border: 1px solid var(--line); }
legend { padding: 0 6px; color: var(--olive); font-size: .91rem; font-weight: 700; }
fieldset p { margin: 0 0 10px; max-width: 64ch; color: var(--muted); font-size: .86rem; }
.allergen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.allergen-grid > * {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 5px 0;
  font-size: .84rem;
  line-height: 1.35;
}
.allergen-grid label { cursor: pointer; }
.allergen-grid svg { color: var(--olive); }
.results { margin: 6px 0 0; min-height: 1.4em; color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }

.menu-section, .category { scroll-margin-top: 24px; }
.menu-section + .menu-section { margin-top: clamp(50px, 7vw, 78px); }
.menu-section > h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid #a78f65;
}
.category { padding-block: 12px 20px; }
.category + .category { border-top: 1px solid #a78f65; }
.category > h2 {
  margin: 4px 0 9px;
  color: var(--olive);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -.024em;
}
.category-content { min-width: 0; }
.dish { padding: 14px 0 12px; }
.dish + .dish { border-top: 1px solid var(--line); }
.dish-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; }
.dish-line h3, .dish-line h4 { font-size: clamp(1.28rem, 2.3vw, 1.62rem); line-height: 1.2; overflow-wrap: anywhere; }
.price { flex: none; color: var(--olive); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-on-request { font-size: .83rem; }
.description { max-width: 65ch; margin: 7px 0 0; font-size: .95rem; color: var(--muted); }
.condition, .verification { margin: 6px 0 0; font-size: .82rem; }
.condition { color: var(--olive); font-weight: 650; }
.verification { color: var(--muted); }
.dish-allergens { display: flex; gap: 5px 9px; flex-wrap: wrap; align-items: center; margin: 7px 0 0; color: var(--muted); font-size: .78rem; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.allergen-badge {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 38px;
  padding: 0 5px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--olive);
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
}
.allergen-badge svg { width: 19px; height: 19px; }
.allergen-badge:hover, .allergen-badge[aria-expanded="true"] { border-color: var(--line); background: var(--ivory); }
.allergen-label { margin: 2px 0 0; color: var(--olive); font-size: .82rem; }
.has-photo { display: grid; grid-template-columns: minmax(90px, 22%) minmax(0, 1fr); gap: clamp(12px, 3vw, 28px); }
.dish-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.pasta-formats { margin: 19px 0 24px; padding: 14px 18px; background: var(--ivory); border-left: 2px solid #a78f65; }
.pasta-formats p { margin: 0; font-size: .86rem; }
.pasta-formats ul { display: flex; flex-wrap: wrap; list-style: none; gap: 5px 20px; margin: 5px 0 8px; padding: 0; color: var(--olive); }
.pasta-step { margin: 12px 0 2px; font-size: .9rem; font-weight: 700; color: var(--olive); }
.empty { text-align: center; padding: 18px 0 32px; }
.empty h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.service { border-top: 1px solid #a78f65; padding-top: 14px; display: flex; justify-content: space-between; color: var(--olive); margin: 29px 0 0; font-variant-numeric: tabular-nums; }
.allergy-info { margin-top: 55px; padding: clamp(19px, 4vw, 36px); background: var(--ivory); }
.allergy-info h2 { margin-bottom: 12px; color: var(--olive); font-size: clamp(1.6rem, 4vw, 2.3rem); }
.allergy-info p { max-width: 74ch; margin: 9px 0; color: var(--muted); font-size: .9rem; }
.legend { margin-top: 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.legend ol { padding: 0; margin: 5px 0 0; list-style: none; }





@media (max-width: 760px) {
  .site-header { min-height: 75px; }
  .allergen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 515px) {
  .site-header { flex-wrap: wrap; gap: 0; padding-block: 11px 2px; }
  .site-header nav { width: 100%; gap: 25px; }
  .filter-fields { grid-template-columns: 1fr; }
  .filter-actions { gap: 0 15px; }
  .reset { margin-inline-start: 0; }
  .filter-panel { flex-basis: 100%; }
  .allergen-grid { grid-template-columns: 1fr; }
  .dish-line { column-gap: 10px; }
  .price-on-request { white-space: normal; text-align: right; max-width: 7ch; }
  .has-photo { grid-template-columns: 1fr; }
  .dish-photo { max-width: 210px; aspect-ratio: 4 / 3; }


}
