:root {
  --ink: #090909;
  --card: #171716;
  --card-soft: #20201e;
  --gold: #ffc400;
  --gold-hot: #ffdc3e;
  --cream: #fff8df;
  --muted: #aaa492;
  --line: rgba(255,255,255,.12);
  --red: #e94b28;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--cream);
  background: radial-gradient(circle at 82% 3%, rgba(255,196,0,.11), transparent 27rem), var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input { font: inherit; }
a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
}
.skip-link:focus { top: 16px; }

.menu-topbar, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.menu-topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.brand .crown {
  width: 48px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--gold);
  font-size: 27px;
  transform: rotate(-3deg);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; line-height: 1; }
.brand small { margin-top: 5px; color: var(--gold); font-size: 9px; letter-spacing: .28em; font-weight: 850; }
.menu-topbar nav { display: flex; align-items: center; gap: 12px; }
.menu-topbar nav a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #4a473f;
  border-radius: 8px;
  color: var(--cream);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
.menu-topbar nav a:hover, .menu-topbar nav a:focus-visible { border-color: var(--gold); color: var(--gold); }
.menu-topbar .builder-link { color: var(--ink); border-color: var(--gold); background: var(--gold); }
.menu-topbar .builder-link:hover, .menu-topbar .builder-link:focus-visible { color: var(--ink); background: var(--gold-hot); }

