/* Annapurna Restaurant: same family as the hotel site (Ralgine, Lato, sandstone gold),
   its own warm palette (terracotta and paper) so it reads as a place of its own. */
@font-face {
  font-family: 'Ralgine';
  src: url('../fonts/Ralgine.woff2') format('woff2'), url('../fonts/Ralgine.woff') format('woff');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
:root {
  --ink: #2B1712; --ink-soft: #5E4038;
  --terra: #7A2E1D; --terra-dark: #5C2014;
  --gold: #C4A584; --gold-dark: #A8876A;
  --paper: #FBF5EC; --paper-2: #F2E7D6;
  --line: rgba(43, 23, 18, 0.14);
  --veg: #2E7D32; --nonveg: #8B2A1A;
  --serif: 'Ralgine', Georgia, serif;
  --sans: 'Lato', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Buttons: square-ish, no lift on hover */
.btn { display: inline-block; padding: 0.75rem 1.4rem; font-weight: 700; font-size: 0.9rem; text-decoration: none; border: 2px solid var(--terra); border-radius: 3px; transition: background 0.2s, color 0.2s; }
.btn-solid { background: var(--terra); color: #fff; }
.btn-solid:hover { background: var(--terra-dark); border-color: var(--terra-dark); }
.btn-line { color: var(--terra); background: transparent; }
.btn-line:hover { background: var(--terra); color: #fff; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem clamp(1rem, 4vw, 3rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-size: 1.9rem; color: var(--terra); text-decoration: none; line-height: 1; display: inline-flex; align-items: baseline; gap: 0.5rem; }
.wordmark small { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); }
.wordmark.small { font-size: 1.15rem; }
.top-links { display: flex; align-items: center; gap: 1.4rem; font-size: 0.92rem; }
.top-links a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.top-links a:not(.btn):hover { color: var(--terra); }
.top-links .btn { padding: 0.55rem 1rem; font-size: 0.85rem; white-space: nowrap; }

/* Hero: text beside photo (the hotel site uses full-bleed photo heroes; this one doesn't) */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem); max-width: 1280px; margin: 0 auto; }
.kicker { color: var(--gold-dark); font-size: 1rem; margin-bottom: 0.4rem; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 9vw, 6.5rem); line-height: 1; color: var(--terra); }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 30rem; margin: 1.2rem 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
figcaption { font-size: 0.72rem; color: var(--ink-soft); margin-top: 0.35rem; text-align: right; }

/* Facts row: one band, four plain columns */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 1.3rem clamp(1rem, 2vw, 1.6rem); display: flex; flex-direction: column; gap: 0.2rem; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts .label { font-family: var(--serif); font-size: 1.15rem; color: var(--terra); }
.facts a { text-decoration: none; font-weight: 700; }

/* Menu */
.menu { max-width: 1180px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) 2rem; }
.menu-intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2rem; }
.menu-intro h2, .cat h2, .visit h2 { font-family: var(--serif); font-weight: 400; color: var(--terra); }
.menu-intro h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-right: auto; }
.price-note { font-size: 0.88rem; color: var(--ink-soft); }
.price-note.end { margin-top: 2.5rem; text-align: center; }

.catnav { position: sticky; top: 72px; z-index: 10; display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; background: var(--paper); padding: 0.9rem 0; margin: 1.2rem 0 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; padding-bottom: 0.2rem; border-bottom: 2px solid transparent; }
.catnav a:hover { color: var(--terra); border-bottom-color: var(--gold); }

.cat { padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.5rem; margin-bottom: 1.2rem; }
.cat h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.cat-note { font-size: 0.88rem; color: var(--terra); font-style: italic; }
.cat-body { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.cat.has-photo .cat-body { grid-template-columns: 300px 1fr; }
.cat.has-photo.flip .cat-body { grid-template-columns: 1fr 300px; }
.cat.has-photo.flip .cat-photo { order: 2; }
.cat-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.6rem 2.5rem; align-content: start; }
.group h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--gold-dark); margin-bottom: 0.4rem; }
.group ul { list-style: none; }
.group li { display: flex; align-items: baseline; gap: 0.55rem; padding: 0.32rem 0; }
.dish { flex: 0 1 auto; }
.dots { flex: 1 1 auto; border-bottom: 1px dotted rgba(43, 23, 18, 0.35); transform: translateY(-0.25em); min-width: 1rem; }
.price { flex: 0 0 auto; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Indian veg / non-veg marks (square with dot, as on food packs) */
.mark { flex: 0 0 auto; width: 13px; height: 13px; border: 1.5px solid; border-radius: 2px; position: relative; transform: translateY(1px); display: inline-block; }
.mark::after { content: ''; position: absolute; inset: 2.5px; border-radius: 50%; background: currentColor; }
.mark-v { color: var(--veg); }
.mark-n { color: var(--nonveg); }

/* Visit */
.visit { max-width: 1180px; margin: 2rem auto 0; padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem); background: var(--paper-2); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; border-radius: 4px; }
.visit h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.visit p { color: var(--ink-soft); max-width: 34rem; }
.visit .hours { margin-top: 0.8rem; color: var(--ink); font-weight: 700; }
.visit-actions { display: flex; flex-direction: column; gap: 0.7rem; align-items: stretch; text-align: center; }

.foot { text-align: center; padding: 2.5rem 1rem 3rem; color: var(--ink-soft); font-size: 0.92rem; }
.foot a { color: var(--terra); }
.foot .fine { font-size: 0.78rem; margin-top: 0.4rem; }

/* Tablet */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cat.has-photo .cat-body, .cat.has-photo.flip .cat-body { grid-template-columns: 1fr; }
  .cat.has-photo.flip .cat-photo { order: 0; }
  .cat-photo img { aspect-ratio: 16 / 9; }
  .visit { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 600px) {
  .top-links a:not(.btn) { display: none; }
  .wordmark { font-size: 1.6rem; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .top { padding: 0.7rem 1rem; }
  .top-links .btn { padding: 0.5rem 0.8rem; font-size: 0.8rem; }
  .catnav { top: 63px; gap: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 600px) { .wide-only { display: none; } }
/* Ralgine decorative letters, same features as the hotel site */
.ttl-first { font-feature-settings: "ss07" 1, "ss09" 1; }
.ttl-last  { font-feature-settings: "ss06" 1, "ss03" 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Veg / Non-veg filter (replaces the plain legend) */
.diet-filter { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.diet-filter button { display: inline-flex; align-items: center; gap: 0.45rem; font: inherit; font-size: 0.88rem; color: var(--ink-soft); background: transparent; border: 0; padding: 0.45rem 0.9rem; cursor: pointer; }
.diet-filter button + button { border-left: 1px solid var(--line); }
.diet-filter button:hover { color: var(--terra); }
.diet-filter button[aria-pressed="true"] { background: var(--terra); color: #fff; }
.diet-filter button[aria-pressed="true"] .mark { background: #fff; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .diet-filter { width: 100%; } .diet-filter button { flex: 1; justify-content: center; padding: 0.5rem 0.4rem; font-size: 0.82rem; } }
