/* ==========================================================================
   Ojhaji website V3 (Build, from Design's V3 boards, 2026-11-19).
   Tulsi palette + Rozha One / Anek Latin; Kalam only on the estimate slip.
   Mobile first (375 px). Tap targets 52–60 px. No motion needed to use anything.
   ========================================================================== */
:root {
  --tulsi: #1F4D2B; --tulsi-deep: #163A20; --leaf: #3E7B47; --banana: #6FA85A;
  --haldi: #D99A1E; --haldi-wash: #FBEFCF; --brass: #B8862B;
  --leaf-deep: #2F6B3A; --brass-ink: #7A5714;   /* Design's text tones (brand-guide.md): no --leaf text on limewash, no haldi text on light grounds */
  --rice: #FFFDF7; --limewash: #DCEAD4; --mist: #EEF4E8; --ink: #17201A; --muted: #4B5A4F;
  --line: rgba(23, 32, 26, .14); --card-line: rgba(31, 77, 43, .22);
  --slip-ink: #26408B; --slip-paper: #FFFEF6;
  --display: "Rozha One", Georgia, serif;
  --body: "Anek Latin", "Segoe UI", system-ui, sans-serif;
  --hand: "Kalam", "Segoe Print", cursive;
  --gutter: 16px; --bar: 60px; --radius: 14px;
  color-scheme: light;
  --jhoti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='28' viewBox='0 0 48 28'%3E%3Cg fill='none' stroke='%23D99A1E' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M24 4c5 5 5 10 0 14-5-4-5-9 0-14z'/%3E%3Cpath d='M0 22h48' stroke-dasharray='2 4'/%3E%3C/g%3E%3Cg fill='%23D99A1E'%3E%3Ccircle cx='24' cy='11' r='1.6'/%3E%3Ccircle cx='0' cy='11' r='1.4'/%3E%3Ccircle cx='48' cy='11' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
}
@media (min-width: 900px) { :root { --gutter: 40px; --bar: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 12px); }
body { margin: 0; background: var(--rice); color: var(--ink); font: 400 18px/1.55 var(--body); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--leaf-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--tulsi); }
:focus-visible { outline: 3px solid var(--haldi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .35em; color: var(--tulsi); }
h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 6.5vw, 2.8rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 60ch; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 48px; padding-bottom: 56px; }
.section--wash { background: var(--limewash); }
.section--mist { background: var(--mist); }
.section--tulsi { background: var(--tulsi); color: #E4ECE0; }
.section--tulsi h2, .section--tulsi h3 { color: var(--rice); }
.lede { font-size: 1.15rem; color: var(--muted); }
.kicker { font-weight: 600; color: var(--leaf); margin: 0 0 8px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--rice); padding: 10px 14px; z-index: 60; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.f-display { font-family: var(--display); } .f-body { font-family: var(--body); }

/* Visible gap for anything Praveen hasn't told us (never invented) */
.ask { display: inline-block; font-size: .82rem; font-weight: 600; line-height: 1.3; color: #6b4d07; background: var(--haldi-wash);
  border: 1px dashed var(--haldi); border-radius: 6px; padding: 2px 8px; margin: 2px 4px 2px 0; vertical-align: .05em; }
.asks { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.asks .ask { margin: 0; }

/* ---------- Buttons (52–60 px) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent; font: 600 1.05rem/1.15 var(--body); text-decoration: none; cursor: pointer;
  background: var(--tulsi); color: var(--rice); text-align: center; }
.btn:hover { background: var(--leaf); color: var(--rice); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--haldi { background: var(--haldi); color: var(--ink); }
.btn--haldi:hover { background: #E8AE38; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--tulsi); border-color: currentColor; }
.btn--ghost:hover { background: rgba(31, 77, 43, .08); color: var(--tulsi); }
.section--tulsi .btn--ghost { color: var(--rice); }
.btn--wa { background: #1E7A46; }
.btn--wa:hover { background: #17663A; }
.btn--block { width: 100%; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: .98rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.actions .btn { flex: 1 1 220px; }
@media (min-width: 760px) { .actions .btn { flex: 0 0 auto; } }
.textlink { font-weight: 600; color: var(--tulsi); }

/* ---------- Header ---------- */
.bar { position: sticky; top: 0; z-index: 40; height: var(--bar); background: var(--rice); border-bottom: 1px solid var(--line); }
.bar .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--tulsi); }
/* Beta pill next to the wordmark (Sidharth, 19 Nov: indexed while prices and details are still coming in) */
.beta { margin-right: auto; align-self: center; font: 600 .72rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--brass-ink); background: var(--haldi-wash); border: 1px solid rgba(184, 134, 43, .45); border-radius: 999px; padding: 4px 8px 3px; white-space: nowrap; cursor: help; }
.brand { flex-shrink: 0; }
/* under 460 px: no room on the line, so the pill tucks under the wordmark (the lockup stays 34 px + word) */
@media (max-width: 459px) {
  .bar .wrap { position: relative; }
  .brand span { transform: translateY(-8px); }
  .beta { position: absolute; left: calc(var(--gutter) + 43px); top: 37px; font-size: .69rem; padding: 2px 6px 1px; letter-spacing: .08em; }
}
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--display); font-size: 1.6rem; line-height: 1; padding-top: 3px; }
.bar nav { display: none; }
.bar .tel { display: none; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.bar .btn { min-height: 44px; padding: 8px 14px; font-size: .98rem; }
.navmenu { position: static; }
.navmenu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 999px;
  border: 1.5px solid var(--card-line); font-weight: 600; cursor: pointer; color: var(--tulsi); background: var(--rice); }
