/* ============================================================
   CRISP — vibrant orange, cream & crunch  (RTL / Hebrew)
   GSAP + ScrollTrigger + Lenis + three.js
   ============================================================ */
:root {
  --orange: #f77b02;        /* brand orange (from logo) */
  --orange-bright: #ff8c1a;
  --orange-deep: #d85f00;
  --cream: #fff6ec;
  --cream-2: #ffeede;
  --white: #ffffff;
  --ink: #20160a;           /* warm near-black text */
  --ink-dim: #8a7b69;
  --line: rgba(32,22,10,0.12);
  --font-display: 'Rubik', sans-serif;
  --font-script: 'Suez One', serif;
  --font-body: 'Heebo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; font-family: inherit; }
::selection { background: var(--orange); color: var(--white); }

/* scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* ===== WEBGL + GRAIN ===== */
#webgl {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.grain {
  position: fixed; inset: -100%;
  z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035; mix-blend-mode: multiply;
  animation: grainShift 0.6s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); } 25% { transform: translate(-2%,3%); }
  50% { transform: translate(3%,-2%); } 75% { transform: translate(-3%,-3%); }
  100% { transform: translate(2%,2%); }
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.preloader__curtain {
  position: absolute; inset: 0;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
}
.preloader__inner { position: relative; z-index: 2; text-align: center; }
.preloader__brand {
  display: flex; justify-content: center; overflow: hidden;
}
.preloader__logo {
  height: clamp(3.5rem, 12vw, 8rem); width: auto;
  transform: translateY(110%);
}
.preloader__row {
  margin-top: 1.4rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 3rem;
  font-size: 0.78rem; letter-spacing: 0.25em; font-weight: 500;
  color: var(--ink-dim);
}
.preloader__count { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--orange); }

/* ===== CURSOR ===== */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 998; }
.cursor {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(32,22,10,0.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%,-50%);
  transition: width .35s cubic-bezier(.22,1,.36,1), height .35s cubic-bezier(.22,1,.36,1), background .35s, border-color .35s;
}
.cursor__label {
  font-size: 0.6rem; letter-spacing: 0.12em; font-weight: 700;
  color: var(--white); opacity: 0; transition: opacity .25s;
}
.cursor.is-view { width: 96px; height: 96px; background: var(--orange); border-color: var(--orange); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-link { width: 64px; height: 64px; background: rgba(247,123,2,0.16); border-color: var(--orange); }
.cursor-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transform: translate(-50%,-50%); }
@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
  body, a, button { cursor: auto; }
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.2rem;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.is-stuck { background: rgba(255,246,236,0.82); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding-top: 0.7rem; padding-bottom: 0.7rem; }
.nav__logo { display: block; }
.nav__logo img { height: 34px; width: auto; display: block; }
.nav__center { position: absolute; left: 50%; transform: translateX(-50%); }
.nav__tag { font-size: 0.72rem; letter-spacing: 0.18em; font-weight: 500; color: var(--ink-dim); }
.nav__right { display: flex; align-items: center; gap: 1.6rem; }
.nav__clock { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-dim); font-variant-numeric: tabular-nums; }

/* ===== CTA (pulsing) ===== */
.cta-pulse {
  position: relative; display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.02em; line-height: 1;
  padding: 0.85em 1.5em; border: none; border-radius: 100px;
  box-shadow: 0 8px 24px -8px rgba(247,123,2,0.7);
  animation: ctaPulse 2.2s ease-in-out infinite;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s;
}
.cta-pulse span { font-family: var(--font-body); font-weight: 700; }
.cta-pulse:hover { background: var(--orange-deep); transform: scale(1.06); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px -8px rgba(247,123,2,0.55), 0 0 0 0 rgba(247,123,2,0.45); }
  50%      { box-shadow: 0 10px 30px -8px rgba(247,123,2,0.8), 0 0 0 14px rgba(247,123,2,0); }
}
.nav__cta { font-size: 0.82rem; padding: 0.7em 1.2em; }

/* ===== FLOATING FOOD ===== */
.floater {
  position: absolute; z-index: 3; pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 30px 35px rgba(120,60,0,0.28));
  user-select: none; -webkit-user-drag: none;
}
.hero__burger {
  width: clamp(300px, 46vw, 680px);
  height: auto; display: block;
  left: 1vw; bottom: 2vh; z-index: 4;
  mix-blend-mode: multiply;        /* whitens out the video's background onto the cream */
  filter: none;                    /* override floater drop-shadow (video is opaque) */
}
.floater--deco { opacity: 0.96; }
.manifesto__floater { width: clamp(100px, 12vw, 200px); left: 5vw; bottom: -8vh; top: auto; opacity: 0.55; }
.footer__floater { width: clamp(150px, 16vw, 270px); right: 3vw; top: 4vh; opacity: 0.9; }

