/* Meeboor Gastro Bar — design system in CSS. Source: Figma 80DGJEV8CNGCJqMSOZWv8Q, page "14 · Meeboor", frame 226:6437 (Home — Desktop).
   Breakpoints: mobile < 768 (designed for 390) · tablet 768–1199 · desktop ≥ 1200 (design 1440). */

:root {
  --masa: #F3EEE4;  --masa-2: #E4E7DC;  --white: #FFFFFF;  --chalk: #1E2420;
  --red: #D3282E;  --red-deep: #9E171C;  --red-hover: #B01F24;
  --green: #34493F;  --yellow: #F2B544;  --cream: #F3EEE4;
  --ink: #1E2420;  --ink-2: #5E6A60;  --on-dark: #F3EEE4;
  --line-ink: rgba(30, 36, 32, .14);  --line-cream: rgba(243, 238, 228, .28);

  --shadow-card: 0 16px 30px rgba(30, 36, 32, .12);
  --shadow-float: 0 30px 60px rgba(30, 36, 32, .30);
  --shadow-photo: 0 24px 50px rgba(20, 24, 21, .45);
  --shadow-dish: 0 14px 28px rgba(31, 36, 31, .22);
  --r-card: 24px; --r-hero: 28px; --r-photo: 20px;

  --display: "Unbounded", "Arial Black", sans-serif;
  --sans: "Manrope", system-ui, sans-serif;

  /* grid — mobile first */
  --margin: 24px; --cols: 4; --gutter: 16px;
  --section-pad: 64px; --head-gap: 28px;

  /* display scale — mobile (Unbounded is very wide) */
  --h1: 30px; --h1-lh: 38px; --h2: 26px; --price: 20px; --stat: 30px; --chapters: 18px;
}
@media (min-width: 768px) {
  :root { --margin: 48px; --cols: 8; --gutter: 16px; --section-pad: 88px; --head-gap: 40px;
    --h1: 44px; --h1-lh: 56px; --h2: 36px; --price: 22px; --stat: 40px; --chapters: 24px; }
}
@media (min-width: 1200px) {
  :root { --margin: max(48px, calc((100vw - 1080px) / 2)); --cols: 12; --gutter: 24px; --section-pad: 120px; --head-gap: 48px;
    --h1: 56px; --h1-lh: 72px; --h2: 44px; --price: 22px; --stat: 44px; --chapters: 30px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--masa); color: var(--ink); font: 400 15px/22px var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[id] { scroll-margin-top: 16px; }

/* ---------- text styles ---------- */
.t-h1 { font: 900 var(--h1)/var(--h1-lh) var(--display); letter-spacing: .02em; text-transform: uppercase; }
.t-h2 { font: 900 var(--h2)/1.18 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.t-price { font: 700 var(--price)/1.45 var(--display); text-transform: uppercase; white-space: nowrap; }
.t-stat { font: 900 var(--stat)/1.27 var(--display); }
.t-item { font: 800 20px/24px var(--sans); letter-spacing: .03em; text-transform: uppercase; }
.t-card { font: 800 20px/24px var(--sans); }
.t-row { font: 800 17px/22px var(--sans); }
.t-body-l { font: 400 17px/28px var(--sans); }
.t-body { font: 400 15px/22px var(--sans); }
.t-caption { font: 500 14px/20px var(--sans); }
.t-label { font: 700 12px/16px var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.t-nav { font: 700 13px/16px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.t-small { font: 500 12px/16px var(--sans); }
@media (max-width: 767px) { .t-item { font-size: 16px; line-height: 20px; } .t-body-l { font-size: 16px; line-height: 26px; } }
.c-ink2 { color: var(--ink-2); } .c-red { color: var(--red); } .c-yellow { color: var(--yellow); } .c-cream { color: var(--cream); } .c-white { color: #fff; }
.center { text-align: center; }

/* ---------- layout ---------- */
.container { padding-inline: var(--margin); width: 100%; }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); }
.section { position: relative; padding-block: var(--section-pad); }
.bg-masa { background: var(--masa); } .bg-masa2 { background: var(--masa-2); } .bg-chalk { background: var(--chalk); color: var(--on-dark); }
.bg-green { background: var(--green); color: var(--cream); } .bg-red { background: var(--red); color: var(--cream); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- heading ---------- */
.heading { display: flex; flex-direction: column; gap: 10px; }
.heading .t-label { color: var(--red); }
.heading--center { align-items: center; text-align: center; }
.bg-chalk .heading .t-label, .bg-green .heading .t-label, .bg-red .heading .t-label { color: var(--yellow); }
@media (max-width: 767px) { .heading { gap: 8px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 13px/16px var(--sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; } .btn--red:hover { background: var(--red-hover); }
.btn--cream { background: var(--cream); color: var(--red); } .btn--cream:hover { background: #fff; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline-light { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn--outline-light:hover { background: rgba(243, 238, 228, .12); }
.btn--block { width: 100%; }
@media (max-width: 767px) { .btn--block-m { width: 100%; } }

/* ---------- chips ---------- */
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-ink); cursor: pointer;
  font: 700 13px/16px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.is-active, .chip[aria-selected="true"] { background: var(--red); color: #fff; box-shadow: none; }
@media (max-width: 767px) { .chips--bleed { margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); } }

/* ---------- string lights (Figma "String lights": wire + bulbs, 4 per span) ---------- */
.lights { height: 48px; pointer-events: none; background: url("../assets/img/lights-dark.svg") 0 0 / 240px 60px repeat-x; }
.lights--red { height: 52px; background-image: url("../assets/img/lights-red.svg"); background-size: 232px 60px; }
@media (max-width: 767px) { .lights { background-size: 180px 45px; height: 38px; } .lights--red { background-size: 174px 45px; height: 40px; } }
@media (prefers-reduced-motion: no-preference) {
  .lights { animation: twinkle 4s ease-in-out infinite alternate; }
}
@keyframes twinkle { from { opacity: 1; } to { opacity: .82; } }

/* ---------- logo (mark + wordmark) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 45px; height: 32px; flex: none; }
.logo__word { display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 700; white-space: nowrap; }
.logo__name { font: 700 22px/27px var(--display); letter-spacing: .02em; }
.logo__sub { font: 700 8.5px/12px var(--sans); letter-spacing: .42em; margin-right: -.42em; }
.logo--sm { gap: 9px; } .logo--sm .logo__mark { width: 36px; height: 26px; } .logo--sm .logo__name { font-size: 18px; line-height: 22px; } .logo--sm .logo__sub { font-size: 7px; line-height: 10px; }
.logo--lg { gap: 19px; color: var(--cream); } .logo--lg .logo__mark { width: 72px; height: 51px; } .logo--lg .logo__word { gap: 3px; }
.logo--lg .logo__name { font-size: 35.2px; line-height: 44px; } .logo--lg .logo__sub { font-size: 13.6px; line-height: 19px; }
.logo--light { color: var(--cream); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; background: var(--masa); height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.site-header__left, .site-header__right { display: none; }
.site-header__compact { display: flex; align-items: center; gap: 6px; margin-right: -10px; }
.site-header__compact .btn { min-height: 38px; padding: 11px 16px; }
.burger { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.site-header a[aria-current="page"] { color: var(--red); }
@media (max-width: 359px) { .site-header { padding: 0 16px; } .site-header__compact .btn { padding: 11px 12px; } .site-header .logo--sm .logo__mark { display: none; } }
@media (min-width: 768px) { .site-header { padding: 0 48px; height: 84px; } }
@media (min-width: 1200px) {
  .site-header { height: 96px; padding: 0 48px; display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header__left, .site-header__right { display: flex; align-items: center; }
  .site-header__left { gap: 41px; }
  .site-header__right { justify-content: flex-end; gap: 40px; }
  .site-header__right .btn { margin-left: 2px; }
  .site-header__logo { justify-self: center; }
  .site-header__logo .logo { gap: 12px; } .site-header__logo .logo__mark { width: 45px; height: 32px; } .site-header__logo .logo__name { font-size: 22px; line-height: 27px; } .site-header__logo .logo__sub { font-size: 8.5px; line-height: 12px; }
  .site-header__compact { display: none; }
  .site-header__left a:hover, .site-header__right a:not(.btn):hover { color: var(--red); }
}

/* ---------- overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: var(--red); color: var(--cream); display: flex; flex-direction: column; padding: 0 24px 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.overlay__top { height: 72px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.overlay__close { width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.overlay .lights { flex: none; margin-inline: -24px; }
.overlay__links { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.overlay__links a { font: 900 40px/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.overlay__bottom { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 359px) { .overlay__links a { font-size: 32px; } }
@media (min-width: 768px) { .overlay { padding: 0 48px 64px; } .overlay__top { height: 84px; } .overlay .lights { margin-inline: -48px; } .overlay__links a { font-size: 64px; } }
body.no-scroll { overflow: hidden; }

/* ---------- round dish photo ---------- */
.dish-img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-dish); }

/* ---------- category item ---------- */
.cat { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cat .dish-img { width: 83%; transition: transform .35s ease; }
.cat:hover .dish-img { transform: translateY(-6px) rotate(-3deg) scale(1.03); }
.cat .t-caption { color: var(--ink-2); }

/* ---------- dish card (numbered plate, no photo in the design) ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--masa); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 14px 24px 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.plate { position: relative; width: 200px; height: 200px; margin: 0 auto; border-radius: 50%; background: var(--masa-2); display: grid; place-items: center; }
.plate::before { content: ""; position: absolute; inset: 30px; border-radius: 50%; background: var(--masa); box-shadow: inset 0 0 0 1px rgba(94, 106, 96, .3); }
.plate span { position: relative; font: 900 46px/1 var(--display); color: var(--red); }
.card__name { margin-top: 22px; }
.card__meta { color: var(--ink-2); margin-top: 6px; }
.card__foot { margin-top: auto; padding-top: 10px; }

/* ---------- menu row ---------- */
.row { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-ink); }
.row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row__text .t-body, .row__text .t-small { color: var(--ink-2); }

/* ---------- info rows (on red) ---------- */
.info-row { padding: 16px 0 12px; border-top: 1px solid var(--line-cream); display: flex; flex-direction: column; gap: 6px; }
.info-row .t-label { color: var(--on-dark); }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 700 12px/16px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { min-height: 52px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-ink); background: #fff; font: 400 15px/22px var(--sans); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(211, 40, 46, .15); }
.field textarea { resize: vertical; min-height: 52px; }

/* ---------- map pin ---------- */
.pin { position: absolute; display: flex; align-items: center; gap: 0; transform: translate(-45px, -45px); }
.pin__dot { position: relative; width: 90px; height: 90px; border-radius: 50%; background: rgba(211, 40, 46, .2); display: grid; place-items: center; }
.pin__dot::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fff; }
.pin__dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(211, 40, 46, .25); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.pin__tag { margin-left: -14px; background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow-card); white-space: nowrap; color: var(--ink); }
.pin__tag .t-small { color: var(--ink-2); }

/* ---------- photo ---------- */
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow-photo); }

