/* =========================================================
   KESARIYA CATERING — Royal redesign
   Palette: maroon, saffron, gold on warm ivory
   ========================================================= */
:root {
  --maroon-900: #2A060C;
  --maroon-800: #3D0A13;
  --maroon-700: #4A0D17;
  --maroon-600: #6B1424;
  --saffron: #E8871E;
  --saffron-soft: #F4A649;
  --saffron-deep: #D06C12;   /* large saffron type on ivory (≥3:1) */
  --saffron-ink: #9E520A;    /* small saffron text on ivory/white (≥4.5:1) */
  --gold: #C9A24A;
  --gold-light: #E8CF8E;
  --ivory: #FBF6EC;
  --ivory-2: #F4EBDA;
  --ink: #2B1D17;
  --ink-soft: #6B5A4E;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(61, 10, 19, .35);
  --shadow-soft: 0 10px 30px -12px rgba(61, 10, 19, .18);
  --ease: cubic-bezier(.22, .9, .3, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);      /* strong arrival */
  --ease-io: cubic-bezier(.77, 0, .175, 1);      /* on-screen movement: doors, curtains */
  --header-h: 84px;
}

/* ---------- Smooth scrolling (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; } /* native smooth-scroll would fight Lenis every frame */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Scroll-linked depth (values driven by GSAP through CSS variables; the
   separate `translate` property stacks with each element's own transform
   animations instead of fighting them) */
.hero-slides { translate: 0 var(--hero-shift, 0%); }
.hero-content { translate: 0 var(--hero-lift, 0px); opacity: var(--hero-dim, 1); }
.bg-mandala { translate: 0 var(--mandala-drift, 0px); }
.decor-card, .g-item { translate: 0 var(--drift, 0px); }

/* ---------- Browser surfaces ---------- */
html { scrollbar-color: var(--maroon-600) var(--ivory-2); }
::selection { background: var(--saffron); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.field input, .field select { caret-color: var(--gold-light); }

/* ---------- Icons ---------- */
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; color: var(--saffron-deep); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--maroon-700); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.6rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--saffron-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero-eyebrow::before { display: none; }
.eyebrow-light { color: var(--gold-light); }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); margin-top: 14px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .06em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-3px); }
  .btn:hover::after { transform: translateX(120%); }
}
.btn:focus-visible::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px) scale(.97); transition-duration: .16s; }
.btn-gold { background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%); color: var(--maroon-900); font-weight: 600; box-shadow: 0 12px 30px -10px rgba(232,135,30,.7); }
.btn-gold:hover { box-shadow: 0 18px 40px -12px rgba(232,135,30,.85); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: var(--white); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-maroon { background: var(--maroon-700); color: var(--ivory); }
.btn-maroon:hover { background: var(--maroon-600); box-shadow: var(--shadow); }
.btn-whatsapp { background: #1FA855; color: var(--white); }
.btn-whatsapp:hover { background: #17924A; }
.btn-sm { padding: 11px 22px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Mandala (drawn by JS) ---------- */
.mandala { pointer-events: none; }
.mandala path, .mandala circle { fill: none; stroke: currentColor; stroke-width: .6; }

/* ---------- Entrance: the Durbar doors ----------
   Two maroon palace doors share one gold arch drawn across the seam.
   The arch draws itself, the crest settles, then the doors slide apart
   onto the hero. Timeline is driven by classes from site.js:
   .is-drawing → .is-opening → .is-gone  */
.gate { display: none; }
.js .gate { display: block; position: fixed; inset: 0; z-index: 200; cursor: pointer; }
.gate.is-gone, .gate-failsafe .gate:not(.is-opening) { display: none; }

.gate-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 30% 70% at 50% 50%, rgba(255,214,150,.85), rgba(232,135,30,.35) 45%, transparent 75%);
}
.gate-door {
  position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden;   /* exactly half: the two halves of the art meet on centre */
  background:
    radial-gradient(ellipse 120% 80% at var(--lit-x) 50%, var(--maroon-600) 0%, var(--maroon-800) 55%, var(--maroon-900) 100%);
  transition: transform 1.25s var(--ease-io);
  will-change: transform;
}
.gate-left  { left: 0;  --lit-x: 100%; box-shadow: 24px 0 50px -20px rgba(42,6,12,.9); }
.gate-right { right: 0; --lit-x: 0%;   box-shadow: -24px 0 50px -20px rgba(42,6,12,.9); }
/* carved panel frame + gold rail at the meeting edge */
.gate-door::before { content: ""; position: absolute; z-index: 1; top: 18px; bottom: 18px; border: 1px solid rgba(201,162,74,.3); border-radius: 10px; pointer-events: none; }
.gate-left::before  { left: 18px; right: 10px; }
.gate-right::before { right: 18px; left: 10px; }
.gate-door::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent); opacity: .7; }
.gate-left::after  { right: 0; }
.gate-right::after { left: 0; }

/* the art spans the full viewport inside each door, so each door shows its half */
.gate-art { position: absolute; top: 0; bottom: 0; width: 200%; display: grid; place-items: center; }
.gate-left  .gate-art { left: 0; }
.gate-right .gate-art { right: 0; }
.gate-stage { position: relative; height: min(78vh, 640px); aspect-ratio: 320 / 540; max-width: 86vw; }
.gate-arch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gate-arch path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1 2; stroke-dashoffset: 1.001; }
.gate-arch .a-inner { stroke: var(--gold-light); opacity: .55; }
.gate-mandala { position: absolute; left: 50%; top: 40%; width: 78%; aspect-ratio: 1; translate: -50% -50%; color: var(--gold); opacity: 0; transform: rotate(-40deg) scale(.92); }
.gate-crest {
  position: absolute; left: 50%; top: 40%; translate: -50% -50%;
  width: clamp(64px, 9vh, 84px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vh, 2.9rem); font-weight: 700; color: var(--maroon-800);
  background: linear-gradient(135deg, var(--gold-light), var(--saffron));
  box-shadow: 0 0 0 6px rgba(232,207,142,.14), 0 14px 40px -10px rgba(232,135,30,.6);
  opacity: 0; transform: scale(.9);
}
.gate-word, .gate-sub { position: absolute; left: 0; right: 0; text-align: center; opacity: 0; }
.gate-word { top: 60%; font-family: var(--font-display); font-size: clamp(1.4rem, 3.4vh, 2rem); color: var(--gold-light); text-transform: uppercase; letter-spacing: .28em; padding-left: .28em; }
.gate-sub  { top: calc(60% + clamp(2.4rem, 5.6vh, 3.2rem)); font-size: .68rem; letter-spacing: .34em; padding-left: .34em; text-transform: uppercase; color: rgba(232,207,142,.7); }

/* 1 · drawing */
.gate.is-drawing .gate-arch path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease-io); }
.gate.is-drawing .gate-arch .a-inner { transition-delay: .12s; }
.gate.is-drawing .gate-arch .a-base { transition-duration: .9s; transition-delay: .35s; }
.gate.is-drawing .gate-arch .a-finial { transition-duration: .5s; transition-delay: .9s; }
.gate.is-drawing .gate-mandala { opacity: .5; transform: none; transition: opacity 1.4s var(--ease-out) .15s, transform 2.4s var(--ease-out) .15s; }
.gate.is-drawing .gate-crest { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) .35s, transform .9s var(--ease-out) .35s; }
.gate.is-drawing .gate-word { opacity: 1; letter-spacing: .5em; padding-left: .5em; transition: opacity .9s var(--ease-out) .55s, letter-spacing 1.6s var(--ease-out) .55s, padding-left 1.6s var(--ease-out) .55s; }
.gate.is-drawing .gate-sub { opacity: 1; transition: opacity .8s var(--ease-out) .85s; }

