/* Hallmark · custom (by brief): the shop's paper tablecloth with a red block-print border · job: visit (book or call) · signature: the bhangra dancer who dances in the hero and swings through the menu card · hero: split, name left, sketch right · nav: none, a sticky category rail inside the menu · footer: the menu's brown back cover */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V5 · weakest: S, 85 rows is long; a sticky rail and food-first order carry it */
/* waive 9, 67: "INDIAN RESTAURANT & BAR" is set in condensed capitals because the shop's menu cover sets it that way (brief) */
/* copy: verbatim (data.ts copy and printed notes only) */

:root {
  --cloth: #fbf5e6;
  --cream: #fffbf2;
  --paper-line: #e6d8bb;
  --ink: #2b1a12;
  --ink-2: #5d4536;
  --red: #c2361f;
  --red-d: #9e2914;
  --saffron: #f0b652;
  --marigold: #e57e1c;
  --marigold-2: #f39a33;
  --marigold-y: #f6c430;
  --marigold-y2: #fbd860;
  --flower-c: #b8460f;
  --leaf: #3e7a35;
  --leaf-d: #2c5a26;
  --choc: #371d1b;
  --gold: #ecc46b;
  --gold-2: #cf9f45;
  --white: #fff6e6;
  --white-2: #e7d6bd;
  --indigo: #1f2a5c;
  --indigo-2: #33449a;
  --on-indigo: #f6f1e6;
  --on-indigo-2: #c9cde6;
  --brass: #c9973a;
  --brass-hi: #f6dc94;
  --brass-lo: #8c621f;
  --brass-ink: #3a240d;
  --skin: #8d5a3b;
  --shade: #3b1e0c;

  --f-disp: 'Rozha One', Georgia, serif;
  --f-cond: 'Teko', 'Arial Narrow', sans-serif;
  --f-ming: 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
  --f-body: system-ui, -apple-system, 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;

  --bw: 40px; /* block-print border width on wide screens */
  --gut: max(16px, calc(var(--bw) + 28px));
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--gold-2) var(--cloth); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  background: var(--cloth);
  color: var(--ink);
  font: 400 1rem/1.75 var(--f-body);
  caret-color: var(--red);
}
::selection { background: var(--saffron); color: var(--choc); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.menu :focus-visible, .reviews :focus-visible, .foot :focus-visible { outline-color: var(--saffron); }
p { margin: 0; }
h1, h2, h3, h4 { overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.snt { display: inline-block; }
.ic { width: 1.25em; height: 1.25em; flex: none; display: inline-block; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 20; padding: .6em 1em; background: var(--choc); color: var(--white); border-radius: 3px; }
.skip:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

/* ---------- the tablecloth's block-print border ---------- */

body::before, body::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--bw);
  background: var(--red);
  mask: url(/art/print-v.svg) 50% 0 / 100% auto repeat-y;
  pointer-events: none;
}
body::before { left: 8px; }
body::after { right: 8px; }

.seam {
  display: flex;
  height: 22px;
  width: calc(100% - 2 * (var(--bw) + 20px));
  margin-inline: auto;
}
.seam i { flex: 1; background: var(--red); mask: url(/art/print-h.svg) 0 50% / auto 100% repeat-x; }
.seam-top { margin-top: 8px; }

/* ---------- buttons, status ---------- */

