/* ============================================================
   Bonedi — Ballygunge, Kolkata
   A printed-page system: one accent, hairline rules, real
   italics, optical sizing. No gradients anywhere.
   ============================================================ */

/* ---- 1. Tokens ------------------------------------------- */

:root {
  color-scheme: light;

  /* Paper */
  --paper:     #F3EEE3;
  --surface:   #FBF8F1;
  --band:      #EAE2D1;
  --rule:      #D6CAB2;
  --rule-soft: #E4DAC6;

  /* Ink */
  --ink:   #16120E;
  --ink-2: #473E33;
  --muted: #6C6052;   /* 4.75:1 on --band, the darkest ground it sits on */

  /* Accents — sindoor red and brass */
  --alta:      #8E211D;
  --alta-deep: #6B1311;
  --alta-soft: #EFE0D7;
  --on-alta:   #FCF7EE;   /* text on the accent; flips in the dark palette */
  --brass:       #8A6626;   /* 4.53:1 on --paper */
  --brass-night: #C09240;   /* 6.69:1 on --night; brass cannot serve both */

  /* Night surfaces (fixed: the kitchen and footer are always dark) */
  --night:      #14100D;
  --night-2:    #1C1712;
  --night-line: #33291F;
  --on-night:   #F0E7D5;
  --on-night-2: #A2947C;

  /* Image mats */
  --clay: #E7D7C0;
  --sand: #EEE5D2;
  --moss: #DBE1D1;
  --rose: #EDDBD4;

  --grain-blend: multiply;
  --grain-alpha: .05;
  --shadow-lift: 0 22px 48px -34px rgba(48, 34, 18, .55);

  /* Measure */
  --page: 1240px;
  --gutter: clamp(20px, 4.6vw, 56px);
  --header-h: 78px;

  /* Space — a 4px chromatic scale, used everywhere */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 22px;
  --sp-6: 32px;
  --sp-7: 44px;
  --section-y: clamp(58px, 7.6vw, 116px);

  /* Type */
  --ff-display: "Fraunces", "Hoefler Text", "Iowan Old Style", Georgia, serif;
  --ff-text: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
  --ff-bn: "Noto Serif Bengali", "Fraunces", serif;

  --fs-micro:   11px;
  --fs-caption: 13px;
  --fs-small:   14px;
  --fs-body:    15.5px;
  --fs-lede:    clamp(16px, .95rem + .45vw, 18.5px);
  --fs-h2:      clamp(1.85rem, 1.35rem + 2.1vw, 2.9rem);
  --fs-h1:      clamp(2.7rem, 1.5rem + 4.6vw, 5.1rem);

  --ls-caps: .2em;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* One dark palette, declared twice so the toggle wins either way. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper:     #14100D;
    --surface:   #1B1611;
    --band:      #191410;
    --rule:      #3A2F23;
    --rule-soft: #2A2219;

    --ink:   #F0E7D6;
    --ink-2: #C8BBA5;
    --muted: #948671;

    --alta:      #D2685B;
    --alta-deep: #E4897A;
    --alta-soft: #2A1714;
    --brass:     #C09240;

    --clay: #2A2018;
    --sand: #241D15;
    --moss: #1D251C;
    --rose: #291B18;

    --grain-blend: screen;
    --grain-alpha: .035;
    --shadow-lift: 0 22px 48px -34px rgba(0, 0, 0, .9);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:     #14100D;
  --surface:   #1B1611;
  --band:      #191410;
  --rule:      #3A2F23;
  --rule-soft: #2A2219;

  --ink:   #F0E7D6;
  --ink-2: #C8BBA5;
  --muted: #948671;

  --alta:      #D2685B;
  --alta-deep: #E4897A;
  --alta-soft: #2A1714;
  --on-alta:   #1C100D;
  --brass:     #C09240;
  --brass-night: #C09240;

  --clay: #2A2018;
  --sand: #241D15;
  --moss: #1D251C;
  --rose: #291B18;

  --grain-blend: screen;
  --grain-alpha: .035;
  --shadow-lift: 0 22px 48px -34px rgba(0, 0, 0, .9);
}