/* ===== HERO ===== */
main { position: relative; z-index: 1; }
.hero {
  min-height: 100svh; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem 5vw 4rem;
  background: var(--cream);   /* gives mix-blend-multiply a clean cream to key the video bg against */
}
.hero__eyebrow {
  font-size: 0.82rem; letter-spacing: 0.18em; font-weight: 600;
  color: var(--ink-dim); margin-bottom: 2rem;
}
.hero__eyebrow em { font-family: var(--font-script); font-style: normal; color: var(--orange); letter-spacing: 0; }
.hero__title { font-weight: 900; position: relative; z-index: 5; }
.hero__line { overflow: visible; line-height: 0.92; white-space: nowrap; }
.hero__word {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 15vw, 13.5rem);
  display: inline-block; letter-spacing: -0.01em; color: var(--ink);
}
.hero__word--outline { color: transparent; -webkit-text-stroke: 2.5px var(--orange); }
.hero__line--mid .hero__word { color: var(--orange); }
.hero__script {
  font-family: var(--font-script); font-style: normal;
  font-size: clamp(1.3rem, 3.4vw, 2.8rem);
  color: var(--orange); margin-right: 1.5vw;
  display: inline-block; transform: rotate(-4deg) translateY(-0.4em);
}
.hero__script--b { color: var(--ink); }

.hero__badge {
  display: none;
}
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__badge text {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px; letter-spacing: 2.5px;
  fill: var(--ink-dim);
}
.hero__badge-core {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  text-align: center; line-height: 0.95; color: var(--orange);
}

.hero__foot {
  margin-top: clamp(2rem, 6vh, 4.5rem); position: relative; z-index: 5;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
}
.hero__cta-wrap { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hero__cta { font-size: clamp(1rem, 1.5vw, 1.3rem); padding: 1em 1.8em; }
.hero__blurb { font-size: clamp(0.85rem, 1.05vw, 1.02rem); line-height: 1.7; color: var(--ink-dim); }
.hero__scroll {
  font-size: 0.72rem; letter-spacing: 0.18em; font-weight: 500;
  display: flex; align-items: center; gap: 1rem; color: var(--ink-dim); white-space: nowrap;
}
.hero__scroll-line { width: 70px; height: 2px; background: var(--orange); display: inline-block; transform-origin: right; animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleX(0.3); opacity: .4; } 50% { transform: scaleX(1); opacity: 1; } }

/* ===== MARQUEE ===== */
.marquee {
  position: relative; z-index: 5;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 1rem 0; overflow: hidden; background: var(--orange);
}
.marquee__track { display: flex; white-space: nowrap; will-change: transform; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  letter-spacing: 0.02em; color: var(--white); padding-left: 1rem;
}

/* ===== MANIFESTO ===== */
.manifesto { position: relative; padding: clamp(6rem, 16vh, 12rem) 8vw; max-width: 1300px; z-index: 5; }
.manifesto__text { font-size: clamp(1.5rem, 3.4vw, 3.2rem); line-height: 1.4; font-weight: 500; }
.manifesto__text em { font-family: var(--font-script); font-style: normal; color: var(--orange); }
.manifesto__text .word { display: inline-block; opacity: 0.14; }

/* ===== MENU HEAD ===== */
.menu-head { position: relative; z-index: 5; padding: 4rem 5vw 2rem; }
.menu-head__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 13vw, 11rem); line-height: 0.95;
}
.menu-head__outline { color: transparent; -webkit-text-stroke: 2.5px var(--orange); }
.menu-head__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.2rem;
  font-size: 0.74rem; letter-spacing: 0.12em; font-weight: 500; color: var(--ink-dim);
}
.menu-head__hint { color: var(--orange); }

/* ===== MENU GRID ===== */
.menu {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: 2rem 5vw 10rem; align-items: start;
}
.card { position: relative; will-change: transform; }
.card:nth-child(6n+1) { grid-column: 1 / span 5; }
.card:nth-child(6n+2) { grid-column: 8 / span 4; margin-top: 14vh; }
.card:nth-child(6n+3) { grid-column: 2 / span 4; margin-top: -6vh; }
.card:nth-child(6n+4) { grid-column: 7 / span 5; margin-top: 10vh; }
.card:nth-child(6n+5) { grid-column: 1 / span 4; }
.card:nth-child(6n+6) { grid-column: 6 / span 6; margin-top: 8vh; }

.card__media {
  position: relative; overflow: hidden; border-radius: 18px;
  background: linear-gradient(160deg, var(--white), var(--cream-2));
  box-shadow: 0 24px 50px -28px rgba(120,60,0,0.4);
  clip-path: inset(100% 0 0 0); aspect-ratio: 4 / 3;
  display: grid; place-items: center;
}
.card__media img {
  width: 86%; height: 86%; object-fit: contain; display: block;
  filter: drop-shadow(0 18px 22px rgba(120,60,0,0.3));
  transition: transform 1s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.card:hover .card__media img { transform: scale(1.07) rotate(-2deg); }
.card__media::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  border: 2px solid transparent; transition: border-color .4s;
}
.card:hover .card__media::after { border-color: var(--orange); }