/* 2 · opening — light spills through the seam, doors part */
.gate.is-opening { cursor: default; pointer-events: none; }
.gate.is-opening .gate-left  { transform: translateX(-101%); }
.gate.is-opening .gate-right { transform: translateX(101%); }
.gate.is-opening .gate-glow { animation: seamLight 1.4s var(--ease-out) forwards; }
@keyframes seamLight { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* the hero steps forward as the doors part */
.js .hero-slides { transform: scale(1.08); transition: transform 2.2s var(--ease-out); }
.js body.gate-open .hero-slides, .gate-failsafe .hero-slides { transform: none; }

.mandala-spin { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(42, 6, 12, .86);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px -10px rgba(0,0,0,.4);
}
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { z-index: 130; background: transparent; box-shadow: none; backdrop-filter: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-crest {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--maroon-800);
  background: linear-gradient(135deg, var(--gold-light), var(--saffron));
  box-shadow: 0 0 0 3px rgba(232,207,142,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: .04em; }
.brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  position: relative; color: rgba(255,255,255,.85); font-size: .92rem; letter-spacing: .05em;
  padding: 6px 0; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1.5px;
  background: var(--gold); transition: width .35s var(--ease), left .35s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; left: 0; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-call { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: .9rem; }
.nav-call:hover { color: var(--white); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; overflow: hidden;
  background: var(--maroon-800);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px;
  clip-path: circle(0 at calc(100% - 42px) 42px);
  transition: clip-path .8s var(--ease);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 42px) 42px); }
.mobile-menu ul { text-align: center; display: grid; gap: 8px; position: relative; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display); font-size: 2rem; color: var(--ivory);
  opacity: 0; transform: translateY(20px); display: inline-block;
  transition: opacity .5s, transform .5s var(--ease), color .3s;
}
.mobile-menu a:not(.btn):hover { color: var(--gold-light); }
.mobile-menu.is-open a:not(.btn) { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: .15s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .25s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .3s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .35s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .4s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: .45s; }
.mobile-menu.is-open li:nth-child(8) a { transition-delay: .5s; }
.mobile-mandala { position: absolute; width: 140vmax; height: 140vmax; color: var(--gold); opacity: .07; animation: spin 80s linear infinite; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  color: var(--white); background: var(--maroon-900);
}
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.15);
  transition: opacity 1.6s ease, transform 9s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(42,6,12,.35) 0%, rgba(42,6,12,.85) 75%),
    linear-gradient(180deg, rgba(42,6,12,.55) 0%, rgba(42,6,12,.2) 40%, rgba(42,6,12,.9) 100%);
}
.hero-mandala {
  position: absolute; width: min(900px, 120vw); aspect-ratio: 1; right: -18%; top: 50%;
  translate: 0 -50%; color: var(--gold); opacity: .18; animation: spin 120s linear infinite;
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 120px; max-width: 900px; margin-left: max(20px, (100% - 1200px) / 2); }
.hero-eyebrow { color: var(--gold-light); gap: 14px; }
.hero-eyebrow .line { width: 40px; height: 1px; background: var(--gold); }
.hero-eyebrow .line:first-child { display: none; }
.hero-title {
  font-size: clamp(3rem, 8.5vw, 6.8rem); color: var(--white); font-weight: 600;
  line-height: 1; letter-spacing: -.02em; margin: 6px 0 26px;
}
.hero-title em { color: var(--gold-light); font-weight: 500; }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero-title .word > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero.is-in .hero-title .word > span { transform: none; }
.hero-lead { max-width: 560px; font-size: 1.12rem; color: rgba(255,255,255,.85); font-weight: 300; }
.hero-lead strong { color: var(--gold-light); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: rgba(255,255,255,.8); }
.hero-badges li { display: inline-flex; align-items: center; gap: 9px; }
.hero-badges .ico { color: var(--gold-light); width: 1.25em; height: 1.25em; }

.hero-fade { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero.is-in .hero-fade { opacity: 1; transform: none; }

.hero-dots { position: absolute; z-index: 3; right: max(20px, (100% - 1200px) / 2); bottom: 48px; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; position: relative; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active::after { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 34px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold-light); border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Falling petals */
.petals { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.petal {
  position: absolute; top: -40px; width: 14px; height: 18px;
  background: radial-gradient(ellipse at 30% 30%, #FFC56B, var(--saffron) 60%, #C4561A);
  border-radius: 80% 0 80% 0; opacity: .85;
  animation: fall linear infinite, sway ease-in-out infinite alternate;
}
.petal.rose { background: radial-gradient(ellipse at 30% 30%, #FF9AA8, #D8344F 65%, #8E1630); }
.petal.gold { background: radial-gradient(ellipse at 30% 30%, #FFF1C4, var(--gold) 70%); width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px var(--gold-light); }
@keyframes fall { to { top: 110%; } }
@keyframes sway { from { transform: translateX(-30px) rotate(0deg); } to { transform: translateX(30px) rotate(320deg); } }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--maroon-700); color: var(--gold-light); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(201,162,74,.35); }
.ribbon-track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-display); font-size: 1.35rem; font-style: italic; white-space: nowrap; }
.ribbon-track i { color: var(--saffron); font-style: normal; font-size: .9rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ----------
   Hidden states only apply when JS is running, so content is never
   stranded if the script fails. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal[data-reveal="left"] { transform: translateX(-48px); }
.js .reveal[data-reveal="right"] { transform: translateX(48px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.gate-failsafe .reveal { opacity: 1 !important; transform: none !important; -webkit-mask: none !important; mask: none !important; }
.gate-failsafe body.is-loading { overflow: auto; }

/* Headlines rise word by word from a mask (words wrapped by site.js) */
.js .split.reveal { opacity: 1; transform: none; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .12em 0; margin: 0 -.08em -.12em 0; }
.sw-i { display: inline-block; }
.js .split .sw-i { transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i) * 55ms); }
.js .split.is-visible .sw-i { transform: none; }

/* Eyebrow hairlines draw outward from the label */
.js .eyebrow.reveal::before, .js .eyebrow.reveal::after { transform: scaleX(0); transition: transform 1s var(--ease-out) calc(var(--d, 0s) + .2s); }
.js .eyebrow.reveal::before { transform-origin: right; }
.js .eyebrow.reveal::after { transform-origin: left; }
.js .eyebrow.reveal.is-visible::before, .js .eyebrow.reveal.is-visible::after { transform: none; }

/* Photographs rise like a curtain, settling from a slight zoom */
/* (a mask, not clip-path: Chrome's IntersectionObserver treats a fully clipped element as off-screen) */
.js .curtain.reveal {
  opacity: 1; transform: none;
  -webkit-mask-image: linear-gradient(0deg, #000 50%, transparent 50%); mask-image: linear-gradient(0deg, #000 50%, transparent 50%);
  -webkit-mask-size: 100% 200%; mask-size: 100% 200%;
  -webkit-mask-position: 0 -6px; mask-position: 0 -6px;
  transition: -webkit-mask-position 1.1s var(--ease-io) var(--d, 0s), mask-position 1.1s var(--ease-io) var(--d, 0s);
}
.js .curtain.reveal.is-visible { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
.js .curtain.reveal img { transform: scale(1.18); }
.js .curtain.reveal.is-visible img { transform: none; transition: transform 1.6s var(--ease-out) var(--d, 0s), filter .6s; }

/* ---------- About ---------- */
.about { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-visual { position: relative; padding: 0 60px 70px 0; }
.frame { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.06); }
.frame-main { aspect-ratio: 4/5; outline: 1px solid var(--gold); outline-offset: 12px; }
.frame-small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border-radius: 50%; border: 8px solid var(--ivory);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.seal { position: absolute; left: -30px; top: 40px; width: 120px; height: 120px; display: grid; place-items: center; background: var(--maroon-700); border-radius: 50%; box-shadow: var(--shadow); }
.seal svg { position: absolute; inset: 0; animation: spin 20s linear infinite; }
.seal text { fill: var(--gold-light); font-size: 10.5px; letter-spacing: 2.2px; font-family: var(--font-body); }
.seal-ico { width: 34px; height: 34px; color: var(--gold-light); stroke-width: 1.3; }

.about-text h2 { margin-bottom: 22px; }
.about-text p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0; padding: 26px 0; border-block: 1px solid rgba(201,162,74,.4); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.7rem); color: var(--saffron-deep); line-height: 1; }
.stat span { font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; }

/* ---------- Services ---------- */
.services { background: var(--ivory-2); overflow: hidden; }
.bg-mandala { position: absolute; width: 760px; aspect-ratio: 1; left: -260px; top: -200px; color: var(--gold); opacity: .22; animation: spin 160s linear infinite; }
.bg-mandala-right { left: auto; right: -280px; top: auto; bottom: -260px; opacity: .14; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transform-style: preserve-3d;
  transition: box-shadow .5s var(--ease), opacity 1s var(--ease), transform 1s var(--ease);
}
.service-card.is-visible:hover { box-shadow: var(--shadow); }
.service-img { aspect-ratio: 4/3.4; overflow: hidden; position: relative; }
.service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(42,6,12,.5)); opacity: 0; transition: opacity .5s; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.1); }
.service-card:hover .service-img::after { opacity: 1; }
.service-body { padding: 26px 24px 28px; position: relative; }
.service-num { position: absolute; right: 22px; top: -30px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon-700); color: var(--gold-light); font-family: var(--font-display); font-size: 1.2rem; border: 3px solid var(--white); transition: transform .5s var(--ease); }
.service-card:hover .service-num { transform: rotate(360deg); }
.service-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-body p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 16px; }
.service-link { color: var(--saffron-ink); font-weight: 500; font-size: .9rem; letter-spacing: .04em; }
.service-link span { display: inline-block; transition: transform .3s var(--ease); }
.service-link:hover span { transform: translateX(6px); }