.navmenu summary::-webkit-details-marker { display: none; }
.navmenu summary svg { width: 18px; height: 18px; flex: none; }   /* never squeezed to a dot (Design, 19 Nov) */
/* small phones: the Menu button shows only the ☰ (the word stays for screen readers), so the header fits (Design, 19 Nov) */
@media (max-width: 389px) {
  .navmenu summary { width: 44px; justify-content: center; padding: 0; gap: 0; }
  .navmenu summary .navword { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.navmenu[open] summary { background: var(--tulsi); color: var(--rice); border-color: var(--tulsi); }
.navpanel { position: fixed; left: 0; right: 0; top: var(--bar); bottom: 0; z-index: 39; background: var(--rice); overflow: auto;
  padding: 14px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.navpanel a.navlink { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 4px;
  border-bottom: 1px solid var(--line); font: 600 1.2rem var(--body); color: var(--ink); text-decoration: none; }
.navpanel a.navlink::after { content: "›"; color: var(--leaf); font-size: 1.5rem; }
.navpanel a[aria-current="page"] { color: var(--tulsi); }
.navpanel .navplan { margin: 6px 0 10px; }
.navpanel .navbottom { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
@media (min-width: 1000px) {
  .navmenu { display: none; }
  .bar nav { display: flex; gap: 18px; margin-right: 10px; }
  .bar nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; white-space: nowrap; }
  .bar nav a:hover { color: var(--leaf); }
  .bar nav a[aria-current="page"] { color: var(--tulsi); font-weight: 700; box-shadow: inset 0 -2px 0 var(--haldi); }
  .bar .tel { display: inline; margin-right: 6px; }
}
@media (min-width: 1000px) and (max-width: 1180px) { .bar .tel { display: none; } .bar nav { gap: 14px; } }

/* ---------- Footer ---------- */
.foot { background: var(--tulsi-deep); color: #C8D8C4; padding: 40px 0 calc(48px + env(safe-area-inset-bottom)); font-size: .97rem; }
.foot .cols { display: grid; gap: 26px; }
@media (min-width: 760px) { .foot .cols { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.foot strong { display: block; color: var(--rice); font-weight: 600; margin-bottom: 8px; }
.foot .brandline { font-family: var(--display); font-size: 1.6rem; color: var(--rice); display: block; margin-bottom: 6px; }
.foot a { color: var(--rice); display: inline-block; padding: 5px 0; }
.foot .links a { display: block; }
.foot p { margin: 0 0 6px; }
.foot .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 253, 247, .15); display: grid; gap: 8px; font-size: .9rem; }
.foot .legal .row { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.linkbtn { background: none; border: 0; padding: 5px 0; color: var(--rice); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--limewash); padding: 26px 0 30px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 22px; align-items: center; }
.hero h1 { margin-bottom: .18em; color: var(--tulsi-deep); }
.hero .sub { font-size: 1.15rem; font-weight: 500; margin-bottom: 14px; }
.rules { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 4px; }
.rules li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--rice);
  border: 1px solid var(--card-line); font-weight: 600; font-size: .95rem; color: var(--tulsi); }
.rules li::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 2px solid #1E7A46;
  background: radial-gradient(circle, #1E7A46 0 3px, transparent 3.5px); flex: none; }
.hero-art { display: none; }
@media (min-width: 900px) {
  .hero { padding: 54px 0 56px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .hero-art { display: block; }
}

/* ---------- Occasion cards ---------- */
.occ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 760px) { .occ-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.occ { display: flex; flex-direction: column; gap: 4px; min-height: 120px; padding: 14px; border-radius: var(--radius);
  background: var(--rice); border: 1.5px solid var(--card-line); color: var(--ink); text-decoration: none; position: relative; }
.occ:hover { border-color: var(--leaf); color: var(--ink); }
.occ svg { width: 48px; height: 36px; margin-bottom: 4px; }
.occ strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.1; color: var(--tulsi); }
.occ span { font-size: .92rem; color: var(--muted); line-height: 1.3; }
.occ .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--tulsi); font-size: .98rem; }
.occ--lead { grid-column: 1 / -1; background: var(--tulsi); border: 2px solid var(--haldi); min-height: 0; }
.occ--lead strong { color: var(--rice); font-size: 1.5rem; }
.occ--lead span { color: #DCE6D8; }
.occ--lead .go { color: var(--rice); align-self: flex-start; background: var(--haldi); color: var(--ink); border-radius: 999px; padding: 10px 18px; margin-top: 10px; }
.occ--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; min-height: 76px; }
.occ--wide div { display: flex; flex-direction: column; gap: 2px; }
.occ--wide .go { margin: 0 0 0 auto; padding: 0; }
.occ--other { border-style: dashed; background: transparent; }
@media (min-width: 760px) { .occ--lead { grid-column: span 2; } .occ--wide { grid-column: span 2; } }

/* ---------- Generic cards / blocks ---------- */
.grid2 { display: grid; gap: 18px; }
.grid3 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--rice); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 18px; }
.card h3 { margin-bottom: 6px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 64px; background: var(--rice); border-radius: var(--radius); border: 1px solid var(--card-line); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tulsi); color: var(--rice); font: 1.15rem/1 var(--display); padding-top: 3px; }
.steps strong { display: block; color: var(--tulsi); font-size: 1.08rem; }
.plates { display: grid; gap: 14px; }
@media (min-width: 760px) { .plates { grid-template-columns: repeat(3, 1fr); } }
.plate { background: var(--tulsi); color: #DCE6D8; border: 3px double rgba(217, 154, 30, .85); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.plate h3 { color: var(--rice); font-size: 1.45rem; margin-bottom: 4px; }
.plate p { margin: 0; }
.plate svg { width: 64px; height: 64px; flex: none; }
.photo-slot { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 2px dashed var(--card-line); display: grid; place-items: center;
  text-align: center; padding: 14px; color: var(--muted); font-size: .95rem; background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(31,77,43,.04) 12px 24px); }
