/* ===== Shared: top bar, tabs, page bands ===== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy); color: var(--gold);
  border-bottom: 1px solid rgba(217, 180, 104, .45);
}
.topbar .inner { display: flex; align-items: center; gap: 16px; min-height: 62px; width: min(1240px, 100% - 32px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: "Pinyon Script", cursive; font-size: 27px; line-height: 1; white-space: nowrap; }
.tabs { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tabs a {
  display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none; color: var(--gold);
  font-family: "Cinzel", serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: background .15s, color .15s;
}
.tabs a:hover { background: rgba(217, 180, 104, .14); color: var(--gold); }
.tabs a[aria-current=page] { background: var(--gold); color: var(--navy-deep); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(217, 180, 104, .5); background: transparent; color: var(--gold); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded=true] .bars { display: none; }
.menu-btn[aria-expanded=true] .x { display: block; }

@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .brand span { font-size: 24px; }
  .tabs {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--navy); border-bottom: 1px solid rgba(217, 180, 104, .45); box-shadow: 0 16px 30px rgba(10, 16, 35, .35);
    display: none;
  }
  .tabs.open { display: flex; }
  .tabs a { padding: 14px 12px; border-radius: 10px; font-size: 14px; border-bottom: 1px solid rgba(217, 180, 104, .12); }
  .tabs li:last-child a { border-bottom: 0; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .topbar .inner { min-height: 52px; }
  .brand img { width: 32px; height: 32px; }
  .tabs { max-height: calc(100vh - 60px); overflow: auto; }
}

/* Page band (navy header for each tab) */
.band { background: var(--navy); color: var(--gold); text-align: center; padding: 44px 20px 48px; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(217, 180, 104, .3); border-radius: 4px; pointer-events: none; }
.band .eyebrow { margin: 0 0 8px; font-size: 12px; color: var(--gold); }
.band h1 { margin: 0; font-weight: 400; font-size: clamp(40px, 6.5vw, 64px); line-height: 1.1; }
.band p.lede { margin: 12px auto 0; max-width: 52ch; color: var(--gold); font-size: 19px; }
.band .mini-ganesha { width: 40px; margin: 0 auto 12px; filter: brightness(1.35) saturate(.9); }
@media (max-height: 520px) and (orientation: landscape) { .band { padding: 26px 20px 28px; } }