/* ---------- Menu ---------- */
.menu { background: var(--ivory); }
.menu-tabs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 50px; padding: 6px; width: fit-content; max-width: 100%; background: var(--white); border-radius: 999px; box-shadow: var(--shadow-soft); }
.menu-tab { position: relative; z-index: 1; padding: 11px 22px; border-radius: 999px; font-size: .9rem; color: var(--ink-soft); transition: color .35s; }
.menu-tab.is-active { color: var(--white); }
.menu-tab-indicator { position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); border-radius: 999px; background: linear-gradient(135deg, var(--maroon-700), var(--maroon-600)); transition: transform .5s var(--ease), width .5s var(--ease); }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dish {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  animation: dishIn .7s var(--ease) both; animation-delay: var(--d, 0s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .dish:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
  .dish:hover .dish-img img { transform: scale(1.08); }
}
@keyframes dishIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.dish-img { aspect-ratio: 16/11; overflow: hidden; position: relative; background: var(--ivory-2); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
/* switching tabs: the outgoing dishes dip away before the new set rises */
.menu-grid { transition: opacity .22s ease, transform .22s ease; }
.menu-grid.is-swapping { opacity: 0; transform: translateY(8px); }
.dish-tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--maroon-700); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.veg-mark { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border: 2px solid #1E8E3E; background: var(--white); border-radius: 4px; display: grid; place-items: center; }
.veg-mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #1E8E3E; }
.dish-body { padding: 22px 24px 26px; }
.dish-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.dish-body p { font-size: .93rem; color: var(--ink-soft); }
.dish-special { display: inline-block; margin-top: 14px; font-size: .8rem; color: var(--saffron-ink); font-weight: 500; }

/* ---------- Parallax ---------- */
.parallax { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 200px) 0; text-align: center; color: var(--white); }
.parallax-bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; will-change: transform; }
.parallax-shade { position: absolute; inset: 0; background: linear-gradient(rgba(42,6,12,.78), rgba(42,6,12,.7)); }
.parallax-content { position: relative; }
.quote-mark { display: block; font-family: var(--font-display); font-size: 7rem; line-height: .6; color: var(--gold); }
.parallax blockquote { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.15; margin: 20px auto 24px; max-width: 900px; }
.parallax blockquote em { color: var(--gold-light); }
.parallax p { letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--gold-light); }

/* ---------- Decor ---------- */
.decor { background: var(--ivory-2); }
.decor-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-auto-rows: 300px; gap: 22px; }
.decor-tall { grid-row: span 2; }
.decor-wide { grid-column: span 2; }
.decor-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.decor-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.decor-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(42,6,12,.88)); transition: opacity .5s; }
.decor-card:hover img { transform: scale(1.08); }
.decor-card::before { content: ""; position: absolute; inset: 14px; z-index: 2; border: 1px solid rgba(232,207,142,.7); border-radius: calc(var(--radius) - 6px); opacity: 0; transform: scale(1.05); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.decor-card:hover::before { opacity: 1; transform: none; }
.decor-info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; color: var(--white); }
.decor-info span { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-light); }
.decor-info h3 { color: var(--white); font-size: 1.9rem; margin: 6px 0; }
.decor-info p { font-size: .92rem; color: rgba(255,255,255,.8); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.decor-card:hover .decor-info p { max-height: 80px; opacity: 1; }

/* ---------- Process ---------- */
.process { background: var(--ivory); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease) .3s; }
.steps.is-drawn::before { transform: scaleX(1); }
.step { text-align: center; position: relative; }
.step-icon { position: relative; z-index: 1; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: var(--maroon-700); background: var(--white); border: 1px solid var(--gold); box-shadow: 0 0 0 8px var(--ivory), var(--shadow-soft); transition: transform .5s var(--ease), background .4s, color .4s; }
.step-icon .ico { width: 34px; height: 34px; stroke-width: 1.3; }
.step-icon::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(201,162,74,.55); }
/* medallions pop in one after another as the dashed line reaches them */
.js .step.reveal .step-icon { transform: scale(.85); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s var(--ease-out), background .4s, color .4s; transition-delay: calc(.35s + var(--d, 0s) * 4); }
.js .step.reveal.is-visible .step-icon { transform: none; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .js .step.reveal.is-visible:hover .step-icon { transform: translateY(-6px) rotate(-8deg); background: var(--maroon-700); color: var(--gold-light); transition-delay: 0s; }
}
.step h3 { font-size: 1.45rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--ink-soft); max-width: 240px; margin: 0 auto; }

/* ---------- Gallery ---------- */
.gallery { background: var(--ivory-2); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; text-align: left; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(42,6,12,.78)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.g-item span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; color: var(--white); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.g-item:focus-visible span { transform: none; opacity: 1; }
.g-item:focus-visible::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .g-item:hover img { transform: scale(1.08); }
  .g-item:hover::after { opacity: 1; }
  .g-item:hover span { transform: none; opacity: 1; }
}
/* touch screens have no hover: captions stay visible */
@media (hover: none) {
  .g-item::after { opacity: 1; }
  .g-item span { transform: none; opacity: 1; font-size: 1.05rem; left: 12px; right: 12px; bottom: 10px; }
}

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(20,3,6,.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(1100px, 90vw); text-align: center; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: var(--gold-light); font-family: var(--font-display); font-size: 1.4rem; margin-top: 14px; }
.lb-close { position: absolute; top: 18px; right: 24px; font-size: 2.6rem; color: var(--white); }
.lb-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: 2rem; transition: background .3s; }
.lb-arrow:hover { background: rgba(255,255,255,.12); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }

/* ---------- Reviews ---------- */
.reviews { background: radial-gradient(ellipse at top, var(--maroon-600), var(--maroon-800) 70%); color: var(--white); overflow: hidden; }
.reviews h2 { color: var(--white); }
.reviews h2 em { color: var(--gold-light); }
.review-slider { max-width: 820px; margin: 0 auto; text-align: center; position: relative; }
.review-track { display: grid; }
/* Outgoing quote leaves fast and soft; the next one waits for it, so two quotes never overlap */
.review { grid-area: 1 / 1; opacity: 0; transform: translateX(28px); filter: blur(6px); transition: opacity .35s ease, transform .45s var(--ease-out), filter .35s ease; pointer-events: none; }
.review.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; transition: opacity .7s var(--ease-out) .3s, transform .9s var(--ease-out) .3s, filter .7s var(--ease-out) .3s; }
.review.is-leaving { transform: translateX(-28px); }
.review.from-left:not(.is-active):not(.is-leaving) { transform: translateX(-28px); }
.review.is-leaving.to-right { transform: translateX(28px); }
.stars { color: var(--gold); letter-spacing: 6px; font-size: 1.2rem; margin-bottom: 18px; }
.review blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; font-style: italic; }
.review figcaption { margin-top: 26px; display: flex; flex-direction: column; gap: 2px; }
.review figcaption strong { color: var(--gold-light); font-weight: 500; letter-spacing: .05em; }
.review figcaption span { font-size: .85rem; color: rgba(255,255,255,.65); }
.review-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.review-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(232,207,142,.5); color: var(--gold-light); transition: background .3s, color .3s; }
.review-arrow:hover { background: var(--gold); color: var(--maroon-800); }
.review-dots { display: flex; gap: 8px; }
.review-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .3s, width .4s var(--ease); }
.review-dots button.is-active { background: var(--gold); width: 28px; border-radius: 5px; }