.acts { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 48px;
  padding: .6em 1.35em;
  font: 700 1.05rem/1.2 var(--f-body);
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 3px;
  box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 5.5px var(--saffron);
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:active { translate: 0 1px; }
.btn:hover { background: var(--red-d); box-shadow: inset 0 0 0 4px var(--red-d), inset 0 0 0 5.5px var(--saffron); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn.ghost:hover { background: var(--cream); box-shadow: inset 0 0 0 2px var(--ink); }
.status { font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: .5em; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.status.is-open { color: var(--leaf-d); font-weight: 700; }

/* ---------- section heads ---------- */

.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec-head { max-width: 42rem; margin-bottom: clamp(28px, 4vw, 52px); }
.h2 { margin: 0; font: 900 clamp(2.5rem, 5vw, 3.6rem)/1.1 var(--f-ming); color: var(--ink); letter-spacing: .04em; }
.sec-sub { margin-top: .5em; font: 700 1.15rem/1.5 var(--f-ming); color: var(--red); }
.sec-copy { margin-top: .6em; color: var(--ink-2); text-wrap: pretty; }

/* ---------- hero ---------- */

.hero { position: relative; padding-top: clamp(92px, 9.5vw, 140px); }
.toran { position: absolute; top: 0; left: 0; width: 100%; height: clamp(96px, 10.4vw, 150px); z-index: 3; pointer-events: none; overflow: visible; }
.toran g { transform-box: view-box; }
.cord { fill: none; stroke: var(--leaf-d); stroke-width: 2; }
.fl-r { stroke: var(--flower-c); stroke-width: 2.2; stroke-dasharray: 2.6 2; }
.fl-o .fl-r { fill: var(--marigold); }
.fl-o .fl-m { fill: var(--marigold-2); }
.fl-y .fl-r { fill: var(--marigold-y); }
.fl-y .fl-m { fill: var(--marigold-y2); }
.fl-c { fill: var(--flower-c); }
.lf { fill: var(--leaf); stroke: var(--leaf-d); stroke-width: 1; }
.petals { position: absolute; inset: 0; overflow: clip; pointer-events: none; z-index: 4; }
.petal { display: none; }

.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(16px, 2vw, 32px) clamp(40px, 5vw, 72px);
}
.name { margin: 0; display: grid; justify-items: start; line-height: 1; }
.nm-zh { font: 900 clamp(3.4rem, 7.6vw, 6.6rem)/1.05 var(--f-ming); letter-spacing: .03em; color: var(--ink); }
.nm-kind { margin-top: .2em; font: 900 clamp(1.5rem, 2.9vw, 2.4rem)/1.1 var(--f-ming); letter-spacing: .32em; color: var(--ink-2); }
.nm-en { margin-top: .32em; font: 400 clamp(2.3rem, 4.6vw, 3.9rem)/1 var(--f-disp); color: var(--red); }
.nm-sub { margin-top: .2em; font: 500 clamp(1.1rem, 1.7vw, 1.45rem)/1 var(--f-cond); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.tagline { margin-top: 1.1rem; font: 700 clamp(1.15rem, 1.7vw, 1.4rem)/1.5 var(--f-ming); color: var(--ink); }
.lede { margin-top: .5rem; max-width: 30em; color: var(--ink-2); }
.st-hero { margin-top: 1rem; }
.acts-hero { margin-top: 1.1rem; }

.hero-art { position: relative; display: grid; }
.hero-sk { position: relative; z-index: 1; }
.hero-sk img { width: 100%; }
.balle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: end;
  width: min(100%, 400px);
  margin: -28px 0 0 auto;
  position: relative;
  z-index: 2;
  cursor: default;
}
.d-hero { grid-row: 1 / span 2; width: clamp(104px, 11vw, 150px); height: auto; overflow: visible; }
.balle-cry { font: 400 clamp(1.6rem, 2.4vw, 2rem)/1 var(--f-disp); color: var(--red); rotate: -6deg; transform-origin: 0 100%; justify-self: start; }
.balle-t { font-size: .92rem; line-height: 1.6; color: var(--ink-2); padding-bottom: 6px; }

/* the dancer */
.dancer g { transform-box: view-box; }
.d-arm-l { transform-origin: 82px 100px; }
.d-arm-r { transform-origin: 118px 100px; }
.d-leg-l { transform-origin: 88px 206px; }
.d-leg-r { transform-origin: 112px 206px; }
.d-body { transform-origin: 100px 210px; }
.d-head { transform-origin: 100px 88px; }
.d-all { transform-origin: 100px 260px; }
.d-skin { fill: var(--skin); stroke: var(--ink); stroke-width: 1.5; }
.d-ink { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; }
.d-shoe { fill: var(--gold-2); stroke: var(--ink); stroke-width: 1.5; }
.d-lungi { fill: var(--saffron); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.d-pleat { fill: none; stroke: var(--marigold); stroke-width: 2; stroke-linecap: round; }
.d-kurta { fill: var(--red); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.d-vest { fill: var(--leaf); stroke: var(--gold-2); stroke-width: 1.5; }
.d-sash { fill: var(--marigold-y); stroke: var(--ink); stroke-width: 1.5; }
.d-beard { fill: var(--ink); }
.d-pagg { fill: var(--marigold); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.d-turla { fill: var(--marigold-y); stroke: var(--ink); stroke-width: 1.5; }
.d-sleeve { fill: none; stroke: var(--red); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.d-rumal { fill: var(--indigo-2); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .mo .hero-sk img { animation: sk-in 1.4s cubic-bezier(.2, .8, .2, 1) both; }
  .mo .strand { animation: sway 2.4s ease-in-out var(--d) 2; }
  .balle.go .d-all { animation: d-bounce .9s ease-in-out 4; }
  .balle.go .d-body { animation: d-tilt .9s ease-in-out 4; }
  .balle.go .d-head { animation: d-nod .9s ease-in-out 4; }
  .balle.go .d-arm-l { animation: d-arm-l .9s ease-in-out 4; }
  .balle.go .d-arm-r { animation: d-arm-r .9s ease-in-out 4; }
  .balle.go .d-leg-l { animation: d-leg-l .9s ease-in-out 4; }
  .balle.go .d-leg-r { animation: d-leg-r .9s ease-in-out 4; }
  .balle.go .balle-cry { animation: d-cry .45s cubic-bezier(.2, 1.6, .4, 1) 8; }
}
@keyframes sk-in { from { translate: 0 28px; rotate: 2.5deg; } }
@keyframes sway { 0%, 100% { rotate: 0deg; } 25% { rotate: 7deg; } 75% { rotate: -7deg; } }
@keyframes d-bounce { 0%, 50%, 100% { translate: 0 0; } 12%, 62% { translate: 0 5px; } 30%, 80% { translate: 0 -7px; } }
@keyframes d-tilt { 0%, 50%, 100% { rotate: 0deg; } 25% { rotate: -4deg; } 75% { rotate: 4deg; } }
@keyframes d-nod { 0%, 50%, 100% { rotate: 0deg; } 25% { rotate: 7deg; } 75% { rotate: -7deg; } }
@keyframes d-arm-l { 0%, 100% { rotate: 0deg; } 25% { rotate: 16deg; } 75% { rotate: -14deg; } }
@keyframes d-arm-r { 0%, 100% { rotate: 0deg; } 25% { rotate: 14deg; } 75% { rotate: -16deg; } }
@keyframes d-leg-r { 0%, 50%, 100% { rotate: 0deg; } 22% { rotate: -42deg; } }
@keyframes d-leg-l { 0%, 50%, 100% { rotate: 0deg; } 72% { rotate: 42deg; } }
@keyframes d-cry { 0% { scale: .7; } 40% { scale: 1.14; } 100% { scale: 1; } }

/* ---------- sets: brass trays ---------- */

.trays { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(20px, 3vw, 44px); }
.tray {
  --w: 290px;
  --spin: -14deg;
  position: relative;
  width: min(var(--w), 100%);
  height: calc(250px + var(--n) * 24px);
  border-radius: 50%;
  overflow: clip;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--brass-lo) 30%, transparent) 0 1.4px, transparent 2.4px) 0 0 / 13px 13px,
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--brass-hi) 55%, transparent) 0 1.6px, transparent 2.8px) 6px 7px / 13px 13px,
    radial-gradient(ellipse 62% 58% at 46% 40%, var(--brass-hi) 0 30%, transparent 80%),
    radial-gradient(ellipse at 50% 50%, var(--brass) 55%, var(--brass-lo) 100%);
  box-shadow:
    inset 0 0 0 5px var(--brass-lo),
    inset 0 0 0 7px var(--brass-hi),
    inset 0 -18px 40px -10px color-mix(in srgb, var(--brass-lo) 70%, transparent),
    0 22px 34px -18px color-mix(in srgb, var(--shade) 55%, transparent);
}
.tray.t1 { --w: 320px; --spin: 12deg; }
.tray.t2 { --w: 350px; --spin: -10deg; }
.tray::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; border: 5px dotted var(--brass-hi); opacity: .9; }
.tray::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 38%, color-mix(in srgb, var(--cream) 75%, transparent) 50%, transparent 62%);
  translate: -110% 0;
  pointer-events: none;
}
.tray-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14% 17%; margin: 0; color: var(--brass-ink); }
.tray-pp { display: flex; align-items: baseline; gap: .15em; }
.tray-n { font: 400 3.4rem/1 var(--f-disp); }
.tray-u { font: 900 1.4rem/1 var(--f-ming); }
.tray-h { margin: .3rem 0 .6rem; font: 900 1.3rem/1.3 var(--f-ming); }
.tray-list { list-style: none; margin: 0; padding: 0; font: 700 .95rem/1.55 var(--f-ming); }
.tray-p { margin-top: .7rem; display: flex; align-items: baseline; gap: .3em; }
.tray-p .ntd { font: 600 1.2rem/1 var(--f-cond); }
.tray-price { font: 400 2.3rem/1 var(--f-disp); font-variant-numeric: tabular-nums; }
.sets-note { margin-top: clamp(24px, 3vw, 40px); text-align: center; color: var(--ink-2); }

