/* ===================== DESIGN TOKENS ===================== */
:root {
  --color-maroon: #7a1f1f;
  --color-maroon-dark: #591515;
  --color-saffron: #e8792b;
  --color-saffron-light: #f4a94f;
  --color-gold: #e8b23d;
  --color-green: #1f5c3f;
  --color-green-dark: #123c28;
  --color-cream: #fdf6e9;
  --color-cream-2: #f7ead0;
  --color-charcoal: #2a211a;
  --color-charcoal-soft: #4a3d31;
  --color-white: #ffffff;

  --font-display: 'Playfair Display', 'Poppins', serif;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-devanagari: 'Noto Sans Devanagari', sans-serif;

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(42, 33, 26, 0.08);
  --shadow-md: 0 8px 24px rgba(42, 33, 26, 0.12);
  --shadow-lg: 0 16px 40px rgba(42, 33, 26, 0.18);

  --header-height: 76px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 700; }
p { margin: 0 0 var(--space-sm); }
button { font: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-maroon);
  color: var(--color-cream);
  padding: var(--space-2xs) var(--space-sm);
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-saffron), var(--color-saffron-light));
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--color-cream);
  color: var(--color-cream);
}
.btn-outline:hover { background: rgba(253, 246, 233, 0.12); transform: translateY(-2px); }
.btn-lg { padding: 1em 2.1em; font-size: 1rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: var(--header-height);
}
/* Blur layer kept OFF the header itself so it never becomes a containing
   block for the descendant position:fixed mobile drawer. See fleet memory
   feedback_backdrop_filter_breaks_fixed_nav. */
.site-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(122, 31, 31, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 178, 61, 0.25);
}
.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  flex-shrink: 0;
}
.logo-mark { font-size: 1.7rem; line-height: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-cream);
}
.logo-tag {
  font-family: var(--font-devanagari);
  font-size: 0.72rem;
  color: var(--color-gold);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1200;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-cream);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
/* Open state: bars form an X and must stay light against the dark drawer
   behind them. See fleet memory feedback_mobile_nav_x_and_newsletter_overflow. */
.nav-toggle[aria-expanded="true"] span { background: var(--color-cream); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 8, 0.55);
  z-index: 1090; /* below .site-header (1100) so header always wins the root stacking compare */
}
.nav-scrim[hidden] { display: none; }

.main-nav { display: flex; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-links li { display: flex; align-items: center; }
.nav-links a:not(.btn) {
  color: var(--color-cream);
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--space-2xs) 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--color-gold); border-color: var(--color-gold); }
.nav-cta-item { margin-left: var(--space-2xs); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-2xl) 0 var(--space-xl);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 178, 61, 0.28), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(31, 92, 63, 0.35), transparent 50%),
    linear-gradient(155deg, var(--color-maroon-dark) 0%, var(--color-maroon) 45%, var(--color-green-dark) 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    radial-gradient(circle, var(--color-gold) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.hero-inner { max-width: 760px; }
.hero-eyebrow {
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--color-cream);
  line-height: 1.05;
  margin-bottom: var(--space-2xs);
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: var(--space-3xs);
}
.hero-tagline {
  font-family: var(--font-devanagari);
  font-size: 1.4rem;
  color: var(--color-cream);
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.hero-intro {
  color: rgba(253, 246, 233, 0.9);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: var(--space-md);
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  background: rgba(253, 246, 233, 0.12);
  border: 1px solid rgba(232, 178, 61, 0.4);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.stars { color: var(--color-gold); letter-spacing: 1px; font-size: 1.05rem; }
.star-half { opacity: 0.5; }
.rating-text { color: var(--color-cream); font-weight: 600; font-size: 0.9rem; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ===================== SECTION SHARED ===================== */
section { padding: var(--space-2xl) 0; }
.section-eyebrow {
  color: var(--color-saffron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin-bottom: var(--space-2xs);
}
.section-eyebrow-center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--color-maroon);
  margin-bottom: var(--space-md);
}
.section-title-center { text-align: center; }
.section-subtitle {
  text-align: center;
  color: var(--color-charcoal-soft);
  max-width: 620px;
  margin: calc(var(--space-md) * -1) auto var(--space-lg);
  font-size: 1.02rem;
}

.veg-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--color-green);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.veg-dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--color-green);
  border-radius: 50%;
}

