/* ==========================================================================
   FoodWorks Junction — "Dhaba Badge" design system
   Palette derived from the badge logo: ink black, junction yellow, paper cream
   ========================================================================== */

:root {
  /* Color tokens (overridden at runtime from data.json > theme) */
  --ink: #1a1a1a;
  --ink-soft: #2c2a24;
  --yellow: #f5c800;
  --yellow-deep: #e6b800;
  --paper: #fbf5e4;
  --paper-2: #fffdf6;
  --card: #fffef9;
  --veg: #1e7a34;
  --line: rgba(26, 26, 26, 0.14);
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-soft: 0 14px 40px -18px rgba(26, 26, 26, 0.35);

  /* Type */
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --font-hand: "Kalam", cursive;

  --fs-hero: clamp(2.5rem, 7.2vw, 5.4rem);
  --fs-h2: clamp(1.9rem, 4.2vw, 3.1rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);

  --radius: 18px;
  --container: 1180px;
  --nav-h: 74px;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
.thali-media img, .g-item img, .team-photo img, .tst-avatar img, .doc-preview img { height: 100%; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--yellow); padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* --------------------------------------------------------------- headings */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--ink); color: var(--yellow);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
h2.title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}
.title .mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  padding: 0 0.08em;
}
.section-head p.lede { margin: 0; font-size: 1.08rem; color: var(--ink-soft); }
.hand { font-family: var(--font-hand); }

/* --------------------------------------------------------------- veg mark */
.veg-mark {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; border: 2px solid var(--veg); border-radius: 3px;
  flex: none;
}
.veg-mark::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--veg); }
.eyebrow .veg-mark { border-color: var(--yellow); }
.eyebrow .veg-mark::after { background: var(--yellow); }

/* ----------------------------------------------------------- announcement */
.announcement {
  background: var(--ink); color: var(--paper-2);
  text-align: center; padding: 9px 16px; font-size: 0.92rem; font-weight: 500;
}
.announcement strong { color: var(--yellow); }