/* ---------- the menu card ---------- */

.menu { position: relative; z-index: 1; background: var(--saffron); padding: clamp(10px, 1.8vw, 24px); }
.menu-sheet { position: relative; background: var(--choc); color: var(--white); padding: clamp(32px, 5vw, 72px) clamp(18px, 4.5vw, 72px) clamp(40px, 5vw, 72px); }
.menu-sheet::before { content: ""; position: absolute; inset: 9px; border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent); pointer-events: none; }
.menu-head, .grp, .allergy { position: relative; z-index: 1; max-width: var(--max); margin-inline: auto; }
.wm-layer { position: absolute; inset: 0; z-index: 0; overflow: clip; pointer-events: none; }
.d-wm { position: sticky; top: 14vh; width: min(72vw, 560px); height: auto; margin: 10vh auto 0; color: var(--gold); opacity: .06; }
.d-wm :is(path, circle) { fill: currentColor; stroke: currentColor; }
.d-wm :is(.d-sleeve, .d-ink) { fill: none; }
.d-wm .d-pleat { stroke: none; }
.h2-menu { color: var(--gold); }
.menu-head .sec-copy { color: var(--white-2); }
.legend { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--white-2); font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: .5em; }
.legend .tag { margin: 0; }
.tag { display: inline-block; margin-left: .45em; padding: .28em .45em .22em; font: 600 .72rem/1 var(--f-body); color: var(--gold); border: 1px solid currentColor; border-radius: 2px; vertical-align: .18em; white-space: nowrap; }
.menu-meta { margin-top: .8rem; color: var(--white-2); font-size: .92rem; }
.menu-pdf { margin-top: .6rem; }
.menu-pdf a { display: inline-flex; align-items: center; gap: .45em; color: var(--gold); font-weight: 700; }