.trust { display: grid; gap: 14px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.help { background: var(--haldi-wash); border: 1.5px solid rgba(217, 154, 30, .6); border-radius: var(--radius); padding: 20px; }
.help h3 { margin-bottom: 4px; }
.split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.kitchen-strip svg { width: 100%; height: auto; border-radius: var(--radius); }
.crumbs { font-size: .95rem; margin: 0 0 10px; color: var(--muted); }
.crumbs a { color: var(--leaf); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.pills a, .pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--card-line); background: var(--rice); text-decoration: none; color: var(--ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 46rem; }
.faq details { background: var(--rice); border: 1px solid var(--card-line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; min-height: 58px; padding: 14px 48px 14px 16px; font-weight: 600; position: relative; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--leaf); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 16px 16px; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--card-line); background: var(--rice); }
table.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .97rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--mist); font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--tulsi); }
.compare tbody th { font-weight: 600; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* ---------- Catering menu cards (catering + menu pages) ---------- */
.mcards { display: grid; gap: 16px; }
@media (min-width: 900px) { .mcards { grid-template-columns: repeat(3, 1fr); } }
.mcard { background: var(--rice); border: 1.5px solid var(--card-line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.mcard h3 { font-size: 1.55rem; margin-bottom: 2px; }
.mcard .for { color: var(--muted); margin: 0 0 10px; font-size: .97rem; }
.mcard .facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0 0 12px; font-size: .95rem; }
.mcard .facts dt { font-weight: 600; } .mcard .facts dd { margin: 0; }
.mcard .courses { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.mcard .courses li { border-top: 1px dashed var(--line); padding-top: 8px; font-size: .95rem; }
.mcard .courses b { color: var(--tulsi); }
.mcard .courses .n { color: var(--muted); font-size: .88rem; }
.mcard .inc { font-size: .92rem; color: var(--muted); }
.mcard .btn { margin-top: auto; }
.mcard--feast { background: var(--tulsi); color: #DCE6D8; border: 3px double rgba(217, 154, 30, .85); }
.mcard--feast h3 { color: var(--rice); }
.mcard--feast .for, .mcard--feast .inc { color: #C8D8C4; }
.mcard--feast .dishes { margin: 0 0 12px; }

/* ---------- Everyday dish list ---------- */
.dlist { list-style: none; margin: 0; padding: 0; }
.dgroup { margin-bottom: 26px; break-inside: avoid; }
.dgroup h3 { border-bottom: 2px solid var(--tulsi); padding-bottom: 6px; margin-bottom: 4px; }
.ditem { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ditem .n { font-weight: 600; }
.ditem .dots { border-bottom: 2px dotted rgba(23, 32, 26, .25); transform: translateY(-4px); }
.ditem .p { font-family: var(--display); color: var(--tulsi); font-size: 1.12rem; white-space: nowrap; }
.ditem .d { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); margin-top: -2px; }
.tag { display: inline-block; font: 700 .72rem/1 var(--body); letter-spacing: .02em; color: #6b4d07; background: var(--haldi-wash); border-radius: 4px; padding: 3px 6px; margin-left: 6px; vertical-align: .15em; }
@media (min-width: 900px) { .dcols { columns: 2; column-gap: 48px; } }

/* ---------- Menu page tools ---------- */
.menu-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .menu-layout { grid-template-columns: 220px 1fr; gap: 40px; } }
.menu-index { position: sticky; top: var(--bar); z-index: 20; background: var(--rice); margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter);
  border-bottom: 1px solid var(--line); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu-index::-webkit-scrollbar { display: none; }
.menu-index a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--card-line);
  text-decoration: none; color: var(--ink); font-weight: 600; background: var(--rice); }
.menu-index a.on { background: var(--tulsi); color: var(--rice); border-color: var(--tulsi); }
@media (min-width: 900px) {
  .menu-index { position: sticky; top: calc(var(--bar) + 20px); align-self: start; flex-direction: column; margin: 0; padding: 0; border: 0; overflow: visible; }
  .menu-index a { border: 0; border-radius: 8px; justify-content: flex-start; }
}
.search { display: flex; align-items: center; gap: 8px; background: var(--rice); border: 1.5px solid rgba(23, 32, 26, .3); border-radius: 12px; padding: 0 12px; min-height: 52px; max-width: 30rem; }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: 400 1.05rem var(--body); width: 100%; min-height: 48px; color: var(--ink); }
.menu-section { padding-top: 10px; margin-bottom: 36px; }
.no-results { padding: 18px; border-radius: 12px; background: var(--mist); }

/* ---------- Order flow ---------- */
.order { padding-bottom: 140px; }
.stepnum { font-weight: 700; color: var(--leaf); margin: 0 0 6px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--tulsi); background: none; border: 0; padding: 0; cursor: pointer; font-size: 1rem; text-decoration: none; }
.picklist { display: grid; gap: 10px; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: var(--radius); background: var(--rice);
  border: 1.5px solid var(--card-line); color: var(--ink); text-decoration: none; text-align: left; font: inherit; cursor: pointer; width: 100%; }
.pick svg { width: 44px; height: 34px; flex: none; }
.pick strong { display: block; font-size: 1.08rem; color: var(--tulsi); }
.pick span { display: block; font-size: .9rem; color: var(--muted); }
.pick[aria-current="true"] { background: var(--tulsi); border: 2px solid var(--haldi); }
.pick[aria-current="true"] strong { color: var(--rice); } .pick[aria-current="true"] span { color: #DCE6D8; }
.guests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.guests button { min-height: 54px; border-radius: 12px; font: 600 1.08rem var(--body); background: var(--rice); color: var(--ink); border: 1.5px solid rgba(31, 77, 43, .3); cursor: pointer; }
.guests button[aria-pressed="true"] { background: var(--tulsi); color: var(--rice); border-color: var(--tulsi); }
.typeit { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.typeit input { width: 9rem; }
.field { display: block; margin-top: 14px; }
.field span { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .typeit input { font: 400 1.05rem var(--body); min-height: 52px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid rgba(23, 32, 26, .3); background: #FDFEFB; color: var(--ink); width: 100%; }
.block { margin-top: 26px; }
.block > h2, .block > h3 { margin-bottom: 8px; }
.note { font-size: .92rem; color: var(--muted); background: var(--mist); border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.leaf-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.course { background: var(--rice); border: 1.5px solid var(--card-line); border-radius: var(--radius); padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.course .t { font-weight: 700; color: var(--tulsi); }
.course .t small { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: .88rem; }
.course .d { grid-column: 1; font-size: 1rem; }
.course .chg { grid-row: 1 / span 2; grid-column: 2; min-height: 48px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--tulsi); background: transparent; color: var(--tulsi); font: 600 1rem var(--body); cursor: pointer; }
.course .chg:hover { background: rgba(31, 77, 43, .08); }
.course--missing .d { color: #8A2A12; }
.factsbar { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .95rem; margin: 10px 0 0; }
.factsbar b { font-weight: 600; }

/* bottom order bar */
.orderbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--rice); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, .35); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); }
.orderbar .in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.orderbar .sum { flex: 1; min-width: 0; line-height: 1.25; }
.orderbar .sum b { display: block; color: var(--tulsi); font-size: 1.02rem; }
.orderbar .sum span { font-size: .9rem; color: var(--muted); }
.orderbar .btn { flex: none; min-height: 52px; padding: 10px 18px; }
.orderbar .call { display: block; font-size: .85rem; margin-top: 2px; }
.orderbar[hidden] { display: none; }

/* desktop: pick, change, send on one screen */
@media (min-width: 1000px) {
  .order-cols { display: grid; grid-template-columns: 300px 1fr 360px; gap: 28px; align-items: start; }
  .order-cols > section { display: block !important; }
  .order-cols .step-picker { position: sticky; top: calc(var(--bar) + 16px); }
  .order-cols .step-send { position: sticky; top: calc(var(--bar) + 16px); }
  .order .backlink, .order .stepnum { display: none; }
  .order { padding-bottom: 60px; }
  .orderbar--order { display: none; }
}

/* change sheet */
.sheet { border: 0; padding: 0; max-width: none; width: 100%; height: 100%; max-height: none; margin: 0; background: transparent; }
.sheet::backdrop { background: rgba(23, 32, 26, .45); }
.sheet .panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; background: var(--rice); border-radius: 18px 18px 0 0;
  padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .sheet .panel { left: 50%; right: auto; width: 520px; transform: translateX(-50%); bottom: auto; top: 10vh; border-radius: 18px; max-height: 80vh; } }
.sheet .count { font-weight: 700; color: var(--leaf); margin: 0 0 4px; }
.ticks { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.ticks label { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--card-line); cursor: pointer; font-weight: 500; font-size: 1.05rem; }
.ticks input { width: 26px; height: 26px; accent-color: var(--tulsi); flex: none; }
.ticks label:has(input:checked) { background: var(--mist); border-color: var(--tulsi); }
.ticks label:has(input:disabled) { opacity: .5; }
.sheet .warn { color: #8A2A12; font-weight: 600; min-height: 1.4em; margin: 0 0 8px; }
.sheet .panel .btn { width: 100%; }

/* estimate slip (send preview): ink + Kalam only here */
.slip { position: relative; background: var(--slip-paper); color: var(--ink); padding: 18px 16px 30px; border: 1px solid rgba(23, 32, 26, .12);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .45); transform: rotate(-.5deg); margin: 6px 0 14px;
  -webkit-mask: radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) 0 0 / 16px 100% repeat-x;
          mask: radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) 0 0 / 16px 100% repeat-x; }