/* ===================== ABOUT ===================== */
.about { background: var(--color-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  min-width: 0;
}
.about-grid > * { min-width: 0; }
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-md);
}
.about-badges li {
  background: var(--color-cream-2);
  color: var(--color-maroon);
  font-weight: 600;
  font-size: 0.88rem;
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-pill);
}
.about-info-card {
  background: var(--color-green-dark);
  color: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}
.about-info-card h3 {
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
}
.info-list { margin: 0; }
.info-row {
  padding: var(--space-sm) 0;
  border-top: 1px solid rgba(253, 246, 233, 0.14);
}
.info-row:first-child { border-top: none; padding-top: 0; }
.info-row dt {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 0.2rem;
}
.info-row dd { margin: 0; font-size: 0.92rem; color: rgba(253, 246, 233, 0.92); }

/* ===================== MENU ===================== */
.menu-section { background: var(--color-cream); }

.popular-picks {
  background: linear-gradient(120deg, var(--color-gold), var(--color-saffron-light));
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  min-width: 0;
}
.popular-picks-title {
  font-family: var(--font-heading);
  color: var(--color-maroon-dark);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xs);
}
.popular-picks-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-md);
}
.popular-picks-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-weight: 700;
  color: var(--color-charcoal);
  background: rgba(253, 246, 233, 0.65);
  padding: var(--space-3xs) var(--space-sm);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
}

