/* ==========================================================================
   מלח · demo restaurant
   World: night at the port. Warm black, one saffron accent, a cream menu.
   ========================================================================== */

/* ---------- fonts: self-hosted (SIL OFL 1.1), hebrew + latin subsets from Google Fonts ---------- */
/* Bellefair 400 - hebrew */
@font-face {
  font-family: "Bellefair";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bellefair-400-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* Bellefair 400 - latin */
@font-face {
  font-family: "Bellefair";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bellefair-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Hebrew 300 - hebrew */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-300-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* IBM Plex Sans Hebrew 300 - latin */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Hebrew 400 - hebrew */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-400-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* IBM Plex Sans Hebrew 400 - latin */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Hebrew 500 - hebrew */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-500-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* IBM Plex Sans Hebrew 500 - latin */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



:root {
  /* palette */
  --black: #0D0B09;
  --ember: #2B1610;
  --cream: #F2E9D8;
  --ink: #1A120D;
  --saffron: #E4A93A;
  --saffron-deep: #7A4E0A;
  --sand: #B5A892;

  /* default world: black */
  --bg: var(--black);
  --fg: var(--cream);
  --muted: var(--sand);
  --accent: var(--saffron);
  --on-accent: var(--black);
  --line: rgba(242, 233, 216, .18);

  /* type */
  --display: 'Bellefair', 'Frank Ruhl Libre', 'David', serif;
  --body: 'IBM Plex Sans Hebrew', 'Assistant', 'Arial Hebrew', sans-serif;

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(6rem, 11vw, 10.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

/* Section colour worlds: every section paints its own background (no scroll-linked colour blend) */
html:not(.bg-live) [data-bg="ember"] { --bg: var(--ember); }
html:not(.bg-live) [data-bg="cream"] {
  --bg: var(--cream); --fg: var(--ink); --muted: #5E4E40; --accent: var(--saffron-deep);
  --on-accent: var(--cream); --line: rgba(26, 18, 13, .18);
}
html:not(.bg-live) [data-bg] { background: var(--bg); color: var(--fg); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select { font: inherit; color: inherit; }

::selection { background: var(--saffron); color: var(--black); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
input, select { caret-color: var(--accent); }
html { scrollbar-color: #5a4a36 var(--black); scrollbar-width: thin; }

.sr-only {
  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 {
  position: fixed; top: 12px; right: 12px; z-index: 100;
  background: var(--saffron); color: var(--black); padding: .7rem 1.1rem; text-decoration: none;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip:focus { transform: none; }
#main:focus { outline: none; }

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

.h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 300; line-height: 1.6; }

/* ---------- buttons: square, hairline ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .85rem 1.7rem;
  border: 1px solid currentColor; border-radius: 0;
  background: none; cursor: pointer;
  font-family: var(--body); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  overflow: hidden;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--ease);
}
.btn > span { position: relative; z-index: 1; transition: color .45s var(--ease); }
.btn--accent { color: var(--accent); }
.btn--accent:hover::before, .btn--accent:focus-visible::before { transform: scaleX(1); }
.btn--accent:hover > span, .btn--accent:focus-visible > span { color: var(--on-accent); }
.btn--ghost { color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: currentColor; }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .9rem; }
.btn--wide { width: 100%; }
.btn:active { transform: translateY(1px) scale(.98); }

.text-link {
  color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: .3em; text-decoration-thickness: 1px;
  transition: text-decoration-thickness .2s, color .2s;
}
.text-link:hover { color: var(--accent); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--fg);
  transition: transform .5s var(--ease);
}
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg); opacity: 0; border-bottom: 1px solid var(--line);
  transition: opacity .4s var(--ease);
}
.top.is-scrolled::before { opacity: .94; }
.top__inner {
  display: flex; align-items: center; gap: 2rem;
  height: var(--header-h); max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter);
}
.logo { display: inline-flex; align-items: baseline; gap: .7rem; text-decoration: none; margin-inline-end: auto; }
.logo__word { font-family: var(--display); font-size: 2.1rem; line-height: 1; }
.logo__place { font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.nav ul { display: flex; gap: 2rem; }
.nav a {
  text-decoration: none; font-size: .95rem; padding-block: .5rem;
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  transition: background-size .4s var(--ease);
}
.nav a:hover { background-size: 100% 1px; }
.top__actions { display: flex; align-items: center; gap: .6rem; }
.icon-link {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--fg);
}

/* hero is always over a dark photo: the header stays light there */
.top:not(.is-scrolled) { color: var(--cream); --fg: var(--cream); --muted: var(--sand); --accent: var(--saffron); --on-accent: var(--black); --line: rgba(242,233,216,.25); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: clamp(560px, 100vh, 1100px); min-height: clamp(560px, 100svh, 1100px);
  display: flex; align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--black);
}
.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13,11,9,.92) 0%, rgba(13,11,9,.55) 30%, rgba(13,11,9,0) 58%),
    linear-gradient(to bottom, rgba(13,11,9,.55) 0%, rgba(13,11,9,0) 22%);
}
.hero__content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr minmax(0, 27rem); align-items: end; gap: 3rem;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.hero__name {
  font-family: var(--display);
  font-size: clamp(8rem, 24vw, 21rem);
  line-height: .78;
  letter-spacing: .03em;
  margin-bottom: -.06em;
  text-shadow: 0 .02em .25em rgba(13, 11, 9, .35);
}
/* the wordmark rises as one word through a mask (never split into letters) */
.rise { display: inline-block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-bottom: .06em; }
.rise__w { display: inline-block; }
.hero__side { padding-bottom: .4rem; }
.hero__line { font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; margin-bottom: .8rem; color: var(--saffron); }
.hero__lead { font-weight: 300; font-size: 1.08rem; color: #DDD2BF; max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: 1.8rem 1.4rem; }
.hero .btn--accent { --accent: var(--saffron); --on-accent: var(--black); }
.hero .btn--ghost { color: var(--cream); border-color: rgba(242,233,216,.35); }
.hero__hours { font-size: .88rem; color: var(--sand); letter-spacing: .02em; margin: 0; }

/* ---------- opening moment: salt falls and gathers into the wordmark, then the curtain lifts ----------
   Once per session (inline script in <head> adds .intro + .intro-f / .intro-r). Full version ends at 2.0s.
   The hero photo (LCP) is painted underneath from the first frame; hero text only moves (transform), never fades. */
.curtain {
  position: fixed; inset: 0; z-index: 80;
  place-items: center;
  background:
    radial-gradient(90% 55% at 50% 100%, rgba(122, 52, 22, .5) 0%, rgba(43, 22, 16, .35) 42%, rgba(13, 11, 9, 0) 75%),
    var(--black);
  color: var(--cream);
  pointer-events: none;
}
.intro .curtain[hidden] { display: grid !important; }
.curtain__inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.curtain__stage { position: relative; width: clamp(17rem, 84vw, 32rem); aspect-ratio: 300 / 240; display: grid; align-items: end; justify-items: center; }
.curtain__word {
  display: block; padding: .16em .04em .08em;
  font-family: var(--display); font-size: clamp(8.6rem, 42vw, 15.5rem); line-height: .82; letter-spacing: .03em;
}
.curtain__word { grid-area: 1 / 1; }
/* the empty wordmark is painted from the first frame (so LCP is immediate); the salt fills it from the bottom */
.curtain__ghost { color: rgba(242, 233, 216, .13); }
.curtain__salt { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.grain { fill: #F2E9D8; transform-box: fill-box; transform-origin: center; opacity: 0; }
.grain--s { fill: var(--saffron); }
.curtain__rule { display: block; width: clamp(5rem, 14vw, 9rem); height: 1px; background: var(--saffron); }
.curtain__place { font-size: .82rem; letter-spacing: .2em; color: var(--sand); }

/* pseudo-random spread for 36 grains without inline styles */
.grain:nth-child(2n) { --a: 1; } .grain:nth-child(3n) { --b: 1; } .grain:nth-child(5n) { --c: 1; } .grain:nth-child(7n) { --e: 1; }
.grain {
  --fall: calc(95 + var(--a, 0) * 45 + var(--b, 0) * 30 + var(--c, 0) * 50);
  --gd: calc(var(--a, 0) * 60ms + var(--b, 0) * 125ms + var(--c, 0) * 170ms + var(--e, 0) * 85ms);
  --gt: calc(640ms + var(--b, 0) * 110ms + var(--e, 0) * 80ms);
}

@keyframes grainFall {
  0%   { transform: translate3d(0, calc(var(--fall) * -1px), 0) rotate(0deg); opacity: 0; }
  14%  { opacity: 1; }
  74%  { opacity: 1; }
  100% { transform: translate3d(0, 0, 0) rotate(135deg); opacity: 0; }
}
@keyframes saltFill { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ruleDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes softUp   { from { opacity: 0; transform: translate3d(0, .7rem, 0); } to { opacity: 1; transform: none; } }
@keyframes steamOff { to { opacity: 0; transform: translate3d(0, -12vh, 0); } }
@keyframes lift     { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut  { from { opacity: 1; } to { opacity: 0; } }
@keyframes heroRise { from { transform: translate3d(0, 105%, 0); } to { transform: none; } }
@keyframes heroUp   { from { transform: translate3d(0, 2.6rem, 0); } to { transform: none; } }
@keyframes settle   { from { transform: scale(1.12); } to { transform: none; } }
@keyframes topIn    { from { transform: translate3d(0, -100%, 0); } to { transform: none; } }
@keyframes ripple   { from { transform: scale(0); opacity: .38; } to { transform: scale(1); opacity: 0; } }

.intro-f .grain { animation: grainFall var(--gt) cubic-bezier(.5, 0, .9, .55) var(--gd) both; }
.intro-f .curtain__fill { animation: saltFill .95s cubic-bezier(.65, 0, .35, 1) .3s both; }
.intro-f .curtain__rule { animation: ruleDraw .6s var(--ease) .85s both; }
.intro-f .curtain__place { animation: softUp .55s var(--ease) .95s both; }
.intro-f .curtain__inner { animation: steamOff .65s cubic-bezier(.76, 0, .24, 1) 1.35s both; }
.intro-f .curtain { animation: lift .65s cubic-bezier(.76, 0, .24, 1) 1.35s both; }
.intro-f .hero__img { animation: settle 2.6s var(--ease) both; }
.intro-f .rise__w { animation: heroRise 1s var(--ease) 1.45s both; }
.intro-f .hero__side > * { animation: heroUp 1s var(--ease) 1.42s both; }
.intro-f .hero__side > :nth-child(2) { animation-delay: 1.49s; }
.intro-f .hero__side > :nth-child(3) { animation-delay: 1.56s; }
.intro-f .hero__side > :nth-child(4) { animation-delay: 1.63s; }
.intro-f .top { animation: topIn .9s var(--ease) 1.6s both; }

/* reduced motion: the same composition, static, only fading in and out (1.35s) */
.intro-r .grain { opacity: .5; }
.intro-r .curtain__inner { animation: fadeIn .4s ease .05s both !important; }
.intro-r .curtain { animation: fadeOut .5s ease .85s both !important; }

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden; padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-block: 1px solid var(--line);
  color: var(--fg);
}
/* Static without JS. With motion, a pure CSS transform animation (runs on the compositor, no JS per frame):
   one group's width per cycle, so the loop is seamless. main.js shows the pause button and pauses it off screen. */
.marquee__track { display: flex; width: max-content; }
@keyframes marquee { to { transform: translate3d(50%, 0, 0); } }
.mq-run .marquee__track { animation: marquee 55s linear infinite; }
.marquee.is-paused .marquee__track, .marquee.is-off .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__group li {
  font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.1; white-space: nowrap;
  display: flex; align-items: center;
}
.marquee__group li::after {
  content: ""; width: .32em; height: .32em; margin-inline: .9em;
  border: 1px solid var(--accent); transform: rotate(45deg);
}
.marquee__group li:nth-child(odd) { color: var(--muted); }
.marquee__toggle {
  position: absolute; top: 50%; inset-inline-end: var(--gutter); z-index: 2;
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  transform: translateY(-50%);
  background: var(--bg); color: var(--fg); border: 1px solid rgba(242, 233, 216, .45); cursor: pointer;
  box-shadow: 0 0 0 10px var(--bg);
  transition: border-color .3s var(--ease);
}
.marquee__toggle:hover { border-color: currentColor; }
.marquee__toggle .i-play, .marquee__toggle[aria-pressed="true"] .i-pause { display: none; }
.marquee__toggle[aria-pressed="true"] .i-play { display: block; }

/* ---------- story ---------- */
.story { padding-block: var(--section); }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7.5rem); align-items: center; }
.story__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; }
.story__figure figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.story__figure figcaption::before { content: ""; display: inline-block; width: 1.6rem; height: 1px; background: var(--accent); vertical-align: middle; margin-inline-end: .7rem; }
.story__text .h2 { margin-bottom: 2.2rem; max-width: 13ch; }
.story__paras > p { max-width: 36em; }
.story__paras > p:not(.lead) { color: var(--muted); }
.day { position: relative; margin-top: 3rem; border-top: 1px solid var(--line); max-width: 36em; }
.day li { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; align-items: baseline; padding-block: 1.05rem; padding-inline-start: 1.9rem; border-bottom: 1px solid var(--line); }
.day__time { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--accent); text-align: right; font-variant-numeric: tabular-nums; transition: color .6s var(--ease), text-shadow .6s var(--ease); }
/* the evening line: a hairline spine with a diamond per hour; it draws itself as you scroll (--p from main.js) */
.day::before, .day::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: .3rem; width: 1px; }
.day::before { background: var(--line); }
.day::after { background: var(--accent); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
/* normal page: the line draws once when the list arrives (main.js sets --p to 1); in the scenes GSAP scrubs --p */
html:not(.scenes) .day::after { transition: transform .6s var(--ease-io); }
.day li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 1.55rem; width: .62rem; height: .62rem; z-index: 1;
  border: 1px solid var(--accent); background: var(--accent); transform: rotate(45deg);
  box-shadow: 0 0 14px 2px rgba(228, 169, 58, .45);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.day__what { font-size: 1rem; }

/* ---------- menu ---------- */
.menu { padding-block: var(--section); overflow-x: clip; }  /* fan-in offsets never widen the page */
.menu__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 3rem; align-items: end; margin-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.menu__intro { color: var(--muted); margin: 0; }
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 2.6vw, 2.75rem); align-items: start; }
.dish:nth-child(3n+2) { margin-top: clamp(3rem, 7vw, 6.5rem); }
.dish:nth-child(3n+3) { margin-top: clamp(1.5rem, 3.5vw, 3.25rem); }

.dish { position: relative; perspective: 1800px; }
.dish__inner { display: grid; }
.dish__face { min-width: 0; }
.js .dish__face { grid-area: 1 / 1; }  /* stacked for the flip only when JS runs; without JS the details sit under the photo */
.dish__img { overflow: hidden; background: #2a2018; }
.dish__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.045); }
.dish__img img.pos-low { object-position: 50% 80%; }
.dish__img img.pos-top { object-position: 50% 22%; }
.dish__meta { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding-top: 1.1rem; align-items: baseline; }
.dish__tag { grid-column: 1 / -1; font-size: .88rem; color: var(--accent); margin-top: .3rem; }
.dish__name { font-family: var(--display); font-size: clamp(1.55rem, 2.1vw, 1.95rem); line-height: 1.15; }
.dish__price { font-family: var(--display); font-size: 1.4rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dish__flip { display: none; }

/* back face: a dark "ticket" with the details */
.dish__back {
  --fg: var(--cream); --muted: #C9BCA5; --accent: var(--saffron);
  background: var(--ember); color: var(--cream);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  display: flex; flex-direction: column;
  margin-top: 1.5rem;
}
.dish__back-name { font-family: var(--display); font-size: clamp(1.7rem, 2.3vw, 2.2rem); line-height: 1.1; margin-bottom: 1.2rem; color: var(--saffron); }
.dish__desc { font-weight: 300; font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.75; }
.dish__facts { margin: auto 0 0; padding-top: 1.2rem; }
.dish__facts div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .7rem; border-top: 1px solid rgba(242,233,216,.18); font-size: .95rem; }
.dish__facts dt { color: #C9BCA5; }
.dish__facts dd { margin: 0; text-align: left; }

/* JS on: the card flips. Without JS the details simply sit under the photo. */
.js .dish__flip {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: .9rem; padding: .55rem 0; min-height: 44px;
  background: none; border: 0; cursor: pointer;
  font-size: .92rem; font-weight: 500; color: var(--fg);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .35em; text-decoration-thickness: 1px;
}
.js .dish__flip svg { color: var(--accent); transition: transform .6s var(--ease); }
.js .dish__flip:hover svg { transform: rotate(180deg); }
.js .dish__front .dish__flip::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.js .dish__front { position: relative; }
.js .dish__flip--back { color: var(--cream); align-self: flex-start; margin-top: 1rem; }

.js .dishes .dish__back { margin-top: 0; }
.js .dish__inner { transform-style: preserve-3d; transition: transform .9s var(--ease); }
.js .dish__face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.js .dish__back { transform: rotateY(180deg); }
.js .dish.is-flipped .dish__inner { transform: rotateY(180deg); }

@media (prefers-reduced-motion: reduce) {
  .js .dish__inner { transform-style: flat; transition: none; }
  .js .dish__back { transform: none; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .js .dish.is-flipped .dish__inner { transform: none; }
  .js .dish.is-flipped .dish__back { opacity: 1; visibility: visible; }
  .js .dish.is-flipped .dish__front { visibility: hidden; }
}

/* swipe progress under the phone row (shown by main.js) */
.dishes__bar { display: none; position: relative; height: 1px; margin-top: 1.8rem; background: var(--line); overflow: hidden; }
.dishes__bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: 100% 50%; transform: scaleX(.17); }

.menu__more { margin: clamp(3.5rem, 6vw, 5rem) 0 0; font-size: 1.1rem; color: var(--muted); }
.menu__more a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* ---------- terrace ---------- */
.terrace { padding-bottom: var(--section); }
.terrace__wide { overflow: hidden; background: #1c1510; }
.terrace__wide img { width: 100%; height: clamp(22rem, 62vw, 46rem); object-fit: cover; object-position: 50% 55%; }
.terrace__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.5rem clamp(3rem, 7vw, 7rem);
  margin-top: clamp(-9rem, -9vw, -4rem); position: relative;
}
.terrace__title {
  grid-column: 1 / -1; max-width: 22ch;
  background: var(--bg); padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 2.6rem) 0 0;
  margin-inline-start: calc(-1 * (var(--gutter) + max(0px, (100vw - 1360px) / 2)));
  padding-inline-start: calc(var(--gutter) + max(0px, (100vw - 1360px) / 2));
  width: fit-content;
}
.terrace__text > p:not(.lead) { color: var(--muted); max-width: 34em; }
.terrace__facts { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.terrace__facts li { padding-block: .95rem; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; align-items: center; }
.terrace__facts li::before { content: ""; width: .45rem; height: .45rem; border: 1px solid var(--accent); transform: rotate(45deg); flex: none; }
.terrace__small { align-self: start; margin-top: .6rem; background: #1c1510; }
.terrace__small img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- reserve ---------- */
.reserve { padding-block: 0 var(--section); }
.reserve__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid var(--line); padding-top: var(--section);
}
.reserve .h2 { margin-bottom: 1.4rem; }
.reserve__lead { color: var(--muted); max-width: 30em; margin-bottom: 2.8rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: .9rem; color: var(--muted); margin-bottom: .45rem; }
.field input, .field select {
  width: 100%; min-height: 54px;
  background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid rgba(242,233,216,.4); border-radius: 0;
  padding: .6rem 0; font-size: 1.1rem;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field input[dir="ltr"] { text-align: right; }
.field input:hover, .field select:hover { border-bottom-color: rgba(242,233,216,.7); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.field input:focus-visible, .field select:focus-visible { outline: none; }
.field input::-webkit-calendar-picker-indicator { filter: invert(.85) sepia(.4); cursor: pointer; }
.field [aria-invalid="true"] { border-bottom-color: #F08A6E; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; left: .2rem; top: 50%; width: .5rem; height: .5rem;
  border-left: 1px solid var(--fg); border-bottom: 1px solid var(--fg); transform: translateY(-70%) rotate(-45deg);
  pointer-events: none;
}
.field select option { background: var(--black); color: var(--cream); }
.field__err { min-height: 1.4em; margin: .4rem 0 0; font-size: .86rem; color: #F3A089; }
.form__submit { grid-column: 1 / -1; margin-top: .6rem; }
.form__note { margin: 1rem 0 0; font-size: .86rem; color: var(--muted); }
.form__ok {
  grid-column: 1 / -1;
  border: 1px solid var(--accent); padding: 1.8rem 2rem;
  font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.35; color: var(--fg);
}
.form__ok:focus { outline: none; }
.form__ok small { display: block; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--muted); margin-top: .8rem; }

.reserve__info { padding-top: .6rem; }
.info-block { padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.info-block:first-child { padding-top: 0; }
.info-block:last-child { border-bottom: 0; }
.info-block p { margin: 0 0 .5rem; }
.info-title { font-family: var(--body); font-size: .85rem; letter-spacing: .04em; color: var(--accent); margin-bottom: .9rem; font-weight: 500; }
.big-link { font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.1; text-decoration: none; }
.big-link:hover { color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .5rem 0; text-align: right; font-weight: 400; vertical-align: top; }
.hours th { color: var(--muted); padding-inline-end: 1rem; white-space: nowrap; }
.hours td { text-align: left; }
.hours__slot { display: block; }
.address { font-family: var(--display); font-size: 1.6rem; line-height: 1.25; }
.info-note { font-size: .9rem; color: var(--muted); margin-top: .7rem !important; }

/* ---------- footer ---------- */
.foot { padding-block: 3.5rem 6.5rem; border-top: 1px solid var(--line); }
.foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.foot__word { font-family: var(--display); font-size: clamp(4rem, 9vw, 7rem); line-height: .8; margin: -.14em 0 0; padding-top: .14em; overflow: hidden; color: var(--accent); }
.foot__word > span { display: inline-block; }
.foot__meta { text-align: left; font-size: .9rem; color: var(--muted); }
.foot__meta p { margin: 0 0 .35rem; }
.foot__meta a { text-underline-offset: .25em; text-decoration-color: var(--line); }
.foot__meta a:hover { color: var(--fg); text-decoration-color: var(--accent); }
.foot__demo { font-size: .8rem; opacity: .85; margin-top: .8rem !important; }

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--black); color: var(--saffron);
  border: 1px solid var(--saffron);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.55);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.wa:hover, .wa:focus-visible { background: var(--saffron); color: var(--black); }
.wa:focus-visible { outline-color: var(--saffron); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 1.4rem; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .nav { display: none; }
  .icon-link { display: inline-flex; }
  .logo__word { font-size: 1.85rem; }
  .hero__content { grid-template-columns: 1fr; gap: 1.6rem; }
  .story__grid { grid-template-columns: 1fr; }
  .story__figure { max-width: 34rem; }
  .menu__head { grid-template-columns: 1fr; gap: 1.4rem; }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dish:nth-child(3n+2), .dish:nth-child(3n+3) { margin-top: 0; }
  .dish:nth-child(even) { margin-top: clamp(2.5rem, 8vw, 4.5rem); }
  .terrace__grid { grid-template-columns: 1fr; }
  .terrace__small { max-width: 30rem; }
  .terrace__small img { aspect-ratio: 3 / 2; }
  .reserve__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .logo__place { display: none; }
  .hero { min-height: clamp(560px, 100svh, 900px); }
  .hero__img { object-position: 50% 38%; }
  .hero__shade { background: linear-gradient(to top, rgba(13,11,9,.96) 0%, rgba(13,11,9,.75) 38%, rgba(13,11,9,.1) 66%), linear-gradient(to bottom, rgba(13,11,9,.6) 0%, rgba(13,11,9,0) 20%); }
  .hero__name { font-size: clamp(6.5rem, 34vw, 9rem); }
  .hero__lead { font-size: 1rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .dishes {
    position: relative; display: flex; gap: 1rem; align-items: stretch;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: -1.5rem calc(-1 * var(--gutter)); padding: 1.5rem var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .mo-full .dishes { scrollbar-width: none; }
  .mo-full .dishes::-webkit-scrollbar { display: none; }
  .dish { flex: 0 0 82%; scroll-snap-align: start; }
  .dish:nth-child(even) { margin-top: 0; }
  .mo-full .dishes__bar { display: block; }
  .form { grid-template-columns: 1fr; gap: 1.2rem; }
  .day li { grid-template-columns: 4.6rem 1fr; gap: 1rem; }
  .foot__grid { flex-direction: column; align-items: flex-start; }
  .foot__meta { text-align: right; }
  .wa { width: 54px; height: 54px; left: 1rem; bottom: 1rem; }
  .terrace__grid { margin-top: 2.6rem; }
  .terrace__title { padding: 0; margin: 0; background: none; }
}

/* ==========================================================================
   Scroll motion. Every hidden state below needs .mo on <html>, which main.js adds only
   after it is running, so with no JS (or a JS error) the page is complete and visible.
   .mo-full = motion welcome · .mo-lite = prefers-reduced-motion (short opacity fades only)
   main.js removes the reveal classes when an element has arrived, so hover/flip use their base styles.
   ========================================================================== */

/* nothing on the normal page is tied to the scroll position: reveals fire once, then let go */

/* section titles: words rise like steam (split by word, never by letter) */
.split .w { display: inline-block; }
.mo-full .rv-split .w {
  opacity: 0; transform: translate3d(0, .55em, 0) rotate(1.5deg);
  transition: opacity 1s ease, transform 1.3s var(--ease);
  transition-delay: calc(var(--wi, 0) * 70ms);
}
.mo-full .rv-split.in .w { opacity: 1; transform: none; }

/* text blocks */
.mo-full .rv { opacity: 0; transform: translate3d(0, 2.2rem, 0); transition: opacity 1s ease var(--d, 0s), transform 1.25s var(--ease) var(--d, 0s); }
.mo-full .rv.in { opacity: 1; transform: none; }

/* photos settle in like a plate set down: the frame fades in, the photo eases from a slight zoom.
   Opacity and transform only (no clip-path), so it stays light on a phone. */
.story__figure picture { display: block; }
.mo-full .rv-arch { overflow: hidden; opacity: 0; transition: opacity 1.1s ease var(--d, 0s); }
.mo-full .rv-arch img { transform: scale(1.14); transition: transform 1.8s var(--ease) var(--d, 0s); }
.mo-full .in .rv-arch, .mo-full .rv-arch.in { opacity: 1; }
.mo-full .in .rv-arch img, .mo-full .rv-arch.in img { transform: none; }

/* menu cards are dealt in like a fan, then the photo opens */
.mo-full .rv-fan {
  opacity: 0; transform: translate3d(var(--fx, 0), 6rem, 0) rotate(var(--fr, 0deg)); transform-origin: 50% 100%;
  transition: opacity .9s ease var(--d, 0s), transform 1.45s var(--ease) var(--d, 0s);
}
.mo-full .rv-fan.in { opacity: 1; transform: none; }
.mo-full .rv-fan .rv-arch { transition-delay: calc(var(--d, 0s) + .2s); }
.mo-full .rv-fan .rv-arch img { transition-delay: calc(var(--d, 0s) + .2s); }
.dish:nth-child(3n+1) { --fx: -16%; --fr: 5deg; }
.dish:nth-child(3n+2) { --fx: 0%; --fr: 0deg; --d: .12s; }
.dish:nth-child(3n+3) { --fx: 16%; --fr: -5deg; --d: .24s; }
@media (max-width: 960px) {
  .dish:nth-child(odd) { --fx: -10%; --fr: 4deg; --d: 0s; }
  .dish:nth-child(even) { --fx: 10%; --fr: -4deg; --d: .12s; }
}
@media (max-width: 640px) {
  /* phone row: cards are dealt in from the left (the row runs right to left) */
  .mo-full .dishes .rv-fan { transform: translate3d(-55%, 1.5rem, 0) rotate(-7deg); }
  .mo-full .dishes .rv-fan.in { transform: none; }
  .dish:nth-child(n) { --d: 0s; }
  .dish:nth-child(2) { --d: .12s; } .dish:nth-child(3) { --d: .24s; }
}

/* terrace photo: fades in while it eases out of a slight zoom (no clip-path on the wide layer) */
.mo-full .rv-wide { opacity: 0; transition: opacity 1.2s ease; }
.mo-full .rv-wide img { transform: scale(1.08); transition: transform 1.9s var(--ease); }
.mo-full .rv-wide.in { opacity: 1; }
.mo-full .rv-wide.in img { transform: none; }

/* footer wordmark rises through its mask, the bookend of the intro */
.mo-full .rv-word > span { transform: translate3d(0, 105%, 0); transition: transform 1.4s var(--ease); }
.mo-full .rv-word.in > span { transform: none; }

/* evening timeline: hours wait in sand, then light up in saffron as the line reaches them */
.mo-full .day li:not(.is-lit) .day__time { color: var(--muted); }
.mo-full .day li:not(.is-lit)::before { background-color: var(--bg); border-color: var(--muted); box-shadow: none; }
.mo-full .day li.is-lit .day__time { text-shadow: 0 0 22px rgba(228, 169, 58, .45); }

/* the bar photo: a warm light follows the cursor (desktop) or the scroll (touch) */
.terrace__small { position: relative; overflow: hidden; }
.glow {
  position: absolute; left: 0; top: 0; z-index: 2; width: 26rem; height: 26rem; margin: -13rem 0 0 -13rem;
  border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 196, 112, .78), rgba(228, 169, 58, .3) 45%, rgba(228, 169, 58, 0));
  opacity: 0; transition: opacity .7s ease; will-change: transform;
}
.glow-ready::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #0D0B09; opacity: .3; pointer-events: none; transition: opacity .7s ease; }
.glow-ready.is-warm .glow { opacity: 1; }
.glow-ready.is-warm::after { opacity: .04; }

/* tap feedback: a soft saffron ripple from the touch point */
.ripple {
  position: absolute; left: 0; top: 0; z-index: 0; width: 16rem; height: 16rem; margin: -8rem 0 0 -8rem;
  border-radius: 50%; pointer-events: none; background: currentColor;
  animation: ripple .6s var(--ease) both;
}
.wa, .marquee__toggle { overflow: hidden; }
.wa > svg, .marquee__toggle > svg { position: relative; z-index: 1; }
.wa:active, .marquee__toggle:active { transform: scale(.94); }
.marquee__toggle:active { transform: translateY(-50%) scale(.94); }

/* ==========================================================================
   Scenes: the page "stays in place" (desktop with a mouse and motion only).
   main.js adds html.scenes only on a screen of at least 900x600 with a fine pointer, when motion is
   welcome and GSAP + ScrollTrigger are running. Each .scene is a tall wrapper; its .scene__stage
   sticks for (--len - 1) screens while one scrubbed timeline plays inside it. Every wrapper after the
   first starts 2 screens early, so the next scene rises hidden and then arrives ON TOP of the stuck one
   (salt pours it in, steam rises into it, a window opens onto it) instead of pushing it up.
   Without html.scenes (phones, tablets, touch screens, reduced motion, no JS, CDN down)
   .scene__stage is display: contents and the page is the normal one.
   ========================================================================== */
:root { --S: 100vh; }
@supports (height: 100svh) { :root { --S: 100svh; } }

.scene__stage { display: contents; }
.hero__dim, .story__light, .story__clock, .scene__steam, .menu__count,
.terrace__dusk, .terrace__lamps, .scene__salt { display: none; }

html.scenes .scene,
html.scenes .scene[data-bg] {
  position: relative; display: block;
  height: calc(var(--S) * var(--len)); min-height: 0;
  padding: 0; overflow: visible; background: none;
  pointer-events: none;  /* wrappers overlap the scene before them; only an arrived stage takes the mouse */
}
html.scenes .scene + .scene { margin-top: calc(var(--S) * -2); }
/* lengths in screens; main.js builds each timeline to the same numbers */
html.scenes .scene--hero    { --len: 3;   z-index: 1; }
html.scenes .scene--story   { --len: 5.4; z-index: 2; }
html.scenes .scene--menu    { --len: 6.9; z-index: 3; }
html.scenes .scene--terrace { --len: 3.7; z-index: 4; }
html.scenes .reserve, html.scenes .foot { position: relative; z-index: 5; }

html.scenes .scene__stage {
  display: block; position: sticky; top: 0;
  height: var(--S); overflow: hidden;
  background: var(--bg); color: var(--fg);
  pointer-events: none;
}
html.scenes .scene__stage.is-live { pointer-events: auto; }
/* the header takes the colour world of the scene on show (main.js sets data-bg on it) */
html.scenes .top[data-bg] { background: none; color: var(--fg); }

/* ---------- scene 1: the plate. The camera moves into it, tonight's menu runs across the dark ---------- */
html.scenes .hero__stage { display: flex; align-items: flex-end; background: var(--black); color: var(--cream); }
html.scenes .hero__media { transform-origin: 53% 44%; will-change: transform; }
html.scenes .hero__dim {
  display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(70% 60% at 53% 46%, rgba(43, 22, 16, .55), rgba(13, 11, 9, .96) 72%);
}
html.scenes .hero__content { transform-origin: 50% 100%; }
html.scenes .hero__stage .marquee {
  position: absolute; inset: 0; z-index: 3; margin: auto 0; height: fit-content;
  background: rgba(13, 11, 9, .5); color: var(--cream);
  border-color: rgba(242, 233, 216, .22);
  --fg: var(--cream); --muted: var(--sand); --accent: var(--saffron); --bg: var(--black);
}
html.scenes .hero__stage .marquee__group li { font-size: clamp(2.6rem, 5vw, 4.6rem); }
/* salt that pours the next scene in (grains made by main.js) */
html.scenes .scene__salt { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.scene__salt i {
  position: absolute; top: 0; width: 6px; height: 6px;
  background: var(--cream); transform: translate3d(0, -40px, 0) rotate(45deg); will-change: transform;
}
.scene__salt i.s { background: var(--saffron); }
.scene__salt i.l { width: 9px; height: 9px; }

/* ---------- scene 2: the story. The day's hours light up, and the light on the photo follows the hour ---------- */
html.scenes .story__grid {
  height: 100%; align-items: center;
  padding-top: calc(var(--header-h) + clamp(12px, 3svh, 36px));
  padding-bottom: clamp(16px, 4svh, 44px);
  gap: clamp(2.5rem, 6vw, 7rem);
  transform-origin: 50% 50%;
}
html.scenes .story__figure { max-width: none; }
html.scenes .story__photo {
  position: relative; overflow: hidden; background: #1c120d;
  height: min(calc(var(--S) - var(--header-h) - 8.5rem), 46vw);
}
html.scenes .story__photo picture, html.scenes .story__photo img { width: 100%; height: 100%; }
html.scenes .story__photo img { aspect-ratio: auto; object-fit: cover; object-position: 50% 86%; }
html.scenes .story__light { display: block; position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.story__light--dawn   { background: linear-gradient(180deg, rgba(160, 190, 228, .55), rgba(120, 150, 190, .2)); mix-blend-mode: soft-light; }
.story__light--coals  { background: radial-gradient(90% 60% at 50% 100%, rgba(226, 98, 34, .62), rgba(226, 98, 34, 0) 72%); mix-blend-mode: screen; }
.story__light--sunset { background: linear-gradient(205deg, rgba(244, 178, 70, .55), rgba(244, 178, 70, 0) 62%); mix-blend-mode: screen; }
.story__light--night  { background: radial-gradient(60% 45% at 50% 40%, rgba(13, 11, 9, 0), rgba(13, 11, 9, .72)); }
html.scenes .story__clock {
  display: block; position: absolute; left: clamp(.9rem, 1.6vw, 1.5rem); top: clamp(.6rem, 1.2vw, 1.1rem);
  direction: ltr; font-family: var(--display); font-size: clamp(3rem, min(6vw, 10svh), 6rem); line-height: 1;
  color: var(--saffron); text-shadow: 0 0 24px rgba(228, 169, 58, .5), 0 2px 12px rgba(13, 11, 9, .6);
  font-variant-numeric: tabular-nums; pointer-events: none;
}
html.scenes .story__figure figcaption { margin-top: .8rem; }
html.scenes .story__text .h2 { font-size: clamp(2.4rem, min(4.2vw, 7.2svh), 4.6rem); max-width: 15ch; margin-bottom: clamp(1rem, 3.6svh, 2.4rem); }
html.scenes .story__swap { display: grid; }
html.scenes .story__paras, html.scenes .story__swap .day { grid-area: 1 / 1; }
html.scenes .story__swap .day { margin-top: 0; align-self: start; }
html.scenes .story__paras > p { font-size: clamp(1rem, min(1.25vw, 2.3svh), 1.12rem); }
html.scenes .story__paras > .lead { font-size: clamp(1.1rem, min(1.5vw, 2.7svh), 1.35rem); }
html.scenes .day li { padding-block: clamp(.6rem, 1.6svh, 1.05rem); }
html.scenes .day li::before { top: calc(clamp(.6rem, 1.6svh, 1.05rem) + .5rem); }
html.scenes .day__time { font-size: clamp(1.5rem, min(2.2vw, 4svh), 2.2rem); }
html.scenes .day__what { font-size: clamp(1rem, 1.2vw, 1.12rem); }
/* steam that rises from the story into the menu (moved by main.js, in step with the menu's wipe) */
html.scenes .scene__steam {
  display: block; position: absolute; left: 0; right: 0; top: 0; height: 60%; z-index: 3;
  pointer-events: none; opacity: 0;
  background:
    radial-gradient(30% 40% at 20% 85%, rgba(242, 233, 216, .5), rgba(242, 233, 216, 0) 70%),
    radial-gradient(26% 36% at 62% 80%, rgba(242, 233, 216, .45), rgba(242, 233, 216, 0) 70%),
    radial-gradient(22% 30% at 88% 88%, rgba(242, 233, 216, .4), rgba(242, 233, 216, 0) 70%),
    linear-gradient(to bottom, rgba(242, 233, 216, 0) 0%, rgba(242, 233, 216, .35) 55%, rgba(242, 233, 216, .95) 100%);
}

/* ---------- scene 3: the menu. One dish at a time, the pages turn in place ---------- */
html.scenes .menu__wrap {
  height: 100%; display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(10px, 2.6svh, 32px));
  padding-bottom: clamp(14px, 3svh, 34px);
  transform-origin: 50% 46%;
}
html.scenes .menu__head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); gap: .6rem 3rem;
  margin-bottom: clamp(12px, 2.8svh, 34px);
}
html.scenes .menu .h2 { grid-row: 1 / span 2; align-self: end; font-size: clamp(2.4rem, min(4.4vw, 7.4svh), 4.6rem); }
html.scenes .menu__intro { font-size: .95rem; line-height: 1.55; }
html.scenes .menu__count {
  display: flex; align-items: center; justify-content: flex-end; margin: 0;
  font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--accent); direction: ltr;
}
.menu__now { font-variant-numeric: tabular-nums; min-width: 1.4em; }
.menu__of { color: var(--muted); }
.menu__ticks { display: flex; gap: 6px; margin-left: 1.1rem; direction: rtl; }
.menu__ticks i { display: block; width: 22px; height: 2px; background: var(--line); transition: background-color .4s ease; }
.menu__ticks i.is-on { background: var(--accent); }
html.scenes .dishes {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 0;
  align-items: stretch;
}
html.scenes .dish { grid-area: 1 / 1; margin: 0; min-height: 0; height: 100%; perspective: none; pointer-events: none; }
html.scenes .dish.is-on { pointer-events: auto; }
html.scenes .dish__inner {
  height: 100%;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 6rem);
  transform: none; transition: none; transform-style: flat;
}
html.scenes .dish__face { display: contents; }
html.scenes .dish__img { grid-column: 1; grid-row: 1 / -1; min-height: 0; height: 100%; }
html.scenes .dish__img picture { display: block; height: 100%; }
html.scenes .dish__img img { height: 100%; aspect-ratio: auto; }
html.scenes .dish__meta { grid-column: 2; grid-row: 2; padding-top: 0; }
html.scenes .dish__name { font-size: clamp(2.2rem, min(3.6vw, 6.6svh), 3.9rem); line-height: 1.02; }
html.scenes .dish__price { font-size: clamp(1.7rem, min(2.4vw, 4.4svh), 2.5rem); color: var(--accent); }
html.scenes .dish__tag { margin-top: .5rem; }
html.scenes .dish__flip, html.scenes .dish__back-name { display: none; }
html.scenes .dish__back { --fg: inherit; --muted: inherit; --accent: inherit; color: inherit; background: none; }
html.scenes .dish__desc { grid-column: 2; grid-row: 3; margin: clamp(.8rem, 2.4svh, 1.6rem) 0 0; max-width: 32em; color: var(--fg); }
html.scenes .dish__facts { grid-column: 2; grid-row: 4; align-self: start; margin: 0; padding-top: clamp(.6rem, 1.8svh, 1.2rem); max-width: 32em; }
html.scenes .dish__facts div { border-top-color: var(--line); }
html.scenes .dish__facts dt { color: var(--muted); }
html.scenes .menu__more { margin: clamp(10px, 2.4svh, 28px) 0 0; font-size: 1rem; }