.slip-head { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--tulsi); padding-bottom: 8px; margin-bottom: 4px; }
.slip-head img { width: 40px; height: 40px; }
.slip-brand { font-family: var(--display); font-size: 1.5rem; color: var(--tulsi); line-height: 1; margin: 0; }
.slip-kind { margin: 0 0 0 auto; text-align: right; font-weight: 700; color: var(--tulsi); font-size: .88rem; line-height: 1.3; }
.slip-kind span { display: block; font: 400 1rem var(--hand); color: var(--slip-ink); }
.slip-lines { font: 400 1.08rem/32px var(--hand); color: var(--slip-ink); background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(38, 64, 139, .14) 31px 32px); }
.slip-lines p { margin: 0; max-width: none; display: flex; justify-content: space-between; gap: 12px; }
.slip-lines .lab { font-family: var(--body); color: var(--muted); font-size: .85rem; }
.slip-lines .tot { border-top: 2px solid var(--slip-ink); font-weight: 700; font-size: 1.15rem; }

/* states */
.state { text-align: center; max-width: 34rem; margin: 0 auto; padding: 40px 0 20px; }
.state h1, .state h2 { font-size: clamp(2rem, 8vw, 3rem); }
.state .actions { justify-content: center; }
.state ol { text-align: left; display: inline-block; margin: 0 0 16px; }
.leaf-empty { width: 120px; margin: 0 auto 16px; }
.copybox { width: 100%; min-height: 160px; font: 400 .95rem/1.45 var(--body); padding: 12px; border-radius: 12px; border: 1.5px solid var(--card-line); background: #FDFEFB; color: var(--ink); }

/* visit */
.bigbtns { display: grid; gap: 10px; margin: 18px 0; }
@media (min-width: 760px) { .bigbtns { grid-template-columns: repeat(3, 1fr); } }
.bigbtns .btn { min-height: 60px; font-size: 1.12rem; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.slots button { min-height: 54px; border-radius: 12px; font: 600 1rem var(--body); background: var(--rice); border: 1.5px solid rgba(31, 77, 43, .3); color: var(--ink); cursor: pointer; }
.slots button[aria-pressed="true"] { background: var(--tulsi); color: var(--rice); border-color: var(--tulsi); }
.map-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-card svg { width: 100%; height: auto; }

/* story */
.story-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .story-layout { grid-template-columns: 5fr 6fr; gap: 56px; } .story-intro { position: sticky; top: calc(var(--bar) + 24px); align-self: start; } }
.portrait { aspect-ratio: 4 / 5; max-width: 360px; }
.chapter { padding: 22px 0; border-top: 1px solid var(--line); }
.chapter .num { font: 1.3rem/1 var(--display); color: var(--haldi); display: block; margin-bottom: 4px; }
.timeline { list-style: none; padding: 0; margin: 10px 0 0; border-left: 3px solid var(--limewash); }
.timeline li { padding: 6px 0 10px 16px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 12px; width: 13px; height: 13px; border-radius: 50%; background: var(--haldi); }
.timeline b { display: block; color: var(--tulsi); }
blockquote.his { margin: 10px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--haldi-wash); font: 1.4rem/1.3 var(--display); color: var(--tulsi); }
blockquote.his cite { display: block; margin-top: 8px; font: 600 .95rem var(--body); color: var(--muted); font-style: normal; }