/* ---- 2. Base --------------------------------------------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Anchors land below the sticky masthead instead of under it. */
  scroll-padding-top: calc(var(--header-h) + var(--sp-5));
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* clip, not hidden: hidden would make body a scroll container and
     change what the sticky masthead sticks to. */
  overflow-x: clip;
}

/* Optical sizing is the whole point of loading a variable serif. */
h1, h2, h3, h4,
.mark__name, .dish__price, .menu__tab, .order b, .hours dd,
.hero__facts dd, .sourcing b, .ledger b, .adda__shot figcaption,
.plate-band__name strong, .hero__plate strong, .sweet strong {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 24, "WONK" 0;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--alta); color: var(--on-alta); }

.sprite { position: absolute; }

:where(a, button, input, select, [tabindex]):focus-visible {
  outline: 2px solid var(--alta);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 200;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 2px;
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .2s var(--ease);
}
.skip:focus-visible { transform: none; }

/* A single sheet of paper grain over the whole page. Not a gradient —
   fractal noise at 5%, which is what stops flat colour looking digital. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--grain-alpha);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.num {
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: .01em;
}

/* am/pm rides small and quiet, so the numerals stay the figure. */
.mer {
  font-size: .62em;
  font-variant-numeric: normal;
  letter-spacing: .05em;
  color: var(--muted);
  margin-left: .4em;
}

[lang="bn"] { font-family: var(--ff-bn); line-height: 1.5; }

/* ---- 3. Repeated pieces ----------------------------------- */