.rail {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: clamp(28px, 4vw, 44px) calc(-1 * clamp(18px, 4.5vw, 72px)) 0;
  background: var(--choc);
  border-block: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-target-group: auto;
}
.rail ul { list-style: none; margin: 0 auto; padding: 4px 8px; display: flex; justify-content: center; gap: 2px; width: max-content; min-width: 100%; }
.rail a { display: block; padding: .5em .9em .4em; font: 700 1.05rem/1.3 var(--f-ming); color: var(--white-2); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.rail a:hover { color: var(--white); }
.rail a:focus-visible { outline-offset: -3px; }
.rail a:is(:target-current, .target-current) { color: var(--gold); border-bottom-color: var(--gold); }

.grp { scroll-margin-top: 56px; padding-top: clamp(40px, 5vw, 68px); }
.grp:focus { outline: none; }
.g-h { display: flex; align-items: center; gap: .6em; margin: 0 0 1.4rem; font: 900 clamp(2rem, 3.6vw, 2.8rem)/1.1 var(--f-ming); color: var(--gold); letter-spacing: .06em; }
.g-h::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold-2), transparent); }
.cats { columns: 2; column-gap: clamp(36px, 5vw, 76px); }
.one .cats { columns: 1; max-width: 560px; }
.cat { break-inside: avoid; padding-bottom: 2.4rem; }
.c-h { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .6em; margin: 0 0 .7rem; padding-bottom: 14px; color: var(--gold); }
.c-en { font: 600 1.6rem/1.05 var(--f-cond); letter-spacing: .01em; }
.c-zh { font: 700 1.12rem/1.3 var(--f-ming); }
.mehndi { position: absolute; left: 0; bottom: 0; width: min(100%, 250px); height: 12px; overflow: visible; }
.mehndi path { fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; }
.mehndi circle { fill: var(--gold-2); }
.c-note { margin-top: .7rem; font-size: .9rem; color: var(--white-2); }

