:root {
  --cream: #fff4df;
  --palm: #294f1f;
  --forest: #0b2115;
  --marigold: #ffd447;
  --ink: #151007;
  --page-bg: #0d110c;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
}

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

html, body { margin: 0; padding: 0; }

body {
  background: var(--page-bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Desktop layout (1440 × 960 artboard) ---------- */

.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding-top: 9px;
}

.artwork,
.artwork img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.artwork img {
  object-fit: cover;
  /* Keep the menu badge on the right edge in view when the screen crops the artwork */
  object-position: 100% 20%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.logo { margin: 0; }
.logo img { width: 314px; height: auto; aspect-ratio: 3 / 2; }

.tagline {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.tagline__main { font-size: 19px; line-height: 23px; letter-spacing: 3.7px; }
.tagline__sub  { font-size: 16px; line-height: 21px; letter-spacing: 2.4px; }

.headline {
  position: relative;
  width: 556px;
  height: 132px;
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.headline__brush {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
}
.headline__text {
  position: relative;
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-variation-settings: normal;
  font-size: 84px;
  line-height: 97px;
  letter-spacing: -0.3px;
  color: var(--ink);
  -webkit-text-stroke: 0.65px var(--ink);
  white-space: nowrap;
}

.menu-button {
  width: 220px;
  height: 54px;
  border: 2px solid rgba(255, 244, 223, 0.88);
  border-radius: 8px;
  background: var(--palm);
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
  font: inherit;
  font-variation-settings: inherit;
  font-size: 21px;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.menu-button:hover { background: #33612a; }
.menu-button:active { transform: translateY(1px); }
.menu-button:focus-visible,
.menu-dialog__close:focus-visible,
.contact a:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
}

.spacer { flex: 1 0 24px; }

.contact {
  font-style: normal;
  width: 100%;
  padding: 0 28px 18px;
}
.contact__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
  padding: 0 25px;
  background: var(--forest);
  border: 3px solid var(--marigold);
  border-radius: 39px;
}
.contact__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  white-space: nowrap;
}
.contact__icon { width: 42px; height: 42px; flex: none; }
.contact__divider {
  flex: none;
  width: 1.5px;
  height: 44px;
  background: rgba(255, 212, 71, 0.72);
}
.contact__venue  { font-size: clamp(16px, 1.806vw, 26px); line-height: 1.27; letter-spacing: 0.5px; text-transform: uppercase; }
.contact__address { font-size: clamp(14px, 1.458vw, 21px); line-height: 25px; text-align: center; }
.contact__phone  { font-size: clamp(18px, 2.014vw, 29px); line-height: 34px; }
.contact a:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Squeeze the contact bar a little on small laptops / landscape tablets */
@media (min-width: 768px) and (max-width: 1100px) {
  .contact__bar { gap: 16px; padding: 0 18px; }
  .contact__item { gap: 10px; }
  .contact__icon { width: 34px; height: 34px; }
}

/* ---------- Mobile layout (390 × 697 artboard) ---------- */

@media (max-width: 767px), (orientation: portrait) and (max-width: 1024px) {
  .page { padding-top: 16px; }
  .artwork img { object-position: 100% 50%; }

  .hero { gap: 6px; padding: 0 12px; }

  .logo img { width: 204px; }

  .tagline__main { font-size: 14px; line-height: 18px; letter-spacing: 2.6px; }
  .tagline__sub  { font-size: 12px; line-height: 16px; letter-spacing: 1.25px; }

  .headline { width: 294px; height: 72px; padding-bottom: 8px; }
  .headline__brush { top: 2px; }
  .headline__text {
    font-size: 49px;
    line-height: 63px;
    letter-spacing: -0.2px;
    -webkit-text-stroke-width: 0.42px;
  }

  .menu-button { width: 172px; height: 50px; font-size: 16px; line-height: 21px; }

  /* Room for the food in the artwork: 390/260 of the width, minus the overlaps in the design */
  .spacer { flex: 1 0 auto; min-height: calc(100vw * 260 / 390 - 75px); }

  .contact { padding: 0 16px 20px; }
  .contact__bar {
    flex-direction: column;
    gap: 8px;
    height: auto;
    padding: 14px 18px;
    border-width: 2px;
    border-radius: 22px;
  }
  .contact__item { flex: none; width: 100%; gap: 8px; }
  .contact__icon { width: 28px; height: 28px; }
  .contact__divider { width: 100%; height: 1px; opacity: 0.62; }
  .contact__venue   { font-size: 16px; line-height: 22px; letter-spacing: 0.35px; }
  .contact__address { font-size: 16px; line-height: 21px; }
  .contact__phone   { font-size: 18px; line-height: 24px; }
}

@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
  /* Tablets in portrait: keep the card a comfortable width */
  .contact { max-width: 560px; }
}

/* ---------- Menu overlay ---------- */

.menu-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  width: min(683px, calc(100vw - 24px));
  max-width: none;
  height: auto;
  max-height: none;
  overflow: visible;
}
.menu-dialog::backdrop { background: rgba(5, 8, 5, 0.82); }

.menu-dialog__panel {
  display: flex;
  flex-direction: column;
  max-height: min(930px, calc(100vh - 24px));
  max-height: min(930px, calc(100dvh - 24px));
  background: var(--forest);
  border: 2px solid var(--marigold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.menu-dialog__bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 18px;
  border-bottom: 1px solid rgba(255, 212, 71, 0.45);
}
.menu-dialog__title { margin: 0; font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; }

.menu-dialog__close {
  height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border: 2px solid rgba(255, 244, 223, 0.88);
  border-radius: 8px;
  background: var(--palm);
  color: var(--cream);
  font: inherit;
  font-variation-settings: inherit;
  font-size: 16px;
  cursor: pointer;
}
.menu-dialog__close:hover { background: #33612a; }

.menu-dialog__scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #1a120c;
}
.menu-dialog__image {
  width: 100%;
  height: auto;
  margin: 0 auto;
  cursor: zoom-in;
}
.menu-dialog__scroll.is-zoomed .menu-dialog__image {
  width: 1103px;
  max-width: none;
  cursor: zoom-out;
}

.menu-dialog__hint {
  flex: none;
  margin: 0;
  padding: 6px;
  font-size: 12px;
  text-align: center;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .menu-button { transition: none; }
}