/* ---------- Contact ---------- */
.contact { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 30px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.ci { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--gold-light); color: var(--saffron); }
.ci .ico { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron-ink); }
.contact-list a, .contact-list span { color: var(--maroon-700); font-weight: 500; }
.contact-list a:hover { color: var(--saffron); }

.booking-card { position: relative; background: var(--maroon-700); border-radius: 24px; padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); color: var(--white); overflow: hidden; }
.booking-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,162,74,.35); border-radius: 18px; pointer-events: none; }
.booking-card h3 { color: var(--gold-light); font-size: 2rem; margin-bottom: 24px; text-align: center; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.field { position: relative; }
.field-full, .booking-form .btn, .form-error { grid-column: 1 / -1; }
.field input, .field select {
  width: 100%; padding: 24px 16px 9px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); font: inherit; font-size: .98rem; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none; color-scheme: dark;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold-light) 50%), linear-gradient(135deg, var(--gold-light) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field select option { background: var(--maroon-800); color: var(--white); }
.field input:focus, .field select:focus { border-color: var(--gold); background: rgba(255,255,255,.11); box-shadow: 0 0 0 4px rgba(201,162,74,.18); }
.field label { position: absolute; left: 16px; top: 16px; font-size: .95rem; color: rgba(255,255,255,.6); pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field .label-fixed, .field label.label-fixed { top: 6px; font-size: .7rem; letter-spacing: .08em; color: var(--gold-light); }
.field.is-invalid input { border-color: #FF8A8A; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.form-error { color: #FFB4B4; font-size: .88rem; min-height: 0; }
.booking-form .btn { margin-top: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--maroon-900); color: rgba(255,255,255,.7); padding: 80px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(201,162,74,.2); }
.footer h4 { color: var(--gold-light); font-size: 1.3rem; margin-bottom: 16px; }
.footer ul { display: grid; gap: 8px; }
.footer a:hover { color: var(--gold-light); }
.footer-note { margin-top: 18px; max-width: 360px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px; font-size: .82rem; }

/* ---------- Floating & overlays ---------- */
.float-wa { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1FA855; color: var(--white); box-shadow: 0 10px 30px -8px rgba(31,168,85,.7); transition: transform .4s var(--ease); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1FA855; z-index: -1; animation: ring 2.4s ease-out infinite; }
.float-wa:hover { transform: scale(1.1); }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.8); opacity: 0; } }