.items { list-style: none; margin: 0; padding: 0; }
.it {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: .9rem;
  align-items: baseline;
  padding: .6rem 0 .55rem;
  border-bottom: 1px dashed color-mix(in srgb, var(--gold) 22%, transparent);
}
.it-en { font: 600 1.34rem/1.08 var(--f-cond); color: var(--white); }
.it-zh { font: 700 1rem/1.35 var(--f-ming); color: var(--gold); text-align: right; }
.it-p { min-width: 4.4em; font: 500 1.3rem/1 var(--f-cond); color: var(--white); text-align: right; white-space: nowrap; }
.it-p .ntd { font-size: .78em; color: var(--gold-2); }
.it-p .ntd.zh { font: 700 .8rem/1 var(--f-ming); margin-right: .15em; }
.it-p.two { display: grid; gap: .2em; }
.it-d { grid-column: 1 / -1; max-width: 40em; margin-top: .3rem; font-size: .84rem; line-height: 1.55; color: var(--white-2); }
.allergy { margin-top: 1rem; padding-top: 1.4rem; border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); color: var(--white-2); font-size: .92rem; }

/* sketches of menu dishes, on cream cards */
.shelf { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(18px, 2.6vw, 36px); margin: 0 0 2.2rem; }
.dish { margin: 0; display: grid; justify-items: center; gap: .6rem; }
.dish figcaption { font: 700 .95rem/1.35 var(--f-ming); color: var(--gold); text-align: center; }
.dish-mat { position: relative; display: grid; place-items: center; }
.d-plate .dish-mat {
  width: clamp(210px, 21vw, 262px);
  aspect-ratio: 1.22;
  padding: 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%, var(--cream) 62%, var(--cloth) 100%);
  box-shadow: inset 0 0 0 5px var(--cloth), inset 0 0 0 7px var(--saffron), 0 14px 26px -14px color-mix(in srgb, var(--shade) 90%, transparent);
}
.d-arch .dish-mat { width: clamp(150px, 14vw, 178px); aspect-ratio: 100 / 140; padding: 26% 9% 7%; place-items: end center; background: var(--saffron); mask: url(/art/arch.svg) 0 0 / 100% 100% no-repeat; }
.d-arch .dish-mat::before { content: ""; position: absolute; inset: 5px; background: var(--cream); mask: url(/art/arch.svg) 0 0 / 100% 100% no-repeat; }
.dish-mat .sk { position: relative; width: 100%; }
/* The sketches run to the edge of their frame, so every one fades out at its edges instead of ending in a hard rectangle. */
img.sk { mask: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect; }
/* On the oval plate the fade follows the oval, so no corner pokes past the rim. */
.d-plate .dish-mat .sk { mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%); }
.steam { position: absolute; left: 22%; top: 4%; width: 34%; height: auto; z-index: 2; overflow: visible; }
.steam path { fill: none; stroke: color-mix(in srgb, var(--ink-2) 40%, transparent); stroke-width: 3; stroke-linecap: round; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .mo [data-steam].in .steam path { animation: steam 3.2s ease-out 4 both; }
  .mo [data-steam].in .steam path:nth-child(2) { animation-delay: .7s; }
  .mo [data-steam].in .steam path:nth-child(3) { animation-delay: 1.4s; }
}
@keyframes steam { 0% { opacity: 0; translate: 0 14px; scale: 1 .8; } 35% { opacity: .85; } 100% { opacity: 0; translate: 0 -16px; scale: 1.06 1.1; } }

/* ---------- the sketchbook ---------- */

.spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px) clamp(12px, 2vw, 28px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 64px);
  background:
    linear-gradient(90deg, transparent calc(50% - 22px), color-mix(in srgb, var(--shade) 10%, transparent) 50%, transparent calc(50% + 22px)),
    var(--cream);
  box-shadow: 0 1px 0 var(--paper-line), 0 34px 50px -36px color-mix(in srgb, var(--shade) 60%, transparent);
  rotate: -.4deg;
}
.sb-it { margin: 0; rotate: var(--r); display: grid; gap: .5rem; }
.sb-it figcaption { font: 700 .95rem/1.5 var(--f-ming); color: var(--ink-2); padding-left: .6em; border-left: 2px solid var(--saffron); max-width: 22em; }
.sb-room-statues { grid-column: 1 / 7; grid-row: 1; }
.sb-malai-legs { grid-column: 7 / 10; grid-row: 1; align-self: start; margin-top: 8%; }
.sb-handi { grid-column: 10 / 13; grid-row: 1; align-self: end; }
.sb-statue { grid-column: 1 / 4; grid-row: 2; align-self: start; margin-top: 10%; }
.sb-panipuri-tower { grid-column: 4 / 7; grid-row: 2; }
.sb-room { grid-column: 7 / 13; grid-row: 2; padding-left: 6%; }

/* ---------- reviews: the indigo jali wall ---------- */

.reviews { position: relative; z-index: 1; isolation: isolate; background: var(--indigo); color: var(--on-indigo); padding-block: clamp(64px, 9vw, 120px); }
.reviews::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--on-indigo); opacity: .075; mask: url(/art/jali.svg) 0 0 / 56px 56px repeat; }
.reviews .h2 { color: var(--on-indigo); }
.reviews .sec-copy { color: var(--on-indigo-2); }
.rv-wall { columns: 3 290px; column-gap: clamp(28px, 3.4vw, 48px); }
.rv { break-inside: avoid; display: grid; gap: 14px; padding-bottom: clamp(36px, 4vw, 56px); }
.rv-arch { position: relative; width: min(100%, 210px); }
.rv-arch::before { content: ""; position: absolute; inset: -18% -22%; background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 65%, transparent), transparent); opacity: .5; }
.win { position: relative; aspect-ratio: 100 / 140; display: grid; place-items: end center; padding: 26% 7% 8%; background: var(--cream); mask: url(/art/arch.svg) 0 0 / 100% 100% no-repeat; }
.win .sk { width: 100%; }
.rv-by { margin: 0; font: 700 1.05rem/1.4 var(--f-body); }
.rv-when { font-weight: 400; font-size: .86rem; color: var(--on-indigo-2); }
.stars { display: flex; gap: 2px; margin-top: 4px; }
.star { width: 16px; height: 16px; fill: var(--saffron); }
.rv-t { margin-top: .5rem; font-size: .98rem; line-height: 1.8; text-wrap: pretty; }

/* ---------- visit ---------- */

