@font-face {
  font-family: "DM Serif Text";
  src: url("dm-serif-text.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf6eb;
  --ink: #222d24;
  --green: #1e3028;
  --brass: #a68147;
  --gold: #ddbc7c;
  --muted: #575b4e;
  --line: #d9d1bd;
  --serif: "DM Serif Text", "Iowan Old Style", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(2rem, 5.2vw, 5.5rem);
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, ul, p { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #bc8035;
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 8; top: 1rem; left: 1rem; padding: .8rem; background: white; }
.layout {
  display: grid;
  grid-template-columns: clamp(18rem, 28vw, 28rem) minmax(0, 1fr);
  min-height: 100vh;
}
.cover {
  color: #fbf4e3;
  background: var(--green);
  border-right: 4px double var(--brass);
}
.cover-inner { position: sticky; top: 0; max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
.sign {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.53;
  background: #422712;
  border-bottom: 1px solid #917044;
}
.sign img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sign::after {
  content: "";
  position: absolute; inset: .75rem;
  border: 1px solid rgba(226, 192, 126, .54);
  pointer-events: none;
}
.desktop-nav { padding: clamp(1.6rem, 3vw, 3.2rem) clamp(1.5rem, 3.3vw, 3.7rem) 2rem; }
.index-title {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1rem; color: var(--gold);
  font-size: .875rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase;
}
.index-title::after { content: ""; flex: 1; height: 1px; background: #617061; }
.category-links, .dishes { list-style: none; padding: 0; }
.category-links a {
  display: flex; align-items: center; gap: .85rem; min-height: 3rem;
  padding: .6rem .15rem; text-decoration: none;
  font-family: var(--serif); font-size: 1.35rem; line-height: 1.25;
  border-bottom: 1px solid #48574b;
}
.category-links a::before {
  content: ""; flex: 0 0 .4rem; width: .4rem; height: .4rem;
  border: 1px solid #ac9364; transform: rotate(45deg);
}
.category-links a[aria-current="location"] { color: #f6d299; }
.category-links a[aria-current="location"]::before { background: var(--gold); }
@media (hover: hover) {
  .category-links a:hover { color: #f6d299; }
  footer a:hover { color: #805c31; }
}
main { width: 100%; max-width: 78rem; margin-inline: auto; min-width: 0; }
.masthead, .courses, footer { margin-inline: var(--gutter); }
.masthead { display: flex; align-items: center; gap: 1.8rem; padding: clamp(2rem, 4.6vw, 4.75rem) 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { flex: none; font-size: clamp(3.4rem, 5.7vw, 5.75rem); line-height: 1; letter-spacing: -.045em; }
.flourish { flex: 1; display: flex; align-items: center; gap: .55rem; color: var(--brass); }
.flourish::before, .flourish::after { content: ""; flex: 1; border-top: 1px solid currentColor; }
.flourish::after { flex: 0 1 2.5rem; }
.flourish i { display: block; width: .58rem; height: .58rem; border: 1px solid currentColor; transform: rotate(45deg); }
.mobile-nav { display: none; }
.course { padding-top: clamp(1.5rem, 3vw, 3rem); scroll-margin-top: 1.3rem; }
.course + .course { margin-top: 1.1rem; }
.course-heading {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1.2rem;
  padding-bottom: .8rem; border-bottom: 3px double var(--brass);
}
h2 { font-size: clamp(2rem, 3vw, 3.05rem); color: #354838; line-height: 1.12; letter-spacing: -.025em; }
.section-note { font-size: 1rem; color: var(--muted); line-height: 1.4; }
.group-price { color: #734d25; font-weight: 650; }
.dishes > li { padding: .98rem .05rem; border-bottom: 1px solid var(--line); }
.dish-top { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
h3 { min-width: 0; font-size: clamp(1.24rem, 1.55vw, 1.55rem); line-height: 1.2; overflow-wrap: anywhere; }
.description { max-width: 64ch; margin-top: .25rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.price { flex: none; color: #704c28; white-space: nowrap; font-size: 1.025rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.price-pending { color: #84775d; font-weight: 400; }
.missing-note { margin-top: .8rem; font-size: .92rem; line-height: 1.5; color: var(--muted); }
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .8rem 1.4rem;
  margin-top: clamp(2.4rem, 5vw, 4.5rem); margin-bottom: 2.5rem; padding-top: 1.3rem;
  border-top: 3px double var(--brass); color: var(--muted); line-height: 1.55;
}
footer a { font-weight: 600; text-underline-offset: .2em; }
@media (min-width: 66rem) {
  .compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.6rem, 3vw, 3.5rem); }
}
@media (max-width: 48rem) {
  :root { --gutter: clamp(1.15rem, 5.5vw, 2.6rem); }
  .layout { display: block; }
  .cover { border: 0; }
  .cover-inner { position: static; max-height: none; overflow: visible; }
  .sign { aspect-ratio: auto; height: clamp(7.5rem, 35vw, 12rem); border-bottom: 3px double var(--brass); }
  .sign img { object-position: center 50%; }
  .sign::after { inset: .45rem; }
  .desktop-nav { display: none; }
  .masthead { padding: 1.25rem 0; gap: 1.25rem; }
  h1 { font-size: clamp(2.65rem, 9vw, 3.7rem); }
  .mobile-nav { display: block; position: relative; z-index: 3; background: var(--green); color: #fff7e5; }
  .enhanced .mobile-nav { position: sticky; top: 0; }
  .picker > summary {
    position: relative; display: flex; justify-content: space-between; align-items: center; gap: .8rem;
    min-height: 3rem; padding: .65rem var(--gutter); list-style: none; cursor: pointer;
    font-size: 1rem; font-weight: 600;
  }
  .picker > summary::-webkit-details-marker { display: none; }
  .summary-label, .summary-end { display: inline-flex; align-items: center; gap: .7rem; }
  .summary-end { color: #edce91; }
  .current-category { font-size: .94rem; font-weight: 450; }
  .list-icon {
    display: block; width: 1rem; height: .75rem; border-block: 1px solid var(--gold);
    background: linear-gradient(var(--gold), var(--gold)) left center / 75% 1px no-repeat;
  }
  .chevron { display: block; width: .5rem; height: .5rem; border: solid var(--gold); border-width: 0 1.5px 1.5px 0; transform: translateY(-.1em) rotate(45deg); }
  .picker[open] .chevron { transform: translateY(.1em) rotate(225deg); }
  .picker .category-links { padding: .15rem var(--gutter) .8rem; background: var(--green); }
  .enhanced .picker .category-links {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: 65vh; max-height: 65dvh; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 .6rem 1rem rgb(26 34 24 / 18%);
  }
  .picker .category-links a { min-height: 2.8rem; font-size: 1.15rem; }
  .course { scroll-margin-top: 3.65rem; padding-top: 1.6rem; }
  .course + .course { margin-top: .65rem; }
  .course-heading { padding-bottom: .65rem; }
  .dishes > li { padding: .85rem 0; }
  .description { margin-top: .28rem; }
  footer a { padding-block: .25rem; }
}
@media print {
  :root { --gutter: 0; }
  .layout { display: block; }
  .cover, .mobile-nav, .skip, footer a { display: none; }
  .masthead { padding-top: 0; }
  .masthead::before { content: "Golden Oak Pub"; font-family: var(--serif); font-size: 1.5rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1rem; }
  .course-heading { break-after: avoid; }
  .dishes > li { break-inside: avoid; padding-block: .45rem; }
}

.allergen-symbol { display:inline-grid; place-items:center; width:2rem; height:2rem; background:var(--green); border-radius:50%; vertical-align:middle; }
.allergen-symbol svg { display:block; width:1.5rem; height:1.5rem; }
.allergen-link { display:inline-block; text-decoration:none; }
.allergen-legend { display:flex; flex-wrap:wrap; gap:.8rem 1.4rem; padding:0; list-style:none; }
.allergen-legend li:target { outline:2px solid currentColor; outline-offset:3px; }
.allergen-note { line-height:1.5; }

.serving-prices { display: grid; gap: .2rem; text-align: right; }