/* Sub-navigation (segmented controls & chips) */
.subnav { position: sticky; top: 62px; z-index: 30; background: rgba(255, 241, 219, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
@media (max-height: 520px) and (orientation: landscape) { .subnav { top: 52px; } }
.subnav .inner { width: min(1120px, 100% - 32px); margin-inline: auto; padding: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: 1 1 0; min-width: max-content; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fffaf1; cursor: pointer; color: var(--navy);
}
.seg button .l1 { font-family: "Cinzel", serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.seg button .l2 { font-size: 15px; color: #5d6a86; }
.seg button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.seg button[aria-pressed=true] .l2 { color: var(--gold); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips .chip { flex: none; }
.chip.now::after { content: "Now"; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 10px; letter-spacing: .08em; }

.page { padding: 34px 0 20px; }
.page .wrap { width: min(1120px, 100% - 40px); }
.lead-in { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.lead-in .eyebrow { font-size: 12px; color: var(--gold-ink); margin: 0 0 6px; }
.lead-in h2 { margin: 0; font-family: "Cinzel", serif; font-weight: 500; font-size: clamp(24px, 3vw, 32px); letter-spacing: .04em; color: var(--navy-deep); }
.lead-in p { margin: 8px 0 0; }
.back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--teal);
  font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.back:hover { color: var(--navy); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fffaf1;
  font-family: "Cinzel", serif; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.pill.teal { background: rgba(19, 145, 143, .1); border-color: rgba(19, 145, 143, .35); color: #0d5f5e; }
.pill.gold { background: #fbefd5; border-color: #e5cc96; color: #7d5c22; }
.crossnav { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 36px 0 0; }

/* ===== Invitation ===== */
.inv-layout { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 40px; align-items: start; }
.inv-layout.no-video { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.video-frame { position: sticky; top: 90px; }
.video-frame .phone { background: var(--navy-deep); border-radius: 26px; padding: 10px; box-shadow: 0 20px 50px rgba(38, 53, 92, .3); border: 1px solid rgba(217, 180, 104, .5); }
.video-frame video { width: 100%; aspect-ratio: 480 / 848; border-radius: 18px; background: #26355c; display: block; }
.video-frame .cap { text-align: center; margin: 12px 0 0; font-size: 15px; color: #5d6a86; }
.inv-cards { display: grid; gap: 28px; }
.inv-card { background: #fef2da; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; text-align: center; color: var(--navy-deep); }
.inv-card .in { padding: 34px 28px 0; }
.inv-card .ganesha { width: 34px; margin: 0 auto 16px; }
.inv-card .sc { font-family: "Cinzel", serif; font-variant: small-caps; font-size: 19px; letter-spacing: .04em; line-height: 1.45; margin: 0; }
.inv-card .sc.sm { font-size: 15.5px; }
.inv-card .gap { height: 14px; }
.inv-card .name { font-family: "Pinyon Script", cursive; color: var(--gold-ink); font-size: clamp(34px, 5vw, 44px); line-height: 1.15; margin: 6px 0; }
.inv-card .with { font-family: "Cinzel", serif; font-variant: small-caps; font-size: 16px; margin: 2px 0; }
.inv-card .lotus { margin-top: 10px; width: 100%; aspect-ratio: 2000 / 715; display: block; }
.inv-card h3 { font-family: "Pinyon Script", cursive; font-weight: 400; color: var(--gold-ink); font-size: 46px; margin: 0 0 8px; }
.prog { width: 100%; border-collapse: collapse; text-align: left; font-family: "Cinzel", serif; font-variant: small-caps; font-size: 16px; }
.prog caption { text-align: left; font-size: 18px; padding: 16px 0 6px; color: var(--navy-deep); }
.prog td { padding: 7px 8px 7px 0; vertical-align: top; border-bottom: 1px solid rgba(154, 116, 52, .15); }
.prog td:nth-child(2) { white-space: nowrap; }
.prog td:last-child { text-align: right; color: var(--navy); }
.prog a { color: inherit; text-decoration-color: rgba(19, 145, 143, .5); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .inv-layout { grid-template-columns: 1fr; gap: 28px; }
  .video-frame { position: static; max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .inv-card .in { padding: 26px 16px 0; }
  .inv-card .sc { font-size: 17px; }
  .prog { font-size: 15px; }
  .prog tr { display: grid; grid-template-columns: 1fr auto; }
  .prog td:nth-child(3) { grid-column: 1 / -1; text-align: left; padding-top: 0; color: #5d6a86; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .inv-layout { grid-template-columns: minmax(200px, 30vw) 1fr; }
  .video-frame { position: sticky; top: 70px; }
  .video-frame video { max-height: calc(100vh - 110px); width: auto; margin: 0 auto; }
}

/* ===== Rituals ===== */
.part { margin: 0 0 34px; scroll-margin-top: 190px; }
.part-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 18px; }
.part-head h3 { margin: 0; font-family: "Cinzel", serif; font-weight: 500; font-size: 22px; letter-spacing: .06em; color: var(--navy-deep); }
.part-head .mv { font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.part-head p { flex-basis: 100%; margin: 2px 0 0; color: #5d6a86; font-size: 17px; font-style: italic; }
.rlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.rcard {
  text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; cursor: pointer;
  background: #fffaf1; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; text-decoration: none;
  transition: transform .15s, border-color .15s;
}
.rcard:hover { transform: translateY(-2px); border-color: #d6b56f; }
.rcard .time { font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; }
.rcard h4 { margin: 0; font-family: "Cinzel", serif; font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--navy-deep); }
.rcard p { margin: 0; font-style: italic; color: #4d5a78; font-size: 17px; line-height: 1.4; }
.rcard .go { margin-top: auto; padding-top: 6px; font-family: "Cinzel", serif; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.tip { display: flex; gap: 14px; align-items: flex-start; background: rgba(19, 145, 143, .08); border: 1px solid rgba(19, 145, 143, .3); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 26px; }
.tip strong { font-family: "Cinzel", serif; font-weight: 500; letter-spacing: .06em; color: #0d5f5e; }
.tip p { margin: 0; }

/* Ritual reading view */
.reader { max-width: 760px; margin: 0 auto; }
.reader .crumbs { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.reader header { text-align: center; margin-bottom: 26px; }
.reader header .where { font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 10px; }
.reader header h2 { margin: 0; font-family: "Cinzel", serif; font-weight: 500; font-size: clamp(30px, 4.2vw, 42px); line-height: 1.15; color: var(--navy-deep); }
.reader header .subt { margin: 8px 0 14px; font-style: italic; font-size: 22px; color: var(--gold-ink); }
.reader .prose p { margin: 0 0 16px; }
.reader .prose > p:first-child::first-letter { font-family: "Cinzel", serif; float: left; font-size: 64px; line-height: .9; padding: 6px 10px 0 0; color: var(--gold-ink); }
.reader .prose h3 { margin: 30px 0 10px; font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 25px; color: var(--navy-deep); }
.verse { margin: 26px 0; padding: 24px 22px; background: #fffaf1; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; position: relative; }
.verse::before { content: ""; position: absolute; left: 50%; top: -7px; width: 12px; height: 12px; background: var(--beige); border: 1px solid #d6b56f; transform: translateX(-50%) rotate(45deg); }
.verse .dev { font-family: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif; font-size: 22px; line-height: 1.7; color: var(--navy-deep); margin: 0; }
.verse .iast { font-style: italic; font-size: 18px; color: #4d5a78; margin: 12px 0 0; line-height: 1.5; }
.verse .tr { margin: 14px auto 0; max-width: 56ch; font-size: 19px; }
.verse .src { margin: 12px 0 0; font-family: "Cinzel", serif; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.verse .toggle { position: absolute; right: 10px; top: 10px; }
.pullq { font-family: "Pinyon Script", cursive; font-size: clamp(28px, 4vw, 36px); line-height: 1.3; color: var(--gold-ink); text-align: center; margin: 28px 0; }
.appeal { text-align: center; font-style: italic; font-size: 21px; color: var(--navy); margin: 24px 0; }
.steps { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 12px 14px; background: #fffaf1; border: 1px solid var(--line); border-radius: 12px; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: "Cinzel", serif; font-size: 20px; }
.steps .dev { font-family: "Tiro Devanagari Sanskrit", serif; font-size: 18px; }
.steps .iast { font-style: italic; color: #4d5a78; }
.steps .m { margin-top: 2px; }
.box { border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; }
.box h4 { margin: 0 0 8px; font-family: "Cinzel", serif; font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.box.see { background: #fffaf1; border: 1px solid var(--line); }
.box.see h4 { color: var(--gold-ink); }
.box.see ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.box.see li { position: relative; padding-left: 22px; }
.box.see li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.box.join { background: rgba(19, 145, 143, .08); border: 1px solid rgba(19, 145, 143, .3); }
.box.join h4 { color: #0d5f5e; }
.box.join p { margin: 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.pager button { text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fffaf1; cursor: pointer; color: var(--navy-deep); }
.pager button.next { text-align: right; grid-column: 2; }
.pager button small { display: block; font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.pager button span { font-family: "Cinzel", serif; font-size: 16px; }
.pager button:hover { border-color: #d6b56f; }
@media (max-width: 560px) {
  .pager { grid-template-columns: 1fr; }
  .pager button.next { grid-column: 1; }
  .verse { padding: 22px 14px; }
  .verse .dev { font-size: 19px; }
  .reader .prose > p:first-child::first-letter { font-size: 52px; }
}

/* Guide (welcome, notes, glossary) */
.guide { max-width: 820px; margin: 0 auto; display: grid; gap: 30px; }
.guide .card { padding: 28px 30px; }
.guide h3 { margin: 0 0 4px; font-family: "Cinzel", serif; font-weight: 500; font-size: 24px; color: var(--navy-deep); }
.guide .sub { margin: 0 0 16px; font-style: italic; color: var(--gold-ink); }
.guide ul.marks { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.guide ul.marks li { padding-left: 22px; position: relative; }
.guide ul.marks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.guide .sign { font-family: "Pinyon Script", cursive; font-size: 32px; color: var(--gold-ink); margin: 6px 0 0; }
.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.notes div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.notes h4 { margin: 0 0 6px; font-family: "Cinzel", serif; font-weight: 500; font-size: 15px; letter-spacing: .08em; color: var(--teal); }
.notes p { margin: 0; font-size: 18px; }
.gloss { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.gloss div { padding: 10px 0; border-bottom: 1px solid rgba(154, 116, 52, .18); }
.gloss dt { font-family: "Cinzel", serif; font-size: 15px; letter-spacing: .06em; color: var(--navy-deep); }
.gloss dd { margin: 2px 0 0; font-size: 17.5px; }
.arc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.arc li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: start; }
.arc .num { font-family: "Cinzel", serif; font-size: 24px; color: var(--gold-ink); text-align: center; }
.arc b { font-family: "Cinzel", serif; font-weight: 500; letter-spacing: .04em; }
.arc .when { font-family: "Cinzel", serif; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); display: block; }
.arc button { all: unset; cursor: pointer; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(19, 145, 143, .4); text-underline-offset: 3px; }
@media (max-width: 640px) {
  .notes, .gloss { grid-template-columns: 1fr; }
  .guide .card { padding: 22px 18px; }
}

/* ===== Menu ===== */
.promise { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 8px; max-width: 900px; }
.promise .pill { cursor: help; }
.promise-note { text-align: center; font-style: italic; font-size: 16px; color: #5d6a86; margin: 10px auto 0; max-width: 70ch; }
.meal-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.meal-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fffaf1; cursor: pointer; color: var(--navy); text-align: left; }
.meal-tabs button .l1 { font-family: "Cinzel", serif; font-size: 14px; letter-spacing: .08em; }
.meal-tabs button .l2 { font-size: 15px; color: #5d6a86; }
.meal-tabs button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.meal-tabs button[aria-pressed=true] .l2 { color: var(--gold); }
.meal-head { text-align: center; max-width: 760px; margin: 0 auto 22px; }
.meal-head h2 { margin: 0; font-family: "Cinzel", serif; font-weight: 500; font-size: clamp(30px, 4vw, 40px); color: var(--navy-deep); }
.meal-head .meta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }
.meal-head .tag { font-style: italic; color: var(--gold-ink); font-size: 20px; margin: 6px 0 0; }
.meal-head p { margin: 10px 0 0; }
.meal-head .fine { font-size: 16px; color: #5d6a86; font-style: italic; }
.course { margin: 0 0 30px; scroll-margin-top: 230px; }
.course h3 { margin: 0 0 14px; font-family: "Cinzel", serif; font-weight: 500; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); display: flex; align-items: center; gap: 12px; }
.course h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.dish {
  display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 16px 18px; border-radius: var(--radius); cursor: pointer;
  background: #fffaf1; border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; transition: transform .15s, border-color .15s;
}
.dish:hover { transform: translateY(-2px); border-color: #d6b56f; }
.dish .nm { font-family: "Cinzel", serif; font-size: 17px; line-height: 1.3; color: var(--navy-deep); }
.dish .tg { font-style: italic; color: #4d5a78; font-size: 16.5px; line-height: 1.35; }
.dish .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.dish .pill { font-size: 10.5px; padding: 2px 9px; }
.search { position: relative; }
.search input { width: 100%; padding: 10px 14px 10px 40px; border-radius: 999px; border: 1px solid #d9c8a6; background: #fff; font-size: 17px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--gold-ink); }
.results-note { text-align: center; color: #5d6a86; margin: 0 0 16px; }
.dish .where { font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 900px; margin: 0 auto; text-align: left; }
.promise-grid div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf1; }
.promise-grid b { display: block; font-family: "Cinzel", serif; font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.promise-grid span { font-size: 17px; line-height: 1.35; }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } .promise-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .promise-grid { grid-template-columns: 1fr; } }
.extra { text-align: left; padding: 22px 24px; border-radius: var(--radius); border: 1px solid rgba(217, 180, 104, .5); background: var(--navy); color: var(--gold); cursor: pointer; }
.extra small { font-family: "Cinzel", serif; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; }
.extra b { display: block; font-family: "Cinzel", serif; font-weight: 500; font-size: 21px; margin: 4px 0; }
.extra span { font-style: italic; color: var(--gold); }
@media (max-width: 640px) { .extras { grid-template-columns: 1fr; } .dishes { grid-template-columns: 1fr; } }

/* Dish detail sheet */
.sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.sheet.open { display: block; }
.sheet .scrim { position: absolute; inset: 0; background: rgba(20, 26, 45, .55); }
.sheet .panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(620px, 100%); background: var(--beige); overflow-y: auto;
  box-shadow: -20px 0 50px rgba(20, 26, 45, .3); animation: slidein .25s ease;
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet .bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; background: var(--navy-deep); color: var(--gold); z-index: 2; }
.sheet .bar .where { font-family: "Cinzel", serif; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet .bar .acts { display: flex; gap: 6px; flex: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(217, 180, 104, .45); background: transparent; color: var(--gold); cursor: pointer; display: inline-grid; place-items: center; font-size: 22px; line-height: 1; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.sheet .body { padding: 26px 28px 40px; }
.sheet h2 { margin: 0; font-family: "Cinzel", serif; font-weight: 500; font-size: clamp(26px, 4vw, 32px); line-height: 1.2; color: var(--navy-deep); }
.sheet .tg { margin: 6px 0 16px; font-style: italic; font-size: 21px; color: var(--gold-ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 18px; }
.facts dt, .sheet .lbl { font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.facts dd { margin: 2px 0 0; font-size: 17px; line-height: 1.35; }
.sheet .lbl { display: block; margin: 18px 0 6px; }
.sheet p { margin: 0; }
.ing { width: 100%; border-collapse: collapse; }
.ing th, .ing td { text-align: left; padding: 6px 0; border-bottom: 1px dotted #d9c8a6; vertical-align: top; font-size: 17.5px; }
.ing th { font-weight: 600; padding-right: 14px; width: 40%; }
.enjoy { margin-top: 18px; background: #fbefd5; border: 1px solid #e5cc96; border-radius: 12px; padding: 14px 16px; }
.enjoy .lbl { margin-top: 0; color: #7d5c22; }
.note-line { margin-top: 16px; font-style: italic; color: #4d5a78; }
.note-line b { font-style: normal; font-family: "Cinzel", serif; font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--teal); margin-right: 8px; }
.sheet .story p { margin: 0 0 14px; }
.chef + .chef { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.chef .facts { grid-template-columns: 1fr 1fr; }
.chef blockquote { margin: 16px 0 0; font-family: "Pinyon Script", cursive; font-size: 28px; line-height: 1.3; color: var(--gold-ink); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; } .sheet .body { padding: 22px 18px 36px; } }
body.locked { overflow: hidden; }
.loading-view { text-align: center; padding: 60px 20px; color: #5d6a86; }

/* Search sits under the sticky bar, scrolling with the page */
.find { padding-top: 16px; }
.find .search { display: block; max-width: 560px; margin: 0 auto; }

/* Phones: compact headers so the content shows sooner */
@media (max-width: 640px) {
  .band { padding: 26px 16px 28px; }
  .band::before { inset: 8px; }
  .band h1 { font-size: 40px; }
  .band p.lede { font-size: 16.5px; margin-top: 8px; }
  .subnav .inner { padding: 8px 0; gap: 8px; }
  .seg button { flex-direction: row; justify-content: center; gap: 6px; padding: 7px 10px; border-radius: 10px; }
  .seg button .l1 { font-size: 11.5px; }
  .seg button .l2 { font-size: 14px; }
  .meal-tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .meal-tabs::-webkit-scrollbar { display: none; }
  .meal-tabs button { flex: none; padding: 6px 12px; border-radius: 10px; }
  .meal-tabs button .l1 { font-size: 13px; }
  .meal-tabs button .l2 { font-size: 13.5px; }
  .meal-tabs .vn { display: none; }
  .chips .chip { padding: 6px 12px; font-size: 11px; }
  .page { padding-top: 24px; }
  .part { scroll-margin-top: 150px; }
  .course { scroll-margin-top: 170px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .band { padding: 20px 20px 22px; }
  .band h1 { font-size: 40px; }
  .band p.lede { display: none; }
  .subnav { position: static; }
  .seg button { flex-direction: row; gap: 6px; padding: 6px 10px; }
  .meal-tabs .vn { display: none; }
}

/* Menu page in book order: welcome, kitchen promise, feasts, chefs, Ramayana */
.menu-book { padding-top: 34px; padding-bottom: 10px; }
#menuPost { padding-top: 10px; }
.menu-book .guide { gap: 26px; }
.menu-book .story p { margin: 0 0 14px; }
.menu-book .lbl { display: block; margin: 18px 0 6px; font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.menu-book .chef h4 { margin: 0; font-family: "Cinzel", serif; font-weight: 500; font-size: 22px; color: var(--navy-deep); }
.menu-book .chef .role { margin: 2px 0 14px; font-style: italic; color: var(--gold-ink); }
.menu-book .promise-grid { max-width: none; }
.menu-book [id^="mb-"] { scroll-margin-top: 80px; }
.feasts-title { text-align: center; padding: 28px 16px 14px; }
.feasts-title .eyebrow { margin: 0 0 4px; font-size: 12px; color: var(--gold-ink); }
.feasts-title h2 { margin: 0; font-family: "Cinzel", serif; font-weight: 500; font-size: clamp(26px, 4vw, 34px); color: var(--navy-deep); }

/* Chefs and Ramayana open and close */
.fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary .sub { margin-bottom: 0; }
.fold summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); position: relative; }
.fold summary i::before { content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg); transition: transform .2s; }
.fold[open] summary i::before { top: 55%; transform: translate(-50%, -50%) rotate(-135deg); }
.fold summary:hover h3 { color: var(--gold-ink); }
.fold summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 6px; }
.fold .fold-body { margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--line); }
.seg button { justify-content: center; }