/* ------------------------------------------------------------------- nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, white);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(26, 26, 26, 0.45); }
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display); font-size: 1.02rem; line-height: 1.05;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.brand-name small {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 0.62rem; letter-spacing: 0.28em; color: var(--ink-soft);
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: 0.92rem;
  padding: 9px 13px; border-radius: 10px; transition: background 0.18s ease;
}
.nav-links a:hover { background: var(--yellow); }
.nav-links a.active { background: var(--ink); color: var(--yellow); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 12px;
  font-weight: 800; padding: 10px 16px; text-decoration: none; font-size: 0.92rem;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--ink); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; position: relative; line-height: 0;
}
.nav-toggle svg { display: block; width: 100%; height: 100%; pointer-events: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper-2); border-bottom: 2px solid var(--ink);
    padding: 14px 6vw 20px;
    transform: translateY(-130%); transition: transform 0.28s ease;
    box-shadow: 0 24px 40px -20px rgba(0,0,0,0.35);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; }
  .nav .nav-cta span.long { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--yellow) 34%, transparent), transparent 42%),
    var(--paper);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 0.98;
  text-transform: uppercase;
  margin: 18px 0 10px;
  letter-spacing: 0.005em;
}
.hero h1 .word { display: inline-block; }
.hero h1 .yellow-word {
  color: var(--ink);
  background: var(--yellow);
  padding: 0 0.12em;
  box-shadow: 4px 4px 0 var(--ink);
}
.hero .everyday {
  font-family: var(--font-hand); font-weight: 700; text-transform: none;
  font-size: 0.62em; display: inline-block; transform: rotate(-2deg);
  color: var(--ink);
}
.hero-sub { max-width: 54ch; font-size: 1.1rem; color: var(--ink-soft); margin: 14px 0 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 14px; padding: 14px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-solid { background: var(--ink); color: var(--yellow); box-shadow: 5px 5px 0 var(--yellow-deep); }
.btn-solid:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--yellow-deep); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.btn-yellow:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--yellow); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.hero-stat { border-left: 3px solid var(--yellow); padding-left: 14px; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.35rem; }
.hero-stat span { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }

/* badge + sunburst */
.hero-badge-wrap { position: relative; display: grid; place-items: center; min-height: 340px; }
.sunburst {
  position: absolute; width: min(560px, 88vw); aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg,
    color-mix(in srgb, var(--yellow) 55%, transparent) 0deg 7deg,
    transparent 7deg 16deg);
  -webkit-mask: radial-gradient(circle, transparent 34%, black 35%, black 66%, transparent 67%);
          mask: radial-gradient(circle, transparent 34%, black 35%, black 66%, transparent 67%);
  animation: spin 90s linear infinite;
  opacity: 0.85;
}
.dash-ring {
  position: absolute; width: min(420px, 72vw); aspect-ratio: 1; border-radius: 50%;
  border: 3px dashed var(--ink); opacity: 0.35;
  animation: spin 60s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge {
  position: relative; width: min(330px, 62vw); height: auto; aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(26,26,26,0.28));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-chip {
  position: absolute; background: var(--paper-2); border: 2px solid var(--ink);
  border-radius: 12px; padding: 8px 14px; font-weight: 800; font-size: 0.86rem;
  box-shadow: 4px 4px 0 var(--ink); display: inline-flex; gap: 8px; align-items: center;
}
.hero-chip.tl { top: 8%; left: 0; transform: rotate(-4deg); }
.hero-chip.br { bottom: 6%; right: 0; transform: rotate(3deg); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge-wrap { order: -1; min-height: 280px; }
  .hero-badge { width: min(240px, 56vw); }
}

/* ------------------------------------------------------- subpage hero */
.page-hero {
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--yellow) 40%, transparent), transparent 46%),
    var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: clamp(44px, 7vw, 80px) 0;
}
.page-hero .title { font-size: clamp(2.1rem, 6vw, 3.6rem); margin: 0 0 8px; }
.ph-sub { margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--ink-soft); }

/* ------------------------------------------------------------ CTA band */
.cta-band { background: var(--yellow); border-block: 2px solid var(--ink); }