/* Phone quick-contact bar: Call · WhatsApp · Book. Hidden on wider screens. */
.action-bar { display: none; }
@media (max-width: 860px) {
  .action-bar {
    position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px;
    padding: 6px; border-radius: 999px;
    background: rgba(42, 6, 12, .92); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(201,162,74,.4);
    box-shadow: 0 18px 40px -14px rgba(42,6,12,.7);
    transform: translateY(calc(100% + 28px)); opacity: 0;
    transition: transform .25s var(--ease-out), opacity .2s ease;  /* leaving: quick */
  }
  .action-bar.is-shown { transform: none; opacity: 1; transition: transform .45s var(--ease-out), opacity .3s ease; }
  body.menu-open .action-bar, body.no-scroll .action-bar { transform: translateY(calc(100% + 28px)); opacity: 0; }

  .ab-item { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; letter-spacing: .03em; color: var(--ivory); transition: background .2s, transform .16s var(--ease-out); }
  .ab-item:active { transform: scale(.96); }
  .ab-call .ico { color: var(--gold-light); width: 19px; height: 19px; }
  .ab-wa-glyph { width: 20px; height: 20px; color: #1FA855; }
  .ab-call:active, .ab-wa:active { background: rgba(255,255,255,.08); }
  .ab-book { background: linear-gradient(135deg, var(--saffron), var(--gold)); color: var(--maroon-900); font-weight: 600; box-shadow: 0 8px 20px -10px rgba(232,135,30,.8); white-space: nowrap; }

  /* the bar carries WhatsApp on phones, so the round floating button steps aside */
  .float-wa { display: none; }
  .footer { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 360px) {
  .ab-item { padding: 0 10px; font-size: .82rem; }
  .ab-call span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .action-bar, .action-bar.is-shown { transform: none !important; }
}

.to-top { position: fixed; z-index: 90; right: 30px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; background: var(--maroon-700); color: var(--gold-light); font-size: 1.1rem; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; background: rgba(20,3,6,.7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(480px, 100%); background: var(--ivory); border-radius: 24px; padding: 40px 32px 32px; text-align: center; transform: translateY(30px) scale(.96); transition: transform .5s var(--ease); max-height: 90vh; overflow: auto; }
.modal.is-open .modal-card { transform: none; }
.modal-close { position: absolute; right: 18px; top: 10px; font-size: 2rem; color: var(--ink-soft); }
.modal-check svg { width: 76px; height: 76px; margin: 0 auto 14px; }
.modal-check circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; }
.modal-check path { fill: none; stroke: var(--saffron); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; }
.modal.is-open .modal-check circle { animation: draw .7s .2s var(--ease) forwards; }
.modal.is-open .modal-check path { animation: draw .5s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.modal-card h3 { font-size: 2rem; }
.modal-ref { color: var(--ink-soft); font-size: .9rem; margin: 6px 0 18px; }
.modal-ref strong { color: var(--saffron-ink); }
.modal-details { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; background: var(--white); border: 1px solid var(--gold-light); border-radius: var(--radius-sm); padding: 18px 20px; font-size: .92rem; }
.modal-details dt { color: var(--ink-soft); }
.modal-details dd { color: var(--maroon-700); font-weight: 500; }
.modal-note { margin: 18px 0; font-size: .9rem; color: var(--ink-soft); }

.toasts { position: fixed; z-index: 170; left: 50%; bottom: 24px; translate: -50% 0; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); }
.toast { background: var(--maroon-800); color: var(--ivory); padding: 14px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(201,162,74,.6); box-shadow: var(--shadow); font-size: .92rem; animation: toastIn .5s var(--ease); transition: opacity .4s, transform .4s; }
.toast.is-leaving { opacity: 0; transform: translateY(10px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-call span { display: none; }
  .menu-toggle { display: block; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; margin: 0 auto; padding: 0 40px 50px 0; }
  .seal { left: -10px; width: 96px; height: 96px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .decor-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .decor-tall { grid-row: span 1; grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .decor-info p { max-height: 80px; opacity: 1; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .nav-actions .btn-sm { display: none; }
  .brand-sub { display: none; }
  .hero-content { padding: 120px 0 110px; margin-left: 16px; margin-right: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-dots { left: 16px; right: auto; bottom: 40px; }
  .scroll-cue { display: none; }
  .service-grid, .menu-grid { grid-template-columns: 1fr; }
  .decor-grid { grid-template-columns: 1fr; }
  .decor-tall, .decor-wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 160px; gap: 10px; }
  .g-wide { grid-column: span 2; }
  .booking-form { grid-template-columns: 1fr; }
  /* tabs become one swipeable rail instead of wrapping onto two rows */
  .menu-tabs { flex-wrap: nowrap; justify-content: flex-start; width: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); margin-bottom: 36px; }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tabs.is-end { -webkit-mask-image: none; mask-image: none; }
  .menu-tab { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: center; padding: 10px 18px; }
  .menu-tab-indicator { display: none; }
  .menu-tab.is-active { background: var(--maroon-700); }
  .lb-arrow { display: none; }
  .to-top { right: 30px; }
}

/* Phones: keep back-to-top and toasts clear of the quick-contact bar */
@media (max-width: 860px) {
  .to-top { right: 18px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .petals { display: none; }
  .js .reveal, .hero-fade { opacity: 1; transform: none; }
  .hero-title .word > span { transform: none; }
  .js .split .sw-i, .js .step.reveal .step-icon { transform: none; opacity: 1; }
  .js .eyebrow.reveal::before, .js .eyebrow.reveal::after { transform: none; }
  .js .curtain.reveal { -webkit-mask: none; mask: none; }
  .js .curtain.reveal img, .js .hero-slides { transform: none; }
  .review { transform: none !important; filter: none; }
  /* doors don't slide: the gate is shown fully drawn, then gently fades */
  .gate-arch path { stroke-dashoffset: 0; }
  .gate-mandala { opacity: .5; transform: none; }
  .gate-crest, .gate-word, .gate-sub { opacity: 1; transform: none; }
  .gate { transition: opacity .45s ease !important; }
  .gate.is-opening { opacity: 0; }
  .gate.is-opening .gate-door { transform: none; }
  .gate.is-opening .gate-glow { animation: none; }
}

/* =========================================================
   ELEGANT POLISH — unslop pass (Nov 2026)
   One labelled layer on top of the styles above: quiet chrome,
   solid colours, calmer type and motion. The palette, the two
   typefaces and the palace arch stay. A full copy of the site from
   before this pass is in /backups.
   unslop by Damir Sokolovsky (@heydamir), CC BY 4.0
   ========================================================= */
:root {
  --ease-polish: cubic-bezier(.22, 1, .36, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 1px 2px rgba(61,10,19,.05), 0 8px 24px -10px rgba(61,10,19,.12);
  --shadow: 0 2px 4px rgba(61,10,19,.05), 0 18px 40px -18px rgba(61,10,19,.22);
}

/* ---- Type: lighter headings, sentence-case labels, italics only where they mean something ---- */
h1, h2, h3, h4 { font-weight: 500; }
.hero-title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; font-weight: 500; }
.hero-title em { font-weight: 500; }
.brand-name { font-weight: 600; letter-spacing: .02em; }
.brand-sub { text-transform: none; letter-spacing: .02em; font-size: .72rem; }
.eyebrow { text-transform: none; letter-spacing: .01em; font-size: .95rem; font-weight: 500; gap: 0; margin-bottom: 12px; }
.eyebrow::before, .eyebrow::after, .section-head .eyebrow::after { content: none; }
.hero-eyebrow { color: var(--gold-light); }
.dish-tag { text-transform: none; letter-spacing: 0; font-size: .75rem; border-radius: 6px; padding: 4px 10px; }
.dish-special { color: var(--ink-soft); font-weight: 400; }
.contact-list small { text-transform: none; letter-spacing: .01em; font-size: .8rem; }
.parallax p { text-transform: none; letter-spacing: .02em; font-size: .95rem; }
.parallax blockquote { font-weight: 500; }
.review blockquote { font-style: normal; }
.review figcaption strong { letter-spacing: 0; }
.stat strong { color: var(--maroon-700); font-weight: 500; font-variant-numeric: tabular-nums; }
.gate-sub { text-transform: none; letter-spacing: .04em; padding-left: 0; font-size: .8rem; }
.btn { letter-spacing: .02em; }

/* ---- Colour: solid fills, no glows, no washes ---- */
.btn { border-radius: var(--radius-sm); transition: background-color .16s var(--ease-polish), color .16s var(--ease-polish), border-color .16s var(--ease-polish), transform .16s var(--ease-polish); }
.btn::after { content: none; }
.btn:hover, .btn:focus-visible { transform: none; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--saffron); box-shadow: none; }
.btn-gold:hover { background: var(--saffron-soft); box-shadow: none; }
.btn-ghost { backdrop-filter: none; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-maroon:hover { box-shadow: none; }
.btn-sm { padding: 10px 18px; }

/* the crest becomes a flat monogram: a gold ring around a gold K */
.brand-crest, .gate-crest { background: transparent; color: var(--gold-light); font-weight: 500; box-shadow: inset 0 0 0 1px var(--gold); }
.reviews { background: var(--maroon-800); }
.gate-glow { display: none; }
.gate-mandala { transform: none; }
.float-wa { box-shadow: 0 8px 24px -10px rgba(42,6,12,.5); }
.float-wa::before { content: none; }

/* ---- Details: radius by size, not everything a pill ---- */
.menu-tabs { border-radius: 14px; }
.menu-tab, .menu-tab-indicator { border-radius: 8px; }
.menu-tab-indicator { background: var(--maroon-700); }
.booking-card { border-radius: 20px; }
.booking-card::before { border-radius: 12px; }
.modal-card { border-radius: 20px; }
.review-dots button.is-active { border-radius: 4px; }

/* ---- The ribbon stands still: one calm line of promises ---- */
.ribbon { padding: 16px 0; }
.ribbon-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding-inline: 20px; font-style: normal; font-size: 1.15rem; }
.ribbon-track i { font-size: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ---- Motion: still ornaments, small hovers, one short rise on reveal ---- */
.seal svg, .frame-small { animation: none; }
.frame:hover img, .service-card:hover .service-img img, .decor-card:hover img { transform: scale(1.03); }
@media (hover: hover) and (pointer: fine) {
  .dish:hover { transform: none; box-shadow: var(--shadow); }
  .dish:hover .dish-img img, .g-item:hover img { transform: scale(1.03); }
  .js .step.reveal.is-visible:hover .step-icon { transform: none; }
}
.js .step.reveal .step-icon { transform: none; opacity: 1; transition: background .2s var(--ease-polish), color .2s var(--ease-polish); }
.js .reveal, .js .reveal[data-reveal="left"], .js .reveal[data-reveal="right"] { transform: translateY(12px); transition: opacity .5s var(--ease-polish), transform .5s var(--ease-polish); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { transform: none; }

/* ---- Phone quick-contact bar: same quieter shapes ---- */
@media (max-width: 860px) {
  .action-bar { border-radius: 16px; }
  .ab-item { border-radius: 10px; }
  .ab-book { background: var(--saffron); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal[data-reveal="left"], .js .reveal[data-reveal="right"] { transform: none; }
}

/* =========================================================
   OCCASIONS — "order of ceremonies"
   The occasions read like the programme on an invitation card:
   large serif lines between gold rules. Opening one reveals its
   details, and the arched photograph beside the list changes to it.
   ========================================================= */
.occ { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
.occ-head h2 { margin-bottom: 24px; }
.occ-includes { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 40px; font-size: .95rem; color: var(--ink-soft); }
.occ-includes li { display: inline-flex; align-items: center; gap: 8px; }
.occ-includes .ico { width: 18px; height: 18px; color: var(--saffron-ink); }

.occ-list { border-top: 1px solid rgba(201,162,74,.45); }
.occ-item { border-bottom: 1px solid rgba(201,162,74,.45); }
.occ-item h3 { font-size: inherit; line-height: inherit; }
.occ-trigger {
  position: relative; width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 20px 0; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; line-height: 1.15;
  color: var(--ink-soft); transition: color .2s var(--ease-polish);
}
/* the gold line that draws in front of the open occasion, nudging its name inward */
.occ-trigger::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-polish);
}
.occ-name { transition: transform .4s var(--ease-polish); }
.occ-item.is-open .occ-trigger { color: var(--maroon-700); }
.occ-item.is-open .occ-trigger::before { transform: scaleX(1); }
.occ-item.is-open .occ-name { transform: translateX(48px); }
@media (hover: hover) and (pointer: fine) {
  .occ-trigger:hover { color: var(--maroon-700); }
}
/* plus that turns into a minus */
.occ-sign { position: relative; flex-shrink: 0; width: 14px; height: 14px; margin-left: auto; color: var(--gold); }
.occ-sign::before, .occ-sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 1px; }
.occ-sign::after { transform: rotate(90deg); transition: transform .3s var(--ease-polish); }
.occ-item.is-open .occ-sign::after { transform: rotate(180deg); }

.occ-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-polish); }
.occ-item.is-open .occ-panel { grid-template-rows: 1fr; }
.occ-panel-inner { min-height: 0; overflow: hidden; padding-left: 48px; opacity: 0; transition: opacity .25s ease; }
.occ-item.is-open .occ-panel-inner { opacity: 1; transition: opacity .4s var(--ease-polish) .12s; }
.occ-panel p { max-width: 46ch; color: var(--ink-soft); }
.occ-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.occ-tags li { padding: 4px 12px; border: 1px solid rgba(201,162,74,.55); border-radius: 6px; font-size: .85rem; color: var(--maroon-700); background: rgba(255,255,255,.55); }
.occ-panel .service-link { display: inline-block; margin-bottom: 28px; }
.occ-thumb { display: none; }

/* the palace arch, with the photograph of the open occasion */
.occ-figure {
  position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 4 / 5; margin: 12px;
  border-radius: 250px 250px var(--radius) var(--radius); overflow: hidden;
  outline: 1px solid var(--gold); outline-offset: 12px; box-shadow: var(--shadow); background: var(--maroon-800);
}
.occ-figure img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .7s var(--ease-polish), transform 1.4s var(--ease-polish);
}
.occ-figure img.is-active { opacity: 1; transform: none; }
.occ-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 72px 24px 24px; text-align: center;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-light);
  background: linear-gradient(180deg, transparent, rgba(42,6,12,.72));
}

@media (max-width: 860px) {
  .occ { grid-template-columns: 1fr; gap: 0; }
  .occ-figure { display: none; }
  .occ-head h2 { max-width: none; }
  .occ-includes { margin-bottom: 32px; }
  .occ-item.is-open .occ-name { transform: translateX(40px); }
  .occ-panel-inner { padding-left: 0; }
  .occ-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 4px 0 16px; border-radius: 120px 120px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .occ-figure img { transform: none; }
}

/* =========================================================
   ENTRANCE — logo reveal, then a slower opening
   Same doors. The timeline is now: arch draws (0–1.6s) → a gold ring
   traces around the crest and the K rises inside it (0.5–1.9s) →
   KESARIYA appears letter by letter out of a soft blur (1.35–2.7s) →
   the subline (2.3s) → a short hold → the doors part over 1.8s.
   ========================================================= */
.gate-door { transition: transform 1.8s var(--ease-io); }

/* arch: a touch slower */
.gate.is-drawing .gate-arch path { transition-duration: 1.6s; }
/* both halves of each line share one timing, so left and right always mirror each other:
   the arches run from the apex down both sides; the base grows out from the centre */
.gate.is-drawing .gate-arch .a-inner { transition-delay: .15s; }
.gate.is-drawing .gate-arch .a-base { transition-duration: 1.1s; transition-delay: .45s; }
.gate.is-drawing .gate-arch .a-finial { transition-duration: .6s; transition-delay: 1.2s; }
.gate.is-drawing .gate-mandala { transition: opacity 1.6s var(--ease-out) .5s; }

/* the logo is the focus: a larger crest on a solid ground, the mandala quieter behind it */
.gate-crest { width: clamp(84px, 12vh, 112px); font-size: clamp(2.8rem, 6.6vh, 3.8rem); background: var(--maroon-900); }
.gate.is-drawing .gate-mandala { opacity: .32; }
.gate-word { font-size: clamp(1.6rem, 4.2vh, 2.4rem); top: 62%; }
.gate-sub { top: calc(62% + clamp(2.8rem, 6.6vh, 3.8rem)); font-size: .85rem; }

/* the ring that traces around the crest */
.gate-ring { position: absolute; left: 50%; top: 40%; width: clamp(118px, 16.5vh, 154px); aspect-ratio: 1; translate: -50% -50%; overflow: visible; }
/* two mirrored half-circles from the top, so the ring closes symmetrically at the bottom */
.gate-ring path {
  fill: none; stroke: var(--gold-light); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1 2; stroke-dashoffset: 1.001;
}
.gate.is-drawing .gate-ring path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-io) .5s; }