.eyebrow {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span { color: var(--brass); margin-inline: 7px; font-size: 8px; vertical-align: 2px; }
.eyebrow--night { color: var(--on-night-2); }

/* Underline that draws from the left rather than just changing colour. */
.quiet-link {
  position: relative;
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--alta);
  padding-bottom: 4px;
  white-space: nowrap;
}
.quiet-link::before,
.quiet-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
}
.quiet-link::before { background: currentColor; opacity: .35; }
.quiet-link::after {
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.quiet-link:hover::after { transform: scaleX(1); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 15px 28px;
  font-family: var(--ff-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .12s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--alta {
  background: var(--alta);
  color: var(--on-alta);
  border-color: color-mix(in oklab, var(--alta) 82%, #000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn--alta:hover { background: var(--alta-deep); }
.btn--ink {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.btn--ink:hover { background: var(--alta); color: var(--on-alta); }
.btn--line {
  border-color: var(--rule);
  color: var(--ink);
  background: transparent;
}
.btn--line:hover { border-color: var(--ink); background: color-mix(in oklab, var(--ink) 5%, transparent); }
.btn--full { width: 100%; }

/* ---- 4. Topline + masthead -------------------------------- */

.topline {
  background: var(--night);
  color: var(--on-night-2);
  font-size: 12px;
  letter-spacing: .07em;
}
.topline__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  min-height: 42px;
  flex-wrap: wrap;
  text-align: center;
}
.topline__now { color: var(--on-night); }
.topline__sep { color: var(--brass-night); font-size: 7px; }
.topline a { transition: color .2s var(--ease); }
.topline a:hover { color: var(--brass-night); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
@supports not (backdrop-filter: blur(1px)) { .masthead { background: var(--paper); } }

.masthead.is-stuck {
  border-bottom-color: var(--rule);
  box-shadow: 0 18px 34px -30px rgba(30, 20, 8, .8);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
  transition: min-height .34s var(--ease);
}
/* The masthead condenses once you leave the top of the page. */
.masthead.is-stuck .masthead__inner { min-height: 62px; }

.mark { display: grid; align-items: baseline; line-height: 1; }

/* The emblem carries no alpha, so it is clipped to a disc and reads as a
   seal stamped on the paper rather than a picture floating on it. */
.mark--seal {
  grid-template-columns: auto auto;
  grid-template-areas:
    "seal name"
    "seal bn";
  align-items: center;
  column-gap: 13px;
}
.mark__seal {
  grid-area: seal;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--rule-soft);
  transition: width .34s var(--ease), height .34s var(--ease);
}
.mark--seal .mark__name { grid-area: name; }
.mark--seal .mark__bn { grid-area: bn; margin-top: 4px; }
.mark__name {
  font-weight: 600;
  font-size: 27px;
  letter-spacing: .01em;
  color: var(--ink);
  transition: font-size .34s var(--ease);
}
.mark__bn {
  font-size: 12px;
  letter-spacing: .13em;
  color: var(--brass);
  margin-top: 5px;
  transition: opacity .3s var(--ease), margin-top .34s var(--ease);
}
.masthead.is-stuck .mark__seal { width: 36px; height: 36px; }
.masthead.is-stuck .mark__name { font-size: 23px; }
.masthead.is-stuck .mark__bn { font-size: 11px; margin-top: 3px; }
.mark--night .mark__name { color: var(--on-night); }
.mark--night .mark__bn { color: var(--brass-night); }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.1vw, 30px);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  color: var(--ink-2);
  padding-block: 4px;
  transition: color .22s var(--ease);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--alta);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .34s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after,
.nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: var(--ink); }
.nav .btn { color: var(--paper); }
.nav .btn::after { display: none; }

/* Palette switch — a utility control, so it lives in the utility bar
   and the masthead stays wordmark, navigation, one call to action. */
.theme {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  background: transparent;
  color: var(--on-night-2);
  cursor: pointer;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.theme:hover { color: var(--brass-night); border-color: var(--brass-night); }
.theme svg { width: 15px; height: 15px; overflow: visible; }
.theme__disc {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: fill .3s var(--ease);
}
.theme__rays {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  transform-origin: center;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
/* In the evening palette the sun closes to a filled disc. */
:root[data-theme="dark"] .theme__rays { opacity: 0; transform: rotate(45deg) scale(.4); }
:root[data-theme="dark"] .theme__disc { fill: currentColor; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme__rays { opacity: 0; transform: rotate(45deg) scale(.4); }
  :root:not([data-theme="light"]) .theme__disc { fill: currentColor; }
}
@media (max-width: 680px) {
  .theme { position: static; transform: none; }
}

.burger {
  display: none;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  color: var(--ink);
}
.burger__bars { display: grid; gap: 5px; }
.burger__bars span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] .burger__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.burger em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .burger { display: inline-flex; margin-left: auto; }
  .mark__seal { width: 40px; height: 40px; }
  .masthead.is-stuck .mark__seal { width: 34px; height: 34px; }
  .masthead__inner { flex-wrap: wrap; gap: var(--sp-4); }
  .masthead__inner .nav {
    width: 100%;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border-top: 1px solid var(--rule-soft);
    padding-block: var(--sp-3) var(--sp-5);
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 11px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: var(--sp-2); }
}

/* ---- 5. Hero ---------------------------------------------- */

.hero { padding-block: clamp(44px, 6.4vw, 92px) 0; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5.6vw, 80px);
  align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 {
  margin-top: var(--sp-5);
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: .97;
}
/* A real Fraunces italic, with the wonky forms switched on. */
.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--alta);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  letter-spacing: -.02em;
}

.lede {
  margin-top: var(--sp-6);
  max-width: 46ch;
  font-size: var(--fs-lede);
  color: var(--ink-2);
  line-height: 1.6;
}

.hero__acts { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(24px, 4vw, 54px);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}
.hero__facts dt {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__facts dd { font-size: 19px; margin-top: 3px; }

.hero__plate { margin: 0; position: relative; }
.hero__plate figcaption {
  position: relative;
  margin: -38px 0 0 clamp(0px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 20px 24px;
  max-width: 310px;
  display: grid;
  gap: 2px;
  box-shadow: var(--shadow-lift);
}
.hero__plate strong { font-weight: 600; font-size: 18px; }
.hero__plate figcaption span[lang="bn"] { font-size: 13px; color: var(--brass); }
.hero__note { font-size: var(--fs-caption); color: var(--muted); line-height: 1.5; margin-top: 7px; }

/* The arch — a doorway crop, with a hairline mat inside the frame. */
.arch {
  position: relative;
  border-radius: 999px 999px 3px 3px / 46% 46% 3px 3px;
  background: var(--clay);
  border: 1px solid var(--rule-soft);
  overflow: hidden;
  isolation: isolate;
}
.arch::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(252, 247, 238, .26);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s var(--ease);
}
.arch--clay { background: var(--clay); }
.arch--sand { background: var(--sand); }
.arch--leaf { background: var(--moss); }
.arch--rose { background: var(--rose); }

.hero__plate .arch { aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lift); }