/* --------------------------------------------------------------- marquee */
.marquee {
  background: var(--ink); color: var(--yellow);
  border-block: 3px solid var(--ink);
  overflow: hidden; padding: 13px 0;
  transform: rotate(-1deg) scale(1.02);
}
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span {
  font-family: var(--font-display); text-transform: uppercase; font-size: 0.98rem;
  letter-spacing: 0.06em; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px;
}
.marquee i { color: var(--paper-2); font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-copy p { font-size: 1.08rem; color: var(--ink-soft); }
.about-pull {
  font-family: var(--font-hand); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700;
  border-left: 5px solid var(--yellow); padding: 6px 0 6px 18px; margin: 26px 0;
  line-height: 1.35;
}
.about-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); padding: clamp(24px, 3.4vw, 40px);
  position: relative;
}
.about-card::before {
  content: "SINCE"; position: absolute; top: -14px; right: 26px;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 800; font-size: 0.7rem; letter-spacing: 0.2em; padding: 4px 12px;
}
.about-card .since-year { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.mission-label { font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.74rem; margin-top: 22px; color: var(--ink-soft); }
.about-card p { margin: 8px 0 0; font-size: 1.05rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- ticket pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(22px, 3vw, 36px); max-width: 900px; margin-inline: auto; }
.ticket {
  position: relative; background: var(--card); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-hard);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ticket:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.ticket.popular { background: var(--yellow); }
.popular-flag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
}
.ticket-head { padding: 30px 28px 20px; text-align: center; }
.ticket-head .plan-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; margin: 0 0 6px; }
.ticket-head .plan-desc { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.ticket-price { margin-top: 16px; }
.ticket-price .rupee { font-family: var(--font-display); font-size: 1.4rem; vertical-align: 22px; }
.ticket-price .amount { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 3.4rem); line-height: 1; }
.ticket-price .period { display: block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* perforation between stub and body */
.perforation { position: relative; height: 0; border-top: 3px dashed var(--ink); margin: 8px 0; }
.perforation::before, .perforation::after {
  content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
}
.perforation::before { left: -15px; clip-path: inset(0 0 0 50%); border-left-color: transparent; }
.perforation::after { right: -15px; clip-path: inset(0 50% 0 0); border-right-color: transparent; }

.ticket-body { padding: 20px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.ticket ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.ticket li { display: flex; gap: 10px; padding: 6px 0; font-size: 0.97rem; align-items: flex-start; }
.ticket li i { color: var(--veg); margin-top: 5px; font-size: 0.8rem; }
.ticket.popular li i { color: var(--ink); }
.ticket .btn { justify-content: center; }

/* ---------------------------------------------------------------- thalis */
.thali-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(22px, 3vw, 32px); }
.thali-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.thali-card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -20px rgba(26,26,26,0.42); }
.thali-media { position: relative; aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.thali-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.thali-card:hover .thali-media img { transform: scale(1.06); }
.thali-price-tag {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 10px;
  font-family: var(--font-display); padding: 6px 12px; font-size: 1.05rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.thali-price-tag small { font-family: var(--font-body); font-weight: 700; font-size: 0.68rem; display: block; letter-spacing: 0.1em; text-transform: uppercase; }
.thali-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.thali-body h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0; font-size: var(--fs-h3); display: flex; align-items: center; gap: 10px; }
.thali-body .desc { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip {
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 12px;
  font-size: 0.8rem; font-weight: 700; background: var(--paper);
}

/* placeholder for missing images */
.img-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--yellow), var(--yellow) 14px, var(--yellow-deep) 14px, var(--yellow-deep) 28px);
}
.img-fallback i { font-size: 2.4rem; color: var(--ink); }

/* ---------------------------------------------------------------- areas */
.areas { background: var(--ink); color: var(--paper-2); }
.areas .eyebrow { background: var(--yellow); color: var(--ink); }
.areas .title { color: var(--paper-2); }
.areas .title .mark {
  background: var(--yellow); color: var(--ink);
  padding: 0 0.14em; box-shadow: 4px 4px 0 rgba(245, 200, 0, 0.35);
}
.areas .section-head p.lede, .areas .lede { color: rgba(251, 245, 228, 0.88); }
.area-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.area-pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 2px solid var(--yellow); border-radius: 999px;
  padding: 10px 18px; font-weight: 700; font-size: 0.95rem;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.area-pill i { color: var(--yellow); font-size: 0.85rem; transition: color 0.18s ease; }
.area-pill:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.area-pill:hover i { color: var(--ink); }
.area-note { margin-top: 26px; font-family: var(--font-hand); font-size: 1.25rem; color: var(--yellow); }

/* --------------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.g-item {
  position: relative; border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.g-item:hover img { transform: scale(1.07); }
.g-caption {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--paper-2); border: 2px solid var(--ink); border-radius: 9px;
  font-weight: 800; font-size: 0.8rem; padding: 4px 11px; letter-spacing: 0.04em;
}

/* ----------------------------------------------------------- testimonials */
.tst-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 84vw);
  gap: 20px; overflow-x: auto; padding: 6px 6px 22px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.tst-card {
  scroll-snap-align: start;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 14px;
}
.tst-stars { color: var(--yellow-deep); font-size: 0.95rem; letter-spacing: 2px; }
.tst-text { margin: 0; font-family: var(--font-hand); font-size: 1.18rem; line-height: 1.5; flex: 1; }
.tst-person { display: flex; align-items: center; gap: 12px; }
.tst-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink);
  font-family: var(--font-display); font-size: 1rem;
}
.tst-person b { display: block; line-height: 1.2; }
.tst-person span { font-size: 0.84rem; color: var(--ink-soft); font-weight: 600; }