/* the crest settles, and the K rises inside it */
.gate-crest { overflow: hidden; transform: scale(.82); }
.gate.is-drawing .gate-crest { transition: opacity .8s var(--ease-out) .7s, transform 1.2s var(--ease-out) .7s; }
.gate-crest span { display: block; opacity: 0; transform: translateY(70%); }
.gate.is-drawing .gate-crest span { opacity: 1; transform: none; transition: transform 1s var(--ease-out) 1s, opacity .6s ease 1s; }

/* KESARIYA, letter by letter (letters wrapped by site.js) */
.gate.is-drawing .gate-word { opacity: 1; transition: letter-spacing 2.2s var(--ease-out) 1.3s, padding-left 2.2s var(--ease-out) 1.3s; }
.gate-word .gl { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); }
.gate.is-drawing .gate-word .gl {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s ease;
  transition-delay: calc(1.35s + var(--i) * 80ms);
}
.gate.is-drawing .gate-sub { transition: opacity .9s var(--ease-out) 2.3s; }

/* =========================================================
   MENU — "the Kesariya menu book"
   A closed book (maroon cover, gold arch, K monogram) that opens on its
   spine and turns leaf by leaf. Pages are cream stock with a soft gutter
   shadow; each course page has a title flourish, dishes set name ↔ station,
   and a band of two photographs at the foot. Sizes use --u, one percent of
   the book's width, so a spread keeps its proportions at any size.
   ========================================================= */
/* the menu gets a wider stage than the rest of the page; the book is as large as
   possible while a whole spread plus its controls still fits on screen */
.menu .container { width: min(1720px, 100% - 32px); }
.menu .section-head { margin-bottom: 36px; }
/* the book uses almost the full screen height (header + one line of status below);
   the turn buttons sit in the 72px margins either side instead of under the book */
.book-wrap { position: relative; max-width: min(1720px, calc((100svh - 118px) * 1.4667 + 144px)); margin: 0 auto; padding: 0 72px; }
.book-controls { display: contents; }
.book-wrap .book-btn { position: absolute; top: calc(50% - 40px); }
.book-wrap #bookPrev { left: 8px; }
.book-wrap #bookNext { right: 8px; }
.book-wrap .book-status { margin-top: 14px; }
.menu-book { position: relative; outline: none; transition: transform 1s var(--ease-io); }
/* a closed book sits centred; once the back cover is turned it sits centred the other way */
.menu-book.is-closed { transform: translateX(-25%); }
.menu-book.is-back   { transform: translateX(25%); }
.menu-book:focus-visible { outline: 2px solid var(--gold); outline-offset: 12px; border-radius: 8px; }

/* ---- page turning: StPageFlip (github.com/Nodlik/StPageFlip, MIT licence) ----
   The library folds the page along a diagonal that follows the corner you pull,
   mirrors the underside across the fold, and draws the shadows. These are its
   required base styles. */
.stf__parent { position: relative; display: block; box-sizing: border-box; transform: translateZ(0); touch-action: pan-y; }
.sft__wrapper { position: relative; width: 100%; box-sizing: border-box; }
.stf__parent canvas { position: absolute; width: 100%; height: 100%; left: 0; top: 0; }
.stf__block { position: absolute; width: 100%; height: 100%; box-sizing: border-box; perspective: 2000px; }
.stf__item { display: none; position: absolute; transform-style: preserve-3d; }
.stf__outerShadow, .stf__innerShadow, .stf__hardShadow, .stf__hardInnerShadow { position: absolute; left: 0; top: 0; }

