/* Nisha's Culinary — the menu page
   The printed menu, kept in the site's own materials: a black board, the gold frame with notched corners,
   section names in the menu's pink, item names in bold capitals, descriptions in italic. */

.page-menu {
  --board-bg: #151212;
  --item-gap: clamp(24px, 2.6vw, 32px);
  background: #0D0B0B;
  color: var(--on-dark);
}

/* ---------- nav on a dark page ---------- */
.page-menu .nav { padding: 10px 0; }
.page-menu .nav.is-solid { background: rgba(17, 14, 14, .86); color: var(--on-dark); box-shadow: 0 1px 0 rgba(227, 194, 122, .18); }
.page-menu .nav.is-solid .brand img { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .45); }
.page-menu .menu-sheet { background: #131010; color: var(--on-dark); }
.page-menu .menu-sheet .meta { color: var(--on-dark-muted); }
.page-menu .menu-sheet a[aria-current="page"] { color: var(--gold-light); font-style: italic; }
.page-menu :focus-visible { outline-color: var(--gold-light); }
.page-menu .eyebrow { color: var(--gold-light); }

/* ---------- the board ---------- */
.board {
  width: min(100% - 20px, 1160px);
  margin: calc(var(--nav-h) + 10px) auto clamp(40px, 6vw, 72px);
  padding: 0 clamp(20px, 6vw, 88px);
  background-color: var(--board-bg);
  background-image:
    radial-gradient(900px 520px at 14% 280px, rgba(255, 255, 255, .038), transparent 70%),
    radial-gradient(760px 460px at 88% 1060px, rgba(255, 255, 255, .03), transparent 70%),
    radial-gradient(820px 520px at 28% 1820px, rgba(255, 255, 255, .03), transparent 70%),
    var(--grain);
  background-size: 100% 2400px, 100% 2400px, 100% 2400px, 180px 180px;
  background-repeat: repeat-y, repeat-y, repeat-y, repeat;
}

/* ---------- cover ---------- */
.mhero { display: grid; justify-items: center; text-align: center; padding: clamp(60px, 9vw, 104px) 0 clamp(26px, 3vw, 36px); }
.mhero picture { display: contents; }
.mhero-logo {
  width: clamp(96px, 11vw, 128px); height: auto; aspect-ratio: 1; border-radius: 50%; margin-bottom: 24px;
  box-shadow: 0 0 0 1px rgba(227, 194, 122, .6), 0 0 0 7px var(--board-bg), 0 0 0 8px rgba(227, 194, 122, .28), 0 26px 50px -22px #000;
}
.mhero .eyebrow { margin: 0 0 14px; }
.mhero-title { font-size: clamp(64px, 11.5vw, 136px); font-weight: 400; line-height: .92; letter-spacing: -.03em; font-variation-settings: 'opsz' 144, 'SOFT' 40; }
.mhero-title em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.mhero-rule { width: clamp(190px, 26vw, 250px); height: 25px; color: var(--gold-light); margin-top: 20px; overflow: visible; }
.mhero-lede { margin: 16px 0 0; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.45; color: var(--on-dark-muted); max-width: 32ch; text-wrap: balance; font-variation-settings: 'opsz' 36, 'SOFT' 100; }
.mhero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; margin: 26px 0 0; }
.chip-dark { margin: 0; background: rgba(255, 255, 255, .04); border-color: rgba(227, 194, 122, .3); color: var(--on-dark); }
.mhero-phone { display: inline-block; padding: 12px 0 4px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--on-dark); border-bottom: 1.5px solid rgba(227, 194, 122, .7); }
.mhero-phone:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ---------- section tabs (stick under the header) ---------- */
.mtabs { position: sticky; top: calc(var(--nav-h) + 10px); z-index: 40; display: flex; justify-content: center; margin-top: 10px; pointer-events: none; }
.mtabs-inner {
  pointer-events: auto; max-width: 100%; padding: 5px; border-radius: 999px; overflow: hidden;
  background: rgba(22, 19, 19, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(227, 194, 122, .3); box-shadow: 0 16px 40px -20px #000;
}
/* on phones the strip scrolls sideways; its edges fade where more tabs wait */
.mtabs-track {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; border-radius: 999px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%);
}
.mtabs-track::-webkit-scrollbar { display: none; }
.mtabs.fade-l .mtabs-track { --fl: 30px; }
.mtabs.fade-r .mtabs-track { --fr: 30px; }
.mtabs a {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none; color: var(--on-dark-muted); transition: color .3s, background-color .4s var(--ease-out);
}
.mtabs a:hover { color: var(--on-dark); }
.mtabs a.is-active { background: var(--gold-light); color: var(--ink); }
.mtabs a:focus-visible { outline-offset: -3px; }