/* ------------------------------------------------------------------ team */
.team-card {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(22px, 4vw, 44px);
  align-items: center; background: var(--card); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-hard);
  padding: clamp(24px, 4vw, 44px); max-width: 900px; margin-inline: auto;
}
.team-photo {
  width: 200px; height: 200px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--yellow); background: var(--paper);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role {
  display: inline-block; background: var(--yellow); border: 2px solid var(--ink);
  border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: 0.76rem;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px;
}
.team-card h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 6px; text-transform: uppercase; }
.team-exp { font-family: var(--font-hand); font-weight: 700; font-size: 1.2rem; color: var(--ink-soft); }
.team-card p { color: var(--ink-soft); margin-bottom: 0; }
@media (max-width: 700px) {
  .team-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ------------------------------------------------------------- documents */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.doc-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
}
.doc-card::after {
  content: "\2713  VERIFIED"; position: absolute; top: 16px; right: -34px; transform: rotate(38deg);
  background: var(--yellow); border-block: 2px solid var(--ink);
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.18em; padding: 4px 40px;
}
.doc-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--yellow); font-size: 1.4rem; margin-bottom: 16px;
}
.doc-card h3 { font-size: 1.12rem; margin: 0 0 6px; font-weight: 800; }
.doc-num {
  font-family: ui-monospace, "Courier New", monospace; font-weight: 700; font-size: 0.86rem;
  background: var(--paper); border: 1.5px dashed var(--ink); border-radius: 8px;
  display: inline-block; padding: 3px 10px; margin-bottom: 10px;
}
.doc-card p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

