﻿:root {
  color-scheme: light;
  --ink: #2c201a;
  --paper: #fff7e9;
  --accent: #9d3425;
  --line: #d8c4af;
  font:
    100%/1.55 system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #37643a;
  outline-offset: 4px;
}
.wrap {
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.mast {
  min-height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 900;
  letter-spacing: 0.11em;
  text-decoration: none;
}
.wordmark i {
  font-family: Georgia, serif;
  color: var(--accent);
}
nav {
  display: flex;
  gap: clamp(0.75rem, 3vw, 2rem);
}
nav a {
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  border-radius: 99px;
  padding: 0.65rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
}
.button:hover {
  background: #772519;
}
.outline {
  background: transparent;
  color: var(--accent);
}
.outline:hover {
  color: white;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 3rem;
}
.intro > p:not(.eyebrow) {
  max-width: 30ch;
  font-size: 1.15rem;
  margin-block: 1.3rem 1.7rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  margin: 0;
}
h1 {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  letter-spacing: -0.065em;
}
h1 em {
  color: var(--accent);
}
h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
}
h3 {
  font-size: 1.6rem;
}
.hero-art {
  background: #3d241d;
  border-radius: 48% 48% 0.5rem 0.5rem;
  overflow: hidden;
}
.section {
  padding-block: 4rem;
  border-top: 1px solid var(--line);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block: 1.4rem;
}
.filters button,
.small {
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  padding: 0.4rem 0.85rem;
  color: var(--ink);
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dish,
.order {
  border: 1px solid var(--line);
  padding: 1.3rem;
  background: #fffdf7;
  border-radius: 0.6rem;
}
.dish {
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
}
.dish p {
  flex: 1;
}
.dish-bottom,
.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.story {
  background: #3d241d;
  color: #fff7e9;
  padding-block: 4rem;
}
.story .eyebrow {
  color: #ffc19d;
}
.story-inner p:last-child {
  max-width: 48ch;
  font-size: 1.1rem;
}
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.order ul {
  list-style: none;
  padding: 0;
}
.cart-row {
  margin-block: 0.5rem;
}
.note {
  margin-bottom: 0;
  font-size: 0.9rem;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 2;
  background: white;
  padding: 0.5rem;
}
@media (max-width: 740px) {
  .mast {
    flex-wrap: wrap;
    padding-block: 0.8rem;
  }
  nav {
    order: 3;
    width: 100%;
  }
  .hero,
  .visit {
    grid-template-columns: 1fr;
  }
  .hero-art {
    width: min(100%, 420px);
    justify-self: center;
  }
  .dishes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 490px) {
  .dishes {
    grid-template-columns: 1fr;
  }
  .section {
    padding-block: 2.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

nav {
  flex-wrap: wrap;
  gap: 0.55rem clamp(0.55rem, 1.7vw, 1.35rem);
}
nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}
.section h1,
.story h1 {
  font-size: clamp(3rem, 6vw, 5.75rem);
}
.lead {
  max-width: 50ch;
  font-size: 1.12rem;
}
.feature,
.faq {
  margin-top: 1.5rem;
}
.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 0.65rem;
  background: #fffdf7;
}
.gallery figcaption {
  padding: 0.75rem 1rem;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.booking {
  display: grid;
  gap: 1rem;
}
.booking label {
  display: grid;
  gap: 0.35rem;
  font-weight: 650;
}
.booking input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0.6rem;
  border-radius: 0.25rem;
  background: white;
  font: inherit;
  color: inherit;
}
.booking .button {
  justify-self: start;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
footer {
  flex-wrap: wrap;
}
@media (max-width: 880px) {
  .mast {
    flex-wrap: wrap;
    padding-block: 0.8rem;
  }
  nav {
    order: 3;
    width: 100%;
  }
}

/* Floating order shortcut, visible after the first item is added. */
.floating-cart {
  position: fixed;
  z-index: 10;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: .65rem .85rem;
  border-radius: 999px;
  background: var(--accent, #9d3425);
  color: #fff;
  box-shadow: 0 4px 18px #0004;
  text-decoration: none;
}
.floating-cart[hidden] { display: none; }
.floating-cart:hover { filter: brightness(.88); }
.floating-cart-count {
  min-width: 1.5rem;
  padding: .05rem .35rem;
  border-radius: 999px;
  background: #fff;
  color: #2c201a;
  text-align: center;
  font-weight: 700;
}


.dish-add {
  min-width: 4.5rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dish-add.has-quantity {
  background: var(--accent, #9d3425);
  border-color: var(--accent, #9d3425);
  color: #fff;
}
.dish-add.has-quantity:hover { filter: brightness(.9); }