.tiffin-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-green-dark);
  color: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  min-width: 0;
}
.tiffin-highlight-icon { font-size: 2.6rem; flex-shrink: 0; }
.tiffin-highlight-text { flex: 1 1 240px; min-width: 0; }
.tiffin-highlight-text h3 { font-family: var(--font-display); color: var(--color-gold); font-size: 1.3rem; margin-bottom: 0.2rem; }
.tiffin-highlight-text p { margin: 0; color: rgba(253, 246, 233, 0.9); font-size: 0.95rem; }
.tiffin-highlight-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-gold);
  flex-shrink: 0;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-bottom: var(--space-lg);
  justify-content: center;
}
.menu-tab {
  background: var(--color-white);
  border: 2px solid var(--color-cream-2);
  color: var(--color-charcoal-soft);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6em 1.1em;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.menu-tab:hover { border-color: var(--color-saffron); color: var(--color-maroon); }
.menu-tab.active {
  background: var(--color-maroon);
  border-color: var(--color-maroon);
  color: var(--color-cream);
  box-shadow: var(--shadow-sm);
}

.menu-panels { min-width: 0; }
.menu-panel[hidden] { display: none; }
.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xs) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-2xs);
  padding: var(--space-xs) 0;
  border-bottom: 1px dashed var(--color-cream-2);
  min-width: 0;
}
.menu-list li:last-child { border-bottom: none; }
.item-name {
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 0.98rem;
}
.dots {
  flex: 1 1 auto;
  min-width: 8px;
  border-bottom: 2px dotted var(--color-cream-2);
  height: 0.6em;
}
.item-price {
  font-weight: 800;
  color: var(--color-maroon);
  font-family: var(--font-heading);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===================== GALLERY ===================== */
.gallery { background: var(--color-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}
.gallery-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  color: var(--color-cream);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
  min-width: 0;
}
.gallery-tile:hover { transform: translateY(-4px) scale(1.02); }
.gt-emoji { font-size: 2.8rem; }
.gt-label { font-weight: 700; font-size: 0.9rem; text-align: center; padding: 0 var(--space-sm); }
.gt-1 { background: linear-gradient(140deg, var(--color-saffron), var(--color-gold)); }
.gt-2 { background: linear-gradient(140deg, var(--color-maroon), var(--color-saffron)); }
.gt-3 { background: linear-gradient(140deg, var(--color-green), var(--color-gold)); }
.gt-4 { background: linear-gradient(140deg, var(--color-maroon-dark), var(--color-green)); }
.gt-5 { background: linear-gradient(140deg, var(--color-gold), var(--color-saffron-light)); }
.gt-6 { background: linear-gradient(140deg, var(--color-saffron), var(--color-maroon)); }
.gt-7 { background: linear-gradient(140deg, var(--color-green-dark), var(--color-saffron)); }
.gt-8 { background: linear-gradient(140deg, var(--color-maroon), var(--color-gold)); }

/* ===================== HOURS & LOCATION ===================== */
.hours-location { background: var(--color-cream); }
.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  min-width: 0;
}
.hl-grid > * { min-width: 0; }
.hl-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.hl-card h3 { font-size: 1.05rem; color: var(--color-maroon); margin-bottom: var(--space-2xs); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: var(--space-3xs) 0; font-weight: 600; }
.hours-table th { color: var(--color-charcoal-soft); font-weight: 600; }
.hours-table td { text-align: right; color: var(--color-maroon); font-weight: 700; }
.hl-note { font-size: 0.88rem; color: var(--color-charcoal-soft); margin: var(--space-2xs) 0 0; }
.hl-card a:hover { color: var(--color-saffron); }
.hl-map {
  position: relative;
  min-height: 380px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hl-map iframe { width: 100%; height: 100%; min-height: 380px; }
.hl-map-directions {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background: var(--color-white);
  color: var(--color-maroon);
  font-weight: 700;
  font-size: 0.85rem;
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.hl-map-directions:hover { background: var(--color-cream-2); }

/* ===================== REVIEWS ===================== */
.reviews { background: var(--color-white); }
.rating-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  justify-content: center;
  width: fit-content;
  margin: 0 auto var(--space-lg);
  background: var(--color-cream-2);
  padding: var(--space-2xs) var(--space-md);
  border-radius: var(--radius-pill);
  font-weight: 700;
  color: var(--color-maroon);
  transition: transform 0.2s ease;
}
.rating-badge .stars { color: var(--color-saffron); }
.rating-badge:hover { transform: translateY(-2px); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.review-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: 0;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-gold);
  min-width: 0;
}
.review-card p { font-style: italic; color: var(--color-charcoal); margin-bottom: var(--space-sm); }
.review-card footer { font-weight: 700; color: var(--color-saffron); font-size: 0.88rem; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--color-charcoal); color: rgba(253, 246, 233, 0.85); padding-top: var(--space-2xl); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  min-width: 0;
}
.footer-grid > * { min-width: 0; }
.footer-brand p { margin: var(--space-sm) 0 var(--space-md); font-size: 0.92rem; }
.footer-logo .logo-name { color: var(--color-cream); }
.footer-socials { display: flex; gap: var(--space-2xs); margin-top: var(--space-md); }
.social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(253, 246, 233, 0.1);
  color: var(--color-gold);
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-icon:hover { background: var(--color-saffron); color: var(--color-white); transform: translateY(-2px); }
.footer-col h4 { color: var(--color-gold); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--space-sm); }
.footer-col ul li { margin-bottom: var(--space-2xs); font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-gold); }
.footer-bottom {
  border-top: 1px solid rgba(253, 246, 233, 0.12);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(253, 246, 233, 0.6);
}

/* ===================== RESPONSIVE ===================== */
/* Drawer breakpoint widened per fleet memory feedback_dense_nav_768_breakpoint —
   this nav has 6 links + a CTA, which clips right at 768px. */
@media (max-width: 899px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--color-maroon-dark);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1100;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateX(0); }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
  }
  .nav-links li { display: block; }
  .nav-links a:not(.btn) {
    display: block;
    width: 100%;
    padding: var(--space-sm) var(--space-2xs);
    border-bottom: 1px solid rgba(253, 246, 233, 0.1);
    -webkit-tap-highlight-color: rgba(232, 178, 61, 0.25);
  }
  .nav-cta-item { margin-left: 0; margin-top: var(--space-sm); }
  .nav-cta-item .btn { display: block; width: 100%; }

  .nav-scrim:not([hidden]) { display: block; }
}

@media (min-width: 900px) {
  .nav-scrim { display: none !important; }
}

@media (max-width: 860px) {
  .about-grid,
  .hl-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  section { padding: var(--space-xl) 0; }
  .hero { min-height: auto; padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .tiffin-highlight { flex-direction: column; text-align: center; }
  .hours-table td { text-align: left; }
  .hours-table tr { display: flex; flex-direction: column; }
}

/* ===================== MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
