/* =========================================================
   Soul'd Canteen: landing page styles
   Plain CSS, no preprocessors. Mobile-first.
   ========================================================= */

/* ---------- 1. Modern reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
p, h1, h2, h3, h4 { overflow-wrap: break-word; }
address { font-style: normal; }

/* ---------- 2. Design tokens ---------- */
:root {
  --cream: #f7f0e1;
  --cream-2: #efe4cc;
  --paper: #fffbf2;
  --ink: #2a201b;
  --ink-2: #5b4a3f;
  --line: #e2d4b6;
  --maroon: #7b2328;
  --maroon-dark: #5e1a1e;
  --gold: #e3aa4b;
  --gold-light: #efc272;
  --green: #3f4d38;
  --green-2: #4c5d44;
  --green-line: rgba(247, 240, 225, .16);
  --white: #fff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1520px;
  /* Side margins scale with the screen (~10% each side on large monitors) */
  --gutter: clamp(1.25rem, 8vw - 1.5rem, 10rem);
  /* Same top/bottom space for every section (was 4.5–8.5rem) */
  --section-y: clamp(3.5rem, 6vw, 5.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(42, 32, 27, .06), 0 10px 30px -12px rgba(42, 32, 27, .22);
  --shadow-lg: 0 2px 4px rgba(42, 32, 27, .06), 0 24px 50px -18px rgba(42, 32, 27, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 240ms;
  --header-h: 72px;
  /* One size for every small title above a heading ("Our Special", "Visit Us", footer titles…) */
  --eyebrow-size: clamp(.875rem, .8rem + .25vw, 1rem);
}

/* ---------- 3. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--maroon); color: var(--white); padding: .75rem 1.1rem;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- 4. Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.display--md { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.display--light { color: var(--cream); }
.display__accent { font-style: italic; color: var(--maroon); }
.display--light .display__accent { color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--eyebrow-size); font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 1.1rem;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--gold-light); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn__icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--maroon); --btn-fg: var(--white); --btn-bd: var(--maroon); }
.btn--primary:hover { --btn-bg: var(--maroon-dark); --btn-bd: var(--maroon-dark); box-shadow: 0 10px 24px -10px rgba(123, 35, 40, .7); transform: translateY(-2px); }

.btn--ghost { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); background: var(--white); transform: translateY(-2px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-light); --btn-bd: var(--gold-light); transform: translateY(-2px); }

.btn--outline-light { --btn-fg: var(--cream); --btn-bd: rgba(247, 240, 225, .45); }
.btn--outline-light:hover { --btn-bg: var(--cream); --btn-fg: var(--green); --btn-bd: var(--cream); }

.btn--sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .875rem; }
.btn--block { width: 100%; }

/* ---------- 6. Top bar + header ---------- */
.topbar { background: #526453; color: var(--cream); font-size: .8125rem; }
.topbar__inner { display: flex; gap: .5rem 2rem; align-items: center; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__icon { width: 15px; height: 15px; flex: none; fill: none; stroke: #f7da9e; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar__item a { text-decoration: none; }
.topbar__item a:hover { color: #f7da9e; text-decoration: underline; text-underline-offset: 3px; }
.topbar__hours { margin-left: auto; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }
@media (max-width: 639px) {
  .topbar__inner { justify-content: center; flex-wrap: wrap; padding-block: .4rem; }
  .topbar__item:nth-child(2) { display: none; }
  .topbar__hours { margin-left: 0; letter-spacing: .1em; }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 240, 225, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(42, 32, 27, .45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }

.brand img { width: clamp(150px, 18vw, 200px); }
.brand { border-radius: 4px; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav__list { display: flex; gap: 1.75rem; list-style: none; padding: 0; }
.site-nav__list a {
  position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .4rem 0;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--maroon);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a:focus-visible::after { transform: scaleX(1); }
.site-nav__list a:hover { color: var(--maroon); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  position: absolute; left: 50%; width: 22px; height: 2px; margin-left: -11px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle__bar { top: 50%; margin-top: -1px; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; left: 0; margin: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav__list a::after { display: none; }
}

/* ---------- 7. Hero carousel ---------- */
.hero { position: relative; }
.carousel {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 86vh, 820px);
  display: grid; place-items: center;
  background: var(--green);
}
.carousel__track { position: absolute; inset: 0; z-index: -2; }
.carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.carousel__slide.is-active { opacity: 1; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.carousel__slide.is-active img { transform: scale(1); }
/* Warm, soft wash over the photo (as in the reference) so the text reads clearly */
.carousel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(52, 36, 22, .38), rgba(52, 36, 22, .30) 45%, rgba(40, 27, 16, .55)),
    rgba(120, 96, 66, .22);
}

.hero__content { text-align: center; color: var(--white); padding-block: 5rem 7rem; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.04; letter-spacing: -.015em;
  max-width: 1100px; margin-inline: auto;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__content .eyebrow, .hero__lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.btn__pin { width: 17px; height: 17px; }
.hero__lead { max-width: 46ch; margin: 1.5rem auto 0; font-size: clamp(1rem, 1.6vw, 1.125rem); color: rgba(255, 255, 255, .92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.25rem; }

.carousel__btn--prev, .carousel__btn--next { position: absolute; top: 50%; transform: translateY(-50%); }
.carousel__btn--prev { left: clamp(.75rem, 2.5vw, 2rem); }
.carousel__btn--next { right: clamp(.75rem, 2.5vw, 2rem); }
.carousel__btn--prev:hover, .carousel__btn--next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 639px) { .carousel__btn--prev, .carousel__btn--next { top: auto; bottom: 1rem; transform: none; } .carousel__btn--prev:hover, .carousel__btn--next:hover { transform: scale(1.06); } }
.carousel__dots {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vh, 1.75rem); transform: translateX(-50%);
}
.carousel__btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--white); border: 1px solid rgba(255, 255, 255, .45); background: rgba(20, 14, 10, .25);
  backdrop-filter: blur(4px);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn:hover { background: rgba(255, 255, 255, .95); color: var(--ink); border-color: var(--white); }

.carousel__dots { display: flex; gap: .25rem; }
.carousel__dot { width: 24px; height: 44px; position: relative; }
.carousel__dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 99px;
  transform: translate(-50%, -50%); background: rgba(255, 255, 255, .55);
  transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.carousel__dot:hover::before { background: var(--white); }
.carousel__dot[aria-current="true"]::before { width: 22px; background: var(--gold); }

/* ---------- 8. Sections (shared) ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lead { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.05rem; max-width: 56ch; }
.section-head--center .section-head__lead { margin-inline: auto; }

.motif-divider { width: 30px; height: 30px; margin: 1.5rem auto 0; fill: var(--maroon); }

/* ---------- 9. Story ---------- */
.story { background: linear-gradient(180deg, var(--cream) 0%, #fbf5e8 100%); }
.story .section-head { margin-inline: auto; text-align: center; max-width: 820px; }
.story .section-head .display { color: var(--green); font-size: clamp(1.9rem, 4.4vw, 3.3rem); }
.story__of { font-size: 1.25em; }
.story .display__accent { color: var(--green); font-size: 1.7em; line-height: 1.1; margin-left: .08em; }
.story .section-head__lead { margin-inline: auto; font-size: 1rem; }

.story__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 960px) { .story__grid { grid-template-columns: 1.05fr 1fr; } }

/* Main photo sits on a soft gold frame; the coffee photo overlaps bottom-right */
.story__media { position: relative; padding: 14px 14% 12% 14px; }
.story__media::before {
  content: ""; position: absolute; left: 0; top: 0; right: calc(14% + 14px); bottom: calc(12% + 14px);
  border: 1.5px solid rgba(227, 170, 75, .45); border-radius: calc(var(--radius) + 6px);
  transform: translate(-10px, -10px); z-index: 0;
}
.story__main { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.story__inset {
  position: absolute; z-index: 2; right: 4%; bottom: 0; width: 30%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); border: 5px solid var(--white); box-shadow: var(--shadow-lg);
  transition: transform 600ms var(--ease);
}
.story__media:hover .story__inset { transform: translateY(-8px) rotate(-1.5deg); }

.story__title { font-family: var(--font-display); font-weight: 400; color: var(--green); font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1.2; margin-bottom: 1.1rem; }
.story__title em { display: block; }
.story__copy > p { color: var(--ink-2); max-width: 56ch; font-size: .95rem; }

.features { display: grid; gap: 1rem; margin-top: 2rem; }
.feature {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.1rem 1.35rem; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 1px 2px rgba(42, 32, 27, .04), 0 8px 24px -14px rgba(42, 32, 27, .25);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); transition: background-color var(--dur) var(--ease); }
.feature:hover .feature__icon { background: var(--maroon); }
.feature__icon svg { width: 20px; height: 20px; fill: none; }
.feature__title { font-family: var(--font-display); font-weight: 500; color: var(--green); font-size: 1.1rem; margin-bottom: .15rem; }
.feature p { font-size: .875rem; color: var(--ink-2); }

/* ---------- 10. Specials: conveyor belt ----------
   Adapted from "Sushi Conveyor Belt Menu" (21st.dev, dhxwhy), recoloured for Soul'd. */
.specials {
  background:
    radial-gradient(64% 52% at 70% 56%, rgba(63, 77, 56, .07), transparent 72%),
    var(--cream);
  overflow: hidden;
}
.specials .eyebrow::before, .specials .eyebrow::after { display: none; }
.specials .display { color: var(--green); }
.specials .display__accent { color: var(--green); }
.diamond-divider { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.diamond-divider::before, .diamond-divider::after { content: ""; width: 56px; height: 1px; background: rgba(123, 35, 40, .45); }
.diamond-divider i { width: 11px; height: 11px; background: var(--maroon); transform: rotate(45deg); }

/* Price tiers -> plate ring colours (kaiten plates are colour-coded by price) */
.tier-1 { --tier: #6f9a5b; }  /* sage       */
.tier-2 { --tier: #e3aa4b; }  /* gold       */
.tier-3 { --tier: #d0703f; }  /* terracotta */
.tier-4 { --tier: #c2546a; }  /* rose       */
.tier-5 { --tier: #7b2328; }  /* maroon     */

.belt-layout { display: grid; gap: 2rem; align-items: center; }
/* Side-by-side only from 1200px: below that the belt gets the full width */
@media (min-width: 1200px) { .belt-layout { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 3vw, 3.5rem); align-items: start; } } /* top-aligned so "Our Special" starts where every other section's title does */

.belt-intro { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; }
.belt-intro .eyebrow { margin-bottom: 0; }
@media (min-width: 1200px) {
  .belt-intro { align-items: flex-start; text-align: left; }
  .belt-intro .diamond-divider::before { display: none; }
}

.belt-legend { display: flex; flex-wrap: wrap; justify-content: inherit; gap: .4rem 1rem; list-style: none; padding: 0; font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.belt-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.belt-legend__ring { width: 11px; height: 11px; border-radius: 50%; border: 2.5px solid var(--tier); }

.belt-caption { min-height: 3.6rem; max-width: 26rem; font-size: .95rem; color: var(--ink-2); }
.belt-caption__title { font-weight: 600; color: var(--ink); }
.belt-caption__title span { font-weight: 400; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.belt-caption__desc { margin-top: .15rem; font-size: .875rem; line-height: 1.45; }

.belt-wrap { min-width: 0; }
/* Phones: let the belt run edge to edge so the plates can be bigger */
@media (max-width: 639px) { .belt-wrap { margin-inline: calc(-1 * var(--gutter)); } }

/* Without JavaScript: a simple row of plates */
.belt-fallback { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.belt-fallback li { width: 140px; text-align: center; font-size: .875rem; }
.belt-fallback img { width: 140px; height: 140px; border-radius: 50%; margin-bottom: .5rem; box-shadow: var(--shadow); }
.belt-fallback span { color: var(--maroon); font-weight: 600; }
.is-enhanced .belt-fallback { display: none; }
[data-belt-root]:not(.is-enhanced) .belt,
[data-belt-root]:not(.is-enhanced) .belt-controls,
[data-belt-root]:not(.is-enhanced) .belt-caption { display: none; }

/* The belt stage */
.belt {
  --belt: #3f4d38;            /* moving belt: brand green */
  --belt-side: #2b3626;
  --rail: #e6d6b2;
  --island: #fbf5e8;          /* centre island: cream counter */
  --island-low: #efe3c8;
  --island-wall: #d9c59c;
  position: relative; z-index: 0; isolation: isolate; /* plates stay below the header and dialog */
  width: 100%; height: 320px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow-x: clip;
}
.belt__counter {
  position: absolute; left: 0; right: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(42, 32, 27, .09) 0 1px, transparent 1px, rgba(42, 32, 27, .05) 40%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
}
.belt__layer { position: absolute; inset: 0; pointer-events: none; }
.belt__svg { position: absolute; left: 0; top: 0; overflow: visible; }
.belt__drop { fill: #000; opacity: .2; }
.belt__side { fill: var(--belt-side); }
.belt__top { fill: var(--belt); }
.belt__seam { stroke: #000; stroke-opacity: .38; }
.belt__glint { stroke: #fff; stroke-opacity: .12; }
.belt__rail { stroke: var(--rail); }
.belt__rail-hi { stroke: #fff; stroke-opacity: .6; }
.belt__rail-hi--in { stroke-opacity: .45; }
.belt__island-wall { fill: var(--island-wall); }
.belt__stop-hi { stop-color: var(--island); }
.belt__stop-lo { stop-color: var(--island-low); }
.belt__island-hi { stroke: #fff; stroke-opacity: .7; }

.belt__plate {
  position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none;
  border-radius: 50%; cursor: pointer; will-change: transform;
}
.belt__plate:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.belt__shadow-wrap { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.belt__shadow { position: absolute; left: 5%; right: 5%; top: 16%; bottom: -9%; border-radius: 50%; background: #000; }
.belt__lift { position: absolute; inset: 0; }
.belt__lift img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; user-select: none; }
.belt__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.belt__ring { position: absolute; inset: -2%; border-radius: 50%; border: 3px solid var(--tier); pointer-events: none; }
.belt__anchor { position: absolute; left: 50%; top: 0; width: 0; height: 0; pointer-events: none; }
.belt__chip {
  position: absolute; bottom: 7px; left: 0; transform: translate(-50%, 4px);
  display: flex; align-items: center; gap: .4rem; white-space: nowrap;
  padding: .3rem .65rem .3rem .5rem; border-radius: 99px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  font-size: .72rem; font-weight: 600; line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(42, 32, 27, .4);
  opacity: 0; transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.belt__plate[data-active] .belt__chip { opacity: 1; transform: translate(-50%, 0); }
.belt__dot { flex: none; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tier); }
.belt__chip-price { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.belt-controls { position: relative; z-index: 10; display: flex; justify-content: center; gap: .5rem; margin-top: .5rem; }
.belt-ctrl {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.belt-ctrl svg { width: 15px; height: 15px; }
.belt-ctrl:hover { background: var(--green); color: var(--white); border-color: var(--green); transform: translateY(-2px); }

/* Dish dialog (the plate flies out of the belt) */
.dish-dialog { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; overflow-y: auto; color: var(--ink); }
.dish-dialog__backdrop { position: absolute; inset: 0; background: rgba(247, 240, 225, .82); backdrop-filter: blur(8px); opacity: 0; transition: opacity 300ms var(--ease); }
.dish-dialog__panel { position: relative; display: grid; gap: 1.5rem; align-items: center; width: 100%; max-width: 52rem; padding: 3.25rem 1.25rem 1.5rem; }
@media (min-width: 640px) { .dish-dialog__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: 2.5rem; padding: 2.25rem; } }
.dish-dialog__card {
  position: absolute; inset: 0; border-radius: 2rem; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(42, 32, 27, .5);
  opacity: 0; transform: scale(.97); transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.dish-dialog__close {
  position: absolute; right: .75rem; top: .75rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem;
  min-height: 40px; padding: .4rem .9rem; border-radius: 99px; font-size: .8rem; font-weight: 500; color: var(--ink-2);
  opacity: 0; transition: opacity 300ms var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.dish-dialog__close svg { width: 14px; height: 14px; }
.dish-dialog__close:hover { color: var(--maroon); background: var(--cream); }
.dish-dialog__figure { position: relative; width: 100%; max-width: min(42vh, 22rem); aspect-ratio: 1; margin-inline: auto; }
.dish-dialog__glow { position: absolute; left: 8%; right: 8%; top: 14%; bottom: -4%; border-radius: 50%; background: #000; opacity: .22; filter: blur(24px); }
.dish-dialog__figure img { position: relative; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.dish-dialog__ring { position: absolute; inset: -1.5%; border-radius: 50%; border: 4px solid var(--tier); }
.dish-dialog__body {
  position: relative; display: flex; flex-direction: column; gap: .8rem; text-align: center;
  opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease) 150ms, transform 500ms var(--ease) 150ms;
}
@media (min-width: 640px) { .dish-dialog__body { text-align: left; } }
.dish-dialog__count { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .72rem; letter-spacing: .2em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .dish-dialog__count { justify-content: flex-start; } }
.dish-dialog__title { font-family: var(--font-display); font-weight: 400; color: var(--green); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; }
.dish-dialog__desc { color: var(--ink-2); font-size: .95rem; }
.dish-dialog__details { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; list-style: none; padding: 0; }
@media (min-width: 640px) { .dish-dialog__details { justify-content: flex-start; } }
.dish-dialog__details li { padding: .25rem .75rem; border: 1px solid var(--line); border-radius: 99px; font-size: .75rem; color: var(--ink-2); }
.dish-dialog__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.1rem; margin-top: .4rem; }
@media (min-width: 640px) { .dish-dialog__actions { justify-content: flex-start; } }
.dish-dialog__price { font-size: 1.6rem; font-weight: 600; color: var(--maroon); font-variant-numeric: tabular-nums; }
.dish-dialog__link { font-size: .9rem; font-weight: 500; color: var(--green); text-underline-offset: 3px; }
.dish-dialog__link:hover { color: var(--maroon); }
.dish-dialog.is-shown .dish-dialog__backdrop,
.dish-dialog.is-shown .dish-dialog__close { opacity: 1; }
.dish-dialog.is-shown .dish-dialog__card { opacity: 1; transform: none; }
.dish-dialog.is-shown .dish-dialog__body { opacity: 1; transform: none; }

/* "Next dish" plate peeking out of the dialog's bottom-right corner */
.dish-dialog__panel { margin-bottom: 4.5rem; }
.dish-dialog__next {
  position: absolute; right: -2rem; bottom: -4.25rem; z-index: 3;
  display: flex; align-items: center; gap: .8rem; padding: 0; text-align: left;
  opacity: 0; transition: opacity 300ms var(--ease) 200ms;
}
.dish-dialog.is-shown .dish-dialog__next { opacity: 1; }
.dish-dialog__next-plate {
  position: relative; flex: none; width: 132px; height: 132px; border-radius: 50%;
  box-shadow: 0 18px 34px -14px rgba(42, 32, 27, .55);
  transition: transform 450ms var(--ease);
}
.dish-dialog__next-plate img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dish-dialog__next-ring { position: absolute; inset: -3%; border-radius: 50%; border: 3px solid var(--tier); }
.dish-dialog__next-label {
  order: -1; display: flex; flex-direction: column; gap: .15rem;
  padding: .55rem .9rem; border-radius: 14px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 10px 24px -14px rgba(42, 32, 27, .45);
  transition: border-color var(--dur) var(--ease), transform 450ms var(--ease);
}
.dish-dialog__next-label span { display: inline-flex; align-items: center; gap: .2rem; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.dish-dialog__next-label svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.dish-dialog__next-label strong { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--green); white-space: nowrap; }
.dish-dialog__next:hover .dish-dialog__next-plate,
.dish-dialog__next:focus-visible .dish-dialog__next-plate { transform: rotate(-14deg) scale(1.07); }
.dish-dialog__next:hover .dish-dialog__next-label { border-color: var(--gold); transform: translateX(-4px); }
.dish-dialog__next:hover .dish-dialog__next-label svg { transform: translateX(3px); }
.dish-dialog__next:focus-visible { outline: none; }
.dish-dialog__next:focus-visible .dish-dialog__next-plate { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (max-width: 639px) {
  .dish-dialog__panel { margin-bottom: 3.5rem; padding-bottom: 3.25rem; }
  .dish-dialog__next { right: .5rem; bottom: -3.25rem; }
  .dish-dialog__next-plate { width: 92px; height: 92px; }
  .dish-dialog__next-label strong { font-size: .9rem; }
}

/* Indian veg / non-veg marks */
.diet { flex: none; display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1.5px solid; border-radius: 2px; }
.diet::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.diet--veg { color: #1f7a3a; }
.diet--nonveg { color: #9b2a1f; }
.diet--nonveg::before { width: 0; height: 0; border-radius: 0; background: none; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid currentColor; }

/* ---------- 11. Menu ---------- */
/* Menu section: its own green (#526453). Small gold text uses a lighter gold
   so it stays above 4.5:1 contrast on this lighter background. */
.menu { --menu-bg: #526453; --menu-gold: #f7da9e; background: var(--menu-bg); color: var(--cream); }
.menu .eyebrow--light { color: var(--menu-gold); }
.menu .section-head__lead { color: rgba(247, 240, 225, .9); }

.menu__filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.chip {
  min-height: 44px; padding: .55rem 1.15rem; border-radius: 99px; font-size: .9rem; font-weight: 500;
  color: var(--cream); border: 1px solid var(--green-line);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--menu-gold, var(--gold-light)); color: var(--menu-gold, var(--gold-light)); }
.chip[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: var(--white); }

.menu__groups { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.menu-group[hidden] { display: none; }
.menu-group__title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 400; font-style: italic; color: var(--gold);
  font-size: clamp(1.5rem, 2.6vw, 1.75rem); /* 24px+ = large text, so brand gold passes 3:1 */
  padding-bottom: .9rem; margin-bottom: .5rem; border-bottom: 1px solid var(--green-line);
}
.menu-group__title span { flex: none; white-space: nowrap; font-family: var(--font-body); font-style: normal; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 240, 225, .9); }

.menu-list { display: grid; column-gap: 3.5rem; }
@media (min-width: 760px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-list li {
  display: flex; align-items: center; gap: .75rem; padding: .85rem .5rem; margin-inline: -.5rem;
  border-bottom: 1px dashed var(--green-line); border-radius: 6px;
  transition: background-color var(--dur) var(--ease);
}
.menu-list li:hover { background: rgba(247, 240, 225, .06); }
.menu-list .diet { background: var(--cream); border-color: currentColor; }
.menu-list__name { flex: 1; }
.menu-list__price { font-weight: 600; color: var(--menu-gold); font-variant-numeric: tabular-nums; }
.menu__note { margin-top: 3rem; text-align: center; font-size: .85rem; color: rgba(247, 240, 225, .9); }

/* ---------- 12. Gallery (bento grid) ----------
   Desktop: 4 columns x 3 rows. Big photo spans 2x2 on the left,
   a tall photo spans 2 rows on the right, small tiles fill the rest.
   Row height = 1.5 x column width, so every tile is a 2:3 portrait. */
.bento {
  --cols: 2;
  --gap: clamp(.6rem, 1.4vw, 1rem);
  --col-w: calc((min(100vw - 2 * var(--gutter), var(--container)) - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: calc(var(--col-w) * 1.5);
  grid-auto-flow: dense;
  gap: var(--gap);
}
.bento__item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease), filter 700ms var(--ease); }
.bento__item:hover img { transform: scale(1.05); filter: saturate(1.1); }

/* Mobile / tablet: 2 columns */
.bento--a { grid-column: span 2; grid-row: span 2; }
.bento--tall { grid-row: span 2; }

/* Desktop: exact placement to match the layout */
@media (min-width: 960px) {
  .bento { --cols: 4; }
  .bento > :nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .bento > :nth-child(2) { grid-column: 3; grid-row: 1; }
  .bento > :nth-child(3) { grid-column: 4; grid-row: 1; }
  .bento > :nth-child(4) { grid-column: 3; grid-row: 2; }
  .bento > :nth-child(5) { grid-column: 4; grid-row: 2 / 4; }
  .bento > :nth-child(6) { grid-column: 1; grid-row: 3; }
  .bento > :nth-child(7) { grid-column: 2; grid-row: 3; }
  .bento > :nth-child(8) { grid-column: 3; grid-row: 3; }
}

/* ---------- 13. Visit ---------- */
.visit { background: var(--paper); border-top: 1px solid var(--line); }
.visit__grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: minmax(320px, 5fr) 7fr; } }

.visit__card { background: var(--green); color: var(--cream); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.visit__logo { width: 140px; }
.visit__list { display: grid; gap: .9rem; font-size: .95rem; }
.visit__label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .1rem; }
.visit__list a { text-decoration-color: rgba(247, 240, 225, .4); text-underline-offset: 3px; }
.visit__list a:hover { color: var(--gold-light); }
.visit__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.visit__map { min-height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow); }
.visit__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--green); color: rgba(247, 240, 225, .85); font-size: .925rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-block: var(--section-y); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer__brand img { width: 170px; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 34ch; }
.footer__title { font-size: var(--eyebrow-size); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .5rem; }
.footer__col p + p { margin-top: .5rem; }
.footer__col a { text-decoration: none; transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

.footer__bar { border-top: 1px solid var(--green-line); font-size: .85rem; }
.footer__bar-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-block: 1.4rem; }
.credit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.credit__heart { width: 16px; height: 16px; fill: #e0353d; transition: transform var(--dur) var(--ease); }
.credit:hover .credit__heart { transform: scale(1.2); }
.credit__logo { width: 96px; height: auto; margin-left: .25rem; opacity: .95; transition: opacity var(--dur) var(--ease); }
.credit:hover .credit__logo { opacity: 1; }

/* ---------- 15. Scroll reveal ----------
   Content is only hidden when JS is running, so it is never lost without JS. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel__slide img, .carousel__slide.is-active img { transform: none; }
}

@media (forced-colors: active) {
  .carousel__dot::before { background: CanvasText; }
  .carousel__dot[aria-current="true"]::before { background: Highlight; }
}

.story__more { margin-top: 2rem; }

/* =========================================================
   17. "Our Story" page (our-story.php)
   Everything below is scoped to the story page sections.
   Header, footer, buttons and tokens above are shared.
   ========================================================= */

.page-story {
  --script: "Caveat", "Segoe Script", cursive;
  --menu-green: #526453;
  --terracotta: #a8452f;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --intro-delay: 0s;
  overflow-x: clip;
}
html.intro .page-story { --intro-delay: 1.75s; }
.page-story main { overflow-x: clip; }

/* Shared big headline */
.big-head {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em;
  color: var(--ink); text-wrap: balance;
}
.big-head em { font-style: italic; color: var(--maroon); }
.big-head--light { color: var(--cream); }
.big-head--light em { color: var(--gold); }

/* Word-by-word slide up for [data-split] headings (spans are added by story.js) */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .12em 0; margin: 0 -.12em -.12em 0; }
.sw > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--out); transition-delay: calc(var(--i, 0) * 55ms); }
.is-in .sw > span { transform: none; }

/* Scalloped top edge, like a canteen awning */
.wave-top { position: relative; }
.wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 22px; pointer-events: none;
  /* One smooth continuous wave (rounded crests and dips), filled with the section colour */
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath d='M0 3C25 3 25 21 50 21S75 3 100 3V24H0Z'/%3E%3C/svg%3E") 0 0 / 104px 22px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath d='M0 3C25 3 25 21 50 21S75 3 100 3V24H0Z'/%3E%3C/svg%3E") 0 0 / 104px 22px repeat-x;
}

/* ---------- Intro stripes ---------- */
.intro-screen { display: none; }
.intro .intro-screen {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none;
  grid-template-columns: repeat(5, 1fr);
}
.intro-screen__stripe { grid-row: 1; height: 100%; animation: stripeOut .8s var(--out) forwards; animation-delay: calc(1.2s + var(--s) * 70ms); }
.intro-screen__stripe:nth-child(1) { --s: 0; background: var(--maroon); }
.intro-screen__stripe:nth-child(2) { --s: 1; background: var(--terracotta); }
.intro-screen__stripe:nth-child(3) { --s: 2; background: var(--gold); }
.intro-screen__stripe:nth-child(4) { --s: 3; background: var(--menu-green); }
.intro-screen__stripe:nth-child(5) { --s: 4; background: var(--green); }
.intro-screen__word, .intro-screen__tag { grid-row: 1; grid-column: 1 / -1; position: relative; z-index: 1; }
.intro-screen__word {
  display: flex; font-family: var(--font-display); font-weight: 700; color: var(--cream);
  font-size: clamp(4rem, 17vw, 15rem); line-height: 1; letter-spacing: -.02em;
  animation: introFade .4s ease 1.15s forwards;
}
.intro-screen__word span { display: inline-block; animation: letterPop .7s var(--bounce) both; }
.intro-screen__word span:nth-child(1) { --r: -8deg; animation-delay: .05s; }
.intro-screen__word span:nth-child(2) { --r: 4deg;  animation-delay: .13s; }
.intro-screen__word span:nth-child(3) { --r: -3deg; animation-delay: .21s; }
.intro-screen__word span:nth-child(4) { --r: 6deg;  animation-delay: .29s; }
.intro-screen__word span:nth-child(5) { --r: 0deg;  animation-delay: .37s; }
.intro-screen__word span:nth-child(6) { --r: -6deg; animation-delay: .45s; }
.intro-screen__tag {
  align-self: end; margin-bottom: 12vh; font-family: var(--script); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--cream);
  animation: tagIn .5s var(--out) .55s both, introFade .4s ease 1.15s forwards;
}
@keyframes letterPop { from { opacity: 0; transform: translateY(60%) scale(.4) rotate(0); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes tagIn { from { opacity: 0; transform: translateY(20px) rotate(-4deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes introFade { to { opacity: 0; } }
@keyframes stripeOut { to { transform: translateY(-101%); } }

/* ---------- 1. Hero ---------- */
.s-hero {
  --bg: var(--maroon);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(620px, calc(100svh - var(--header-h) - 40px));
  background:
    radial-gradient(ellipse 60% 50% at 50% 48%, rgba(255, 210, 150, .16), transparent 70%),
    var(--maroon);
  color: var(--cream);
  display: grid; place-items: center;
}
.s-hero__motifs { position: absolute; inset: 0; z-index: -1; }
.motif-float { position: absolute; fill: var(--gold); opacity: .14; animation: spin 40s linear infinite; }
.m1 { width: 120px; height: 120px; left: 4%; top: 10%; }
.m2 { width: 70px; height: 70px; right: 9%; top: 6%; animation-duration: 28s; animation-direction: reverse; }
.m3 { width: 180px; height: 180px; right: -40px; bottom: 18%; opacity: .1; }
.m4 { width: 60px; height: 60px; left: 30%; bottom: 8%; animation-duration: 22s; }
.m5 { width: 90px; height: 90px; left: -20px; bottom: 30%; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.s-hero__title {
  position: relative; z-index: 1; margin-top: -6vh;
  font-family: var(--font-display); font-weight: 700; text-align: center; line-height: .82;
}
.s-hero__our {
  position: absolute; left: 4%; top: -.35em; z-index: 3;
  font-style: italic; font-weight: 500; color: var(--gold); font-size: clamp(2.2rem, 6vw, 5.5rem);
  transform: rotate(-10deg);
  animation: ourIn .8s var(--bounce) both; animation-delay: calc(var(--intro-delay) + .55s);
}
@keyframes ourIn { from { opacity: 0; transform: translateY(30px) rotate(-30deg) scale(.6); } to { opacity: 1; transform: rotate(-10deg); } }
.s-hero__word {
  display: block; text-transform: uppercase; letter-spacing: -.02em; color: var(--cream);
  font-size: clamp(5.5rem, 22vw, 24rem);
  text-shadow: 0 .04em 0 rgba(60, 14, 18, .35);
}
.ltr { display: inline-block; transform: rotate(var(--r, 0)); animation: ltrIn 1s var(--bounce) both; animation-delay: calc(var(--intro-delay) + var(--i) * 80ms); }
@keyframes ltrIn {
  from { opacity: 0; transform: translateY(70%) rotate(calc(var(--r, 0deg) * -3)) scale(.5); }
  to   { opacity: 1; transform: rotate(var(--r, 0)); }
}

.s-hero__stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.s-hero__plate {
  position: absolute; left: 50%; top: 50%; width: clamp(190px, 27vw, 420px); aspect-ratio: 1;
  margin: calc(clamp(190px, 27vw, 420px) / -2) 0 0 calc(clamp(190px, 27vw, 420px) / -2);
  margin-top: calc(clamp(190px, 27vw, 420px) / -2 + 1vh);
  animation: plateIn 1.2s var(--bounce) both; animation-delay: calc(var(--intro-delay) + .35s);
}
.s-hero__plate img, .float-plate img {
  width: 100%; height: 100%; border-radius: 50%;
  filter: drop-shadow(0 22px 28px rgba(40, 8, 10, .45));
  animation: bob 6s ease-in-out infinite alternate;
}
@keyframes plateIn { from { opacity: 0; transform: translateY(-70vh) rotate(-120deg) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes bob { from { transform: translateY(-8px) rotate(-3deg); } to { transform: translateY(10px) rotate(4deg); } }
.s-hero__shadow {
  position: absolute; left: 50%; top: calc(50% + clamp(190px, 27vw, 420px) / 2 + 2vh); width: clamp(160px, 22vw, 340px); height: 34px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 6, 8, .55), transparent);
  animation: shadowIn 1.2s ease both; animation-delay: calc(var(--intro-delay) + .8s);
}
@keyframes shadowIn { from { opacity: 0; transform: translateX(-50%) scale(.3); } }

.float-plate { position: absolute; aspect-ratio: 1; animation: popIn .9s var(--bounce) both; }
.float-plate img { animation-duration: 5s; }
.fp1 { width: clamp(80px, 10vw, 160px); left: 9%; top: 14%; animation-delay: calc(var(--intro-delay) + .7s); }
.fp2 { width: clamp(70px, 8vw, 130px); right: 12%; top: 12%; animation-delay: calc(var(--intro-delay) + .8s); }
.fp3 { width: clamp(90px, 11vw, 175px); right: 6%; bottom: 22%; animation-delay: calc(var(--intro-delay) + .9s); }
.fp4 { width: clamp(70px, 8.5vw, 140px); left: 14%; bottom: 24%; animation-delay: calc(var(--intro-delay) + 1s); }
.fp2 img { animation-delay: -2s; } .fp3 img { animation-delay: -3.5s; } .fp4 img { animation-delay: -1s; }
@keyframes popIn { from { opacity: 0; transform: scale(0) rotate(-90deg); } to { opacity: 1; transform: none; } }

.s-hero__foot {
  position: absolute; left: 0; right: 0; bottom: clamp(2.5rem, 6vh, 4.5rem); z-index: 3; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1.5rem;
  animation: footIn .9s var(--out) both; animation-delay: calc(var(--intro-delay) + 1.1s);
}
@keyframes footIn { from { opacity: 0; transform: translateY(24px); } }
.s-hero__lead { max-width: 30ch; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(.85rem, 1.1vw, 1rem); line-height: 1.45; color: rgba(247, 240, 225, .9); }
.s-hero__scroll { display: grid; justify-items: center; gap: .5rem; text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.s-hero__scroll i { width: 2px; height: 40px; background: rgba(247, 240, 225, .3); position: relative; overflow: hidden; border-radius: 2px; }
.s-hero__scroll i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--gold); animation: scrollCue 1.8s var(--ease) infinite; }
@keyframes scrollCue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.s-hero__since { text-align: right; justify-self: end; }
.s-hero__since-top { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(247, 240, 225, .8); }
.s-hero__script { font-family: var(--script); font-weight: 700; color: var(--gold); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; transform: rotate(-3deg); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 4; overflow: hidden; margin-block: -2.4rem -1.4rem;
  background: var(--gold); color: var(--maroon); transform: rotate(-2.5deg) scale(1.04);
  box-shadow: 0 12px 30px -16px rgba(42, 32, 27, .5);
}
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; padding-block: .9rem; animation: marquee 34s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 3rem); white-space: nowrap; line-height: 1.1; }
.marquee__track svg { width: .9em; height: .9em; width: clamp(1.1rem, 2.4vw, 2rem); height: clamp(1.1rem, 2.4vw, 2rem); fill: var(--maroon); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 2. Definition card (photos fill the side columns on wide screens) ---------- */
.s-def { position: relative; padding-block: clamp(5rem, 9vw, 8rem); overflow-x: clip; }
.s-def__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-items: center; }
.s-def__side { display: flex; gap: clamp(1rem, 3vw, 2rem); justify-content: center; align-items: center; }
.s-def__photo { position: relative; margin: 0; }
.s-def__photo img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); object-fit: cover; }
.s-def__photo--a { width: min(54%, 320px); transform: translate3d(0, var(--py, 0), 0) rotate(-6deg); }
.s-def__photo--c { width: min(36%, 210px); transform: translate3d(0, var(--py, 0), 0) rotate(5deg); }
.s-def__photo--b { width: min(40%, 250px); transform: translate3d(0, var(--py, 0), 0) rotate(6deg); }
.s-def__stamp {
  flex: none; display: grid; place-content: center; text-align: center; gap: .1rem;
  width: clamp(110px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: var(--maroon); color: var(--cream); transform: rotate(-12deg);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1;
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--gold), var(--shadow-lg);
}
.s-def__stamp b, .s-def__stamp i { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #f7da9e; }

.def-card {
  position: relative; z-index: 1; isolation: isolate; width: 100%;
  max-width: 880px; margin-inline: auto; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 5rem);
  color: var(--maroon);
}
/* Paper sheet sits above the gold frame (both live inside the card's own stacking context) */
.def-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); box-shadow: var(--shadow-lg); }
/* Stamp-style perforated gold frame */
.def-card::before {
  content: ""; position: absolute; inset: -16px; z-index: -1; background: var(--gold);
  -webkit-mask: radial-gradient(circle 5px, transparent 96%, #000) -11px -11px / 22px 22px;
          mask: radial-gradient(circle 5px, transparent 96%, #000) -11px -11px / 22px 22px;
}
.def-card__word { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 9vw, 7rem); line-height: .95; letter-spacing: -.02em; }
.def-card__meta {
  margin-top: .8rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--maroon);
  font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.def-card__meta em { color: var(--terracotta); font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
.def-card__text { margin-top: 1.6rem; font-size: clamp(1.15rem, 2.1vw, 1.6rem); font-weight: 500; line-height: 1.5; color: var(--maroon); }
.def-card__syn { margin-top: 1.5rem; font-size: 1rem; color: var(--ink-2); }
.def-card__syn strong { color: var(--maroon); }
.def-card__syn em { color: var(--terracotta); }
.def-card__script {
  margin-top: 1.5rem; text-align: right; font-family: var(--script); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: var(--maroon); transform: rotate(-6deg);
}
@media (min-width: 1200px) {
  .s-def__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 880px) minmax(0, 1fr); gap: clamp(2rem, 3vw, 3.5rem); }
  .s-def__side { flex-direction: column; gap: 2.5rem; }
  .s-def__photo--a { width: 100%; max-width: 340px; }
  .s-def__photo--c { width: 72%; max-width: 230px; align-self: flex-end; }
  .s-def__photo--b { width: 88%; max-width: 290px; }
  .s-def__stamp { align-self: flex-start; }
}
@media (max-width: 1199px) {
  .s-def__side--left { order: 2; }
  .s-def__side--right { order: 3; }
}

/* ---------- 3. How it began ---------- */
.s-began { --bg: var(--green); background: var(--bg); color: rgba(247, 240, 225, .88); padding-block: var(--section-y); }
.s-began__grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) { .s-began__grid { grid-template-columns: 1.15fr .85fr; } }
.s-began__text { margin-top: 1.4rem; max-width: 56ch; font-size: 1.075rem; }
.s-began__copy .big-head { margin-bottom: .6rem; }
.s-began__media { margin: 0; position: relative; justify-self: center; width: min(100%, 440px); transform: translate3d(0, var(--py, 0), 0); }
.s-began__media img { border-radius: 22px; transform: rotate(3deg); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.s-began__media figcaption {
  position: absolute; left: -6%; bottom: 6%; padding: .4rem 1.1rem; border-radius: 999px;
  background: var(--gold); color: var(--maroon-dark); font-family: var(--script); font-weight: 700; font-size: 1.5rem;
  transform: rotate(-5deg); box-shadow: var(--shadow);
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--green-line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: grid; gap: .35rem; }
.stat__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: var(--gold); }
.stat__label { font-size: .95rem; max-width: 22ch; }

/* ---------- 4. What we believe: stacking photo cards ----------
   Adapted from 21st.dev "Scroll Stacking Cards" (kedhareswer). Stacked list by default,
   pinned deck when story.js adds .is-pinned. */
.s-stack { position: relative; background: var(--cream); }
.s-stack__stage { padding-block: var(--section-y); }
.s-stack__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.s-stack__head .eyebrow { margin-bottom: .6rem; }
.s-stack__count { display: flex; align-items: center; gap: .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--ink-2); }
.s-stack__count b { font-family: var(--font-display); font-weight: 500; font-size: 2rem; letter-spacing: 0; color: var(--maroon); }
.s-stack__rail { width: 90px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.s-stack__rail i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

.s-stack__deck { list-style: none; padding: 0; display: grid; gap: 1.5rem; max-width: 1100px; }
.scard {
  position: relative; overflow: hidden; border-radius: 28px; min-height: 460px; color: var(--white);
  background: #1d120e;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 50px 90px -40px rgba(42, 20, 14, .55), 0 18px 40px -20px rgba(42, 20, 14, .45);
}
.scard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.scard::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(48, 14, 16, .88) 0%, rgba(48, 14, 16, .58) 40%, rgba(48, 14, 16, 0) 72%),
    linear-gradient(0deg, rgba(30, 10, 8, .62), rgba(30, 10, 8, 0) 48%);
}
.scard__body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.4rem, 3.4vw, 2.75rem); }
.scard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.scard__num { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 7rem); line-height: .8; letter-spacing: -.04em; color: rgba(247, 240, 225, .92); }
.scard__kick {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  padding: .55rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.scard__copy { max-width: 520px; }
.scard__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.75rem); line-height: .98; letter-spacing: -.02em; margin-bottom: .8rem; }
.scard__desc { color: rgba(255, 255, 255, .84); font-size: clamp(.95rem, 1.3vw, 1.05rem); line-height: 1.55; margin-bottom: 1.1rem; }
.scard__tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.scard__tags li {
  display: flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600;
  padding: .45rem .75rem; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .16);
}
.scard__tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.scard__cta { position: absolute; right: clamp(1.4rem, 3.4vw, 2.75rem); bottom: clamp(1.4rem, 3.4vw, 2.75rem); }
.scard__shade { position: absolute; inset: 0; z-index: 4; background: #140807; opacity: 0; pointer-events: none; }

.s-stack.is-pinned { height: calc(var(--n) * 100svh); }
.is-pinned .s-stack__stage {
  position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden;
  display: flex; flex-direction: column; padding-block: clamp(1.25rem, 3.5vh, 2.5rem);
}
.is-pinned .s-stack__head { position: relative; z-index: 10; flex: none; margin-bottom: clamp(1.5rem, 5vh, 3.5rem); padding-bottom: .5rem; background: var(--cream); box-shadow: 0 18px 24px -6px var(--cream); }
.is-pinned .big-head { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.is-pinned .s-stack__deck { position: relative; display: block; flex: 1; min-height: 0; }
.is-pinned .scard { position: absolute; inset: 0; min-height: 0; transform-origin: 50% 0; will-change: transform; backface-visibility: hidden; }

@media (max-width: 640px) {
  .scard::before { background: linear-gradient(0deg, rgba(40, 12, 12, .94) 0%, rgba(40, 12, 12, .6) 55%, rgba(40, 12, 12, .12) 100%); }
  .scard__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .scard__kick { font-size: .62rem; letter-spacing: .1em; padding: .45rem .65rem; }
  .scard__cta { position: static; margin-top: 1rem; align-self: flex-start; }
  .scard { border-radius: 22px; }
}

/* ---------- 5. Horizontal gallery ---------- */
.s-hscroll { position: relative; background: var(--cream-2); padding-block: var(--section-y); overflow: hidden; }
.s-hscroll__pin { position: relative; }
.s-hscroll__head { position: relative; z-index: 1; }
.s-hscroll__ghost {
  position: absolute; left: 0; top: 52%; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-weight: 700; line-height: 1;
  font-size: clamp(8rem, 26vw, 30rem); color: rgba(123, 35, 40, .07);
  transform: translate3d(var(--gx, 0), -50%, 0);
}
.hcards {
  list-style: none; position: relative; z-index: 1;
  display: flex; gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center;
  padding: 3.5rem var(--gutter) 2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.hcard {
  position: relative; flex: none; width: clamp(210px, 23vw, 330px); scroll-snap-align: center;
  transform: rotate(var(--tilt, -2deg)) translateY(var(--lift, 0));
  transition: transform .5s var(--bounce);
}
.hcard:nth-child(even) { --tilt: 2.5deg; --lift: 2.2rem; }
.hcard:nth-child(3n) { --tilt: -1deg; --lift: -1rem; }
.hcard:hover { transform: rotate(0) translateY(calc(var(--lift, 0) - 8px)) scale(1.03); }
.hcard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 26px 40px -22px rgba(42, 32, 27, .55); }
.hcard__num {
  position: absolute; right: .6rem; top: -.72em; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--maroon);
}
.hcard__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.1rem 1rem; border-radius: 0 0 20px 20px;
  background: linear-gradient(to top, rgba(30, 18, 12, .82), transparent);
  color: var(--white); font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.1;
}
.hcard--cta { width: clamp(230px, 24vw, 340px); --tilt: 0deg; --lift: 0; }
.hcard--cta a {
  display: grid; place-content: center; text-align: center; gap: .4rem; aspect-ratio: 1; border-radius: 50%;
  background: var(--maroon); color: var(--cream); text-decoration: none; padding: 1.5rem;
  box-shadow: 0 26px 50px -24px rgba(123, 35, 40, .8); transition: background-color var(--dur) var(--ease), transform .5s var(--bounce);
}
.hcard--cta a:hover { background: var(--maroon-dark); transform: rotate(-6deg) scale(1.04); }
.hcard__cta-big { font-family: var(--script); font-weight: 700; color: var(--gold); font-size: clamp(2.3rem, 3.6vw, 3.2rem); line-height: 1; }
.hcard__cta-small { font-weight: 600; font-size: .95rem; }

.s-hscroll.is-pinned { padding-block: 0; overflow: visible; }
.is-pinned .s-hscroll__pin {
  position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(.5rem, 3vh, 2rem);
}
.is-pinned .hcards { overflow: visible; scroll-snap-type: none; width: max-content; transform: translate3d(var(--hx, 0), 0, 0); padding-block: 3rem 3.5rem; }

/* ---------- 6. No guessing here: 3D tilt menu cards ----------
   Cards adapted from 21st.dev "3D Animated Tilt & Dynamic Glow Card" (themeocean).
   3D models: NVIDIA SimReady (CC BY 4.0), shown with <model-viewer>. */
.s-crave {
  --bg: var(--maroon); position: relative; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 45% at 85% 0%, rgba(227, 170, 75, .16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(82, 100, 83, .35), transparent 70%),
    var(--bg);
  color: var(--cream); padding-block: var(--section-y); overflow-x: clip;
}
.s-crave .eyebrow--light { color: #f7da9e; }
.s-crave__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; }
.s-crave__head .big-head { max-width: 15ch; }
.s-crave__shout { font-family: var(--script); font-weight: 700; color: var(--gold); font-size: clamp(3rem, 7vw, 6rem); line-height: 1; transform: rotate(-5deg); }
.s-crave__flip { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .45em; margin-top: 1.25rem; font-size: clamp(1.1rem, 2vw, 1.45rem); color: rgba(247, 240, 225, .88); }

/* Word that flips through dishes */
.flip { display: inline-grid; perspective: 600px; }
.flip__word {
  grid-area: 1 / 1; white-space: nowrap; font-family: var(--font-display); font-style: italic; font-size: 1.35em; line-height: 1.1; color: #f7da9e;
  opacity: 0; transform: translateY(55%) rotateX(-75deg); filter: blur(4px);
  transition: opacity .45s ease, transform .7s var(--bounce), filter .45s ease;
}
.flip__word.is-on { opacity: 1; transform: none; filter: none; }
.flip__word.is-out { opacity: 0; transform: translateY(-55%) rotateX(75deg); filter: blur(4px); transition-timing-function: ease, ease, ease; }

.crave-grid { list-style: none; padding: 0; display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 760px) { .crave-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .crave-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tilt { position: relative; }
.tilt__card {
  position: relative; isolation: isolate; height: 100%; display: flex; flex-direction: column;
  border-radius: 24px; border: 1px solid rgba(247, 240, 225, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transform: perspective(1000px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) scale3d(var(--s, 1), var(--s, 1), 1);
  transform-style: preserve-3d;
  box-shadow: calc(var(--ry, 0) * -2px) calc(var(--rx, 0) * 2px + 24px) 44px -18px rgba(20, 4, 6, .65), inset 0 1px 0 rgba(255, 255, 255, .1);
}
/* Soft light under the cursor, and the same light along the border */
.tilt__glow, .tilt__edge { position: absolute; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.tilt__glow { inset: 0; z-index: -1; background: radial-gradient(380px circle at calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px), rgba(227, 170, 75, .24), transparent 65%); }
.tilt__edge {
  inset: -1px; padding: 1px;
  background: radial-gradient(300px circle at calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px), rgba(247, 218, 158, .95), rgba(227, 170, 75, .5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tilt.is-active .tilt__glow, .tilt.is-active .tilt__edge, .tilt:focus-within .tilt__glow, .tilt:focus-within .tilt__edge { opacity: 1; }

.tilt__stage {
  position: relative; height: clamp(200px, 22vw, 250px); display: grid; place-items: center;
  background: radial-gradient(circle at 50% 62%, rgba(247, 218, 158, .2), transparent 62%);
  transition: transform .45s var(--out);
}
.tilt__model { width: 100%; height: 100%; background: transparent; --poster-color: transparent; }
.tilt__stage--plate img { width: min(62%, 210px); filter: drop-shadow(0 22px 26px rgba(30, 6, 8, .55)); animation: bob 5s ease-in-out infinite alternate; }
.tilt__body { flex: 1; display: flex; flex-direction: column; padding: .5rem clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2vw, 1.75rem); transition: transform .45s var(--out); }
.tilt.is-active .tilt__stage { transform: translateZ(50px); }
.tilt.is-active .tilt__body { transform: translateZ(28px); }
.tilt__badge {
  align-self: flex-start; padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #f7da9e; background: rgba(227, 170, 75, .14); border: 1px solid rgba(227, 170, 75, .4);
}
.tilt__title { margin-top: .8rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; color: var(--cream); }
.tilt__sub { margin-top: .35rem; font-size: .95rem; color: rgba(247, 240, 225, .78); }
.tilt__list { list-style: none; padding: 0; margin-top: 1.1rem; border-top: 1px solid rgba(247, 240, 225, .16); }
.tilt__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed rgba(247, 240, 225, .16); font-size: .95rem; }
.tilt__list b { font-weight: 600; color: #f7da9e; }
.tilt__link { margin-top: auto; padding-top: 1.1rem; align-self: flex-start; color: #f7da9e; font-weight: 600; text-underline-offset: 4px; }
.tilt__link span { display: inline-block; transition: transform var(--dur) var(--ease); }
.tilt__link:hover span { transform: translateX(4px); }
.s-crave__hint { margin-top: 1.5rem; text-align: center; font-size: .85rem; color: rgba(247, 240, 225, .72); }
.s-crave__hint span { display: block; margin-top: .25rem; font-size: .75rem; }

/* ---------- 7. Hours ---------- */
.s-hours { --bg: var(--gold); background: var(--bg); color: var(--maroon-dark); padding-block: var(--section-y); overflow-x: clip; }
.s-hours__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .s-hours__grid { grid-template-columns: 1.1fr .9fr; } }
.s-hours__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .95; letter-spacing: -.02em; color: var(--maroon); }
.s-hours__day { margin-top: 1.6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .95rem; }
.s-hours__time { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .5em; margin-top: .4rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.05; color: var(--maroon); }
.s-hours__time svg { width: 1.1em; height: auto; color: var(--terracotta); }
.s-hours__script { margin-top: 1.4rem; font-family: var(--script); font-weight: 700; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--maroon-dark); transform: rotate(-4deg); transform-origin: left; }
.s-hours__circle {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: var(--maroon); display: grid; place-items: center;
  box-shadow: 0 30px 60px -30px rgba(94, 26, 30, .9);
}
.s-hours__art { justify-self: center; width: min(100%, 460px); display: grid; justify-items: center; gap: 1.4rem; }
.s-hours__circle { width: 100%; background: radial-gradient(circle at 50% 40%, #9a3238, var(--maroon) 62%); }
.s-hours__circle::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle, rgba(247, 218, 158, .5), rgba(247, 218, 158, 0) 70%); }
.s-hours__tag { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--maroon); text-align: center; }
.s-hours__tag em { color: var(--maroon-dark); }

/* Filter coffee pour. The un-animated state is the "mid-pour" picture,
   so reduced motion (and no-JS) still shows a complete scene. 6 s loop. */
.pour { position: relative; z-index: 1; width: 58%; height: auto; margin-top: 9%; overflow: visible; }
.pour__cup { transform-origin: 176px 18px; transform: translate(-4px, 74px) rotate(115deg); animation: cupTilt 6s var(--ease) infinite; }
.pour__stream { stroke-dasharray: 26 7; transform-origin: 172px 92px; animation: streamShow 6s linear infinite, streamFlow .4s linear infinite; }
.pour__stream--hi { stroke-dasharray: 10 23; opacity: .7; }
.pour__level { animation: levelRise 6s var(--ease) infinite; }
.pour__bubbles circle { animation: bubble 2.4s ease-in-out infinite alternate; }
.pour__bubbles circle:nth-child(2) { animation-delay: -.8s; } .pour__bubbles circle:nth-child(3) { animation-delay: -1.6s; }
.dr { opacity: 0; animation: drop .7s ease-out infinite; }
.dr2 { animation-delay: .23s; } .dr3 { animation-delay: .46s; }
.pour__drops { animation: streamShow 6s linear infinite; }
.st { opacity: 0; stroke-dasharray: 90; animation: steam 3.6s ease-in-out infinite; }
.st2 { animation-delay: 1.2s; } .st3 { animation-delay: 2.4s; }

@keyframes cupTilt {
  0%, 6%   { transform: translate(-4px, 74px) rotate(62deg); }
  18%      { transform: translate(-4px, 74px) rotate(115deg); }
  45%      { transform: translate(-4px, 74px) rotate(120deg); }
  70%      { transform: translate(-4px, 74px) rotate(116deg); }
  84%, 100% { transform: translate(-4px, 74px) rotate(62deg); }
}
@keyframes streamShow {
  0%, 14%  { opacity: 0; transform: scaleY(0); }
  22%      { opacity: 1; transform: scaleY(1); }
  72%      { opacity: 1; transform: scaleY(1); }
  80%, 100% { opacity: 0; transform: scaleY(1); }
}
@keyframes streamFlow { to { stroke-dashoffset: -33; } }
@keyframes levelRise {
  0%, 18%  { transform: translateY(30px); }
  76%, 94% { transform: translateY(0); }
  100%     { transform: translateY(30px); }
}
@keyframes bubble { to { transform: translate(3px, -2px); } }
@keyframes drop {
  0%   { opacity: 0; transform: translate(0, 0); }
  30%  { opacity: 1; transform: translate(var(--dx, -10px), -16px); }
  100% { opacity: 0; transform: translate(calc(var(--dx, -10px) * 1.6), 4px); }
}
.dr2 { --dx: 11px; } .dr3 { --dx: -3px; }
@keyframes steam {
  0%   { opacity: 0; stroke-dashoffset: 90; transform: translateY(10px); }
  40%  { opacity: .55; }
  100% { opacity: 0; stroke-dashoffset: 0; transform: translateY(-26px); }
}
/* Real pour video: hidden until it loads, then it replaces the 3D scene and the SVG */
.pour-video { position: absolute; inset: 7%; z-index: 3; width: 86%; height: 86%; border-radius: 50%; object-fit: cover; display: none; }
.s-hours__circle.has-video .pour-video { display: block; }
.s-hours__circle.has-video .coffee3d, .s-hours__circle.has-video .pour { display: none; }
/* 3D davara set (coffee3d.js); the SVG above is the fallback */
.coffee3d { position: absolute; inset: 0; z-index: 2; border-radius: 50%; cursor: grab; touch-action: pan-y; }
.coffee3d:active { cursor: grabbing; }
.coffee3d canvas { display: block; width: 100%; height: 100%; }
.s-hours__circle.is-3d .pour { display: none; }
.s-hours__circle:not(.is-3d) .coffee3d { display: none; }
/* Pause while off screen (story.js adds .is-playing) */
.s-hours__art:not(.is-playing) .pour * { animation-play-state: paused; }
.s-hours__ring { position: absolute; inset: 3%; width: 94%; height: 94%; animation: spin 30s linear infinite reverse; }
.s-hours__ring text { fill: var(--cream); font-family: var(--font-body); font-weight: 600; font-size: 12.5px; letter-spacing: .22em; }

/* ---------- 8. Visit ---------- */
.s-visit { --bg: var(--menu-green); background: var(--bg); color: rgba(247, 240, 225, .9); padding-block: var(--section-y); }
.s-visit .eyebrow--light { color: #f7da9e; }
.s-visit__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .s-visit__grid { grid-template-columns: 1fr 1fr; } }
.s-visit__addr { margin-top: 1.5rem; font-size: 1.1rem; line-height: 1.6; }
.s-visit__tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.s-visit__tags li { padding: .4rem .95rem; border: 1px solid rgba(247, 240, 225, .4); border-radius: 999px; font-size: .875rem; }
.s-visit__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.s-visit__map { border-radius: 22px; overflow: hidden; border: 6px solid rgba(247, 240, 225, .14); transform: rotate(1.5deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.s-visit__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 899px) {
  .s-hero { min-height: max(600px, calc(100svh - var(--header-h) - 60px)); }
  .s-hero__title { margin-top: -14vh; }
  .s-hero__word { font-size: clamp(5rem, 25vw, 12rem); }
  .s-hero__our { left: 2%; }
  .s-hero__plate { width: clamp(170px, 46vw, 300px); margin: calc(clamp(170px, 46vw, 300px) / -2 + 4vh) 0 0 calc(clamp(170px, 46vw, 300px) / -2); }
  .s-hero__shadow { top: calc(50% + clamp(170px, 46vw, 300px) / 2 + 5vh); }
  .fp1 { left: 3%; top: 8%; } .fp2 { right: 4%; top: 6%; }
  .fp3 { right: 2%; bottom: 30%; } .fp4 { left: 3%; bottom: 32%; }
  .s-hero__foot { grid-template-columns: 1fr; text-align: center; gap: .5rem; bottom: 3.6rem; }
  .s-hero__lead { margin-inline: auto; }
  .s-hero__scroll { display: none; }
  .s-hero__since { text-align: center; justify-self: center; }
}
@media (max-width: 479px) {
  .s-hero__lead { font-size: .8rem; }
  .s-began__media figcaption { left: 0; }
  .s-visit__actions .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion: everything static and readable ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro-screen { display: none !important; }
  .ltr, .s-hero__our, .s-hero__plate, .float-plate, .s-hero__shadow, .s-hero__foot { animation: none !important; opacity: 1 !important; }
  .marquee__track { animation: none; }
  .sw > span { transform: none !important; }
  .s-def__photo { translate: none !important; }
  .flip__word { transition: none; }
  .s-began__media { transform: none; }
}


/* =========================================================
   18. Inner pages: Menu, Gallery, Contact
   (menu.php, gallery.php, contact.php; header/footer are shared)
   ========================================================= */
.page-inner { overflow-x: clip; }
.page-inner main { overflow-x: clip; }
.page-inner .wave-top { position: relative; }
.page-inner .wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 22px; pointer-events: none;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath d='M0 3C25 3 25 21 50 21S75 3 100 3V24H0Z'/%3E%3C/svg%3E") 0 0 / 104px 22px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath d='M0 3C25 3 25 21 50 21S75 3 100 3V24H0Z'/%3E%3C/svg%3E") 0 0 / 104px 22px repeat-x;
}
.site-nav__list a[aria-current="page"] { color: var(--maroon); }
.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.footer__col a[aria-current="page"] { color: var(--gold-light); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4.5rem, 9vw, 7rem);
  background: radial-gradient(ellipse 70% 80% at 85% 0%, rgba(227, 170, 75, .18), transparent 70%), var(--maroon);
  color: var(--cream); text-align: center;
}
.page-hero__motif { position: absolute; z-index: -1; fill: var(--gold); opacity: .13; animation: spin 40s linear infinite; }
.pm1 { width: 160px; height: 160px; left: -40px; top: 18%; }
.pm2 { width: 90px; height: 90px; right: 8%; bottom: 14%; animation-direction: reverse; }
.crumbs { display: inline-flex; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #f7da9e; }
.crumbs a { color: rgba(247, 240, 225, .85); text-decoration: none; }
.crumbs a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.page-hero__title { margin-top: 1rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1; letter-spacing: -.02em; }
.page-hero__title em { color: var(--gold); }
.page-hero__lead { max-width: 52ch; margin: 1.2rem auto 0; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(247, 240, 225, .9); }
.js .page-hero .container > * { animation: heroRise .9s var(--ease) both; }
.js .page-hero .container > :nth-child(2) { animation-delay: .1s; }
.js .page-hero .container > :nth-child(3) { animation-delay: .2s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Slide tabs (sliding pill behind the active tab) ---------- */
.slidetabs {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem;
  width: fit-content; max-width: 100%; margin: 0 auto 2.75rem; padding: .35rem;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper);
}
.slidetabs button {
  position: relative; z-index: 1; min-height: 44px; padding: .55rem 1.15rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  transition: color .3s ease;
}
.slidetabs button[aria-pressed="true"] { color: var(--cream); }
.slidetabs button:hover:not([aria-pressed="true"]) { color: var(--maroon); }
.slidetabs__pill {
  position: absolute; z-index: 0; left: 0; top: 0; border-radius: 999px; background: var(--maroon);
  transition: transform .45s var(--bounce, cubic-bezier(.34, 1.56, .64, 1)), width .45s var(--ease), height .3s ease;
  box-shadow: 0 8px 18px -10px rgba(123, 35, 40, .8);
}
.no-pill .slidetabs button[aria-pressed="true"], .slidetabs:not(.has-pill) button[aria-pressed="true"] { background: var(--maroon); }
@media (max-width: 639px) {
  .slidetabs { border-radius: 22px; }
  .slidetabs button { padding-inline: .85rem; font-size: .74rem; letter-spacing: .05em; }
}

/* ---------- Dish orbit ---------- */
.orbit { --bg: var(--cream); --band: rgba(227, 170, 75, .45); background: var(--bg); padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); overflow-x: clip; }
.orbit__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1000px) { .orbit__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .62fr); gap: clamp(1.5rem, 3vw, 3rem); } }
.orbit__stage { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.orbit__band {
  position: absolute; left: -40%; right: -60%; top: 34%; height: 34%; z-index: 0; border-radius: 50%;
  background: var(--band); transform: rotate(-12deg); transition: background-color .8s ease;
}
.orbit__plate {
  position: absolute; inset: 6%; z-index: 1; width: 88%; height: 88%; border-radius: 50%;
  filter: drop-shadow(0 30px 36px rgba(42, 20, 14, .38));
  transform-origin: 50% 260%; transform: rotate(70deg); opacity: 0;
  transition: transform 1s cubic-bezier(.65, 0, .25, 1), opacity .6s ease;
}
.orbit__plate.is-active { transform: rotate(0deg); opacity: 1; }
.orbit__plate.is-past { transform: rotate(-70deg); opacity: 0; }
.orbit__rank { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.orbit__title { margin-top: .6rem; font-family: var(--font-display); line-height: .95; letter-spacing: -.02em; color: var(--ink); font-size: clamp(2.8rem, 6vw, 5rem); }
.orbit__light { display: block; font-weight: 400; text-transform: uppercase; }
.orbit__bold { display: block; font-weight: 700; font-style: italic; color: var(--maroon); }
.orbit__title.is-wiping { animation: wipe .8s var(--ease) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.orbit__desc { margin-top: 1.1rem; max-width: 38ch; font-size: 1.08rem; color: var(--ink-2); }
.orbit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.8rem; }
.orbit__link { font-weight: 600; color: var(--maroon); text-underline-offset: 4px; }
.orbit__card { justify-self: center; width: min(100%, 300px); padding: 1.3rem; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.orbit__tabs { display: flex; gap: .3rem; padding: .25rem; border-radius: 999px; background: var(--cream-2); }
.orbit__tabs button { flex: 1; min-height: 40px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink-2); transition: background-color .25s ease, color .25s ease; }
.orbit__tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.orbit__panel { padding-top: 1.2rem; min-height: 120px; }
.orbit__price {
  display: inline-grid; place-items: center; min-width: 4.4rem; height: 4.4rem; padding-inline: .6rem; border-radius: 16px;
  background: var(--gold); color: var(--maroon-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
}
.orbit__diet { margin-top: .9rem; font-weight: 600; color: var(--ink); }
.orbit__tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.orbit__tags li { padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.orbit__nav { display: flex; align-items: center; gap: .75rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.orbit__arrow {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  color: var(--maroon); border: 1.5px solid var(--maroon); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.orbit__arrow svg { width: 20px; height: 20px; }
.orbit__arrow:hover { background: var(--maroon); color: var(--cream); }
.orbit__thumbs { list-style: none; padding: .5rem .25rem; display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.orbit__thumbs::-webkit-scrollbar { display: none; }
.orbit__thumb {
  scroll-snap-align: center; display: grid; justify-items: center; gap: .35rem; width: 108px; padding: .6rem .4rem; border-radius: 18px;
  font-size: .8rem; font-weight: 600; color: var(--ink-2); transition: background-color .3s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.orbit__thumb img { width: 66px; height: 66px; border-radius: 50%; transition: transform .5s var(--ease); }
.orbit__thumb:hover img { transform: rotate(-12deg) scale(1.06); }
.orbit__thumb[aria-current="true"] { background: var(--paper); color: var(--maroon); box-shadow: var(--shadow); transform: translateY(-4px); }
@media (min-width: 1000px) { .orbit__thumbs { justify-content: center; } }

/* ---------- Full menu block (two columns, dotted leaders) ---------- */
.fullmenu { background: var(--paper); }
.mblock { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 960px) { .mblock { grid-template-columns: 1fr 1fr; } }
.mblock__col { display: grid; gap: clamp(2rem, 5vw, 3rem); align-content: start; }
.mblock__group[hidden] { display: none; }
.mblock__title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; margin-bottom: .4rem; border-bottom: 2px solid var(--maroon);
  font-size: .9rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon);
}
.mblock__title span { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0; color: var(--gold); }
.mblock__list { list-style: none; padding: 0; }
.mblock__list li { padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.mblock__row { display: flex; align-items: baseline; gap: .6rem; }
.mblock__row .diet { flex: none; transform: translateY(1px); }
.mblock__name { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.mblock__dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(91, 74, 63, .35); transform: translateY(-4px); }
.mblock__price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--maroon); }
.mblock__desc { margin-top: .2rem; padding-left: calc(14px + .6rem); font-size: .92rem; color: var(--ink-2); }
.mblock__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 2.5rem; font-size: .9rem; color: var(--ink-2); text-align: center; }

/* ---------- CTA band ---------- */
.cta-band { --bg: var(--green); background: var(--bg); color: var(--cream); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; }
.cta-band__title em { color: var(--gold); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Gallery: masonry + lightbox ---------- */
.pgallery { --bg: var(--cream); background: var(--bg); }
.masonry { list-style: none; padding: 0; columns: 3 280px; column-gap: clamp(.9rem, 2vw, 1.4rem); }
.masonry__item { break-inside: avoid; margin-bottom: clamp(.9rem, 2vw, 1.4rem); }
.masonry__item[hidden] { display: none; }
.js .masonry__item { animation: tileIn .6s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.masonry__btn { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); cursor: zoom-in; }
.masonry__btn img { width: 100%; transition: transform .7s var(--ease); }
.masonry__btn:hover img, .masonry__btn:focus-visible img { transform: scale(1.06); }
.masonry__cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .1rem; padding: 2.5rem 1rem .9rem; text-align: left;
  background: linear-gradient(to top, rgba(30, 12, 8, .82), transparent); color: var(--white);
  opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s var(--ease);
}
.masonry__cap b { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.masonry__cap i { font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f7da9e; }
.masonry__btn:hover .masonry__cap, .masonry__btn:focus-visible .masonry__cap { opacity: 1; transform: none; }
@media (hover: none) { .masonry__cap { opacity: 1; transform: none; } }

.lightbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6rem);
  background: rgba(24, 10, 8, .92); backdrop-filter: blur(6px);
  animation: lbFade .3s ease both;
}
.lightbox[hidden] { display: none; }
@keyframes lbFade { from { opacity: 0; } }
.lightbox__figure { margin: 0; display: grid; gap: .9rem; justify-items: center; max-width: 100%; }
.lightbox__img { max-width: min(100%, 1200px); max-height: calc(100svh - 9rem); width: auto; border-radius: 14px; box-shadow: 0 30px 80px -30px #000; animation: lbZoom .45s var(--ease) both; }
.lightbox__img.is-swap { animation: lbSwap .4s var(--ease) both; }
@keyframes lbZoom { from { opacity: 0; transform: scale(.88); } }
@keyframes lbSwap { from { opacity: 0; transform: translateX(var(--dir, 30px)); } }
.lightbox__cap { display: flex; gap: 1rem; align-items: baseline; color: var(--cream); }
.lightbox__cap b { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.lightbox__cap span { font-size: .85rem; color: rgba(247, 240, 225, .75); }
.lightbox__close, .lightbox__arrow {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: var(--cream); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  transition: background-color var(--dur) var(--ease);
}
.lightbox__close:hover, .lightbox__arrow:hover { background: var(--maroon); }
.lightbox__close svg, .lightbox__arrow svg { width: 20px; height: 20px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__arrow--prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__arrow--next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 639px) {
  .lightbox { padding-inline: .75rem; }
  .lightbox__arrow { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- Contact ---------- */
.contact { --bg: var(--cream); background: var(--bg); }
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1.1fr; } }
.contact__lead { margin-top: 1rem; max-width: 44ch; font-size: 1.08rem; color: var(--ink-2); }
.contact__list { list-style: none; padding: 0; display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--maroon); }
.contact__icon svg { width: 20px; height: 20px; fill: none; stroke: #f7da9e; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.contact__list a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.contact__list a:hover { color: var(--maroon); }
.contact__form { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 1.1rem; }
.contact__form-title { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; color: var(--ink); }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  color: var(--ink); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(123, 35, 40, .12); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { font-size: .85rem; font-weight: 600; color: #b3261e; }
.contact__send { justify-self: start; }
.contact__status { min-height: 1.4em; font-weight: 600; color: var(--green); }
.contact__hint { font-size: .85rem; color: var(--ink-2); }

.cmap { position: relative; }
.cmap iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: saturate(.85); }
.cmap__card {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(280px, calc(100% - 2 * var(--gutter)));
  display: grid; gap: 1rem; padding: 1.4rem; border-radius: 20px; background: var(--green); box-shadow: var(--shadow-lg);
}
.cmap__card img { width: 150px; justify-self: center; }
@media (max-width: 639px) {
  .cmap__card { position: static; transform: none; width: auto; margin: -2.5rem var(--gutter) 0; }
}

.faq { background: var(--paper); }
.faq__inner { max-width: 820px; }
.faq__list { display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.faq__item[open] { border-color: rgba(123, 35, 40, .35); box-shadow: var(--shadow); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 1rem 1.25rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--maroon); border-bottom: 2px solid var(--maroon);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__item summary:hover { color: var(--maroon); }
.faq__body { padding: 0 1.25rem 1.2rem; color: var(--ink-2); }
.faq__body a { color: var(--maroon); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .orbit__plate, .orbit__title.is-wiping, .js .masonry__item, .lightbox__img, .js .page-hero .container > * { animation: none !important; transition: none !important; }
}

/* One category on screen: centre it instead of leaving an empty column */
.is-filtered .mblock { grid-template-columns: minmax(0, 760px); justify-content: center; }


/* =========================================================
   19. Spice box (Our Story), floating order button (all pages),
       Menu page motion
   ========================================================= */

/* ---------- Spice box: ingredients land one by one ---------- */
.s-build { --bg: #e2742f; position: relative; background: var(--bg); color: var(--cream); }
.s-build__pin { padding-block: var(--section-y); }
.s-build__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
  .s-build__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr auto; column-gap: clamp(2rem, 5vw, 5rem); }
  .s-build__head { grid-column: 1; grid-row: 1; }
  .s-build__list { grid-column: 1; grid-row: 2; align-self: end; }
  .s-build__stage { grid-column: 2; grid-row: 1 / 3; }
  .s-build__bar { grid-column: 1 / -1; grid-row: 3; }
}
.s-build__eyebrow { font-size: var(--eyebrow-size); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #3a0f12; }
.s-build__title { margin-top: .6rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .95; letter-spacing: -.01em; color: var(--cream); text-shadow: 0 .05em 0 rgba(94, 26, 30, .25); }
.s-build__list { list-style: none; padding: 0; display: grid; gap: .15rem; }
.bstep { display: flex; gap: 1rem; align-items: baseline; padding: .25rem 0; transition: transform .45s var(--ease); }
.bstep__num { flex: none; min-width: 2ch; font-size: .85rem; font-weight: 700; color: #3a0f12; }
.bstep__body b { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--cream); transition: color .35s ease; }
.bstep__body i { display: block; font-style: normal; font-weight: 600; font-size: .95rem; color: #3a0f12; }
.s-build__bar { height: 3px; border-radius: 3px; background: rgba(58, 15, 18, .2); overflow: hidden; }
.s-build__bar span { display: block; height: 100%; background: var(--cream); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }

.s-build__stage { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: 680px; justify-self: center; }
.s-build__floor { position: absolute; left: 10%; right: 10%; bottom: 1%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(58, 15, 18, .45), transparent); }

/* Mixer grinder: back glass, then chutney + ingredients, then front glass and body */
.mixie {
  position: absolute; left: 50%; bottom: 4%; width: 46%; aspect-ratio: 300 / 460; translate: -50% 0;
  transition: left .9s cubic-bezier(.65, 0, .25, 1), scale .9s cubic-bezier(.65, 0, .25, 1);
}
.mixie__back, .mixie__front { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mixie__front { z-index: 3; filter: drop-shadow(0 18px 18px rgba(58, 15, 18, .35)); }
.mixie__chutney { position: absolute; inset: 0; z-index: 1; clip-path: polygon(20.7% 11.3%, 79.3% 11.3%, 71.3% 66.5%, 28.7% 66.5%); }
.mixie__fill {
  position: absolute; left: 0; right: 0; bottom: 33.5%; height: 0;
  background: linear-gradient(#a8d06e, #5f9a40 45%, #3f7430);
  transition: height 1.3s cubic-bezier(.22, 1, .36, 1) .45s;
}
.mixie__fill::before { /* frothy, swirling top */
  content: ""; position: absolute; left: -10%; right: -10%; top: -10px; height: 20px; border-radius: 50%;
  background: radial-gradient(ellipse at 30% 50%, #c4e08e, #8fbf5a 70%);
}
.mixie .ing { position: absolute; z-index: 2; height: auto; filter: drop-shadow(0 8px 8px rgba(40, 10, 8, .4)); }
.ing--chilli    { width: 44%; left: 28%; top: 51%; rotate: -12deg; }
.ing--onion     { width: 28%; left: 30%; top: 45%; rotate: 8deg; }
.ing--garlic    { width: 26%; left: 48%; top: 41%; }
.ing--curry     { width: 46%; left: 25%; top: 35%; rotate: 10deg; }
.ing--coriander { width: 22%; left: 47%; top: 26%; rotate: -20deg; }
.ing--mint      { width: 40%; left: 27%; top: 21%; rotate: -6deg; }
.ing--coconut   { width: 40%; left: 31%; top: 12%; }
.mixie__blade { transform-box: fill-box; transform-origin: center; }
.mixie__knob-mark { transform-box: view-box; transform-origin: 150px 372px; transition: rotate .4s ease; }
.mixie__whirr {
  position: absolute; z-index: 4; left: -18%; top: 4%; padding: .35rem .9rem; border-radius: 999px;
  background: var(--cream); color: var(--maroon); font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(1rem, 1.8vw, 1.4rem);
  rotate: -10deg; box-shadow: var(--shadow); opacity: 0; scale: .4; transition: opacity .3s ease, scale .5s cubic-bezier(.34, 1.56, .64, 1);
}
.ing--dosa { position: absolute; z-index: 4; width: 46%; right: 3%; bottom: 10%; border-radius: 50%; filter: drop-shadow(0 20px 22px rgba(40, 10, 8, .45)); }

/* Without the scroll animation (no JS / reduced motion): the finished picture */
.s-build:not(.is-live) .mixie .ing { display: none; }
.s-build:not(.is-live) .mixie__fill { height: 44%; transition: none; }
.s-build:not(.is-live) .mixie { left: 28%; scale: .85; }

.s-build__ready {
  position: absolute; right: 8%; top: 4%; z-index: 3; padding: .5rem 1.1rem; border-radius: 999px;
  background: var(--maroon); color: var(--cream); font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  rotate: -8deg; box-shadow: var(--shadow-lg);
}

/* Animated version (story.js adds .is-live): pinned, items drop in as you scroll */
.s-build.is-live { height: calc((var(--n) + 1) * 70svh); }
.is-live .s-build__pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: grid; align-items: center; padding-block: clamp(1rem, 3vh, 2rem); overflow: hidden; }
/* Ingredients fall into the jar one by one */
.is-live .mixie .ing { opacity: 0; translate: 0 -110vh; transform: rotate(-40deg) scale(.9); transition: translate .9s cubic-bezier(.34, 1.3, .64, 1), transform .9s cubic-bezier(.34, 1.3, .64, 1), opacity .25s ease, filter .5s ease; }
.is-live .mixie .ing.is-in { opacity: 1; translate: 0 0; transform: none; }
/* Grind: the jar shakes, the blade spins, the ingredients whirl away and the chutney rises */
.is-live .is-grinding .mixie .ing.is-in { opacity: 0; transform: rotate(560deg) scale(.15); filter: blur(5px); transition: transform 1.1s ease-in, opacity .8s ease .35s, filter .6s ease; }
.is-live .mixie__fill::before { opacity: 0; transition: opacity .3s ease .45s; }
.is-live .is-grinding .mixie__fill { height: 44%; }
.is-live .is-grinding .mixie__fill::before { opacity: 1; }
.is-live .is-grinding .mixie { animation: mixShake .1s linear 12; }
.is-live .is-grinding .mixie__blade { animation: bladeSpin .14s linear 12; }
@keyframes bladeSpin { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
.is-live .is-grinding .mixie__knob-mark { rotate: 90deg; }
.is-live .is-grinding:not(.is-served) .mixie__whirr { opacity: 1; scale: 1; }
@keyframes mixShake { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-2px, 1px) rotate(-1deg); } 75% { transform: translate(2px, -1px) rotate(1deg); } }
/* Serve: the mixie steps aside and the dosa lands */
.is-live .ing--dosa { opacity: 0; translate: 30% -40%; scale: .4; rotate: 120deg; transition: opacity .3s ease, translate .9s cubic-bezier(.34, 1.3, .64, 1), scale .9s cubic-bezier(.34, 1.3, .64, 1), rotate .9s ease; }
.is-live .is-served .ing--dosa { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
.is-live .is-served .mixie { left: 28%; scale: .85; }
.is-live .s-build__ready { opacity: 0; scale: .3; transition: opacity .3s ease, scale .6s cubic-bezier(.34, 1.56, .64, 1); }
.is-live .s-build__ready.is-in { opacity: 1; scale: 1; }
.is-live .bstep__body b { color: rgba(247, 240, 225, .62); }
.is-live .bstep__body i { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease; }
.is-live .bstep.is-active { transform: translateX(10px); }
.is-live .bstep.is-active .bstep__body b { color: var(--cream); }
.is-live .bstep.is-active .bstep__body i { max-height: 2em; opacity: 1; }
.is-live .s-build__title { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.is-live .bstep__body b { font-size: clamp(1.1rem, 1.8vw, 1.55rem); }
.is-live .bstep { padding: .1rem 0; }
.is-live .bstep.is-done .bstep__body b { color: rgba(247, 240, 225, .8); }
@media (max-width: 899px) {
  .is-live .s-build__grid { gap: .8rem; }
  .is-live .s-build__title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .is-live .s-build__stage { max-width: 420px; }
  .is-live .bstep__body b { font-size: 1.05rem; }
  .is-live .bstep { padding: 0; }
  .is-live .bstep__body b { font-size: .98rem; }
  .is-live .s-build__stage { max-width: 330px; }
}

/* ---------- Floating order button (script.js adds it to every page) ---------- */
.fab { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + var(--fab-lift, 0px)); z-index: 90; display: grid; justify-items: end; gap: .7rem; pointer-events: none; }
.fab > * { pointer-events: auto; }
.fab__btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem; min-height: 56px; padding: .5rem 1.3rem .5rem .55rem; border-radius: 999px;
  background: var(--maroon); color: var(--cream); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  box-shadow: 0 16px 34px -12px rgba(94, 26, 30, .8), 0 0 0 3px rgba(247, 240, 225, .9);
  opacity: 0; translate: 0 30px; scale: .85;
  transition: opacity .4s ease, translate .5s cubic-bezier(.34, 1.56, .64, 1), scale .5s cubic-bezier(.34, 1.56, .64, 1), background-color var(--dur) var(--ease);
}
.fab.is-shown .fab__btn { opacity: 1; translate: 0 0; scale: 1; }
.fab__btn:hover { background: var(--maroon-dark); }
.fab__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--maroon-dark); }
.fab__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; animation: ring 3.2s ease-in-out infinite; }
.fab__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-16deg); } 78% { transform: rotate(14deg); } 82% { transform: rotate(-10deg); } 86% { transform: rotate(6deg); } }
.fab__btn[aria-expanded="true"] .fab__icon svg { animation: none; }
.fab__menu {
  display: grid; gap: .3rem; min-width: 230px; padding: .5rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform-origin: 100% 100%; animation: fabMenu .35s cubic-bezier(.34, 1.56, .64, 1) both;
}
.fab__menu[hidden] { display: none; }
@keyframes fabMenu { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.fab__menu a { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .5rem .85rem; border-radius: 14px; text-decoration: none; font-weight: 600; color: var(--ink); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.fab__menu a:hover, .fab__menu a:focus-visible { background: var(--cream-2); color: var(--maroon); }
.fab__menu svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--maroon); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 479px) { .fab__label { display: none; } .fab__btn { padding-right: .55rem; } }

/* ---------- Menu page motion ---------- */
.page-hero .bl { display: inline-block; animation: blIn .8s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(.15s + var(--i) * 60ms); }
@keyframes blIn { from { opacity: 0; transform: translateY(60%) rotate(var(--r, -8deg)) scale(.6); } }

/* Orbit: each plate spins on its own axis while it swings in, spices burst, steam rises */
.orbit__plate { display: block; }
.orbit__plate img { width: 100%; height: 100%; border-radius: 50%; transform: rotate(-220deg) scale(.9); transition: transform 1.15s cubic-bezier(.22, 1, .36, 1); }
.orbit__plate.is-active img { transform: none; }
.orbit__steam { position: absolute; left: 34%; right: 34%; top: -4%; height: 34%; z-index: 2; pointer-events: none; }
.orbit__steam i {
  position: absolute; bottom: 0; width: 26%; height: 100%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 80%, rgba(255, 252, 245, .75), rgba(255, 252, 245, 0) 65%);
  filter: blur(6px); opacity: 0; animation: steamUp 3.6s ease-in-out infinite;
}
.orbit__steam i:nth-child(1) { left: 6%; }
.orbit__steam i:nth-child(2) { left: 38%; animation-delay: 1.2s; }
.orbit__steam i:nth-child(3) { left: 68%; animation-delay: 2.4s; }
@keyframes steamUp { 0% { opacity: 0; transform: translateY(40%) scaleX(.6); } 35% { opacity: .8; } 100% { opacity: 0; transform: translateY(-50%) scaleX(1.3) rotate(8deg); } }
.orbit__sparks { position: absolute; left: 50%; top: 50%; z-index: 3; pointer-events: none; }
.spark {
  position: absolute; left: 0; top: 0; width: var(--s, 10px); height: var(--s, 10px); margin: calc(var(--s, 10px) / -2);
  border-radius: 50%; background: var(--c, var(--gold)); background-size: contain; background-repeat: no-repeat; background-position: center;
  animation: burst 1.1s cubic-bezier(.16, 1, .3, 1) forwards;
}
.spark--img { border-radius: 0; background-color: transparent; }
@keyframes burst {
  0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.3); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero .bl, .orbit__steam, .fab__icon svg, .fab__icon::after { animation: none !important; }
  .orbit__plate img { transition: none; }
  .fab__btn { transition: none; }
}

.s-build__credit { margin-top: .5rem; font-size: .72rem; color: #3a0f12; opacity: .85; }
@media (min-width: 900px) { .s-build__credit { grid-column: 1 / -1; grid-row: 4; } }


/* ---------- Falling ingredient pieces (story.js builds them) ---------- */
.mixie__drops { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.piece {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; opacity: 0;
  filter: drop-shadow(0 4px 4px rgba(40, 10, 8, .35)); will-change: transform;
}
/* Gravity: speeds up as it falls, lands, bounces once, settles */
.drop.is-in .piece { opacity: 1; animation: pieceFall var(--t, .9s) var(--delay, 0s) both; }
@keyframes pieceFall {
  0%   { transform: translate(var(--sx), -125vh) rotate(var(--r0)); animation-timing-function: cubic-bezier(.45, 0, .9, .55); }
  78%  { transform: translate(0, 0) rotate(var(--r)); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  89%  { transform: translate(var(--bx), -9%) rotate(calc(var(--r) + var(--br))); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  100% { transform: translate(0, 0) rotate(var(--r)); }
}
/* Grind: a whirlpool. Pieces swing round, spiral down into the blade, shrink and blend away */
.is-grinding .drop.is-in .piece { animation: pieceWhirl 1.5s calc(var(--delay, 0s) * .6) both cubic-bezier(.45, .05, .55, .95); }
@keyframes pieceWhirl {
  0%   { transform: translate(0, 0) rotate(var(--r)) scale(1); opacity: 1; filter: blur(0); }
  30%  { transform: translate(calc(var(--cx) * .45 + var(--sw)), calc(var(--cy) * .2)) rotate(calc(var(--r) + 200deg)) scale(.9); opacity: 1; }
  60%  { transform: translate(calc(var(--cx) * .8 - var(--sw) * .6), calc(var(--cy) * .6)) rotate(calc(var(--r) + 460deg)) scale(.6); opacity: .9; filter: blur(1px); }
  100% { transform: translate(var(--cx), var(--cy)) rotate(calc(var(--r) + 820deg)) scale(.05); opacity: 0; filter: blur(5px); }
}
/* Swirl on the chutney surface while it spins */
.mixie__swirl {
  position: absolute; z-index: 1; left: 24%; right: 24%; top: 26%; height: 10%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: conic-gradient(from 0deg, rgba(220, 225, 160, .55), transparent 25%, rgba(70, 82, 30, .45) 50%, transparent 75%, rgba(220, 225, 160, .55));
  transition: opacity .4s ease;
}
.is-live .is-grinding:not(.is-served) .mixie__swirl { opacity: 1; animation: swirl .5s linear infinite; }
@keyframes swirl { to { transform: rotate(360deg); } }
.is-live .is-grinding .mixie__fill { transition: height 1.8s cubic-bezier(.4, 0, .2, 1) .3s; }

/* ---------- Thick chutney, like the green chutney on the plate ---------- */
.mixie__fill {
  background:
    radial-gradient(ellipse 9px 6px at 18% 22%, rgba(60, 70, 26, .45), transparent 70%),
    radial-gradient(ellipse 7px 5px at 66% 14%, rgba(60, 70, 26, .4), transparent 70%),
    radial-gradient(ellipse 10px 7px at 40% 48%, rgba(196, 200, 140, .35), transparent 70%),
    radial-gradient(ellipse 8px 6px at 80% 58%, rgba(60, 70, 26, .45), transparent 70%),
    radial-gradient(ellipse 6px 4px at 28% 74%, rgba(170, 60, 36, .35), transparent 70%),
    radial-gradient(ellipse 9px 6px at 58% 86%, rgba(196, 200, 140, .3), transparent 70%),
    radial-gradient(ellipse 120% 60% at 30% 10%, rgba(196, 200, 140, .35), transparent 60%),
    linear-gradient(#9da257, #838b42 50%, #6b7336);
}
/* Lumpy, matte top instead of a glossy liquid line */
.mixie__fill::before {
  left: -6%; right: -6%; top: -9px; height: 18px; border-radius: 0;
  background:
    radial-gradient(circle at 8% 70%, #9ea257 0 9px, transparent 10px),
    radial-gradient(circle at 24% 50%, #a4a85c 0 11px, transparent 12px),
    radial-gradient(circle at 42% 72%, #9ba055 0 9px, transparent 10px),
    radial-gradient(circle at 60% 48%, #a5a95d 0 12px, transparent 13px),
    radial-gradient(circle at 78% 70%, #9ca156 0 9px, transparent 10px),
    radial-gradient(circle at 94% 52%, #a2a65a 0 11px, transparent 12px);
}
.is-live .is-grinding .mixie__fill { animation: churn .35s linear 4; }
@keyframes churn { 50% { filter: brightness(1.06); transform: translateY(-2px); } }

/* ---------- Our Story hero: keep "Since October 2026 / humble food, soulful vibes" clear of the tilted strip ---------- */
.s-hero__foot { bottom: clamp(5.5rem, 11vh, 8rem); }
@media (max-width: 899px) { .s-hero__foot { bottom: 4.6rem; } }

/* Short laptop screens (e.g. 1366x768 HP Pavilion, 1280x720): smaller hero title and plates */
@media (min-width: 900px) and (max-height: 760px) {
  .s-hero__word { font-size: clamp(5rem, 30vh, 15rem); }
  .s-hero__title { margin-top: -10vh; }
  .s-hero__plate { width: 40vh; margin: calc(-20vh + 1vh) 0 0 -20vh; }
  .s-hero__shadow { top: calc(50% + 21vh); }
  .fp1 { width: 15vh; top: 8%; } .fp2 { width: 13vh; top: 6%; }
  .fp3 { width: 16vh; bottom: 36%; } .fp4 { width: 14vh; bottom: 34%; }
  .s-hero__foot { bottom: 4.8rem; }
}

/* Spice box sizing: tablets get a bigger jar and list; short phones a smaller jar so all 9 steps fit */
@media (min-width: 600px) and (max-width: 899px) {
  .is-live .s-build__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; column-gap: 1.5rem; }
  .is-live .s-build__head { grid-column: 1 / -1; }
  .is-live .s-build__list { grid-column: 1; grid-row: 2; align-self: center; }
  .is-live .s-build__stage { grid-column: 2; grid-row: 2; max-width: 440px; }
  .is-live .s-build__bar { grid-column: 1 / -1; }
  .is-live .s-build__title { font-size: clamp(2.4rem, 6vw, 3.4rem); }
  .is-live .bstep__body b { font-size: clamp(1.3rem, 3.2vw, 1.75rem); }
  .is-live .bstep { padding: .15rem 0; }
  .is-live .bstep__body i { font-size: 1rem; }
}
@media (max-width: 599px) and (max-height: 720px) {
  .is-live .s-build__stage { max-width: 230px; }
  .is-live .s-build__grid { gap: .4rem; }
  .is-live .s-build__eyebrow { display: none; }
  .is-live .s-build__title { font-size: 1.9rem; }
  .is-live .bstep__body b { font-size: .92rem; line-height: 1.25; }
  .is-live .bstep__body i { font-size: .8rem; }
}

/* =========================================================
   20. "No guessing here" animated scenes: three illustrated stages per card
   (tea fills, dosa spreads then browns, egg becomes bread omelette), prepared by tools/frames.py.
   Without .is-playing (off screen, or reduced motion) the finished stage shows as a still.
   ========================================================= */
.tilt__stage--scene { height: clamp(230px, 25vw, 290px); padding: 0; }
.scene { position: relative; height: 100%; aspect-ratio: 1; max-width: 100%; margin-inline: auto; }
.fr { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 12px 14px rgba(30, 6, 8, .35)); }
.fr2 { opacity: 0; } .fr3 { opacity: 1; }
.sc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.sc-steam { fill: none; stroke: rgba(255, 248, 236, .75); stroke-width: 8; stroke-linecap: round; opacity: 0; stroke-dasharray: 120; }
.tea-flow { fill: none; stroke: rgba(255, 236, 205, .75); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 22; opacity: 0; }
.dosa-bubble { fill: rgba(255, 246, 225, .9); opacity: 0; }

.is-playing .fr2 { animation: fr2 9s ease-in-out infinite; }
.is-playing .fr3 { animation: fr3 9s ease-in-out infinite; }
@keyframes fr2 { 0%, 11% { opacity: 0; } 22%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes fr3 { 0%, 50% { opacity: 0; } 61%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* Dosa: batter spreads out from the centre, then browns from the centre out */
@property --rv { syntax: '<percentage>'; inherits: false; initial-value: 75%; }
.scene--dosa .fr2, .scene--dosa .fr3 { -webkit-mask: radial-gradient(circle at 42% 49%, #000 calc(var(--rv) - 3%), transparent var(--rv)); mask: radial-gradient(circle at 42% 49%, #000 calc(var(--rv) - 3%), transparent var(--rv)); }
.is-playing.scene--dosa .fr2 { animation: dosaSpread 9s ease-in-out infinite; }
.is-playing.scene--dosa .fr3 { animation: dosaBrown 9s ease-in-out infinite; }
@keyframes dosaSpread { 0%, 9% { --rv: 6%; opacity: 1; } 24%, 62% { --rv: 75%; opacity: 1; } 66%, 100% { --rv: 75%; opacity: 0; } }
@keyframes dosaBrown { 0%, 46% { --rv: 6%; opacity: 1; } 62%, 88% { --rv: 75%; opacity: 1; } 96%, 100% { --rv: 75%; opacity: 0; } }
.is-playing .dosa-bubble { animation: sizzle 1.3s ease-out infinite; }

/* Egg: the omelette settles into the pan with a small drop */
.is-playing.scene--egg .fr2 { animation: fr2 9s ease-in-out infinite, settle 9s ease-out infinite; }
@keyframes settle { 0%, 11% { transform: translateY(-3%); } 20%, 100% { transform: none; } }

/* Tea: light ripples running down the stream while it pours */
.is-playing .tea-flow { animation: teaFlowLine .6s linear infinite, teaFlowShow 9s linear infinite; }
@keyframes teaFlowLine { to { stroke-dashoffset: -32; } }
@keyframes teaFlowShow { 0%, 2% { opacity: 0; } 6%, 52% { opacity: .9; } 58%, 100% { opacity: 0; } }

.is-playing .sc-steam { animation: scSteam 3.3s ease-in-out infinite; }
@keyframes scSteam { 0% { opacity: 0; stroke-dashoffset: 120; transform: translateY(14px); } 40% { opacity: .8; } 100% { opacity: 0; stroke-dashoffset: 0; transform: translateY(-30px); } }
@keyframes sizzle { 0% { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center; } 30% { opacity: .9; } 100% { opacity: 0; transform: scale(1.6); transform-box: fill-box; transform-origin: center; } }
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; } }
/* Egg card: frames differ a lot, so the first one must fade out too (egg + bread would show through) */
.is-playing.scene--egg .fr1 { animation: fr1 9s ease-in-out infinite; }
@keyframes fr1 { 0%, 12% { opacity: 1; } 22%, 90% { opacity: 0; } 98%, 100% { opacity: 1; } }
.scene--egg:not(.is-playing) .fr1, .scene--egg:not(.is-playing) .fr2 { opacity: 0; }
