:root {
  color-scheme: light;
  --paper: #f8f3e7;
  --light: #fffdf7;
  --ink: #25261e;
  --forest: #2f3528;
  --muted: #5e5d4d;
  --accent: #a93924;
  --accent-dark: #882a19;
  --line: #d9d0ba;
  --gold: #e9ae58;
  --sans: "Trebuchet MS",Arial,sans-serif;
  --serif: Georgia,"Times New Roman",serif;
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
}

[hidden] {
  display: none!important;
}

img {
  max-width: 100%;
  display: block;
}

button,input,select,textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

a {
  color: inherit;
}

p {
  margin: 0 0 .85rem;
}

h1,h2,h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.4rem,6vw,4.8rem);
  letter-spacing: -.06em;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.13;
}

h1 em,h2 em {
  font-weight: 400;
  color: var(--accent);
}

section[id] {
  scroll-margin-top: 1.2rem;
}

:focus-visible {
  outline: 3px solid #b24b20;
  outline-offset: 3px;
}

.shell {
  width: min(100% - 3.5rem,1190px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  background: white;
  padding: .7rem;
  z-index: 30;
}

.skip:focus {
  top: 1rem;
}

.topbar {
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 81px;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand span {
  font: italic 2.05rem/.9 var(--serif);
  letter-spacing: -.085em;
}

.brand small {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .23em;
  margin-top: .46rem;
}

.topbar nav {
  display: flex;
  gap: clamp(.8rem,3.4vw,3rem);
  font-size: .93rem;
  font-weight: 700;
}

.topbar nav a {
  text-decoration: none;
}

.topbar nav a:hover,.under:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 4px;
  padding: .66rem 1.15rem;
  border: 1px solid transparent;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.top-contact,.outline {
  background: transparent;
  color: var(--ink);
  border-color: #8b8269;
}

.top-contact:hover,.outline:hover {
  background: #e9e0ce;
}

.primary {
  color: #fff8e9;
  background: var(--accent);
}

.primary:hover {
  background: var(--accent-dark);
}

.dark {
  background: var(--forest);
  color: #fff9ec;
}

.dark:hover {
  background: #1e241a;
}

.under {
  font-weight: 700;
  text-underline-offset: .28rem;
  text-decoration-thickness: 1px;
}

.link-button {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
  color: inherit;
  text-align: left;
}

.hero {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: clamp(2rem,7vw,6.8rem);
  align-items: center;
  padding: clamp(2rem,5vw,4.7rem) 0;
}

.hero-copy {
  padding-block: 1rem;
}

.eyebrow {
  letter-spacing: .17em;
  font-size: .77rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 .9rem;
}

.hero h1 {
  font-size: clamp(3.6rem,8.4vw,8.4rem);
  letter-spacing: -.088em;
  line-height: .86;
}

.hero h1 em {
  letter-spacing: -.09em;
}

.hero-copy>p:not(.eyebrow) {
  max-width: 29rem;
  margin: 1.7rem 0 1.6rem;
  font-size: 1.13rem;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: .85rem 1.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-photo {
  background: #ddcfae;
  margin: 0;
  position: relative;
  padding: 0;
  min-width: 0;
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.hero-photo figcaption {
  background: var(--forest);
  color: var(--light);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .55rem;
  padding: .75rem 1rem;
  font-size: .85rem;
  flex-wrap: wrap;
}

.hero-photo figcaption span {
  color: #e8d9b6;
}

.ribbon {
  background: var(--forest);
  color: var(--light);
}

.ribbon .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .75rem 0;
  font-weight: 700;
  font-size: .91rem;
  max-width: 750px;
}

.ribbon [aria-hidden] {
  color: var(--gold);
}

.section {
  padding-block: clamp(2.8rem,7vw,6rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.menu-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-block: 1px solid var(--line);
  padding: 1.2rem 0;
  flex-wrap: wrap;
}

.menu-fallback p {
  margin: .4rem 0;
  color: var(--muted);
}

.draft {
  max-width: 56rem;
  background: #eee3cd;
  padding: 1rem;
  border-left: 4px solid var(--accent);
  white-space: pre-line;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0;
}

.chip {
  background: transparent;
  border: 1px solid var(--line);
  padding: .45rem .85rem;
  border-radius: 20rem;
}

.chip[aria-pressed=true] {
  background: var(--forest);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.product-card {
  background: var(--light);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card img,.product-card video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card>div {
  padding: 1rem;
  display: grid;
  gap: .55rem;
}

.product-card p {
  overflow-wrap: anywhere;
  margin: 0;
}

.product-card .actions {
  justify-content: space-between;
}

.product-card .muted {
  white-space: pre-line;
}

.map-section {
  background: #eee7d6;
  padding: clamp(2.8rem,7vw,5.6rem) 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(1.1rem,6vw,5rem);
  align-items: center;
}

.delivery-grid h2+p,.contact h2+p {
  margin: 1rem 0;
  color: var(--muted);
  max-width: 34rem;
}

.panel {
  background: var(--light);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 6px;
}

.map-panel {
  display: grid;
  gap: .75rem;
}

.map-controls {
  display: flex;
  align-items: end;
  gap: .75rem;
  flex-wrap: wrap;
}

.map-controls label {
  flex: 1 1 12rem;
}

.map-controls .status {
  align-self: center;
  margin: 0;
}

.map {
  height: 340px;
  background: #e5e2d6;
  z-index: 0;
}

.coords {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .7rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
}

.footer {
  background: var(--forest);
  color: var(--light);
  padding-block: 1.65rem;
}

.footer-main {
  display: flex;
  gap: .8rem 1.8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  margin: 0;
}

.footer a {
  font-size: .91rem;
}

.footer #social {
  display: flex;
  gap: .9rem;
}

.status {
  min-height: 1.3em;
  color: var(--forest);
  font-weight: 700;
}

.status.error {
  color: var(--accent-dark);
}

.muted {
  color: var(--muted);
}

.total {
  font-weight: 800;
  margin: 0;
}

.check {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
}

.check input {
  margin: .28rem 0 0;
  width: 1.07rem;
  min-height: 0;
  height: 1.07rem;
  flex: none;
}

label {
  display: grid;
  gap: .26rem;
  font-weight: 700;
  font-size: .93rem;
}

input,select,textarea {
  width: 100%;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid #a99f85;
  border-radius: 4px;
  padding: .57rem .65rem;
  min-height: 44px;
}

textarea {
  resize: vertical;
}

input::placeholder {
  color: #6b6759;
}

.form-stack {
  display: grid;
  gap: .8rem;
}

.form-stack .status {
  margin: 0;
}

.form-stack h3 {
  margin-top: .4rem;
}

.form-stack .button {
  justify-self: start;
}

.form-stack input,.form-stack textarea {
  min-width: 0;
}

dialog {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--light);
  color: var(--ink);
  width: min(35rem,calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  padding: 1.35rem;
  overflow: auto;
}

dialog::backdrop {
  background: #1b201ac9;
}

dialog h2 {
  font-size: 2.5rem;
  margin: 0 2rem 1rem 0;
}

.close-form {
  float: right;
}

.close-form button {
  font-size: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  line-height: 1.3;
  min-width: 40px;
  min-height: 40px;
}

.cart-row {
  display: flex;
  gap: .6rem;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: .55rem 0;
}

.cart-row button {
  border: 1px solid var(--line);
  background: transparent;
  min-height: 38px;
}

.cart-row .qty {
  display: flex;
  gap: .55rem;
  align-items: center;
}

#cart-items {
  margin-bottom: 1rem;
}

#order-delivery {
  display: grid;
  gap: .5rem;
}

#order-delivery p {
  margin: 0;
}

.standalone {
  max-width: 700px;
  padding-block: 2.5rem;
}

.standalone .brand {
  margin-bottom: 2rem;
}

.standalone h1 {
  font-size: clamp(2.5rem,7vw,4.5rem);
  margin-bottom: 1rem;
  letter-spacing: -.06em;
}

.standalone .panel {
  margin-block: 1rem;
}

.standalone .actions {
  margin-block: 1rem;
}

.standalone ol {
  padding-left: 1.5rem;
}

@media(max-width:850px) {
  .hero {
    gap: 1.7rem;
  }
  .hero h1 {
    font-size: clamp(3.5rem,10vw,6.5rem);
  }
  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .delivery-grid {
    gap: 1.5rem;
  }
}

@media(max-width:620px) {
  .shell {
    width: calc(100% - 2rem);
  }
  .top-inner {
    flex-wrap: wrap;
    padding: .75rem 0;
    gap: .7rem;
  }
  .topbar nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: .55rem;
  }
  .hero,.delivery-grid,.contact {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 1.1rem;
    padding-top: 1.5rem;
  }
  .hero h1 {
    font-size: clamp(3.9rem,15vw,6rem);
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy>p:not(.eyebrow) {
    margin: 1rem 0;
  }
  .hero-photo {
    margin: 0;
  }
  .ribbon .shell {
    justify-content: center;
    flex-wrap: wrap;
    font-size: .79rem;
  }
  .ribbon span:nth-last-child(-n+2) {
    display: none;
  }
  .contact {
    align-items: start;
  }
  .map {
    height: 280px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    justify-content: flex-start;
  }
  .map-controls .button {
    font-size: .92rem;
  }
  .section-heading {
    align-items: start;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}