.ticker {
  display: flex;
  flex-wrap: wrap;
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ticker li {
  flex: 1 1 220px;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-5);
  font-size: var(--fs-caption);
  letter-spacing: .01em;
  color: var(--ink-2);
  border-left: 1px solid var(--rule-soft);
}
.ticker li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 700px) {
  .ticker li {
    flex-basis: 100%;
    border-left: 0;
    padding-inline: 0;
    padding-block: var(--sp-4);
    border-top: 1px solid var(--rule-soft);
  }
  .ticker li:first-child { border-top: 0; }
}

/* ---- 6. Full-width plate -------------------------------- */

.plate-band { padding-bottom: clamp(48px, 6vw, 88px); }
.plate-band__fig { margin: 0; }
.plate-band__fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  background: var(--clay);
}
.plate-band__fig figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px var(--sp-5);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
}
.plate-band__name strong { font-weight: 600; font-size: 19px; }
.plate-band__name span[lang="bn"] { font-size: 14px; color: var(--alta); margin-left: 8px; }
.plate-band__note { font-size: var(--fs-small); color: var(--muted); max-width: 58ch; }

/* ---- 7. Sections + heads --------------------------------- */

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--band { background: var(--band); border-block: 1px solid var(--rule-soft); }
/* Skip-link target: focusable for keyboard users, but never outlined. */
.section[tabindex="-1"]:focus { outline: none; }

.head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.head h2 {
  margin-top: var(--sp-3);
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -.022em;
}
.head__sub { margin-top: var(--sp-4); color: var(--muted); font-size: var(--fs-body); max-width: 54ch; }
.head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  max-width: none;
}
.head--split .head__sub { margin-top: 0; max-width: 40ch; }
@media (max-width: 760px) {
  .head--split { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
}

/* ---- 8. Order of courses --------------------------------- */

/* Fixed column counts, not auto-fit: the rules between columns only sit
   right if the stylesheet knows which item starts and ends a row. */
.order {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.order li {
  padding: var(--sp-6) var(--sp-5);
  border-bottom: 1px solid var(--rule-soft);
  border-right: 1px solid var(--rule-soft);
  display: grid;
  align-content: start;
  gap: 3px;
}
.order li:nth-child(4n + 1) { padding-left: 0; }
.order li:nth-child(4n) { border-right: 0; }
.order li:last-child { border-right: 0; }

@media (max-width: 900px) {
  .order { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order li:nth-child(4n + 1) { padding-left: var(--sp-5); }
  .order li:nth-child(4n) { border-right: 1px solid var(--rule-soft); }
  .order li:nth-child(2n + 1) { padding-left: 0; }
  .order li:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .order { grid-template-columns: minmax(0, 1fr); }
  .order li { border-right: 0; padding-inline: 0; }
}
.order__n {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--brass);
  margin-bottom: var(--sp-3);
}
.order b { font-weight: 600; font-size: 21px; letter-spacing: -.01em; }
.order span[lang="bn"] { font-size: 13.5px; color: var(--alta); }
.order p { margin-top: var(--sp-2); font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---- 9. The menu ----------------------------------------- */

.menu {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: var(--shadow-lift);
}
.menu__tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background: var(--band);
  border-bottom: 1px solid var(--rule);
}
.menu__tab {
  flex: 1 1 auto;
  background: none;
  border: 0;
  border-right: 1px solid var(--rule-soft);
  padding: 21px 18px;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s var(--ease), background-color .3s var(--ease);
}
.menu__tab:last-of-type { border-right: 0; }
.menu__tab:hover { color: var(--ink); }
.menu__tab.is-on { color: var(--ink); background: var(--surface); }

/* One rule that slides between the tabs rather than four that blink. */
.menu__ink {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--alta);
  pointer-events: none;
}
.menu__ink.is-ready { transition: transform .45s var(--ease), width .45s var(--ease); }

.menu__panel { padding: clamp(16px, 2.6vw, 30px) clamp(18px, 3.4vw, 40px) clamp(24px, 3vw, 38px); }
.menu__panel[hidden] { display: none; }
.menu__panel.is-swapping .dish { opacity: 0; transform: translateY(6px); }

.dishes { display: grid; }

/* Proper menu typesetting: name, dot leader, price on one baseline. */
.dish {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto;
  grid-template-areas:
    "name lead price"
    "note note  note";
  align-items: baseline;
  column-gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--rule-soft);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  transition-delay: calc(var(--i, 0) * 40ms);
}
.dish:last-child { border-bottom: 0; padding-bottom: var(--sp-1); }