/* ---------- scene 4: the terrace. A window opens onto the room, then the lamps come on ---------- */
html.scenes .terrace .scene__stage { background: var(--black); color: var(--cream); }
html.scenes .terrace__wide { position: absolute; inset: 0; background: #120d0a; }
html.scenes .terrace__wide img { height: 100%; object-position: 50% 45%; transform-origin: 50% 35%; will-change: transform; }
html.scenes .terrace__wide::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to left, rgba(13, 11, 9, .9) 0%, rgba(13, 11, 9, .78) 40%, rgba(13, 11, 9, .3) 75%, rgba(13, 11, 9, .2) 100%);
}
html.scenes .terrace__dusk { display: block; position: absolute; inset: 0; z-index: 1; background: rgba(9, 11, 18, .78); pointer-events: none; }
html.scenes .terrace__lamps {
  display: block; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(55% 38% at 42% 18%, rgba(255, 188, 98, .42), rgba(255, 188, 98, 0) 70%),
    radial-gradient(40% 30% at 15% 28%, rgba(255, 188, 98, .3), rgba(255, 188, 98, 0) 70%);
}
html.scenes .terrace__grid {
  position: relative; z-index: 2; height: 100%; margin-top: 0;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); grid-template-rows: auto minmax(0, 1fr);
  align-content: center; gap: clamp(1rem, 3svh, 2.4rem) clamp(3rem, 7vw, 7rem);
  padding-top: calc(var(--header-h) + clamp(10px, 3svh, 36px)); padding-bottom: clamp(16px, 4svh, 44px);
  --fg: var(--cream); --muted: #CDBFA6; --accent: var(--saffron); --line: rgba(242, 233, 216, .22);
  color: var(--cream);
}
html.scenes .terrace__title {
  grid-column: 1 / -1; background: none; margin: 0; padding: 0; width: auto; max-width: 18ch;
  font-size: clamp(2.4rem, min(4.4vw, 7.6svh), 4.8rem);
}
html.scenes .terrace__text .lead { font-size: clamp(1.1rem, min(1.5vw, 2.7svh), 1.35rem); }
html.scenes .terrace__text > p:not(.lead) { font-size: clamp(1rem, min(1.2vw, 2.3svh), 1.0625rem); }
html.scenes .terrace__facts { margin-top: clamp(.8rem, 2.6svh, 2.2rem); }
html.scenes .terrace__facts li { padding-block: clamp(.5rem, 1.5svh, .95rem); }
html.scenes .terrace__small { align-self: end; justify-self: start; width: min(100%, 22rem, 40svh); margin: 0; }