/* certificate image preview */
.doc-preview {
  position: relative; display: block; width: 100%; margin-top: 18px; padding: 0;
  border: 2px solid var(--ink); border-radius: 12px; overflow: hidden;
  background: var(--paper); cursor: zoom-in; aspect-ratio: 16 / 10;
}
.doc-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.doc-preview:hover img { transform: scale(1.04); }
.doc-zoom {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 9px;
  font-weight: 800; font-size: 0.76rem; letter-spacing: 0.04em; padding: 4px 10px;
  font-family: var(--font-body);
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  background: rgba(26, 26, 26, 0.88); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; padding: 4vh 4vw;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-figure { margin: 0; max-width: min(860px, 94vw); max-height: 88vh; display: grid; gap: 12px; justify-items: center; }
.lb-img {
  max-width: 100%; max-height: 76vh; object-fit: contain;
  background: var(--paper-2); border: 3px solid var(--yellow); border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.lb-caption {
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 800; font-size: 0.88rem; padding: 6px 18px; color: var(--ink);
}
.lb-close {
  position: absolute; top: 18px; right: 18px;
  width: 48px; height: 48px; border-radius: 12px; cursor: pointer;
  background: var(--yellow); border: 2px solid var(--ink); box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
  font-size: 1.15rem;
}

/* ------------------------------------------------------------------- faq */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-item {
  background: var(--card); border: 2px solid var(--ink); border-radius: 14px;
  margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; padding: 18px 22px; font-weight: 800; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fq-ic {
  flex: none; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 9px;
  display: grid; place-items: center; background: var(--yellow); transition: transform 0.25s ease;
}
.faq-item[open] summary .fq-ic { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 2px dashed var(--line); }
.faq-a { padding: 16px 22px 20px; color: var(--ink-soft); }
.faq-a p { margin: 0; }

/* ---------------------------------------------------------------- contact */
.contact { background: linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb, var(--yellow) 26%, var(--paper)) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.contact-info-card, .contact-form-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); padding: clamp(24px, 3.4vw, 38px);
}
.ci-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1.5px dashed var(--line); align-items: flex-start; }
.ci-row:last-of-type { border-bottom: 0; }
.ci-ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--yellow); border: 2px solid var(--ink); font-size: 1.05rem;
}
.ci-row b { display: block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.ci-row a { font-weight: 700; text-decoration: none; word-break: break-word; }
.ci-row a:hover { background: var(--yellow); }
.ci-row p { margin: 0; font-weight: 600; }
.map-frame {
  margin-top: 20px; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--paper);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form-card h3, .contact-info-card h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0 0 18px; font-size: 1.25rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper-2);
  font: inherit; padding: 12px 14px; transition: box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; box-shadow: 4px 4px 0 var(--yellow);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 12px;
  display: grid; place-items: center; font-size: 1.1rem; text-decoration: none;
  background: var(--paper-2); transition: background 0.18s ease, transform 0.18s ease;
}
.social-row a:hover { background: var(--yellow); transform: translateY(-3px); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(26px, 4vw, 60px);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-brand img { width: 84px; margin-bottom: 14px; }
.footer-brand p { color: rgba(251, 245, 228, 0.72); font-size: 0.95rem; max-width: 40ch; }
.footer-tagline { font-family: var(--font-hand); color: var(--yellow); font-size: 1.15rem; }
.site-footer h4 {
  font-family: var(--font-display); text-transform: uppercase; color: var(--yellow);
  font-size: 0.95rem; letter-spacing: 0.08em; margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer li a { text-decoration: none; color: rgba(251, 245, 228, 0.82); font-weight: 600; font-size: 0.95rem; }
.site-footer li a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 10px; color: rgba(251, 245, 228, 0.82); font-size: 0.93rem; align-items: flex-start; }
.footer-contact i { color: var(--yellow); margin-top: 4px; width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(251, 245, 228, 0.18);
  padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; font-size: 0.85rem; color: rgba(251, 245, 228, 0.62);
}
.footer-bottom .veg-note { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- to-top */
.to-top {
  position: fixed; left: 16px; bottom: 22px; z-index: 90; overflow: hidden;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--yellow); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-size: 1.05rem; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }
.to-top { line-height: 0; padding: 0; }
.to-top svg { display: block; width: 100%; height: 100%; pointer-events: none; }

/* ------------------------------------------------------- reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ boot */
.boot { min-height: 60vh; display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; }
.boot-badge img { animation: floaty 3s ease-in-out infinite; }
.boot p { font-family: var(--font-hand); font-size: 1.25rem; }
.boot-error { max-width: 560px; margin-inline: auto; }
.boot-error code { background: var(--ink); color: var(--yellow); padding: 2px 8px; border-radius: 6px; }

/* ------------------------------------------------------------------- 404 */
.nf-hero { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 60px 6vw; }
.nf-hero .code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; }
.nf-hero .code em { font-style: normal; background: var(--yellow); box-shadow: 6px 6px 0 var(--ink); padding: 0 0.1em; }
.nf-hero p { font-family: var(--font-hand); font-size: 1.4rem; }

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================ MOBILE-FIRST LAYER ============================ */

/* base touch ergonomics (all devices) */
html { -webkit-text-size-adjust: 100%; }
a, button, summary, select, input, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn, .nav-cta, .nav-toggle, .to-top, .fab, .faq-item summary, .lb-close { min-height: 44px; }
.social-row a, .doc-preview { min-height: 44px; min-width: 44px; }

/* fixed WhatsApp / Call quick-contact buttons */
.fab-stack {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 95; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: block; text-decoration: none; line-height: 0; padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
/* the svg IS the button face — icon is centered inside its own viewBox,
   so no CSS layout (flex/absolute/line-height) can ever misplace it */
.fab svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.fab:active { transform: scale(0.94); }
.fab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.fab-wa { background: #25d366; color: #fff; }
.fab-call { background: var(--yellow); color: var(--ink); }
@media (min-width: 921px) {
  .fab-call { display: none; } /* desktop already has nav CTA + visible number */
}

.to-top { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }

/* bottom app-style tab bar (mobile only) */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  display: none;
  background: var(--ink);
  border-top: 3px solid var(--yellow);
  padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right));
}
.bn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 2px; min-height: 56px; justify-content: center;
  color: rgba(251, 245, 228, 0.72); text-decoration: none; border-radius: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.bn-item svg { display: block; flex: none; }