/* close band */
.closeband { background: var(--tulsi); color: #DCE6D8; text-align: center; padding: 56px 0; position: relative; overflow: hidden; }
.closeband::before, .closeband::after { content: ""; position: absolute; left: 0; right: 0; height: 28px; background: var(--jhoti) repeat-x center; opacity: .8; }
.closeband::before { top: 12px; } .closeband::after { bottom: 12px; }
.closeband h2 { color: var(--rice); }
.closeband .seal { width: min(48vw, 180px); margin: 0 auto 18px; }
.closeband .actions { justify-content: center; }
.closeband .btn--ghost { color: var(--rice); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--rice);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }

@media (prefers-reduced-motion: no-preference) {
  html:not(.calm) { scroll-behavior: smooth; }
}
@media print {
  .bar, .foot, .orderbar, .menu-index, .no-print, .actions, .search, .closeband { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .mcard--feast { background: #fff; color: #000; border: 1px solid #000; }
  .mcard--feast h3, .mcard--feast .for, .mcard--feast .inc { color: #000; }
  .mcard, .dgroup { break-inside: avoid; }
  .section { padding: 12px 0; }
}

/* ---------- helpers added with the generator ---------- */
html:not(.js) .needs-js { display: none !important; }
.desk-only { display: none; }
@media (min-width: 1000px) { .desk-only { display: inline; } .only-phone { display: none !important; } }
/* order steps: one at a time on phones (JS only; without JS step 1 stays as plain links) */
html.js .order-cols > section:not(.is-step) { display: none; }
/* the kitchen and street drawings from V2, shown still */
.chef-arm-up, .nosign, .nosign-slash { opacity: 0; }
.kitchen-strip svg { aspect-ratio: 760 / 600; max-height: 360px; }
.hero-art svg { width: 100%; height: auto; max-height: 460px; }
.mcard svg { width: 48px; height: 36px; margin-bottom: 6px; }
[hidden] { display: none !important; }
/* phones: get the occasion cards onto the first screen */
@media (max-width: 759px) {
  .hero { padding: 18px 0 20px; }
  .hero h1 { font-size: 2.45rem; }
  .hero .sub { font-size: 1.02rem; margin-bottom: 10px; }
  .hero .kicker { font-size: .92rem; margin-bottom: 4px; }
  .rules { gap: 6px; }
  .rules li { font-size: .84rem; padding: 4px 10px 4px 7px; }
  .rules li::before { width: 12px; height: 12px; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .hero .actions .btn { min-height: 52px; padding: 10px 12px; font-size: .98rem; }
  .bar .wrap { gap: 8px; }
  .brand span { font-size: 1.45rem; }
  #plan { padding-top: 26px; }
}
/* occasion grid: the "something else" card fills the last cell, "today's meal" runs full width */
.occ--other { grid-column: auto; flex-direction: column; align-items: flex-start; min-height: 120px; }
.occ--other .go { margin: auto 0 0; padding-top: 8px; }
.occ--wide:not(.occ--other) { grid-column: 1 / -1; }
/* photo placeholders: a compact row on phones */
@media (max-width: 759px) {
  .grid3 > .photo-slot { aspect-ratio: 1; font-size: .78rem; padding: 8px; }
  .grid3:has(> .photo-slot) { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (min-width: 1000px) {
  .order-cols .step-picker h1 { font-size: 2rem; }
  .order-cols .step-menu h1 { font-size: 2.6rem; }
  .order-cols .step-send h2 { font-size: 2rem; }
}
/* change sheet: counter, picked line and warning stay in view while the list scrolls */
.sheet .sheet-head { position: sticky; top: -18px; z-index: 2; background: var(--rice); margin: -18px calc(-1 * var(--gutter)) 0; padding: 18px var(--gutter) 10px; border-bottom: 1px solid var(--line); }
.sheet .sheet-head h2 { margin-bottom: 4px; }
.sheet .picked { margin: 0 0 4px; font-size: .95rem; font-weight: 600; color: var(--tulsi); }
.sheet .warn { margin: 0 0 4px; }
.sheet .warn:empty { display: none; }
.sheet .panel > .btn { position: sticky; bottom: 0; }
/* desktop order: all three columns start under the header */
@media (min-width: 1000px) { .order-cols { align-items: start !important; padding-top: 32px; } .order-cols > section { align-self: start; } }
/* Contrast (Marketing's PageSpeed run, 19 Nov; tones proposed to Design): WCAG AA ≥ 4.5:1 on every V3 background */
.kicker, .crumbs a, .stepnum, .sheet .count { color: var(--leaf-deep); }   /* 5.1:1 on limewash, 6.28:1 on rice */
.chapter .num { color: var(--brass-ink); }   /* 6.45:1 on rice, 5.24:1 on limewash */