/* phones, tablets and every touch screen: the same reveals, short and light.
   Opacity and transform only, at most .6s each, small distances. */
@media (max-width: 899px), (hover: none) and (pointer: coarse) {
  .mo-full .rv { transform: translate3d(0, 1.1rem, 0); transition: opacity .5s ease var(--d, 0s), transform .6s var(--ease) var(--d, 0s); }
  .mo-full .rv-split .w { transform: translate3d(0, .35em, 0); transition: opacity .5s ease, transform .6s var(--ease); transition-delay: calc(var(--wi, 0) * 40ms); }
  .mo-full .rv-arch { transition: opacity .55s ease var(--d, 0s); }
  .mo-full .rv-arch img { transform: scale(1.06); transition: transform .6s var(--ease) var(--d, 0s); }
  .mo-full .rv-fan { transform: translate3d(var(--fx, 0), 2.2rem, 0) rotate(calc(var(--fr, 0deg) * .5)); transition: opacity .5s ease var(--d, 0s), transform .6s var(--ease) var(--d, 0s); }
  .mo-full .rv-fan .rv-arch, .mo-full .rv-fan .rv-arch img { transition-delay: var(--d, 0s); }
  .mo-full .rv-wide { transition: opacity .55s ease; }
  .mo-full .rv-wide img { transform: scale(1.04); transition: transform .6s var(--ease); }
  .mo-full .rv-word > span { transition: transform .6s var(--ease); }
}
@media (max-width: 640px) {
  .mo-full .dishes .rv-fan { transform: translate3d(-30%, .8rem, 0) rotate(-4deg); }
  .mo-full .dishes .rv-fan.in { transform: none; }
  .dish:nth-child(2) { --d: .08s; } .dish:nth-child(3) { --d: .16s; }
}

/* lite (reduced motion): the same reveals, opacity only, short */
.mo-lite .rv, .mo-lite .rv-split .w { opacity: 0; }
.mo-lite .rv { transition: opacity .6s ease var(--d, 0s) !important; }
.mo-lite .rv-split .w { transition: opacity .55s ease calc(var(--wi, 0) * 40ms) !important; }
.mo-lite .rv.in, .mo-lite .rv-split.in .w { opacity: 1; }

/* ---------- reduced motion: no movement; only the short fades above ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