.bn-item span { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.bn-item.active { color: var(--ink); background: var(--yellow); }
.bn-item:active { transform: scale(0.94); }
@media (max-width: 920px) {
  .bottom-nav { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .fab-stack { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 14px; }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); left: 14px; }
  .site-footer { padding-bottom: 8px; }
}

/* smooth-touch layer */
.tst-scroller { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.btn:active, .nav-cta:active, .area-pill:active, .ticket:active { transform: scale(0.98); }
.marquee-track, .sunburst, .dash-ring, .hero-badge { will-change: transform; }
.section { content-visibility: auto; contain-intrinsic-size: 1px 600px; }
.hero, .page-hero { content-visibility: visible; contain-intrinsic-size: none; }

/* no sticky hover states on touch devices */
@media (hover: none) {
  .btn:hover, .nav-cta:hover, .ticket:hover, .thali-card:hover, .fab:hover,
  .area-pill:hover, .social-row a:hover, .to-top:hover { transform: none; }
  .ticket:hover { box-shadow: var(--shadow-hard); }
  .thali-card:hover { box-shadow: var(--shadow-soft); }
  .thali-card:hover .thali-media img, .g-item:hover img { transform: none; }
  .site-header { backdrop-filter: none; background: var(--paper); }
}

/* mobile menu: smoother open + scrim */
@media (max-width: 920px) {
  .nav-links { opacity: 0; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease; }
  .nav-links.open { opacity: 1; }
}

/* ≤ 600px: phones */
@media (max-width: 600px) {
  :root { --fs-hero: clamp(1.9rem, 10.5vw, 2.7rem); --nav-h: 64px; }
  .container { width: 94%; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 0.9rem; }

  .hero { padding: 36px 0 64px; }
  .hero-badge-wrap { min-height: 230px; }
  .hero-badge { width: min(200px, 52vw); }
  .sunburst { width: min(340px, 92vw); }
  .dash-ring { width: min(260px, 74vw); }
  .hero-chip { font-size: 0.74rem; padding: 6px 10px; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .hero-stats { gap: 16px; margin-top: 28px; }
  .hero-stat b { font-size: 1.15rem; }

  .marquee span { font-size: 0.82rem; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }

  .ticket-head { padding: 26px 20px 16px; }
  .ticket-body { padding: 16px 20px 24px; }
  .ticket li { font-size: 0.93rem; }

  .thali-body { padding: 18px 16px 22px; }
  .team-photo { width: 156px; height: 156px; }
  .team-card { padding: 22px 18px; }

  .contact-info-card, .contact-form-card { padding: 22px 18px; }
  .footer-grid { padding-top: 44px; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }

  .fab { width: 54px; height: 54px; }
  .to-top { width: 46px; height: 46px; right: 14px; }
  .lb-close { top: 12px; right: 12px; }
}

/* ≤ 380px: small phones (down to 320px) */
@media (max-width: 380px) {
  :root { --fs-hero: clamp(1.7rem, 10.5vw, 2.1rem); }
  .brand-name small { letter-spacing: 0.18em; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; }
  .btn { padding: 12px 16px; font-size: 0.93rem; }
  .ticket-price .amount { font-size: 2.5rem; }
  .area-pill { padding: 9px 14px; font-size: 0.88rem; }
  .tst-scroller { grid-auto-columns: 88vw; }
  .hero-chip.tl { left: -4px; }
  .hero-chip.br { right: -4px; }
}
