/* Meeboor — Home page. Figma: 226:6437 (Home — Desktop, 1440).
   Mobile first; tablet ≥ 768, desktop ≥ 1200 (hero switches to the wide composition at ≥ 1000). */

/* =========================================================
   01 · HERO — red panel, string lights, MEEBOOR word, three round dishes.
   The stage keeps the frame's proportions (aspect-ratio + cqw), so word, dishes and overlaps scale together.
   ========================================================= */
.hero { padding: 8px 0 0; }
.hero__panel {
  position: relative; overflow: hidden; isolation: isolate;
  margin-inline: 16px; border-radius: 20px;
  background: linear-gradient(180deg, #D4292E 0%, #9E171C 100%);
  color: var(--cream);
}
.hero__lights { position: absolute; top: 12px; left: 0; right: 0; z-index: 3; }

/* stage — mobile composition 358 × 450 */
.hero__stage { position: relative; margin-inline: auto; width: 100%; max-width: 460px; aspect-ratio: 358 / 450; container-type: inline-size; }
.hero__dish { position: absolute; z-index: 1; aspect-ratio: 1; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.hero__dish--centre { z-index: 3; }
.hero__float { width: 100%; height: 100%; }
.hero__dish img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 16px 32px rgba(64, 5, 8, .45); will-change: transform; }

.hero__dish--left   { left: -5%;   top: 63%;   width: 38%; --rot: -8deg; }
.hero__dish--right  { left: 68%;   top: 59%;   width: 36%; }
.hero__dish--centre { left: 17%;   top: 31%;   width: 66%; }
.hero__word { position: absolute; z-index: 2; left: 0; right: 0; top: 14.5%; text-align: center; white-space: nowrap;
  font: 900 calc(14.1cqw * var(--fit, 1))/1 var(--display); letter-spacing: -.03em; text-transform: uppercase;
  color: var(--cream); text-shadow: 0 10px 24px rgba(59, 20, 18, .35);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.hero__word span { display: inline-block; margin-right: -.03em; }

/* parallax (desktop pointer) — set by home.js as --mx / --my in −1…1 */
.hero__dish--left   { transform: translate(calc(var(--mx, 0) * -16px), calc(var(--my, 0) * -10px)) rotate(var(--rot, 0deg)); }
.hero__dish--right  { transform: translate(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -8px)); }
.hero__dish--centre { transform: translate(calc(var(--mx, 0) * 22px), calc(var(--my, 0) * 14px)); }
.hero__word         { transform: translate(calc(var(--mx, 0) * -6px), calc(var(--my, 0) * -4px)); }

@media (prefers-reduced-motion: no-preference) {
  .hero__float { animation: hero-float 6.5s ease-in-out infinite; }
  .hero__dish--left .hero__float { animation-duration: 7.2s; animation-delay: -2.4s; }
  .hero__dish--right .hero__float { animation-duration: 6.1s; animation-delay: -4.1s; }
  .js .hero:not(.is-ready) .hero__dish img, .js .hero:not(.is-ready) .hero__word span { opacity: 0; animation: hero-failsafe 0s 2.5s forwards; }
}
@keyframes hero-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(.8deg); } }
@keyframes hero-failsafe { to { opacity: 1; } }

/* location label — mobile: hidden in the panel (the dishes fill the bottom); shown under it */
.hero__loc { display: none; }
.hero__sep { margin: 0 .55em; }

/* in-panel switcher (tablet/desktop) */
.hero__switch { display: none; }
.hero__switch button { position: relative; padding: 14px 0; min-height: 44px; background: none; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit;
  color: var(--cream); opacity: .6; transition: opacity .25s; }
