:root {
  --ink: #171512;
  --muted: #6e665d;
  --line: #e8e0d6;
  --paper: #fffaf3;
  --white: #ffffff;
  --ember: #b63722;
  --ember-dark: #8e2719;
  --olive: #596b3a;
  --charcoal: #24211d;
  --shadow: 0 20px 60px rgba(27, 20, 12, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 clamp(16px, 4vw, 32px);
  background: rgba(255, 250, 243, 0.94);
  border-bottom: 1px solid rgba(36, 33, 29, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner,
.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  display: block;
  width: min(184px, 48vw);
  max-height: 58px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--ember);
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ember);
}

.nav-cta {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  background: var(--white);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 800;
}

.hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: clamp(76px, 12vw, 142px) clamp(18px, 4vw, 56px) clamp(46px, 7vw, 82px);
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(17, 14, 10, 0.56), rgba(17, 14, 10, 0.46)),
    var(--hero-image) center / cover;
}

.hero-content {
  width: min(820px, calc(100vw - 36px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ember);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcc8a;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 auto;
  max-width: min(740px, 100%);
  font-size: clamp(42px, 8vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--ember);
}

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

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary {
  color: var(--ember);
  border-color: var(--line);
  background: var(--paper);
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(16px, 4vw, 32px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.center-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.center-heading p:not(.eyebrow) {
  margin: 12px auto 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading h2,
.split-section h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

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

.home-menu-preview {
  padding: clamp(54px, 8vw, 90px) clamp(16px, 4vw, 32px);
  background: var(--white);
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.64));
}

.category-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.category-card:hover img {
  transform: scale(1.04);
}

.dish-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dish-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-card > div {
  padding: 18px;
}

.dish-title,
.menu-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dish-title h3,
.menu-row h4 {
  margin: 0;
  font-size: 18px;
}

.dish-title strong,
.menu-row strong {
  color: var(--ember);
  white-space: nowrap;
}

.dish-card p,
.menu-row p,
.split-section p,
.contact-band p,
.footer p {
  color: var(--muted);
  line-height: 1.6;
}

.menu-section {
  background: var(--white);
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.menu-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  overflow-x: auto;
  padding: 0 0 18px;
  margin: -4px auto 22px;
}

.menu-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--paper);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-tabs button.is-active {
  color: var(--white);
  border-color: var(--ember);
  background: var(--ember);
}

.tabbed-menu {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.tabbed-menu .menu-category {
  display: none;
}

.tabbed-menu .menu-category.is-active {
  display: block;
}

.menu-category {
  padding-top: 22px;
  border-top: 2px solid var(--charcoal);
}

.menu-category h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.menu-items {
  display: grid;
  gap: 4px;
}

.menu-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.menu-row-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.menu-thumb-button {
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}

.menu-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.menu-thumb-button:hover .menu-thumb {
  transform: scale(1.04);
}

.menu-row p {
  margin: 7px 0 0;
}

.empty-state {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fffdf9;
}

.menu-empty-note {
  margin: 0;
  padding: 14px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.split-section {
  padding: clamp(54px, 8vw, 92px) clamp(16px, 4vw, 32px);
  background: #f2eee5;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 7vw, 90px);
}

.split-section p {
  margin: 0;
  font-size: 18px;
}

.contact-band {
  padding: clamp(42px, 7vw, 72px) clamp(16px, 4vw, 32px);
  color: var(--white);
  background: var(--olive);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 28px clamp(16px, 4vw, 32px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--charcoal);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer strong,
.footer a {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.image-modal.is-open {
  display: grid;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 14, 10, 0.74);
  cursor: zoom-out;
}

.image-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.image-modal-dialog img {
  width: min(50vw, 760px);
  max-height: 78vh;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
}

.image-modal-dialog p {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.image-modal-close {
  justify-self: end;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.reservation-page {
  background: var(--paper);
}

.reservation-hero {
  padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 32px);
  color: var(--white);
  background:
    linear-gradient(rgba(17, 14, 10, 0.72), rgba(17, 14, 10, 0.52)),
    url('/assets/media/family-mixed-kebab.jpg') center / cover;
}

.reservation-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: end;
}

.reservation-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
}

.reservation-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
}

.reservation-info {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.reservation-info span {
  color: rgba(255, 255, 255, 0.82);
}

.reservation-layout {
  display: grid;
  place-items: center;
}

.reservation-form {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reservation-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

.reservation-price {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.reservation-add-item {
  align-self: end;
  min-height: 47px;
}

.reservation-selected-items {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}

.reservation-selected-items p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.selected-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.selected-item-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.selected-item-row span {
  font-weight: 800;
}

.selected-item-row strong,
.selected-item-row em {
  color: var(--muted);
  font-style: normal;
  white-space: nowrap;
}

.selected-item-row button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ember);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.reservation-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.reservation-price strong {
  color: var(--ember);
  font-size: 24px;
}

.reservation-notes,
.reservation-form .button,
.form-alert {
  grid-column: 1 / -1;
}

.form-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-alert.success {
  color: var(--olive);
  background: #eef8ef;
}

.form-alert.error {
  color: #9a1d1d;
  background: #fff0f0;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 50%;
    right: auto;
    width: min(360px, calc(100vw - 32px));
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .featured-grid,
  .menu-layout,
  .split-inner {
    grid-template-columns: 1fr;
  }

  .category-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 68vh;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: min(150px, 46vw);
  }

  .category-showcase {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 330px;
    font-size: clamp(32px, 9.4vw, 37px);
    line-height: 1;
  }

  .hero p:not(.eyebrow) {
    max-width: 286px;
    font-size: 17px;
  }

  .hero-actions {
    max-width: 320px;
    margin-inline: auto;
  }

  .center-heading p:not(.eyebrow) {
    max-width: 310px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    padding-inline: 12px;
  }

  .category-card {
    min-height: 220px;
  }

  .dish-title,
  .menu-row {
    flex-direction: column;
    gap: 8px;
  }

  .menu-row-main {
    width: 100%;
  }

  .menu-thumb-button {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }

  .image-modal-dialog img {
    width: min(88vw, 520px);
    max-height: 72vh;
  }

  .reservation-hero-inner,
  .reservation-form {
    grid-template-columns: 1fr;
  }

  .selected-item-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