.dish__name {
  grid-area: name;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.dish__bn { font-family: var(--ff-bn); font-size: 13.5px; font-weight: 400; color: var(--alta); margin-left: 12px; }
.dish__lead {
  grid-area: lead;
  align-self: baseline;
  /* Dots ride the baseline, the way a set leader does on a printed menu. */
  border-bottom: 1px dotted var(--rule);
  transform: translateY(-2px);
}
.dish__price { grid-area: price; font-size: 19px; font-weight: 500; }

/* Every row answers the pointer. */
.dish__name, .dish__price { transition: color .25s var(--ease); }
.dish__lead { transition: border-color .25s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .dish:hover .dish__name,
  .dish:hover .dish__price { color: var(--alta); }
  .dish:hover .dish__lead { border-bottom-color: var(--alta); }
}
.dish__note {
  grid-area: note;
  margin-top: 7px;
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
}
@media (max-width: 620px) {
  .dish {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name price" "note note";
  }
  .dish__lead { display: none; }
  .dish__bn { display: block; margin-left: 0; margin-top: 4px; }
}

.menu__foot {
  margin-top: var(--sp-6);
  font-size: var(--fs-small);
  color: var(--ink-2);
  max-width: 60ch;
}
.menu__foot .num { color: var(--alta); font-weight: 700; }

/* ---- 10. Plates, adda, sweets ---------------------------- */

.plates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.plate .arch { aspect-ratio: 1 / 1.16; }
.plate:hover .arch img { transform: scale(1.045); }
.plate h3 { margin-top: var(--sp-5); font-size: 21px; font-weight: 600; }
.plate__bn { display: block; font-size: 13.5px; color: var(--alta); margin-top: 3px; }
.plate p { margin-top: 9px; font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }

.adda {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 46px);
  align-items: end;
}
@media (max-width: 940px) {
  .adda { grid-template-columns: 1fr 1fr; }
  .adda__text { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .adda { grid-template-columns: 1fr; } }
.adda__text h2 {
  margin-top: var(--sp-3);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  max-width: 18ch;
}
.adda__text p { margin-top: var(--sp-5); color: var(--muted); max-width: 44ch; }
.adda__note { font-size: 13.5px; font-style: italic; }
.adda__shot { margin: 0; }
.adda__shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  background: var(--clay);
  transition: transform .9s var(--ease);
}
.adda__shot { overflow: clip; }
.adda__shot:hover img { transform: scale(1.04); }
.adda__shot figcaption { margin-top: var(--sp-3); font-size: 16px; font-weight: 500; }
.adda__shot figcaption span { font-family: var(--ff-bn); font-size: 13px; color: var(--alta); margin-left: 8px; }

.sweets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: clamp(22px, 3vw, 38px);
}
.sweet { margin: 0; }
.sweet img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  background: var(--clay);
}
.sweet figcaption { margin-top: var(--sp-4); }
.sweet strong { display: block; font-weight: 600; font-size: 20px; }
.sweet span[lang="bn"] { display: block; font-size: 13.5px; color: var(--alta); margin-top: 3px; }
.sweet p { margin-top: 9px; font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }

/* ---- 11. The kitchen (always night) ---------------------- */