.hero__switch button:hover, .hero__switch button.is-active { opacity: 1; }
.hero__switch button::before, .hero__switch button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 1px; transform-origin: 0 50%; }
.hero__switch button::before { background: var(--cream); transform: scaleX(0); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.hero__switch button.is-active::before { transform: scaleX(1); }
.hero__switch button::after { background: var(--yellow); transform: scaleX(0); }
.hero__switch button.is-active::after { transform: scaleX(var(--p, 0)); }

/* below the panel (mobile): chips + book button */
.hero__below { padding-top: 20px; }
.hero__chips { gap: 8px; }
.hero__chips .chip { min-height: 40px; position: relative; }
.hero__chips .chip::after { content: ""; position: absolute; inset: -2px 0; }
.hero__below .btn { margin-top: 20px; }

/* ---- tablet composition 736 × 600 ---- */
@media (min-width: 768px) {
  .hero { padding-bottom: 8px; }
  .hero__panel { margin-inline: 16px; border-radius: var(--r-hero); }
  .hero__lights { top: 18px; }
  .hero__stage { max-width: 820px; aspect-ratio: 736 / 640; }
  .hero__dish--left   { left: 3%;   top: 38%; width: 32%; }
  .hero__dish--right  { left: 66%;  top: 40%; width: 30%; }
  .hero__dish--centre { left: 29%;  top: 33%; width: 42%; }
  .hero__word { top: 15%; }

  .hero__loc { display: block; position: absolute; z-index: 4; left: 32px; bottom: 44px; }
  .hero__loc span { display: block; }
  .hero__loc .hero__sep { display: none; }
  .hero__addr { margin-top: 8px; opacity: .75; }
  .hero__switch { display: flex; gap: 28px; position: absolute; z-index: 4; right: 32px; bottom: 30px; }
  .hero__below { display: none; }
}

/* ---- wide composition 1392 × 760 (≥ 1000; Figma desktop) ---- */
@media (min-width: 1000px) {
  .hero__stage { max-width: 1600px; aspect-ratio: 1392 / 760; }
  .hero__dish img { box-shadow: 0 24px 48px rgba(64, 5, 8, .45); }
  .hero__dish--left   { left: 6.609%;  top: 38.51%; width: 24.425%; }
  .hero__dish--right  { left: 70.546%; top: 41.84%; width: 24.425%; }
  .hero__dish--centre { left: 33.477%; top: 38.42%; width: 33.046%; }
  .hero__word { top: 15.53%; font-size: calc(14.368cqw * var(--fit, 1)); text-shadow: 0 16px 40px rgba(59, 20, 18, .35); }
  .hero__lights { top: 18px; }

  .hero__loc { left: 56px; bottom: 54px; white-space: nowrap; }
  .hero__loc span { display: inline; }
  .hero__loc .hero__sep { display: inline; }
  .hero__addr { margin: 0; opacity: 1; }
  .hero__switch { gap: 32px; right: 56px; bottom: 40px; }
}
@media (min-width: 1200px) {
  .hero { padding-bottom: 24px; }
  .hero__panel { margin-inline: 24px; }
}


/* =========================================================
   02 · KITCHEN (Eat & share)
   ========================================================= */
.kitchen__grid { margin-top: var(--head-gap); row-gap: 28px; }
.kitchen__grid > li { grid-column: span 2; }
.kitchen .cat { gap: 10px; }
.kitchen .cat .dish-img { width: 92%; margin-bottom: 4px; }
.kitchen .cat .t-item { font-size: 18px; line-height: 22px; }
.kitchen .cat .t-caption { margin-top: 2px; }
.kitchen__more { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.kitchen__more .t-label { color: var(--red); letter-spacing: .18em; }
.chapters { font: 700 var(--chapters)/1.55 var(--display); color: var(--ink); text-wrap: balance; }
.chapters a { white-space: nowrap; transition: color .2s; }
.chapters a:hover { color: var(--red); }
.chapters i { font-style: normal; color: var(--red); margin: 0 .45em; }
.chapters__br { display: none; }
@media (max-width: 1199px) {
  .chapters { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; max-width: 640px; }
  .chapters i { display: none; }
  .chapters a::before { content: "·"; color: var(--red); margin-right: .4em; }
}
.kitchen__cta { margin-top: 40px; text-align: center; }
@media (min-width: 768px) {
  .kitchen__grid { row-gap: 40px; }
  .kitchen__grid > li { grid-column: span 4; }
  .kitchen .cat .dish-img { width: 250px; max-width: 80%; }
  .kitchen__more { margin-top: 64px; gap: 20px; }
  .kitchen__cta { margin-top: 48px; }
}
@media (min-width: 1200px) {
  .kitchen { padding-bottom: 110px; }
  .kitchen__grid > li { grid-column: span 3; }
  .kitchen .cat { gap: 12px; }
  .kitchen .cat .dish-img { width: 250px; max-width: 100%; margin-bottom: 0; }
  .kitchen .cat .t-item { font-size: 20px; line-height: 24px; }
  .kitchen .cat .t-caption { margin-top: 0; }
  .kitchen__more { margin-top: 64px; gap: 20px; }
  .chapters { line-height: 46px; max-width: 1000px; text-wrap: initial; }
  .chapters__br { display: inline; }
  .chapters__brk { display: none; }
  .kitchen__cta { margin-top: 48px; }
}

/* =========================================================
   03 · WELCOME (dark, string lights)
   ========================================================= */
.welcome { padding-top: calc(var(--section-pad) + 24px); }
.welcome__lights { position: absolute; top: 0; left: 0; right: 0; }
.welcome__in { display: flex; flex-direction: column; }
.welcome__copy { display: contents; }
.welcome__title { margin-top: 12px; font: 900 30px/38px var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--on-dark); }
.welcome__text { margin-top: 20px; }
.welcome__stats { margin-top: 32px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 12px; }
.welcome__stats li { display: flex; flex-direction: column; gap: 6px; }
.welcome__stats .t-stat { white-space: nowrap; }
.welcome__stats .t-label { color: var(--on-dark); opacity: .7; letter-spacing: .2em; }
.welcome__photos { order: 1; margin-top: 48px; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.welcome__photos .photo { height: auto; aspect-ratio: 163 / 240; }
.welcome__photos .welcome__facade { grid-column: 1 / -1; aspect-ratio: 436 / 300; }
.welcome__sticker { position: absolute; z-index: 2; width: 104px; height: 104px; top: -36px; right: -6px; border-radius: 50%; background: var(--red); box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  display: grid; place-items: center; transform: rotate(-8deg); }
.welcome__sticker img { width: 66%; height: auto; }
.welcome__cta { order: 2; margin-top: 40px; }

@media (min-width: 768px) {
  .welcome__title { font-size: 40px; line-height: 50px; max-width: 600px; }
  .welcome__text { margin-top: 24px; max-width: 600px; }
  .welcome__stats { margin-top: 40px; display: flex; gap: 44px; justify-content: flex-start; }
  .welcome__stats .t-label { letter-spacing: .3em; }
  .welcome__cta { order: 0; margin-top: 40px; }
  .welcome__photos { margin-top: 64px; gap: 24px; }
  .welcome__photos .photo { aspect-ratio: 328 / 420; }
  .welcome__photos .welcome__facade { aspect-ratio: 672 / 380; }
  .welcome__sticker { width: 140px; height: 140px; top: -48px; right: -20px; }
}
@media (min-width: 1200px) {
  .welcome { padding-block: 120px; min-height: 900px; }
  .welcome__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
  .welcome__copy { display: flex; flex-direction: column; align-items: flex-start; grid-column: 1 / 7; }
  .welcome__title { margin-top: 16px; font-size: 46px; line-height: 56px; max-width: 528px; }
  .welcome__text { max-width: 528px; }
  .welcome__stats { margin-top: 48px; }
  .welcome__stats li { gap: 8px; }
  .welcome__cta { margin-top: 48px; }
  .welcome__photos { grid-column: 8 / 13; margin-top: 0; gap: 24px; }
  .welcome__photos .photo { aspect-ratio: 206 / 336; }
  .welcome__photos .welcome__facade { aspect-ratio: 436 / 300; }
  .welcome__sticker { width: 160px; height: 160px; top: -56px; right: -50px; transform: none; box-shadow: 0 30px 60px rgba(59, 20, 18, .3); }
  .welcome__sticker img { width: 104px; }
}

/* =========================================================
   04 · HOUSE SALADS + lahmajo feature
   ========================================================= */
.salads__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.salads__all { display: none; }
.salads__cards { margin-top: var(--head-gap); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--margin) * -1); padding: 0 var(--margin) 40px; scroll-padding-inline: var(--margin); margin-bottom: -40px; }
.salads__cards::-webkit-scrollbar { display: none; }
.salads__cards .card { flex: 0 0 240px; min-height: 372px; scroll-snap-align: start; }