.menu-hero {
  min-height: 330px;
  padding: 64px 0 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.kicker { color: var(--gold); font-size: 12px; font-weight: 950; letter-spacing: .16em; }
.menu-hero h1 {
  margin: 10px 0 14px;
  color: var(--gold);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(64px, 10vw, 132px);
  line-height: .82;
  letter-spacing: .01em;
  text-shadow: 6px 6px 0 rgba(233,75,40,.9);
}
.menu-hero p { max-width: 640px; margin: 0; color: #d6d0bd; font-size: 18px; line-height: 1.65; }
.menu-count-card {
  min-width: 170px;
  padding: 22px;
  display: grid;
  border: 1px solid rgba(255,196,0,.55);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,196,0,.1), transparent), #151513;
}
.menu-count-card small { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.menu-count-card strong { margin-top: 8px; font-size: 48px; line-height: 1; }
.menu-count-card span { color: var(--muted); font-size: 12px; }

.menu-toolbar {
  padding: 18px 0 22px;
}
.search-box {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #48453e;
  border-radius: 10px;
  background: #171715;
}
.search-box span { color: var(--gold); font-size: 24px; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--cream); background: transparent; font-size: 16px; }
.search-box input::placeholder { color: #716d63; }
.menu-category-signs { padding: 12px 0 34px; }
.menu-category-signs > h2 {
  margin: 0 0 25px;
  color: #5d4326;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: .95;
  letter-spacing: .035em;
}
.category-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 20px;
  overflow: visible;
}
.category-sign {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 174px;
  padding: 12px;
  border: 1px solid #321b0e;
  border-radius: 7px;
  color: #f7e7c6;
  background:
    repeating-linear-gradient(177deg, transparent 0 14px, rgba(255,220,156,.055) 15px, transparent 17px 30px),
    repeating-linear-gradient(4deg, transparent 0 31px, rgba(15,7,3,.18) 32px, transparent 34px 50px),
    linear-gradient(112deg, #4a2814 0%, #70401f 20%, #3a1d10 52%, #5c3218 78%, #32190e 100%);
  box-shadow: inset 0 1px 0 rgba(255,232,187,.3), inset 0 -4px 0 rgba(13,7,3,.52), 0 10px 16px rgba(49,32,15,.24), 0 2px 0 #2a160c;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.category-sign::after {
  position: absolute;
  z-index: -1;
  inset: 6px;
  border: 1px solid rgba(230,190,126,.26);
  border-radius: 4px;
  content: "";
  pointer-events: none;
}
.sign-rope {
  position: absolute;
  z-index: -1;
  top: -29px;
  width: 9px;
  height: 39px;
  border: 1px solid #6f542e;
  border-radius: 6px;
  background: repeating-linear-gradient(135deg, #d3b47c 0 2px, #8b6b3d 2px 4px, #c8a772 4px 6px);
  box-shadow: 1px 2px 3px rgba(34,21,11,.35);
}
.sign-rope-left { left: 15%; transform: rotate(-7deg); }
.sign-rope-right { right: 15%; transform: rotate(7deg); }
.sign-content {
  position: relative;
  min-height: 148px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 12px;
}
.sign-photo {
  height: 126px;
  min-width: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: transparent;
}
.sign-photo img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  mix-blend-mode: normal;
  filter: brightness(1.06) saturate(1.08) contrast(1.02);
}
.sign-photo-placeholder { color: #e2bc79; font-size: 34px; text-shadow: 0 2px 4px #170b04; }
.sign-title {
  align-self: center;
  padding: 0 23px 10px 0;
  color: #f8edda;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: .025em;
  text-shadow: 0 2px 1px rgba(10,5,2,.72), 1px 0 rgba(255,239,208,.08);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.sign-arrow {
  position: absolute;
  right: 9px;
  bottom: 7px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,244,222,.82);
  border-radius: 50%;
  color: #fff5df;
  font-size: 22px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}
.category-sign:hover,
.category-sign:focus-visible,
.category-sign.is-selected {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,232,187,.35), inset 0 -4px 0 rgba(13,7,3,.52), 0 13px 20px rgba(49,32,15,.29), 0 2px 0 #2a160c;
  outline: 2px solid #d3ae69;
  outline-offset: 3px;
}
.category-sign:hover .sign-arrow,
.category-sign:focus-visible .sign-arrow { transform: translateX(3px); background: rgba(255,242,218,.13); }
.category-sign:active { transform: translateY(1px) scale(.99); }
.category-heading-actions { display: grid; justify-items: end; gap: 8px; }
.category-back-link { color: #76562f; font-size: 11px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.category-back-link:hover, .category-back-link:focus-visible { color: #27190e; text-decoration: underline; }

.menu-state { margin: 42px 0; padding: 34px; border: 1px dashed #45423c; border-radius: 14px; color: var(--muted); text-align: center; }
.menu-list { padding: 48px 0 88px; display: grid; gap: 62px; }
.menu-category { scroll-margin-top: 92px; }
.category-heading { margin-bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.category-heading h2 {
  margin: 6px 0 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: .95;
  text-transform: uppercase;
}
.category-heading span { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.category-heading small { color: var(--muted); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #3e3b35;
  border-radius: 17px;
  background: var(--card);
  transition: transform 170ms ease, border-color 170ms ease;
}
.product-card:hover { transform: translateY(-3px); border-color: rgba(255,196,0,.55); }
.product-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #22211e; }
.product-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 280ms ease; }
.product-media > span:not(.featured-badge) { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold); font-size: 54px; }
.product-card:hover img { transform: scale(1.035); }
.featured-badge { position: absolute; left: 12px; top: 12px; padding: 6px 8px; border-radius: 999px; color: var(--ink); background: var(--gold); font-size: 9px; font-weight: 950; }
.product-copy { min-height: 184px; padding: 17px; display: grid; grid-template-rows: auto 1fr auto; }
.product-copy h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.product-copy p { margin: 10px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; white-space: pre-line; }
.product-copy strong { color: var(--gold); font-size: 23px; }
.product-order-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu-add-to-cart {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--gold);
  border-radius: 9px;
  color: var(--ink);
  background: var(--gold);
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}
.menu-add-to-cart:hover, .menu-add-to-cart:focus-visible { background: var(--gold-hot); outline: 2px solid #fff0a6; outline-offset: 2px; }
.menu-not-orderable { color: var(--muted); font-size: 9px; font-weight: 900; text-align: right; }
.no-results { grid-column: 1 / -1; padding: 34px; border: 1px dashed #45423c; border-radius: 14px; color: var(--muted); text-align: center; }

footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
footer a { color: var(--cream); text-decoration: none; }
footer a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .menu-category { scroll-margin-top: 20px; }
}
@media (max-width: 600px) {
  .menu-topbar, main, footer { width: calc(100% - 28px); }
  .menu-topbar { align-items: flex-start; padding: 14px 0; }
  .brand strong { font-size: 14px; }
  .menu-topbar nav a:first-child { display: none; }
  .menu-topbar nav a { min-height: 38px; padding: 0 10px; font-size: 10px; }
  .menu-hero { min-height: 220px; padding: 45px 0 15px; align-items: flex-start; flex-direction: column; }
  .menu-hero h1 { font-size: 64px; }
  .menu-hero p { font-size: 16px; }
  .menu-toolbar { padding: 10px 0 22px; }
  .menu-category-signs { padding: 0 0 24px; }
  .menu-category-signs > h2 { margin-bottom: 23px; font-size: 27px; }
  .category-nav { gap: 29px 12px; }
  .category-sign { min-height: 135px; padding: 8px; }
  .sign-rope { top: -24px; height: 32px; width: 7px; }
  .sign-content { min-height: 117px; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 7px; }
  .sign-photo { height: 96px; }
  .sign-title { padding: 0 19px 8px 0; font-size: clamp(12px, 3.2vw, 15px); line-height: 1.02; overflow-wrap: normal; word-break: normal; }
  .sign-arrow { width: 25px; height: 25px; right: 7px; bottom: 6px; font-size: 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-copy { min-height: 0; }
  .category-heading h2 { font-size: 38px; }
  .category-heading-actions { gap: 6px; }
  .category-back-link { font-size: 10px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}