/* our pages: cream stock with a soft gutter shadow at the spine */
.menu-book .page { container-type: inline-size; overflow: hidden; background: #FFFDF8; cursor: grab; }
.menu-book .page.--left  { border-radius: 8px 2px 2px 8px; background-image: linear-gradient(270deg, rgba(61,10,19,.16), rgba(61,10,19,.04) 4%, transparent 11%); box-shadow: inset -1px 0 0 rgba(61,10,19,.08); }
.menu-book .page.--right { border-radius: 2px 8px 8px 2px; background-image: linear-gradient(90deg, rgba(61,10,19,.16), rgba(61,10,19,.04) 4%, transparent 11%); box-shadow: inset 1px 0 0 rgba(61,10,19,.08); }
/* (no background here: the library also marks the page facing a cover as "--hard"
   while the cover turns; the maroon lives on the cover artwork itself) */
.menu-book .page.--hard { cursor: pointer; }
/* the book casts one soft shadow on the table */
.menu-book .stf__block { filter: drop-shadow(0 28px 40px rgba(61,10,19,.28)); }

/* ---- page content (shared by the book and the phone strip) ---- */
.menu-book .bp { --u: 2cqw; position: absolute; inset: 0; }   /* --u = 1% of a two-page spread */
.bp { display: flex; flex-direction: column; padding: calc(var(--u) * 4.2) calc(var(--u) * 4) calc(var(--u) * 2.4); }
.bp-head h3 { font-size: calc(var(--u) * 2.6); line-height: 1.1; color: var(--maroon-700); }
.bp-flourish { position: relative; display: block; width: calc(var(--u) * 7); height: 1px; margin-top: calc(var(--u) * .9); background: var(--gold); }
.bp-flourish::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; translate: 0 -50%; rotate: 45deg; background: var(--gold); }
.bp-items { display: grid; gap: calc(var(--u) * 1.5); margin-top: calc(var(--u) * 2.4); }
.bp-line { display: flex; align-items: baseline; justify-content: space-between; gap: calc(var(--u) * 1.6); }
.bp-name { font-family: var(--font-display); font-size: calc(var(--u) * 1.62); font-weight: 600; line-height: 1.2; color: var(--maroon-700); }
.bp-tag { flex-shrink: 0; font-size: calc(var(--u) * 1.02); color: var(--saffron-ink); white-space: nowrap; }
.bp-desc { max-width: 92%; margin-top: calc(var(--u) * .2); font-size: calc(var(--u) * 1.08); line-height: 1.45; color: var(--ink-soft); }
.bp-photos { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 1); height: calc(var(--u) * 14); margin-top: auto; }
.bp-course:not(:has(.bp-items li:nth-child(3))) .bp-photos { height: calc(var(--u) * 24); }   /* short courses get a larger photo band */
.bp-photos figure { position: relative; overflow: hidden; border-radius: calc(var(--u) * .6); background: var(--ivory-2); }
.bp-photos img { width: 100%; height: 100%; object-fit: cover; }
.bp-photos figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: calc(var(--u) * 2.4) calc(var(--u) * 1) calc(var(--u) * .8);
  font-family: var(--font-display); font-size: calc(var(--u) * 1.25); line-height: 1.15; color: var(--gold-light);
  background: linear-gradient(180deg, transparent, rgba(42,6,12,.75));
}
.bp-num { margin-top: calc(var(--u) * 1.4); text-align: center; font-family: var(--font-display); font-size: calc(var(--u) * 1.15); color: var(--ink-soft); }
.bp-num::before { content: "— "; } .bp-num::after { content: " —"; }

/* the closing page */
.bp-lead { margin-top: calc(var(--u) * 2.4); font-size: calc(var(--u) * 1.3); line-height: 1.55; color: var(--ink-soft); }
.bp-promises { display: grid; gap: calc(var(--u) * 1.4); margin: calc(var(--u) * 2.6) 0 calc(var(--u) * 3); }
.bp-promises li { display: flex; align-items: center; gap: calc(var(--u) * 1.2); font-size: calc(var(--u) * 1.2); color: var(--maroon-700); }
.bp-promises .ico { width: calc(var(--u) * 1.8); height: calc(var(--u) * 1.8); color: var(--saffron-ink); }
.bp-closing .btn { align-self: flex-start; }
.bp-closing .bp-num { margin-top: auto; }
.veg-mark-inline { position: static; width: 18px; height: 18px; flex-shrink: 0; }
.veg-mark-inline::after { width: 8px; height: 8px; }

/* the cover and the endpaper: maroon board, gold foil */
.bp-cover, .bp-endpaper {
  align-items: center; justify-content: center; text-align: center; color: var(--gold-light);
  background: radial-gradient(ellipse 120% 90% at 30% 40%, var(--maroon-600), var(--maroon-800) 60%, var(--maroon-900));
}
.bp-cover::before, .bp-cover::after { content: ""; position: absolute; pointer-events: none; border-radius: 4px; }
.bp-cover::before { inset: calc(var(--u) * 1.6); border: 1px solid rgba(201,162,74,.55); }
.bp-cover::after  { inset: calc(var(--u) * 2.2); border: 1px solid rgba(201,162,74,.22); }
.bc-arch { position: absolute; left: 50%; top: 50%; height: 74%; translate: -50% -50%; overflow: visible; }
.bc-arch path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.bc-arch path:nth-child(2) { stroke: var(--gold-light); opacity: .5; }
.bc-crest {
  position: relative; display: grid; place-items: center; width: calc(var(--u) * 8.4); aspect-ratio: 1; border-radius: 50%;
  font-family: var(--font-display); font-size: calc(var(--u) * 4.6); font-weight: 500; color: var(--gold-light);
  background: var(--maroon-900); box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 calc(var(--u) * .9) rgba(201,162,74,.14);
  margin-top: calc(var(--u) * -4);
}
.bc-word { position: relative; margin-top: calc(var(--u) * 3); font-family: var(--font-display); font-size: calc(var(--u) * 2.8); letter-spacing: .45em; padding-left: .45em; text-transform: uppercase; }
.bc-title { position: relative; margin-top: calc(var(--u) * .6); font-family: var(--font-display); font-size: calc(var(--u) * 2); color: var(--white); }
.bc-sub { position: absolute; left: 0; right: 0; bottom: calc(var(--u) * 4.4); font-size: calc(var(--u) * .95); letter-spacing: .04em; color: rgba(232,207,142,.7); }
.bp-endpaper { gap: calc(var(--u) * 1.6); font-size: calc(var(--u) * 1.05); color: rgba(232,207,142,.75); }
.bc-crest-sm { width: calc(var(--u) * 5); font-size: calc(var(--u) * 2.6); margin-top: 0; }
.book-base-right .bp { --u: 1cqw; position: absolute; inset: 0; }

/* controls under the book */
.book-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 40px; }
.book-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(201,162,74,.6); color: var(--maroon-700); transition: background-color .16s var(--ease-polish), color .16s var(--ease-polish), opacity .2s; }
.book-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.book-btn:not(:disabled):hover { background: var(--maroon-700); color: var(--gold-light); }
.book-btn:disabled { opacity: .35; cursor: default; }
.book-status { min-width: 280px; text-align: center; font-family: var(--font-display); font-size: 1.2rem; color: var(--maroon-700); }

