@font-face {
  font-family: Prata; src: url(assets/prata-cyr.woff2) format("woff2"); font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Prata; src: url(assets/prata-lat.woff2) format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215;
}
@font-face {
  font-family: Manrope; src: url(assets/manrope-cyr.woff2) format("woff2"); font-display: swap; font-weight: 400 800;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope; src: url(assets/manrope-lat.woff2) format("woff2"); font-display: swap; font-weight: 400 800;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215;
}
:root {
  --paper: #f5efe6;
  --ink: #292711;
  --wine: #652737;
  --wine-dark: #4a1927;
  --muted: #625a4b;
  --rule: #a79c8c;
  --light-rule: #d7cbba;
  --gutter: clamp(20px, 4vw, 64px);
  --serif: Prata, Georgia, serif;
  --body: Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid currentColor; outline-offset: 4px;
}
.shell { width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; }
.header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 73px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.wordmark { display: inline-flex; gap: 17px; align-items: center; width: max-content; }
.wordmark span { font: 38px/1.1 var(--serif); letter-spacing: -.08em; }
.wordmark small { font: 650 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .31em; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 19px; }
nav a, nav button { white-space: nowrap; padding: 8px 0; }
nav button { background: none; border: 0; position: relative; }
nav a:hover, nav button:hover, .map:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 5px; }
nav > :not(:first-child) { position: relative; }
nav > :not(:first-child)::before {
  content: ""; position: absolute; pointer-events: none; background: var(--rule);
  height: 15px; width: 1px; top: 50%; left: calc(clamp(18px, 3vw, 42px) / -2);
  transform: translateY(-50%) rotate(22deg);
}
.header-book { justify-self: end; }
.button {
  display: inline-flex; min-height: 46px; gap: 10px; align-items: center; justify-content: center;
  border: 1px solid transparent; padding: 10px 19px; font-size: 17px; line-height: 1.15;
  text-align: center; transition: background-color .18s, color .18s, border-color .18s;
}
.primary { background: var(--wine); color: #fff8f1; }
.primary:hover { background: var(--wine-dark); }
.outline { background: transparent; color: var(--wine); border-color: var(--wine); }
.outline:hover { background: #eaddd2; }
.inverse { background: var(--paper); color: var(--wine); }
.inverse:hover { background: #eaddd2; }
.hero { display: grid; grid-template-columns: 43fr 57fr; border-bottom: 1px solid var(--rule); }
.hero-copy {
  align-self: center; padding: clamp(34px, 4vw, 66px) clamp(22px, 3vw, 58px) clamp(34px, 4vw, 66px)
    max(var(--gutter), calc((100vw - 1400px) / 2));
}
h1 { font-size: clamp(47px, 5.85vw, 104px); line-height: .99; letter-spacing: -.071em; }
.hero-copy p { font-size: clamp(18px, 1.65vw, 24px); line-height: 1.32; max-width: 33rem; }
.flourish {
  display: flex; align-items: center; gap: 14px; color: #53603a; margin: 16px 0 15px;
  font: normal 35px/1 var(--body); max-width: 410px;
}
.flourish::before, .flourish::after { content: ""; height: 1px; background: var(--rule); flex: 1; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-photo { display: block; width: 100%; height: 100%; min-height: 420px; max-height: 655px; object-fit: cover; object-position: center 54%; }
.menu { padding-block: 28px 30px; }
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.menu h2 { font-size: clamp(44px, 5vw, 77px); line-height: 1.05; letter-spacing: -.065em; padding-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: clamp(10px, 2vw, 29px); }
.filters button {
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 5px;
  font-size: clamp(16px, 1.7vw, 21px); white-space: nowrap; margin-bottom: 8px;
}
.filters button:hover, .filters button[aria-pressed="true"] { color: var(--wine); }
.filters button[aria-pressed="true"] { border-color: var(--wine); }
.dish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 26px); }
.dish { display: flex; flex-direction: column; border: 1px solid var(--light-rule); }
.dish img { display: block; width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; object-position: center 49%; }
.dish img[src$="lunch.webp"] { object-position: center 41%; }
.dish-info { padding: 13px 15px 12px; display: flex; flex-direction: column; flex: 1; }
.dish-info h3 { font: 400 clamp(20px, 2vw, 29px)/1.07 var(--body); }
.dish-info p { margin-top: 6px; font: 550 12px/1.45 var(--sans); color: var(--muted); }
.dish-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 11px; margin-top: auto; }
.dish-bottom strong { font-size: 19px; }
.add {
  min-width: 37px; height: 35px; display: inline-flex; gap: 7px; align-items: center; justify-content: center; padding-inline: 8px;
  border: 1px solid var(--wine); background: transparent; color: var(--wine); font: 24px/1 var(--body);
}
.add span:not([aria-hidden]) { font: 700 12px/1 var(--sans); }
.add:hover, .quantity button:hover { background: #eaddd2; }
.menu-end { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.menu-end p, .dialog-note, .footer-note { color: var(--muted); font: 550 12px/1.55 var(--sans); }
.menu-end .button { min-height: 37px; padding-block: 6px; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 20px; min-height: 20px; padding: 0 4px;
  color: #fff8f1; background: var(--wine); font: 750 11px/1 var(--sans); border-radius: 50%;
}
nav .cart-count { position: absolute; inset: -4px -11px auto auto; }
.booking-band { background: var(--wine); color: #fff8f1; }
.band-inner { display: flex; gap: 24px; justify-content: center; align-items: center; padding-block: 32px; }
.band-inner h2 { font-size: clamp(28px, 4vw, 56px); letter-spacing: -.05em; }
.band-inner p { margin-top: 6px; font-size: 16px; }
.band-inner .button { margin-left: clamp(0px, 4vw, 65px); white-space: nowrap; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 26px; }
.footer-main address { display: grid; gap: 5px; font: normal 16px/1.25 var(--body); }
.footer-main address span { color: var(--muted); }
.map { color: var(--wine); font-size: 17px; }
.footer-note { border-top: 1px solid var(--light-rule); padding-block: 13px 20px; }
dialog {
  width: min(480px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 23px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule); box-shadow: 0 18px 70px #20140e38;
}
dialog::backdrop { background: #20170e72; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: 16px; }
.dialog-heading h2 { font-size: clamp(23px, 6vw, 31px); letter-spacing: -.045em; }
.close { background: transparent; border: 0; width: 35px; height: 35px; font: 28px/1 var(--body); }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-list li, .cart-total { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding-block: 10px; border-bottom: 1px solid var(--light-rule); }
.cart-dish { display: flex; align-items: center; gap: 10px; }
.cart-dish img { width: 48px; height: 48px; object-fit: cover; }
.cart-list small { color: var(--muted); }
.quantity { display: flex; align-items: center; border: 1px solid var(--rule); }
.quantity button { height: 33px; width: 32px; background: transparent; border: 0; }
.quantity span { min-width: 24px; text-align: center; }
.cart-total { font-size: 19px; }
.form-fields { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 8px; }
label { min-width: 0; display: grid; gap: 6px; font: 650 12px/1.3 var(--sans); }
input, select { min-width: 0; min-height: 42px; width: 100%; background: #fffbf6; border: 1px solid var(--rule); border-radius: 0; padding: 5px; font: 16px/1.25 var(--sans); }
.dialog-note { margin: 15px 0 9px; }
dialog .primary { width: 100%; margin-top: 7px; }
#cart-panel > p:first-child { margin-bottom: 6px; }
.success { border-left: 3px solid var(--wine); padding: 5px 0 5px 12px; }
.success strong { font-size: 21px; }
.success p { margin-top: 6px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 1; padding: 10px; background: var(--paper); }

@media (max-width: 950px) {
  .wordmark { gap: 10px; }
  .wordmark span { font-size: 32px; }
  .wordmark small { font-size: 8px; }
  .header-inner { gap: 13px; }
  .hero-actions .button { font-size: 15px; padding-inline: 11px; }
}
@media (max-width: 690px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 8px 12px; padding-block: 12px 4px; min-height: 0; }
  .header-book { grid-column: 2; grid-row: 1; }
  .header-inner .button { min-height: 36px; font-size: 15px; padding: 6px 10px; }
  nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; padding-right: 2px; gap: 10px; font-size: 17px; }
  nav > :not(:first-child)::before { display: none; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { align-self: stretch; padding: 34px var(--gutter) 27px; }
  h1 { font-size: clamp(43px, 10.1vw, 65px); }
  .hero-copy p { max-width: 25rem; }
  .hero-actions { margin-top: 18px; gap: 7px; }
  .hero-actions .button { flex: 0 1 auto; min-height: 42px; }
  .flourish { margin: 10px 0; font-size: 29px; max-width: 320px; }
  .hero-photo { max-height: 355px; min-height: 0; width: 100%; aspect-ratio: 1.75; }
  .menu-head { align-items: start; flex-direction: column; gap: 0; margin-bottom: 13px; }
  .menu h2 { padding-bottom: 1px; }
  .filters button { margin: 0; padding: 8px 3px; }
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dish img { aspect-ratio: 1.36; }
  .dish-info { padding: 9px; }
  .dish-info h3 { font-size: 19px; }
  .dish-info p { font-size: 11px; }
  .dish-bottom { padding-top: 8px; }
  .dish-bottom strong { font-size: 17px; }
  .menu-end .button { font-size: 15px; padding-inline: 10px; white-space: nowrap; }
  .band-inner { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 24px; }
  .band-inner .button { margin-left: 0; }
  .footer-main { flex-wrap: wrap; justify-content: start; gap: 16px 28px; }
}
@media (max-width: 359px) {
  .dish-grid { grid-template-columns: 1fr; }
  .menu-end { align-items: start; flex-direction: column; }
  .form-fields { grid-template-columns: 1fr 1fr; }
  .form-fields label:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
