@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --charcoal: #231F1C;
  --turmeric: #E8A33D;
  --chili: #C1442B;
  --cream: #FAF3E7;
  --sage: #7A8B6F;
  --line: rgba(35, 31, 28, 0.12);

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Lora', serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  line-height: 1.5;
}

a { color: inherit; }

/* --- Header --- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 2px solid var(--charcoal);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 20;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.brand span { color: var(--chili); }

.cart-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  padding: 10px 18px;
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-count {
  background: var(--turmeric);
  color: var(--charcoal);
  border-radius: 100px;
  padding: 1px 8px;
  font-weight: 600;
}

/* --- Hero --- */
.hero {
  padding: 64px 32px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sage);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  margin: 12px 0 16px;
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  color: var(--chili);
}
.hero p {
  max-width: 480px;
  margin: 0 auto 28px;
  color: rgba(35,31,28,0.75);
  font-size: 17px;
}
.hero-cta {
  display: inline-block;
  background: var(--chili);
  color: var(--cream);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 4px 0 rgba(35,31,28,0.9);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.hero-cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(35,31,28,0.9); }

/* Steam divider - signature element */
.steam-divider {
  width: 100%;
  height: 28px;
  display: block;
}
.steam-divider path {
  stroke: var(--charcoal);
  stroke-width: 2;
  fill: none;
  opacity: 0.35;
}

/* --- Menu --- */
.menu-section { padding: 8px 24px 64px; max-width: 1080px; margin: 0 auto; }

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.category-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  background: transparent;
  border: 1.5px solid var(--charcoal);
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.category-tab.active {
  background: var(--charcoal);
  color: var(--cream);
}

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

.menu-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.menu-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.menu-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.menu-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.veg-dot {
  width: 12px; height: 12px;
  border: 1.5px solid var(--sage);
  display: inline-block;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
  margin-top: 4px;
}
.veg-dot::after {
  content: '';
  position: absolute; inset: 2px;
  background: var(--sage);
  border-radius: 50%;
}
.veg-dot.nonveg { border-color: var(--chili); }
.veg-dot.nonveg::after { background: var(--chili); border-radius: 0; clip-path: polygon(50% 0, 0 100%, 100% 100%); }

.menu-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.menu-card p {
  font-size: 13.5px;
  color: rgba(35,31,28,0.65);
  margin: 0 0 12px;
  flex: 1;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
}
.add-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--turmeric);
  border: none;
  padding: 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 600;
}
.add-btn:hover { background: var(--chili); color: var(--cream); }
.sold-out {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--chili);
  text-transform: uppercase;
}

/* --- Cart Drawer --- */
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 380px; max-width: 90vw;
  height: 100vh;
  background: var(--cream);
  border-left: 2px solid var(--charcoal);
  z-index: 50;
  transition: right 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 2px solid var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header h2 { font-family: var(--font-display); text-transform: uppercase; margin: 0; }
.close-cart { background: none; border: none; font-size: 22px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-name { font-size: 14px; }
.qty-controls { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); }
.qty-controls button {
  width: 24px; height: 24px;
  border: 1px solid var(--charcoal);
  background: none;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}
.cart-footer { padding: 20px 24px; border-top: 2px solid var(--charcoal); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 16px; margin-bottom: 16px; }
.checkout-btn {
  width: 100%;
  background: var(--chili);
  color: var(--cream);
  border: none;
  padding: 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 15px;
}
.checkout-btn:disabled { background: var(--line); color: rgba(35,31,28,0.4); cursor: not-allowed; }

.overlay {
  position: fixed; inset: 0;
  background: rgba(35,31,28,0.4);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.overlay.open { opacity: 1; pointer-events: all; }

/* --- Footer --- */
.site-footer {
  padding: 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(35,31,28,0.55);
  border-top: 2px solid var(--charcoal);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media (max-width: 640px) {
  .site-header { padding: 16px 20px; }
  .hero { padding: 48px 20px 36px; }
}