/* ---- phones and tablets: the same pages as a swipeable row ---- */
.book-strip { display: none; }
/* fallback only (the page-turn library couldn't load): the pages as a swipeable row */
@media all {
  .menu.is-fallback .book-wrap { display: none; }
  .menu.is-fallback .book-strip {
    display: flex; gap: 16px; margin: 0 -16px; padding: 8px 16px 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .book-strip::-webkit-scrollbar { display: none; }
  .strip-page {
    position: relative; flex: 0 0 min(84vw, 440px); scroll-snap-align: center; container-type: inline-size;
    border-radius: 8px; background: #FFFDF8; box-shadow: var(--shadow-soft); overflow: hidden;
  }
  .strip-page .bp { --u: 2cqw; padding: 28px 22px 20px; min-height: 100%; }
  .strip-page .bp-cover { aspect-ratio: .72; }
  .strip-page .bp-head h3 { font-size: 1.7rem; }
  .strip-page .bp-items { gap: 14px; margin-top: 18px; }
  .strip-page .bp-name { font-size: 1.15rem; }
  .strip-page .bp-tag { font-size: .75rem; }
  .strip-page .bp-desc { font-size: .85rem; }
  .strip-page .bp-photos { height: 120px; margin-top: 20px; }
  .strip-page .bp-photos figcaption { font-size: .95rem; padding: 24px 10px 8px; }
  .strip-page .bp-num { font-size: .85rem; margin-top: 14px; }
  .strip-page .bp-lead, .strip-page .bp-promises li { font-size: .95rem; }
  .strip-page .bp-promises .ico { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-book, .book-leaf.is-peek .seg { transition: none; }
}

/* ---- a more elegant page ----
   A double hairline frame like printed stationery, centred course titles with a
   flourish either side, and photographs set in palace arches. */
.bp-course::before, .bp-course::after, .bp-closing::before, .bp-closing::after { content: ""; position: absolute; pointer-events: none; border-radius: 3px; }
.bp-course::before, .bp-closing::before { inset: calc(var(--u) * 1.6); border: 1px solid rgba(201,162,74,.5); }
.bp-course::after,  .bp-closing::after  { inset: calc(var(--u) * 2.05); border: 1px solid rgba(201,162,74,.2); }
/* roomier pages: the type is set larger and the dishes breathe, filling the space
   that used to sit empty between the list and the photographs */
.bp { padding: calc(var(--u) * 5) calc(var(--u) * 4.8) calc(var(--u) * 3); }
.bp-head { text-align: center; }
.bp-head h3 { font-size: calc(var(--u) * 2.9); font-weight: 500; letter-spacing: .01em; }
.bp-flourish { width: calc(var(--u) * 12); margin: calc(var(--u) * 1.1) auto 0; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); }
.bp-flourish::after { right: auto; left: 50%; translate: -50% -50%; width: 6px; height: 6px; background: #FFFDF8; border: 1px solid var(--gold); }
.bp-items { gap: calc(var(--u) * 2.1); margin-top: calc(var(--u) * 3.2); }
.bp-name { font-size: calc(var(--u) * 1.78); }
.bp-tag { font-size: calc(var(--u) * 1.04); letter-spacing: .02em; }
.bp-desc { max-width: 94%; margin-top: calc(var(--u) * .35); font-size: calc(var(--u) * 1.2); line-height: 1.5; }
.bp-photos { gap: calc(var(--u) * 1.4); height: calc(var(--u) * 14); padding: 0 calc(var(--u) * .6); }
.bp-course:not(:has(.bp-items li:nth-child(3))) .bp-photos { height: calc(var(--u) * 24); }
.bp-photos figcaption { font-size: calc(var(--u) * 1.4); }
.bp-num { font-size: calc(var(--u) * 1.2); }
.bp-lead { font-size: calc(var(--u) * 1.5); }
.bp-promises li { font-size: calc(var(--u) * 1.4); }
.bp-photos figure { border-radius: calc(var(--u) * 10) calc(var(--u) * 10) calc(var(--u) * .5) calc(var(--u) * .5); outline: 1px solid rgba(201,162,74,.6); outline-offset: 3px; }
.bp-photos figcaption { text-align: center; }
.bp-closing .bp-head { text-align: left; }
.bp-closing .bp-flourish { margin-left: 0; }
.strip-page .bp-photos figure { border-radius: 60px 60px 6px 6px; }

/* one page at a time on phones: the page is narrower than half a spread, so the
   type gets readable minimums and the spacing tightens to keep everything on the page */
@media (max-width: 700px) {
  .menu-book .bp { padding: 30px 22px 16px; }
  .menu-book .bp-head h3 { font-size: 1.35rem; }
  .menu-book .bp-items { gap: 9px; margin-top: 14px; }
  .menu-book .bp-name { font-size: .98rem; }
  .menu-book .bp-tag { font-size: .66rem; }
  .menu-book .bp-desc { font-size: .74rem; line-height: 1.35; }
  .menu-book .bp-photos { height: 92px; }
  .menu-book .bp-course:not(:has(.bp-items li:nth-child(3))) .bp-photos { height: 150px; }
  .menu-book .bp-photos figcaption { font-size: .78rem; padding: 18px 6px 6px; }
  .menu-book .bp-num { font-size: .75rem; margin-top: 8px; }
  .menu-book .bp-lead, .menu-book .bp-promises li { font-size: .85rem; }
  .menu-book .bp-promises .ico { width: 16px; height: 16px; }
  .menu-book .bp-colophon { font-size: .85rem; }
  .menu-book .bco-name { font-size: 1.3rem; }
  .book-status { min-width: 0; font-size: 1.05rem; }
  /* no side margins on a phone: the buttons go back under the book */
  .book-wrap { padding: 0; max-width: none; }
  .book-controls { display: flex; margin-top: 20px; }
  .book-wrap .book-btn { position: static; }
  .book-wrap .book-status { margin-top: 0; }
}

/* the inside back page: a quiet imprint, like the last page of a printed menu */
.bp-colophon { align-items: center; justify-content: center; gap: calc(var(--u) * .7); text-align: center; font-size: calc(var(--u) * 1.05); color: var(--ink-soft); }
.bp-colophon .bc-crest { color: var(--maroon-700); background: transparent; box-shadow: inset 0 0 0 1px var(--gold); margin-bottom: calc(var(--u) * 1.2); }
.bco-name { font-family: var(--font-display); font-size: calc(var(--u) * 1.9); color: var(--maroon-700); }
.bp-colophon a { color: var(--maroon-700); }
.bco-note { margin-top: calc(var(--u) * 1.2); font-size: calc(var(--u) * .95); color: var(--saffron-ink); }

/* ---- A more elegant gate ----
   The doors start as one seamless surface: no seam, no edge shadows.
   Only after the logo has settled does a line of light open down the
   centre (.is-seam), and then the doors part (.is-opening). */
.gate-left, .gate-right { box-shadow: none; }
.gate.is-opening .gate-left  { box-shadow: 24px 0 50px -20px rgba(42,6,12,.9); }
.gate.is-opening .gate-right { box-shadow: -24px 0 50px -20px rgba(42,6,12,.9); }

/* one continuous hairline frame across both doors: no vertical lines at the centre,
   so nothing hints at the seam until it opens */
.gate-door::before { top: 24px; bottom: 24px; border-color: rgba(201,162,74,.28); }
.gate-left::before  { left: 24px; right: 0; border-right: 0; border-radius: 8px 0 0 8px; }
.gate-right::before { right: 24px; left: 0; border-left: 0; border-radius: 0 8px 8px 0; }

/* the doors meet exactly on centre; a dark backing hides any sub-pixel gap until they open */
.js .gate { background: var(--maroon-900); }
.gate.is-opening { background: transparent; }

/* the seam: ONE line on the exact centre (not one per door), hidden until the logo
   settles, then it grows from the middle to both edges at once and fades as the doors part */
.gate-door::after { content: none; }
.gate-seam {
  position: absolute; z-index: 3; top: 0; bottom: 0; left: calc(50% - .5px); width: 1px; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--gold-light) 16%, var(--gold-light) 84%, transparent);
  box-shadow: 0 0 10px rgba(255,226,170,.45);
  transform: scaleY(0); transform-origin: 50% 50%;
  transition: transform .8s var(--ease-io), opacity .35s ease;
}
.gate.is-seam .gate-seam { transform: scaleY(1); }
.gate.is-opening .gate-seam { opacity: 0; }

/* light coming through the seam, which then spreads as the doors part */
.gate-light {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; width: 180px; translate: -50% 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,226,170,.42), rgba(232,207,142,.12) 45%, transparent 72%);
  opacity: 0; transform: scaleY(.15); pointer-events: none;
  transition: opacity .8s ease, transform .9s var(--ease-io);
}
.gate.is-seam .gate-light { opacity: 1; transform: none; }
.gate.is-opening .gate-light { opacity: 0; transform: scaleX(4); transition: opacity 1.4s ease .2s, transform 1.8s var(--ease-io); }

/* a third, fainter inner arch for depth */
.gate-arch .a-third { stroke: var(--gold-light); opacity: .3; }
.gate.is-drawing .gate-arch .a-third { transition-duration: 1.6s; transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .gate-ring path { stroke-dashoffset: 0; }
  .gate-crest span, .gate-word .gl { opacity: 1; transform: none; filter: none; }
}