.feature { margin-top: 32px; border-radius: var(--r-card); padding: 24px 20px 28px; display: flex; flex-direction: column; }
.feature__tile { align-self: center; width: min(232px, 70%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 18px 36px rgba(0, 0, 0, .25); }
.feature__tile img { width: 100%; height: 100%; object-fit: cover; }
.feature__copy { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.feature__name { margin-top: 10px; }
.feature__desc { margin-top: 12px; }
.feature__price { margin-top: 16px; font-size: 22px; }
@media (max-width: 359px) { .feature__price { font-size: 18px; } .feature { padding-inline: 16px; } }
.salads__cta { margin-top: 32px; }

@media (min-width: 768px) {
  .salads__all { display: inline-flex; }
  .salads__cta { display: none; }
  .feature { flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 32px; padding: 32px 40px; }
  .feature__tile { flex: none; width: 200px; }
  .feature__copy { margin-top: 0; max-width: 440px; }
  .feature__price { font-size: 24px; }
  .feature__name { font-size: clamp(28px, 4.1vw, 44px); white-space: nowrap; }
}
@media (min-width: 1200px) {
  .salads { padding-bottom: 120px; }
  .salads__cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); overflow: visible; margin: var(--head-gap) 0 0; padding: 0; }
  .salads__cards .card { grid-column: span 3; min-height: 380px; }
  .feature { margin-top: 48px; padding: 32px 92px; min-height: 296px; }
  .feature__tile { width: 232px; box-shadow: none; }
  .feature__copy { max-width: 528px; }
  .feature__name { margin-top: 12px; line-height: 52px; }
  .feature__desc { margin-top: 16px; font-size: 17px; line-height: 28px; }
  .feature__price { margin-top: 20px; font-size: 26px; line-height: 32px; }
}