.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(48px, 6vw, 88px); }
.visit { padding-top: 0; }
.st-visit { margin-top: 1rem; }
.acts-visit { margin-top: 1rem; }
.facts { display: grid; gap: .4rem; margin: 1.6rem 0 0; }
.facts div { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 1em; }
.facts dt { color: var(--ink-2); font-size: .92rem; line-height: 1.9; }
.facts dd { margin: 0; }
.week { width: 100%; max-width: 28rem; margin-top: 1.8rem; border-collapse: collapse; }
.week caption { text-align: left; margin-bottom: .4rem; font: 900 1.3rem/1.4 var(--f-ming); }
.week th, .week td { padding: .45rem .6rem; text-align: left; border-bottom: 1px dashed var(--paper-line); font-weight: 400; }
.week th { width: 6.2em; white-space: nowrap; }
.week td .num { display: inline-block; margin-right: 1em; font: 500 1.22rem/1 var(--f-cond); }
.week tr.is-today { background: color-mix(in srgb, var(--saffron) 38%, transparent); }
.week tr.is-today th { font-weight: 700; }
.today-tag { margin-left: .5em; font-size: .78rem; color: var(--red-d); font-weight: 700; }
.map { aspect-ratio: 4 / 3.4; background: var(--cream); box-shadow: 0 0 0 2px var(--red), 0 0 0 8px var(--cloth), 0 0 0 10px var(--red); margin: 10px; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-acts { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lnk { display: inline-flex; align-items: center; gap: .4em; color: var(--ink-2); }

/* ---------- footer ---------- */

.foot { position: relative; z-index: 1; background: var(--choc); color: var(--white-2); padding: 48px 0 72px; font-size: .9rem; line-height: 1.8; }
.foot-in { display: grid; gap: .5rem; max-width: 52rem; }
.foot a { color: var(--gold); display: inline-flex; align-items: center; gap: .35em; }
.foot strong { color: var(--white); }
.warn { color: var(--gold); font-weight: 700; }

/* ---------- motion: scroll-driven where supported ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    /* first screen: the garland swings, petals fall, the sketch drifts up */
    .sda .toran-g { animation: toran-up linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .sda .strand { animation: sway 2.4s ease-in-out var(--d) 2, strand-swing linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 90vh; }
    .sda .petal {
      display: block;
      position: absolute;
      left: var(--x);
      top: calc(var(--y) + 70px);
      width: 15px;
      height: 9px;
      border-radius: 80% 10% 80% 10%;
      background: var(--marigold);
      opacity: 0;
      animation: fall linear both;
      animation-timeline: scroll(root);
      animation-range: calc(var(--k) * 4vh) calc(70vh + var(--k) * 5vh);
    }
    .sda .petal:nth-child(odd) { background: var(--marigold-y); }
    .sda .hero-sk { animation: sk-par linear both; animation-timeline: scroll(root); animation-range: 0 110vh; }

    /* block-print seams stamp in, segment by segment */
    .sda .seam { view-timeline: --seam; }
    .sda .seam i { animation: stamp linear both; animation-timeline: --seam; animation-range: cover calc(6% + var(--k) * 3%) cover calc(10% + var(--k) * 3%); }

    /* brass trays spin and settle; a highlight crosses the metal */
    .sda .tray { view-timeline: --tray; animation: settle ease-out both; animation-timeline: --tray; animation-range: entry 5% cover 38%; }
    .sda .tray::after { animation: sheen linear both; animation-timeline: --tray; animation-range: cover 30% cover 58%; }

    /* category underlines draw like a mehndi line; the watermark dancer swings with the scroll */
    .sda .c-h { view-timeline: --ch; }
    .sda .mehndi path { animation: draw linear both; animation-timeline: --ch; animation-range: entry 40% cover 30%; }
    .sda .menu-sheet { view-timeline: --card; }
    .sda .d-wm .d-arm-l { animation: d-arm-l auto linear 14 both; animation-timeline: --card; }
    .sda .d-wm .d-arm-r { animation: d-arm-r auto linear 14 both; animation-timeline: --card; }
    .sda .d-wm .d-leg-l { animation: d-leg-l auto linear 14 both; animation-timeline: --card; }
    .sda .d-wm .d-leg-r { animation: d-leg-r auto linear 14 both; animation-timeline: --card; }
    .sda .d-wm .d-body { animation: d-tilt auto linear 14 both; animation-timeline: --card; }
    .sda .d-wm .d-head { animation: d-nod auto linear 14 both; animation-timeline: --card; }

    /* sketches are laid down on the page */
    .sda .sb-it { animation: lay ease-out both; animation-timeline: view(); animation-range: entry 0% cover 32%; }

    /* the jali windows light up as they come into view */
    .sda .rv { view-timeline: --rv; }
    .sda .win { animation: lamp linear both; animation-timeline: --rv; animation-range: entry 20% cover 38%; }
    .sda .rv-arch::before { animation: glow linear both; animation-timeline: --rv; animation-range: entry 30% cover 40%; }
  }

  /* the same entrances, played once by site.js where scroll-driven animations are missing */
  .io .seam i { opacity: 0; scale: 1.3; transition: opacity .15s linear calc(var(--k) * 80ms), scale .3s ease-out calc(var(--k) * 80ms); }
  .io .seam.in i { opacity: 1; scale: 1; }
  .io .tray { rotate: var(--spin); scale: .92; transition: rotate 1.1s cubic-bezier(.2, 1.3, .4, 1), scale 1.1s cubic-bezier(.2, 1.3, .4, 1); }
  .io .tray.in { rotate: 0deg; scale: 1; }
  .io .tray::after { transition: translate 1.3s ease-in-out .5s; }
  .io .tray.in::after { translate: 110% 0; }
  .io .mehndi path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease-out .1s; }
  .io .c-h.in .mehndi path { stroke-dashoffset: 0; }
  .io .sb-it { opacity: 0; translate: 0 40px; transition: opacity .8s ease-out, translate .9s cubic-bezier(.2, .8, .2, 1); }
  .io .sb-it.in { opacity: 1; translate: 0 0; }
  .io .win { filter: brightness(.3) saturate(.4); transition: filter 1.1s ease-out .15s; }
  .io .rv-arch::before { opacity: 0; transition: opacity 1.1s ease-out .3s; }
  .io .rv.in .win { filter: none; }
  .io .rv.in .rv-arch::before { opacity: .5; }
}
@keyframes toran-up { to { translate: 0 -24px; } }
@keyframes strand-swing { 0% { transform: rotate(0deg); } 30% { transform: rotate(9deg); } 65% { transform: rotate(-7deg); } 100% { transform: rotate(3deg); } }
@keyframes fall { 0% { opacity: 0; transform: translate(0, 0) rotate(0deg); } 12% { opacity: .95; } 85% { opacity: .8; } 100% { opacity: 0; transform: translate(var(--dx), 72vh) rotate(var(--rot)); } }
@keyframes sk-par { to { translate: 0 -56px; rotate: -1.5deg; } }
@keyframes stamp { 0% { opacity: 0; scale: 1.3; } 70% { opacity: 1; scale: .96; } 100% { opacity: 1; scale: 1; } }
@keyframes settle { 0% { rotate: var(--spin); scale: .9; translate: 0 36px; } 70% { rotate: calc(var(--spin) * -.12); scale: 1.01; } 100% { rotate: 0deg; scale: 1; translate: 0 0; } }
@keyframes sheen { from { translate: -110% 0; } to { translate: 110% 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lay { from { opacity: 0; translate: 0 48px; rotate: calc(var(--r) * -3); } }
@keyframes lamp { from { filter: brightness(.3) saturate(.4); } to { filter: none; } }
@keyframes glow { from { opacity: 0; } to { opacity: .5; } }

/* ---------- tablet and phone ---------- */

@media (max-width: 899px) {
  :root { --bw: 0px; --gut: 20px; }
  body::before, body::after { left: 0; right: 0; width: auto; height: 12px; mask: url(/art/print-h.svg) 0 50% / auto 100% repeat-x; }
  body::before { top: 0; bottom: auto; z-index: 5; }
  body::after { top: auto; bottom: 0; z-index: 5; background: var(--saffron); }
  .seam { width: calc(100% - 2 * var(--gut)); height: 18px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 640px; }
  .cats { columns: 1; }
  .spread { grid-template-columns: repeat(2, minmax(0, 1fr)); rotate: 0deg; background: var(--cream); }
  .sb-it { grid-column: auto; grid-row: auto; }
  .sb-room-statues, .sb-room, .sb-malai-legs { grid-column: 1 / -1; }
  .sb-malai-legs { width: 82%; justify-self: end; }
  .sb-handi { grid-column: 1 / -1; width: 62%; justify-self: center; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .nm-kind { letter-spacing: .22em; }
  .balle { margin-top: 0; }
  .tray { --w: 300px; }
  .tray.t1 { --w: 320px; }
  .tray.t2 { --w: 340px; }
  .it { grid-template-columns: minmax(0, 1fr) auto; }
  .it-zh { grid-column: 1; grid-row: 2; text-align: left; margin-top: .2rem; }
  .it-p { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding-top: .1rem; }
  .it-d { grid-column: 1 / -1; }
  .rail a { padding: .5em .62em .4em; font-size: 1rem; }
  .shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 18px 12px; }
  .shelf:has(> :only-child) { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .d-plate .dish-mat { width: 100%; }
  .shelf:has(> :only-child) .d-plate .dish-mat { width: min(64vw, 250px); }
  .d-arch .dish-mat { width: min(100%, 140px); }
  .spread { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .sb-it, .sb-malai-legs { width: 88%; }
  .sb-it:nth-child(even) { justify-self: end; }
  .sb-panipuri-tower, .sb-statue { width: 68%; }
  .rv { display: block; }
  .rv-arch { float: left; width: 112px; margin: 4px 18px 6px 0; }
  .rv-t { clear: none; }
  .rv::after { content: ""; display: block; clear: both; }
}
