:root {
  --bg: #140e0a;
  --ink: #24160f;
  --cream: #f6efe4;
  --paper: #f3e2c4;
  --paper-2: #e7d3aa;
  --chile: #d7263d;
  --chile-dark: #9f1c2e;
  --marigold: #e9a825;
  --muted: #8d705c;
  --line: rgba(36, 22, 15, 0.14);
  --focus: #e9a825;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: Fraunces, serif; font-weight: 560; letter-spacing: -0.03em; line-height: 0.96; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--marigold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px 32px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.55), rgba(20, 14, 10, 0));
}
.logo {
  font-family: Fraunces, serif;
  font-weight: 680;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav { position: relative; }
.nav summary {
  display: none;
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(246, 239, 228, 0.4);
  padding: 8px 14px;
  border-radius: 999px;
}
.nav summary::-webkit-details-marker { display: none; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--marigold); }
#nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--chile);
  color: white;
  font-size: 0.75rem;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--bg);
  color: var(--cream);
}
.hero-copy {
  padding: calc(var(--header) + 36px) 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  max-width: 720px;
}
.eyebrow {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--marigold);
}
.hero h1 { font-size: clamp(4rem, 7vw, 7.2rem); font-weight: 560; }
.lede { font-size: 1.2rem; max-width: 38ch; color: #f3e6d4; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: #d9c3a6; font-size: 0.95rem; }
.meta span { border-top: 1px solid rgba(233, 168, 37, 0.5); padding-top: 6px; }
.hero-link {
  align-self: flex-start;
  text-decoration: none;
  background: var(--chile);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.hero-link:hover { background: var(--chile-dark); }
.hero-photo { position: relative; min-height: 320px; background: #3a2418; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.stamp {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 132px;
  height: 132px;
  border: 2px dashed var(--marigold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--marigold);
  background: rgba(20, 14, 10, 0.35);
  transform: rotate(8deg);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px;
}
.stamp span { display: block; letter-spacing: 0.02em; text-transform: none; font-family: Fraunces, serif; font-style: italic; font-size: 0.95rem; }

.order-wrap { padding: 64px 28px 40px; }
.order {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}
.section-head { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.section-head p { margin-top: 8px; color: var(--muted); max-width: 46ch; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cats button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 44px;
}
.cats button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4px 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.item-hit {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  gap: 2px;
  align-content: center;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 4px 0;
  min-height: 44px;
}
.item-name { font-family: Fraunces, serif; font-weight: 560; font-size: 1.55rem; letter-spacing: -0.03em; line-height: 0.96; }
.item-hit:hover .item-name { color: var(--chile-dark); }
.item-note { color: var(--muted); font-size: 0.98rem; }
.price { font-family: Fraunces, serif; font-style: italic; font-size: 1.25rem; grid-column: 2; grid-row: 1; }
.add {
  grid-column: 3;
  grid-row: 1 / span 2;
  border: 0;
  background: var(--chile);
  color: white;
  min-width: 72px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.add:hover { background: var(--chile-dark); }
.add[data-on="true"] { background: var(--ink); }

.cart {
  background: var(--paper);
  color: var(--ink);
  padding: 22px 20px 18px;
  position: sticky;
  top: 16px;
  box-shadow: 0 16px 40px rgba(36, 22, 15, 0.08);
  background-image: radial-gradient(circle at 12px 12px, transparent 10px, var(--paper) 11px);
}
.cart h2 { font-size: 2rem; }
.cart-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--chile-dark);
  margin-bottom: 4px;
}
.cart-empty { color: var(--muted); margin: 18px 0; }
.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(36, 22, 15, 0.25);
}
.line strong { font-weight: 600; }
.line-detail, .line-note { grid-column: 1 / -1; }
.line-detail { color: var(--muted); font-size: 0.88rem; }
.line-note { font-size: 0.9rem; font-family: Fraunces, serif; font-style: italic; }
.ticket-detail { display: block; color: var(--muted); font-size: 0.88rem; }
.stepper { display: flex; align-items: center; gap: 6px; grid-column: 1 / -1; }
.stepper button, .text-btn {
  border: 1px solid var(--line);
  background: transparent;
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
}
.totals { display: flex; justify-content: space-between; margin: 16px 0 10px; font-family: Fraunces, serif; font-size: 1.45rem; }
label.note { display: grid; gap: 6px; font-size: 0.9rem; margin: 8px 0 12px; }
textarea, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 10px 12px;
  border-radius: 10px;
}
.primary {
  width: 100%;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  min-height: 48px;
  border-radius: 999px;
  font-weight: 600;
}
.primary:hover { background: #3a2418; }
.primary:disabled { opacity: 0.45; cursor: not-allowed; }
.ticket { display: grid; gap: 8px; }
.ticket ol { margin: 8px 0; padding-left: 18px; }
.ticket-no { font-family: Fraunces, serif; font-size: 1.8rem; }

.customizer {
  position: fixed;
  inset: 0;
  z-index: 40;
}
.customizer[hidden] { display: none; }
.customizer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 10, 0.58);
}
.customizer-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100%);
  margin-inline: auto;
  max-height: calc(100% - 12px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px 22px 0 0;
  padding: 22px 18px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 50px rgba(20, 14, 10, 0.28);
}
.customizer-head { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; margin-bottom: 14px; }
.customizer-head .eyebrow { grid-column: 1; }
.customizer-head h2 { grid-column: 1; font-size: clamp(2.1rem, 6vw, 3rem); }
.customizer-head .item-note { grid-column: 1; }
.customizer-close {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  font-size: 1.4rem;
  line-height: 1;
}
.customizer fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.customizer legend {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chile-dark);
  margin-bottom: 8px;
  padding: 0;
}
.field-hint { color: var(--muted); font-size: 0.88rem; margin: -2px 0 8px; }
.options { display: grid; gap: 8px; }
.option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.option:has(input:checked) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.opt-price { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.option:has(input:checked) .opt-price { color: var(--marigold); }
.customizer-live { flex: 1 0 100%; margin: 0; font-family: Fraunces, serif; font-size: 1.35rem; }
.customizer-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(243, 226, 196, 0), var(--paper) 28%);
}
.customizer-actions .primary { flex: 1 1 200px; width: auto; }
.customizer-actions .stepper { grid-column: auto; }
.customizer-actions .stepper input[type="number"] {
  width: 3.2rem;
  min-height: 44px;
  text-align: center;
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.45);
  -moz-appearance: textfield;
  appearance: textfield;
}
.customizer-actions .stepper input[type="number"]::-webkit-outer-spin-button,
.customizer-actions .stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.modal-open { overflow: hidden; }