/* =========================================================
   05 · BAR
   ========================================================= */
.bar { position: relative; }
.bar__photo { height: 440px; overflow: hidden; }
.bar__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.bar__br { display: none; }
.bar__in { padding-block: var(--section-pad); }
.bar__title { margin-top: 12px; font: 900 30px/38px var(--display); letter-spacing: .02em; text-transform: uppercase; }
.bar__text { margin-top: 20px; }
.bar__drinks { position: relative; margin-top: 32px; }
.bar__list { width: 252px; max-width: 64%; }
.bar__list li { border-bottom: 1px solid var(--line-cream); }
.bar__list a { display: block; padding: 14px 0; }
.bar__list a:hover { color: var(--yellow); }
.bar__sign { position: absolute; width: 96px; height: 120px; object-fit: cover; border-radius: 14px; right: 0; top: 40px; transform: rotate(-6deg);
  box-shadow: var(--shadow-photo); transition: transform .4s ease; }
.bar__drinks:hover .bar__sign { transform: rotate(-2deg) scale(1.04); }
@media (max-width: 359px) { .bar__sign { width: 80px; height: 100px; } .bar__list { max-width: 66%; } .bar__list .t-item, .bar__list { font-size: 15px; } }

@media (min-width: 768px) {
  .bar__photo { height: 520px; }
  .bar__title { font-size: 44px; line-height: 54px; }
  .bar__text { margin-top: 24px; max-width: 520px; font-size: 17px; line-height: 28px; }
  .bar__drinks { margin-top: 40px; }
  .bar__list { width: 360px; max-width: none; }
  .bar__sign { width: 180px; height: 225px; border-radius: var(--r-photo); right: 20px; top: -10px; }
}
@media (min-width: 1200px) {
  .bar { min-height: 900px; display: flex; align-items: center; }
  .bar__photo { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; height: auto; }
  .bar__photo img { object-position: 50% 50%; }
  .bar__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: 192px; }
  .bar__copy { grid-column: 8 / 13; }
  .bar__br { display: inline; }
  .bar__title { margin-top: 16px; font-size: 52px; line-height: 62px; }
  .bar__text { max-width: none; }
  .bar__list { width: 252px; }
  .bar__sign { width: 160px; height: 200px; right: -10px; top: 12px; }
}

/* =========================================================
   06 · VISIT
   ========================================================= */
.visit { position: relative; padding-bottom: var(--section-pad); }
.visit__map { display: block; height: 360px; overflow: hidden; }
.visit__map img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.visit__map:hover img { transform: scale(1.02); }
.visit__in { position: relative; }
.visit__card { position: relative; z-index: 2; margin-top: 24px; border-radius: var(--r-card); padding: 28px 20px 24px; box-shadow: var(--shadow-float); display: flex; flex-direction: column; }
.visit__kicker { color: var(--on-dark); opacity: .8; }
.visit__title { margin-top: 10px; }
.visit__rows { margin-top: 20px; }
.visit__rows a:hover { text-decoration: underline; text-underline-offset: 4px; }
.visit__hours span { display: block; } .visit__hours i { display: none; font-style: normal; margin: 0 .5em; }
.visit__btns { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.visit__pin { position: absolute; left: 50%; top: -204px; width: 0; height: 0; pointer-events: none; } /* map centre: 360/2 + 24 */

@media (min-width: 768px) {
  .visit { padding: 0; }
  .visit__map { position: absolute; inset: 0; height: auto; }
  .visit__in { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); align-items: center;
    padding-block: var(--section-pad); pointer-events: none; }
  .visit__card { pointer-events: auto; margin-top: 0; grid-column: 1 / 6; padding: 36px 32px; }
  .visit__rows { margin-top: 24px; }
  .visit__btns { margin-top: 32px; flex-direction: row; }
  .visit__pin { position: relative; left: auto; top: auto; grid-column: 6 / -1; height: 90px; }
  .visit__pin .pin { left: 45px; top: 45px; }
}
@media (min-width: 1200px) {
  .visit__card { grid-column: 1 / 7; padding: 48px; }
  .visit__title { margin-top: 12px; }
  .visit__hours span { display: inline; } .visit__hours i { display: inline; }
  .visit__pin { grid-column: 8 / -1; }
  .visit__pin .pin { left: 59px; }
}