.kitchen {
  background: var(--night);
  color: var(--on-night);
  border-block: 1px solid var(--night-line);
}
.kitchen__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(34px, 6vw, 84px);
  padding-block: clamp(58px, 7.5vw, 110px);
  align-items: start;
}
@media (max-width: 900px) { .kitchen__grid { grid-template-columns: 1fr; } }
.kitchen h2 {
  margin-top: var(--sp-4);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 500;
  color: var(--on-night);
  max-width: 24ch;
}
.kitchen__text p { margin-top: var(--sp-5); color: var(--on-night-2); max-width: 56ch; }

.sourcing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 4vw, 48px);
  margin-top: var(--sp-7);
  border-top: 1px solid var(--night-line);
}
@media (max-width: 520px) { .sourcing { grid-template-columns: 1fr; } }
.sourcing li {
  padding: var(--sp-5) var(--sp-5) var(--sp-5) 0;
  border-bottom: 1px solid var(--night-line);
  display: grid;
  gap: 4px;
}
.sourcing b { font-weight: 600; font-size: 17px; color: var(--on-night); }
.sourcing span { font-size: var(--fs-caption); color: var(--on-night-2); }

.ledger {
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 3px;
  padding: 28px 26px;
}
.ledger__head {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--brass-night);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--night-line);
}
.ledger ul { display: grid; }
.ledger li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--night-line);
  font-size: var(--fs-small);
  color: var(--on-night-2);
}
.ledger b { font-weight: 500; font-size: 14px; color: var(--on-night); letter-spacing: .03em; }
.ledger__note { margin-top: var(--sp-4); font-size: 12.5px; color: var(--on-night-2); font-style: italic; }

/* ---- 12. Rooms, visit, booking --------------------------- */

.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.room {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: clamp(26px, 3.4vw, 44px);
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  transition: border-color .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.room:hover {
  border-color: var(--brass);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.room__seat {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--brass);
}
.room h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; }
.room p { color: var(--muted); font-size: var(--fs-small); max-width: 42ch; }
.room .quiet-link { justify-self: start; margin-top: var(--sp-2); }

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }
.visit h2 { margin-top: var(--sp-3); font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 500; }
.visit__addr { margin-top: var(--sp-3); color: var(--ink-2); }
.visit__addr span { color: var(--brass); font-size: 8px; vertical-align: 2px; margin-inline: 8px; }

.hours { margin-top: var(--sp-7); border-top: 1px solid var(--rule); }
.hours > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--rule-soft);
}
.hours dt { font-size: var(--fs-small); color: var(--muted); }
.hours dd { font-size: 17px; }
.hours a { transition: color .2s var(--ease); }
.hours a:hover { color: var(--alta); }

.alpona { display: block; width: 180px; height: auto; margin-top: var(--sp-7); color: var(--brass); }

.visit__note { margin-top: var(--sp-4); font-size: var(--fs-small); color: var(--muted); max-width: 42ch; line-height: 1.55; }

.book {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: clamp(26px, 3.2vw, 40px);
  box-shadow: var(--shadow-lift);
}
.book h3 { font-size: 1.6rem; font-weight: 500; }
.book__sub { margin-top: var(--sp-2); font-size: 13.5px; color: var(--muted); }

.book__form {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.field { display: grid; gap: 7px; grid-column: span 3; }
.field:nth-of-type(3), .field:nth-of-type(4), .field:nth-of-type(5) { grid-column: span 2; }
.field--wide, .book__form .btn { grid-column: 1 / -1; }
.field span {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select {
  font-family: var(--ff-text);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 13px;
  width: 100%;
  min-width: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field select:focus {
  border-color: var(--alta);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--alta) 16%, transparent);
}
.field input::placeholder { color: var(--muted); opacity: .75; }
.field--invalid input { border-color: var(--alta); }
@media (max-width: 520px) {
  .book__form { grid-template-columns: 1fr; }
  .field, .field:nth-of-type(3), .field:nth-of-type(4), .field:nth-of-type(5) { grid-column: 1 / -1; }
}

.book__reply {
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-4);
  background: var(--alta-soft);
  border-left: 2px solid var(--alta);
  font-size: var(--fs-small);
  color: var(--ink-2);
}

/* ---- 13. Footer ------------------------------------------ */