/* ---------- sections ---------- */
section.msec { padding-top: clamp(72px, 10vw, 128px); scroll-margin-top: calc(var(--nav-h) + 14px); }
.msec-head { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 22px); }
.msec-head h2 {
  font-size: clamp(28px, 7.2vw, 64px); font-weight: 500; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rose-lite); text-align: center; font-variation-settings: 'opsz' 96, 'SOFT' 30;
}
.msec-head .scroll { flex: 0 0 auto; width: clamp(30px, 8vw, 92px); height: clamp(10px, 2.6vw, 28px); color: var(--gold-light); overflow: visible; }
.msec-head .scroll-r { transform: scaleX(-1); }
.msec-lede { margin: 16px auto 0; max-width: 40ch; text-wrap: balance; text-align: center; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-muted); font-variation-settings: 'opsz' 36, 'SOFT' 100; }

/* spice scale */
.heat { margin: clamp(22px, 3vw, 32px) auto 0; max-width: 560px; text-align: center; }
.heat-title { margin: 0 0 18px; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(16px, 1.4vw, 18px); color: var(--on-dark-muted); font-variation-settings: 'opsz' 36, 'SOFT' 100; }
.heat-scale { position: relative; list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.heat-scale::before { content: ''; position: absolute; top: 4px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #E3C27A, #F29A4A 38%, #EC5C3F 68%, #D42A44); }
.heat-scale li { position: relative; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; line-height: 1.4; color: var(--on-dark); }
.heat-scale li::before { content: ''; position: absolute; top: -18px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--board-bg); border: 2px solid #E3C27A; }
.heat-scale li:nth-child(2)::before { border-color: #F29A4A; }
.heat-scale li:nth-child(3)::before { border-color: #EC5C3F; }
.heat-scale li:nth-child(4)::before { border-color: #D42A44; background: #D42A44; }

/* one photo per section: the key dish, framed like the printed menu */
.group-photo {
  position: relative; margin: clamp(34px, 4.4vw, 56px) auto 0; max-width: 760px; aspect-ratio: 4 / 3;
  border-radius: 22px; overflow: hidden; background: #1c1817; box-shadow: 0 34px 80px -34px #000;
}
.group-photo picture { display: contents; }
.group-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.group-photo:hover img { transform: scale(1.03); }
.group-photo::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(227, 194, 122, .45); border-radius: 14px; pointer-events: none; }
.group-photo figcaption {
  position: absolute; left: 22px; bottom: 22px; max-width: calc(100% - 44px); padding: 8px 14px; border-radius: 999px;
  background: rgba(15, 13, 12, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--on-dark); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 480px) { .group-photo figcaption { left: 16px; bottom: 16px; max-width: calc(100% - 32px); font-size: 11.5px; line-height: 1.35; padding: 7px 12px; white-space: normal; border-radius: 14px; } }

/* the list, two columns like the printed menu */
.mcols { display: grid; row-gap: var(--item-gap); margin-top: clamp(48px, 6vw, 88px); }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--item-gap); align-content: start; }
.item-row { display: flex; align-items: baseline; align-items: last baseline; gap: 12px; }
.item-name { font-size: 14.5px; font-weight: 800; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; color: var(--on-dark); }
.leader { flex: 1 1 24px; min-width: 18px; border-bottom: 2px dotted rgba(227, 194, 122, .42); position: relative; top: -4px; }
.item-price { flex: 0 0 auto; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1; color: var(--rose-lite); font-variant-numeric: lining-nums tabular-nums; }
.mcol-label { margin: 0 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }
.item-tag { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.item-tag .star { width: 13px; height: 13px; fill: #F4C542; flex: 0 0 auto; }
.item-row .swatch { align-self: center; }
.item-desc { margin: 7px 0 0; max-width: 42ch; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 15.5px; line-height: 1.55; color: var(--on-dark-muted); font-variation-settings: 'opsz' 14, 'SOFT' 100; }
@media (min-width: 860px) {
  .mcols { position: relative; grid-template-columns: 1fr 1fr; column-gap: clamp(72px, 9vw, 128px); }
  .mcols::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(227, 194, 122, .45) 16%, rgba(227, 194, 122, .45) 84%, transparent); }
  .mcols::after { content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4px; transform: rotate(45deg); background: var(--gold-light); box-shadow: 0 0 0 5px var(--board-bg), 0 0 0 6px rgba(227, 194, 122, .5); }
}
@media (max-width: 420px) { .item-name { font-size: 13.5px; letter-spacing: .08em; } .item-price { font-size: 18px; } }

/* shake colour dots, in the shake rows */
.swatch { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background-color: var(--c); box-shadow: inset 0 -3px 5px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(255, 255, 255, .24); }
.swatch-speck { background-image: radial-gradient(circle at 32% 36%, #2B2421 1px, transparent 1.3px), radial-gradient(circle at 64% 46%, #2B2421 .9px, transparent 1.2px), radial-gradient(circle at 46% 72%, #2B2421 1px, transparent 1.3px); }
.item-desc .text-link { font-style: normal; font-family: var(--text); font-weight: 700; font-size: 14.5px; color: var(--on-dark); }

/* order */
.morder { display: grid; justify-items: center; gap: 16px; padding-top: clamp(80px, 11vw, 136px); text-align: center; }
.morder .mhero-rule { margin: 0 0 6px; }
.morder h2 { font-size: clamp(34px, 5vw, 58px); max-width: 16ch; text-wrap: balance; }
.morder p { margin: 0; max-width: 50ch; color: var(--on-dark-muted); text-wrap: balance; }
.morder-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.page-menu .btn-outline { color: var(--on-dark); border-color: rgba(247, 241, 232, .5); }
.page-menu .btn-outline:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* foot of the board, like the printed menu */
.board-foot { display: grid; justify-items: center; gap: 16px; padding: clamp(60px, 8vw, 96px) 0 clamp(34px, 4vw, 48px); }
.bf-item { display: flex; align-items: center; gap: 16px; margin: 0; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.35; font-variation-settings: 'opsz' 36, 'SOFT' 100; }
.bf-item a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.bf-item a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.bf-icon { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--rose-lite); color: var(--rose-lite); }
.bf-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.price-note { margin: 16px 0 0; max-width: 46ch; text-align: center; font-size: 13px; color: var(--on-dark-muted); }

@media (max-width: 640px) {
  .board { padding-inline: 22px; }
  .msec-head h2 { letter-spacing: .04em; }
  .heat-scale li { font-size: 10px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  .group-photo img { transition: none; }
  .mtabs-track { scroll-behavior: auto; }
}

/* ---------- desktop (1024 px and up): the same board at a calmer scale, so the menu reads with far less scrolling ---------- */
@media (min-width: 1024px) {
  .page-menu { --item-gap: 22px; }
  /* cover */
  .mhero { padding: clamp(44px, 3.8vw, 56px) 0 24px; }
  .mhero-logo { width: clamp(88px, 7.2vw, 104px); margin-bottom: 18px; }
  .mhero .eyebrow { margin-bottom: 10px; }
  .mhero-title { font-size: clamp(80px, 6.8vw, 100px); }
  .mhero .mhero-rule { margin-top: 14px; }
  .mhero-lede { margin-top: 10px; }
  .mhero-meta { margin-top: 18px; }
  /* sections: a tab still lands its heading 24-30 px under the tabs (scroll-margin-top + padding-top - the tabs) */
  section.msec { padding-top: clamp(72px, 5.4vw, 84px); }
  .msec-head h2 { font-size: clamp(44px, 3.5vw, 50px); }
  .msec-head .scroll { width: clamp(64px, 5vw, 72px); height: clamp(20px, 1.55vw, 22px); }
  .msec-lede { margin-top: 12px; }
  .heat { margin-top: 20px; }
  .heat-title { margin-bottom: 14px; }
  /* the photo keeps its 4:3 frame, so every dish stays whole; smaller, and a little smaller again on short screens
     (never under 400 px wide, so the longest "Pictured" caption still fits) */
  .group-photo { margin-top: clamp(26px, 2.1vw, 30px); max-width: clamp(400px, 56vh, 500px); }
  .mcols { margin-top: clamp(34px, 2.6vw, 38px); }
  /* order band and foot (the foot keeps its bottom padding, clear of the frame's corners) */
  .morder { padding-top: clamp(64px, 5.2vw, 76px); }
  .board-foot { padding-top: clamp(48px, 3.9vw, 56px); }
}
