:root {
  --paper: #f6efe4;
  --paper-strong: #efe2d1;
  --ink: #17120f;
  --muted: #6d6158;
  --line: #ddd0c0;
  --card: #fffaf4;
  --gold: #b9823d;
  --green: #4f714e;
  --red: #9d3f32;
  --shadow: 0 22px 60px rgba(35, 22, 12, 0.14);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 18, 15, 0.1);
  background: rgba(246, 239, 228, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.cart-pill,
.icon-button {
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(255, 250, 244, 0.82);
  color: var(--ink);
}

.main-nav a {
  padding: 10px 13px;
  font-size: 14px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-weight: 800;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}

.cart-pill strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: min(740px, calc(100vh - 64px));
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 12, 10, 0.8), rgba(16, 12, 10, 0.38) 58%, rgba(16, 12, 10, 0.18)),
    linear-gradient(0deg, rgba(16, 12, 10, 0.68), rgba(16, 12, 10, 0.05) 50%);
}

.hero-content {
  width: min(760px, 100%);
  padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px);
  color: #fff;
}

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

.hero .eyebrow {
  color: #f2c37d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.9;
}

h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
}

.hero-subtitle {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero-actions,
.section-heading,
.menu-heading,
.drawer-header,
.cart-header,
.cart-total {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.full {
  width: 100%;
}

.intro-section,
.featured-section,
.menu-section,
.contact-section,
.reservation-section {
  padding: clamp(56px, 8vw, 100px) clamp(18px, 4vw, 56px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 560px);
  gap: 34px;
  align-items: end;
  background: var(--ink);
  color: #fff;
}

.intro-copy p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.info-strip div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.info-strip div:last-child {
  border-right: 0;
}

.info-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-strip strong {
  display: block;
  margin-top: 7px;
  line-height: 1.35;
}

.section-heading,
.menu-heading {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2,
.menu-heading h2 {
  margin-bottom: 0;
}

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

.featured-card,
.menu-card,
.cart-panel,
.drawer {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.featured-card {
  overflow: hidden;
}

.featured-card img,
.menu-card img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.featured-card img {
  height: 260px;
}

.featured-card div {
  padding: 18px;
}

.featured-card h3,
.menu-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.featured-card p,
.menu-card p,
.menu-heading p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.menu-section {
  background: #fff7ee;
}

.menu-heading p {
  max-width: 470px;
  margin-bottom: 0;
}

.menu-tools {
  position: sticky;
  top: 73px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  background: #fff7ee;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0 14px;
  color: var(--ink);
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-tabs button {
  flex: 0 0 auto;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  padding: 0 14px;
  font-weight: 800;
}

.category-tabs button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  margin-top: 20px;
}

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

.menu-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 184px;
  overflow: hidden;
}

.menu-card img {
  height: 100%;
}

.menu-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
}

.menu-card-top,
.menu-card-bottom,
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.menu-card h3 {
  margin-bottom: 3px;
}

.menu-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.menu-card select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 10px;
}

.price {
  white-space: nowrap;
  color: var(--red);
  font-weight: 900;
}

.label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dish-label {
  border: 1px solid rgba(79, 113, 78, 0.25);
  background: rgba(79, 113, 78, 0.1);
  color: var(--green);
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.add-button {
  min-height: 40px;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
}

.cart-panel {
  position: sticky;
  top: 156px;
  padding: 18px;
}

.cart-header,
.cart-total {
  justify-content: space-between;
  gap: 12px;
}

.cart-header h3,
.drawer-header h2 {
  margin-bottom: 0;
}

.cart-header span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.cart-items {
  display: grid;
  gap: 10px;
  min-height: 112px;
  margin: 18px 0;
}

.empty-cart {
  align-self: center;
  color: var(--muted);
  text-align: center;
}

.cart-line {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.cart-line-main,
.cart-line-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-line-title {
  min-width: 0;
}

.cart-line-title strong,
.cart-line-title small {
  display: block;
}

.cart-line-title small {
  color: var(--muted);
}

.quantity-control button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
}

.cart-total {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-size: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

.reservation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 26px;
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.reservation-copy {
  position: sticky;
  top: 110px;
}

.reservation-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.reservation-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 250, 244, 0.08);
  padding: clamp(18px, 3vw, 28px);
}

.reservation-form .form-grid input,
.reservation-form .form-grid select,
.reservation-form .form-grid textarea {
  border-color: rgba(255, 255, 255, 0.18);
}

.reservation-form .form-grid label,
.reservation-form .allergy-note {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy {
  align-self: center;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 800;
}

.map {
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--line);
  filter: saturate(0.9) contrast(1.02);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.mobile-cart-button {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 18;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0 18px;
  box-shadow: 0 16px 44px rgba(18, 38, 18, 0.32);
  font-weight: 900;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(23, 18, 15, 0.45);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 31;
  width: min(520px, 100%);
  padding: 18px;
  overflow-y: auto;
  transform: translateX(104%);
  transition: transform 180ms ease;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

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

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

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 12px;
}

.allergy-note,
.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-message.success {
  color: var(--green);
  font-weight: 900;
}

.form-message.error {
  color: var(--red);
  font-weight: 900;
}

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

@media (max-width: 1100px) {
  .menu-layout {
    grid-template-columns: 1fr;
  }

  .desktop-cart {
    display: none;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .mobile-cart-button {
    display: flex;
  }
}

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

  .brand small,
  .main-nav a,
  #cartOpenTop {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-bottom: 92px;
  }

  .intro-section,
  .contact-section,
  .reservation-section {
    grid-template-columns: 1fr;
  }

  .reservation-copy {
    position: static;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .info-strip div:last-child {
    border-bottom: 0;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .menu-heading,
  .section-heading {
    display: block;
  }

  .menu-heading p {
    margin-top: 12px;
  }

  .menu-tools {
    top: 65px;
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding-bottom: 88px;
  }

  .site-footer {
    display: grid;
    padding-bottom: 84px;
  }
}

@media (max-width: 560px) {
  .hero-actions .button {
    width: 100%;
  }

  .menu-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 176px;
  }

  .menu-card-content {
    padding: 12px;
  }

  .menu-card h3 {
    font-size: 20px;
  }

  .menu-card p {
    min-height: 44px;
    font-size: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