/* ---------- footer ---------- */
.site-footer { background: var(--chalk); color: var(--on-dark); }
.site-footer__in { padding-block: 40px 40px; display: grid; gap: 32px; }
.site-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; align-content: start; }
.site-footer__links a:hover { color: var(--yellow); }
.site-footer__info { line-height: 26px; }
.site-footer__bottom { border-top: 1px solid var(--line-cream); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.site-footer__bottom > * { opacity: .7; }
@media (max-width: 767px) {
  .site-footer .logo--lg { gap: 14px; } .site-footer .logo--lg .logo__mark { width: 56px; height: 40px; }
  .site-footer .logo--lg .logo__name { font-size: 28px; line-height: 34px; } .site-footer .logo--lg .logo__sub { font-size: 11px; line-height: 15px; }
}
@media (min-width: 768px) {
  .site-footer__in { grid-template-columns: 1fr 1fr; padding-block: 56px 40px; }
  .site-footer__links { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1200px) {
  .site-footer__in { grid-template-columns: 460px 200px 200px auto; gap: 0; padding-block: 32px 36px; }
  .site-footer__links { display: contents; }
  .site-footer__col { display: flex; flex-direction: column; gap: 16px; }
  .site-footer__info { margin-top: -4px; }
  .site-footer__bottom { margin-top: 128px; padding-top: 21px; }
}
@media (max-width: 1199px) { .site-footer__col { display: contents; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .pin__dot::before { animation: none; } }