.footer {
  background: var(--night);
  color: var(--on-night-2);
  font-size: var(--fs-small);
  padding-top: clamp(50px, 6vw, 76px);
  border-top: 1px solid var(--night-line);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(26px, 4vw, 54px);
  padding-bottom: var(--sp-7);
}
.footer__mark p { margin-top: var(--sp-4); max-width: 34ch; line-height: 1.6; }
.footer h4 {
  font-family: var(--ff-text);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--on-night);
  margin-bottom: var(--sp-4);
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--brass-night); }
.footer__legal {
  border-top: 1px solid var(--night-line);
  padding-block: var(--sp-5) var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  align-items: center;
  font-size: 12.5px;
}
.footer__push { margin-left: auto; font-style: italic; }
@media (max-width: 620px) { .footer__push { margin-left: 0; } }

.alpona--footer {
  width: 148px;
  margin: 0 auto var(--sp-5);
  color: var(--brass-night);
  opacity: .85;
}

/* ---- Footer, narrow ---------------------------------------
   Three lists stacked at one weight read as an undifferentiated
   ladder. Pair the two short ones behind a column rule, give the
   contact block its own band, and let hairlines do the structural
   work that vertical space cannot.
   ----------------------------------------------------------- */

@media (max-width: 860px) {
  .footer { padding-top: clamp(34px, 8vw, 54px); }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "mark  mark"
      "house also"
      "find  find";
    gap: 0;
    padding-bottom: var(--sp-3);
  }
  .footer__mark        { grid-area: mark; padding-bottom: var(--sp-5); }
  .footer__col--house  { grid-area: house; }
  .footer__col--also   { grid-area: also; }
  .footer__col--find   { grid-area: find; }

  .footer__col { padding-block: var(--sp-4) var(--sp-5); border-top: 1px solid var(--night-line); }
  .footer__col--also { border-left: 1px solid var(--night-line); padding-left: var(--sp-5); }
  .footer h4 { margin-bottom: var(--sp-2); }

  /* Rows a thumb can actually hit: ~46px rather than ~22px. */
  .footer__col ul { gap: 0; }
  .footer__col--house a,
  .footer__col--also a { display: block; padding-block: 11px; }

  /* The address stays quiet; the two ways to reach the house do not. */
  .footer__addr { color: var(--on-night-2); line-height: 1.5; }
  .footer__addr:first-child { padding-top: 2px; }
  .footer__reach:first-of-type { margin-top: var(--sp-4); }
  .footer__reach a {
    display: block;
    padding-block: 13px;
    border-top: 1px solid var(--night-line);
    font-family: var(--ff-display);
    font-optical-sizing: auto;
    font-size: 18px;
    color: var(--on-night);
  }
  .footer__reach + .footer__reach { margin-top: 0; }

  .alpona--footer { width: 120px; margin-bottom: var(--sp-3); }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: var(--sp-4) var(--sp-5);
    /* Clear of the iOS home indicator. */
    padding-bottom: max(var(--sp-5), env(safe-area-inset-bottom));
  }
  .footer__legal > span:first-child { color: var(--on-night); }
}

/* ---- 14. Reveal on scroll -------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--d, 0) * 80ms);
    will-change: opacity, transform;
  }
  html.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
  /* The hero arrives quickly — it is the first thing anyone sees. */
  html.js .hero [data-reveal] {
    transform: translate3d(0, 14px, 0);
    transition-duration: .62s;
    transition-delay: calc(var(--d, 0) * 55ms);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- 15. Print: the menu, on paper ----------------------- */

@media print {
  :root { --paper: #fff; --ink: #000; --muted: #444; --rule: #bbb; --rule-soft: #ddd; }
  .topline, .masthead, .grain, .skip, .hero__acts, .book, .footer__col,
  .theme, .burger, .plate-band, .adda__shot, .menu__tabs { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .menu, .room, .ledger { box-shadow: none; border-color: #ccc; }
  .menu__panel[hidden] { display: block !important; }
  .section { padding-block: 18pt; break-inside: avoid; }
  .dish { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
  .kitchen, .footer { background: #fff; color: #000; border: 0; }
  .kitchen h2, .sourcing b, .ledger b { color: #000; }
  .kitchen__text p, .sourcing span, .ledger li { color: #333; }
}