.visit {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px 72px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}
.visit h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 10px; }
.visit p + p { margin-top: 10px; }
.hours { margin: 0; display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

.site-footer {
  background: var(--bg);
  color: #d9c3a6;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.concept-note { font-size: 0.78rem; opacity: 0.8; }
.concept-note a { color: var(--marigold); }

@media (min-width: 720px) {
  .customizer { display: grid; place-items: center; padding: 24px; }
  .customizer-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-height: min(86vh, 820px);
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .customizer-panel { animation: sheet 0.2s ease-out; }
  @keyframes sheet {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { min-height: 320px; }
  .hero-photo img { position: relative; height: 320px; }
  .hero-copy { padding: 28px 22px 36px; }
  .order, .visit { grid-template-columns: 1fr; }
  .cart { position: static; }
  .order-wrap, .visit { padding-left: 18px; padding-right: 18px; }
  .nav summary { display: inline-flex; }
  .nav:not([open]) nav { display: none; }
  .nav[open] nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 46px;
    background: #2a1b12;
    padding: 12px 14px;
    min-width: 180px;
    border-radius: 12px;
    gap: 10px;
  }
  .menu-item { grid-template-columns: 1fr auto; }
  .item-hit { grid-row: 1; grid-column: 1; }
  .price { grid-column: 1; grid-row: 2; justify-self: start; }
  .menu-item .add { grid-column: 2; grid-row: 1 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .customizer-panel { animation: none; }
}
