:root {
  --cream: #fff8e9;
  --cream-2: #f7ead0;
  --wine: #5b0d14;
  --wine-2: #7d1720;
  --gold: #c88a18;
  --gold-soft: #f5dfaa;
  --ink: #2d2926;
  --muted: #6f665f;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(65, 35, 20, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  background: var(--wine);
  color: #fff2d2;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
}

.site-header h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.eyebrow {
  margin: 3px 0 0;
  color: #f5c85f;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.header-contact {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: .9rem;
}

.header-contact a {
  font-weight: 700;
  text-decoration: none;
}

.header-contact span {
  color: #f6cb68;
  font-size: .78rem;
  margin-top: 2px;
}

.hero {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    url("https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=1800&q=85")
    center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,10,6,.78), rgba(26,10,6,.48));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  max-width: 760px;
}

.hero h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 7vw, 4.7rem);
  line-height: 1.03;
}

.hero p {
  margin: 18px auto 26px;
  color: #f7d98d;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.primary-btn,
.order-btn {
  border: 0;
  border-radius: 10px;
  background: var(--wine-2);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.primary-btn {
  display: inline-block;
  padding: 12px 20px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.primary-btn:hover,
.order-btn:hover {
  background: #961e29;
  transform: translateY(-1px);
}

.section { padding: 64px 0; }

.chef-card {
  display: grid;
  grid-template-columns: minmax(280px, 34%) 1fr;
  background: var(--card);
  border: 1px solid #edd7a8;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chef-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.chef-copy {
  align-self: center;
  padding: clamp(28px, 5vw, 52px);
}

.pill {
  display: inline-block;
  background: var(--gold-soft);
  color: #7a4d05;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 999px;
}

.chef-copy h2,
.section-heading h2 {
  font-family: "Playfair Display", serif;
  color: #211e1b;
}

.chef-copy h2 {
  margin: 14px 0 4px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.chef-title {
  margin-top: 0;
  color: #a3660f;
  font-weight: 700;
}

.menu-section { padding-top: 18px; }

.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.menu-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid #eadfd5;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(61, 36, 23, .08);
}

.menu-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.menu-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.menu-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  line-height: 1.35;
}

.menu-card p {
  color: var(--muted);
  font-size: .91rem;
  margin: 0;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #efe7e0;
}

.price {
  color: #74450a;
  font-size: 1.25rem;
  font-weight: 800;
}

.order-btn {
  padding: 10px 13px;
  font-size: .88rem;
}

.order-btn[disabled] {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.checkout-message {
  min-height: 28px;
  margin: 24px auto 0;
  text-align: center;
  color: #8b1a24;
  font-weight: 600;
}

.site-footer {
  margin-top: 60px;
  border-top: 5px solid var(--gold);
  background: #201d1b;
  color: #d8d0ca;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 34px;
}

.site-footer h3 {
  color: white;
  margin: 0 0 10px;
}

.site-footer p { margin: 5px 0; }

.site-footer a { color: #f3ddaa; }

.copyright {
  padding: 17px 0 22px;
  border-top: 1px solid #37312d;
  color: #8f8580;
  text-align: center;
  font-size: .78rem;
}

.success-shell {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
  padding: 60px 16px;
}

.success-card {
  width: min(640px, 100%);
  padding: clamp(28px, 6vw, 48px);
  background: #fff;
  border: 1px solid #edd7a8;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.success-mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 2rem;
  font-weight: 900;
}

.success-card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 12px;
}

@media (max-width: 920px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chef-card { grid-template-columns: 1fr; }
  .chef-card img { height: 340px; min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1120px); }
  .header-inner { align-items: flex-start; flex-direction: column; }
  .header-contact { text-align: left; }
  .hero { min-height: 380px; }
  .section { padding: 44px 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card img { height: 230px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}


.checkout-modal[hidden] { display: none; }

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 8, .72);
  backdrop-filter: blur(3px);
}

.checkout-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  background: #fffdf8;
  border: 1px solid #e8cf98;
  border-radius: 22px;
  padding: 34px 28px 28px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.3);
}

.checkout-dialog h2 {
  margin: 6px 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #2d2926;
}

.checkout-dialog p {
  margin: 0;
  color: #6f665f;
}

.modal-icon {
  font-size: 2.4rem;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #6f665f;
}

.modal-ok {
  margin-top: 20px;
}