.card__num {
  position: absolute; top: -0.6em; right: -0.1em; z-index: 2;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(32,22,10,0.22);
  pointer-events: none; transition: -webkit-text-stroke-color .4s, color .4s;
}
.card:hover .card__num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }

.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.card__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.5rem); line-height: 1.15; }
.card__era { font-size: 0.78rem; color: var(--ink-dim); margin-top: 0.4rem; display: block; line-height: 1.5; }
.card__price {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem); color: var(--orange); white-space: nowrap;
  transition: transform .3s;
}
.card:hover .card__price { transform: rotate(-4deg) scale(1.12); }

/* ===== FOOTER ===== */
.footer {
  position: relative; z-index: 5;
  border-top: 2px solid var(--ink);
  background: var(--orange); color: var(--white);
  padding: 6rem 5vw 2rem; overflow: hidden;
}
.footer__giant { text-align: center; line-height: 0.88; margin-bottom: 2.5rem; }
.footer__giant-line { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(4.5rem, 19vw, 17rem); color: var(--white); }
.footer__giant-line--outline { color: transparent; -webkit-text-stroke: 2.5px var(--white); }
.footer__cta-row { display: flex; justify-content: center; margin-bottom: 5rem; }
.footer__cta { background: var(--white); color: var(--orange); font-size: clamp(1.1rem, 1.8vw, 1.5rem); padding: 1em 2em; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.3); }
.footer__cta:hover { background: var(--ink); color: var(--white); }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto 4rem; }
.footer__col h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 0.8rem; }
.footer__col p { font-size: 0.95rem; line-height: 1.9; color: rgba(255,255,255,0.85); }
.footer__col a { color: var(--white); display: inline-block; border-bottom: 1px solid rgba(255,255,255,0.5); }
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.74rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.3); padding-top: 1.4rem;
}

/* ===== MODAL ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(32,22,10,0.55); backdrop-filter: blur(8px); }
.modal__panel {
  position: absolute; inset: 5vh 5vw; background: var(--white);
  border-radius: 24px; border: 2px solid var(--orange);
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(120,60,0,0.5);
}
.modal__close {
  position: absolute; top: 1.2rem; left: 1.4rem; z-index: 5;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink);
  width: 46px; height: 46px; border-radius: 50%; font-size: 0.95rem;
  transition: background .3s, color .3s, transform .3s;
}
.modal__close:hover { background: var(--orange); color: var(--white); transform: rotate(90deg); }
.modal__media { position: relative; background: linear-gradient(160deg, var(--cream), var(--cream-2)); display: grid; place-items: center; overflow: hidden; }
.modal__media img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(120,60,0,0.35)); }
.modal__info { padding: clamp(2rem, 5vw, 4.2rem); display: flex; flex-direction: column; justify-content: center; }
.modal__num { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 1rem; }
.modal__name { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.05; }
.modal__era { font-size: 0.95rem; color: var(--ink-dim); margin-top: 0.9rem; }
.modal__blurb { font-size: 1rem; line-height: 1.75; color: var(--ink-dim); margin-top: 1.4rem; max-width: 42ch; }
.modal__price { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: var(--orange); margin-top: 1.6rem; }
.modal__reserve { margin-top: 1.8rem; align-self: flex-start; font-size: 1rem; padding: 1em 1.8em; }
.modal__reserve span { color: rgba(255,255,255,0.85); }
.modal__fine { font-size: 0.78rem; color: var(--ink-dim); margin-top: 1.2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { padding: 0.9rem 1.2rem; }
  .nav__center, .nav__clock { display: none; }
  .hero { padding: 6rem 6vw 3rem; min-height: auto; padding-bottom: 8rem; display: flex; flex-direction: column; }
  .hero__burger { position: relative; left: auto; bottom: auto; width: 78vw; margin: 2.5rem auto -2rem; display: block; }
  .hero__badge { display: none; }
  .hero__eyebrow { order: -1; margin-bottom: 1rem; margin-top: 0; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .manifesto__floater, .footer__floater { display: none; }
  .menu { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; padding-bottom: 6rem; }
  .card:nth-child(6n+1), .card:nth-child(6n+2), .card:nth-child(6n+3),
  .card:nth-child(6n+4), .card:nth-child(6n+5), .card:nth-child(6n+6) {
    grid-column: auto / span 1; margin-top: 0;
  }
  .card:nth-child(even) { transform: translateY(2.5rem); }
  .modal__panel { inset: 3vh 4vw; grid-template-columns: 1fr; grid-template-rows: 42% 1fr; overflow-y: auto; }
  .modal__info { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
}
