/* ════════════════════════════════════════════════════════════════════════
   BIGUA CAFÉ & RESTAURANT — design system v2
   Clean, professional, logo-first. One signature scroll effect (hero tour),
   simple entrance animations everywhere else.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted, variable) ─────────────────────────────────────── */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-normal.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 300 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-normal.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}

/* ── Tokens — colors come from the logo & printed menu ─────────────────── */
:root {
  --red:        #E81D24;   /* logo red — primary actions & accents */
  --red-deep:   #C11218;   /* hover */
  --red-dark:   #9A0E13;   /* active */
  --bg:         #F6EFE2;   /* menu-paper cream */
  --surface:    #FFFDF8;
  --beige:      #EFE5D1;   /* alternating sections */
  --ink:        #271810;   /* warm near-black */
  --muted:      #6E5B4A;
  --cream:      #F7F0E2;   /* text on dark */
  --dark:       #1E120C;
  --footer:     #221510;
  --line:       #E4D8C2;
  --green:      #3F5F3B;   /* gluten-free */
  --wa:         #0E7A43;   /* whatsapp */

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --section: clamp(4rem, 9vw, 7rem);
  --container: 71rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --r-sm: 12px;
  --r-md: 18px;
  --shadow-sm: 0 2px 10px rgba(39, 24, 16, .06);
  --shadow-md: 0 14px 34px -12px rgba(39, 24, 16, .18);
  --shadow-lg: 0 28px 60px -20px rgba(39, 24, 16, .28);
  --ease: cubic-bezier(.22, .8, .3, 1);

  --zellige-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%23F7F0E2' stroke-opacity='.08'%3E%3Crect x='15' y='15' width='18' height='18'/%3E%3Crect x='15' y='15' width='18' height='18' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
button { background: none; border: none; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

@media (max-width: 899px) {
  body { padding-bottom: 66px; } /* mobile action bar */
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
.h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.h3 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
.h4 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); }
.h5 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.eyebrow--light { color: var(--cream); opacity: .9; }

.lead { font-size: clamp(1.08rem, 1.7vw, 1.22rem); line-height: 1.65; color: var(--muted); }
.lead--narrow { max-width: 44rem; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--beige { background: var(--beige); }
.section__foot { margin-top: clamp(2.2rem, 5vw, 3.5rem); text-align: center; }

.grid-2 { display: grid; gap: 2.5rem; align-items: center; }
.grid-2--gap-lg { gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }
.section-head--center .lead { margin-inline: auto; }

.card-grid { display: grid; gap: 1.6rem; }
@media (min-width: 640px)  { .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.btn-row--center { justify-content: center; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: .78em 1.65em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: none; }
.btn--sm { min-height: 42px; padding: .5em 1.2em; font-size: .95rem; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost-light { border-color: rgba(247, 240, 226, .75); color: var(--cream); background: rgba(30, 18, 12, .18); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: rgba(247, 240, 226, .18); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0A6236; color: #fff; }

/* ── Skip link ──────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: 1rem; top: -100%;
  z-index: 300; padding: .8em 1.4em;
  background: var(--ink); color: var(--cream);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Header ─────────────────────────────────────────────────────────────── */
/* Note: no backdrop-filter here — it would create a new containing block and
   trap the mobile fixed nav drawer inside the header's 72px box. */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header--scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.brand { display: flex; align-items: center; text-decoration: none; padding-block: .35rem; }
.brand__mark { width: 52px; height: 52px; display: block; }
@media (max-width: 420px) { .brand__mark { width: 46px; height: 46px; } }

.nav { display: flex; align-items: center; gap: .75rem; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: .2rem; }
.nav__link {
  display: inline-block; padding: .5em .8em;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem;
  border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.nav__link:hover { background: var(--beige); color: var(--ink); }
.nav__link.is-active { color: var(--red-deep); font-weight: 600; }
.nav__extra { display: flex; align-items: center; }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.lang-switch {
  font-weight: 700; font-size: .85rem; letter-spacing: .08em;
  text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: .42em .85em;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--red); color: var(--red-deep); }

.nav-toggle { display: none; }

@media (max-width: 899px) {
  /* Mobile drawer: fills viewport, solid cream bg, sits under the sticky
     header (72px) with safe-area padding. Scrolls internally if items exceed
     the screen height. */
  .nav {
    position: fixed; inset: 0; z-index: 90;
    background: var(--bg);
    padding:
      calc(72px + env(safe-area-inset-top, 0px) + 1.75rem)
      1.5rem
      calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .nav__list li { border-bottom: 1px solid var(--line); }

  .nav__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.05rem .25rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: 0;
    background: transparent;
  }
  .nav__link.is-active { color: var(--red-deep); font-weight: 600; }
  .nav__link.is-active::after {
    content: ""; display: inline-block;
    width: .5rem; height: .5rem; border-radius: 50%;
    background: var(--red);
  }

  /* Directions CTA is prominent inside the drawer on mobile */
  .nav__extra {
    display: block;
    width: 100%;
    max-width: 26rem;
    margin: 1.75rem auto 0;
  }
  .nav__cta {
    display: inline-flex; width: 100%; justify-content: center;
    font-size: 1rem; padding: 1rem 1.4rem;
  }

  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 48px; height: 48px; z-index: 110;
    border-radius: 50%;
    background: transparent;
  }
  .nav-toggle__bar {
    width: 24px; height: 2px; background: var(--ink);
    transition: transform .3s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* ── Hero: café tour (video scrubs while section is pinned) ─────────────── */
.hero {
  position: relative;
  /* header (72px) + hero stay comfortably under one screen height */
  height: calc(92svh - 72px); min-height: 480px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.hero__media, .hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25, 15, 9, .38) 0%, rgba(25, 15, 9, .12) 42%, rgba(25, 15, 9, .66) 100%);
}
.hero__content {
  position: relative; z-index: 4;
  width: 100%;
  padding-block: clamp(2rem, 6vh, 4rem);
  text-align: center;
}
.hero__wordmark {
  width: min(430px, 78vw); height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 3px 18px rgba(25, 15, 9, .45));
}
.hero__title {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 500;
  margin-top: 1.3rem;
  text-shadow: 0 2px 16px rgba(25, 15, 9, .5);
}
.hero__sub {
  max-width: 34rem; margin: .9rem auto 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  opacity: .95;
  text-shadow: 0 1px 10px rgba(25, 15, 9, .5);
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1.8rem; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  color: var(--cream); text-decoration: none;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  opacity: .85;
}
.hero__scroll .icon { animation: bob 2.2s infinite var(--ease); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ── Page hero (inner pages) ────────────────────────────────────────────── */
.page-hero {
  padding-block: clamp(3.2rem, 7vw, 5.5rem) clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { margin-top: 1rem; }

/* ── Framed images ──────────────────────────────────────────────────────── */
.arch-frame {
  overflow: hidden;
  border-radius: 50% 50% var(--r-md) var(--r-md) / 30% 30% var(--r-md) var(--r-md);
  box-shadow: var(--shadow-md);
  background: var(--beige);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.arch-frame:hover img { transform: scale(1.04); }

.photo-frame {
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  background: var(--beige);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-frame:hover img { transform: scale(1.04); }

/* ── Intro / feature row ────────────────────────────────────────────────── */
.intro-figure { aspect-ratio: 4 / 5; }

.feature-row {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .feature-row { grid-template-columns: repeat(4, 1fr); } }
.feature { display: flex; flex-direction: column; gap: .5rem; }
.feature__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--red);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
.feature p { color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* ── Dish cards ─────────────────────────────────────────────────────────── */
.dish-card { text-align: center; }
.dish-card__img { aspect-ratio: 4 / 5; margin-bottom: 1.2rem; }
.dish-card h3 { margin-bottom: .35rem; }
.dish-card p { color: var(--muted); max-width: 26rem; margin-inline: auto; font-size: .98rem; }

/* ── Gluten-free band ───────────────────────────────────────────────────── */
.section--gf { background: var(--green); color: var(--cream); }
.gf-band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .gf-band { grid-template-columns: auto 1fr; gap: 3.2rem; } }
.gf-band__icon {
  display: grid; place-items: center;
  width: clamp(80px, 11vw, 116px); height: clamp(80px, 11vw, 116px);
  border: 2px solid rgba(247, 240, 226, .4); border-radius: 50%;
}
.gf-band__icon .icon { width: 52%; height: 52%; }
.gf-band__text .h2 { color: var(--cream); margin-bottom: .9rem; }
.gf-band__text .lead { color: rgba(247, 240, 226, .9); max-width: 46rem; margin-bottom: 1.5rem; }

/* ── Mosaic (home, "the place") ──────────────────────────────────────────
   Mobile: full-bleed horizontal snap carousel — each photo takes ~85vw so
   users see the NEXT image peeking in, indicating scrollability.
   Desktop (≥900px): rectangular 4×2 bento with one big spanning tile. */
.mosaic {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82vw;
  gap: .7rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-inline: max(1.1rem, calc((100vw - var(--container-max, 1200px)) / 2));
  margin-inline: calc(50% - 50vw);   /* break out of container padding */
  scrollbar-width: none;
}
.mosaic::-webkit-scrollbar { display: none; }
.mosaic__item {
  scroll-snap-align: center;
  aspect-ratio: 4 / 5;
  min-height: 0;
}
.mosaic__item--big { aspect-ratio: 4 / 5; }   /* same size in the carousel */
.mosaic__item img, .mosaic__item picture { height: 100%; width: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .mosaic {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 1rem;
    overflow: visible;
    padding-inline: 0;
    margin-inline: 0;
    height: clamp(420px, 46vw, 620px);
    scroll-snap-type: none;
  }
  .mosaic__item { aspect-ratio: auto; height: 100%; scroll-snap-align: none; }
  .mosaic__item--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ── Landmarks & map ────────────────────────────────────────────────────── */
.landmark-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .65rem; }
.landmark-list li { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-weight: 500; }
.landmark-list .icon { color: var(--red); }

.map-embed {
  position: relative;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: var(--beige);
}
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-embed--tall iframe { height: 100%; min-height: 480px; }
.map-embed--tall { min-height: 480px; display: flex; flex-direction: column; }
.map-embed__note {
  padding: .8rem 1.2rem; font-weight: 600; font-size: .92rem;
  background: var(--surface); border-top: 1px solid var(--line);
}
.map-embed__cta { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); white-space: nowrap; }
.map-embed__cta:hover { transform: translateX(-50%) translateY(-2px); }

/* ── Quote cards (reviews) ──────────────────────────────────────────────── */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.quote-card__stars { display: flex; gap: .15rem; color: var(--red); }
.quote-card__stars .icon { width: .95rem; height: .95rem; }
.quote-card p { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.55; font-style: italic; }
.quote-card footer { color: var(--muted); font-size: .94rem; margin-top: auto; }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--red-deep) var(--zellige-cream);
  background-size: 48px;
  color: var(--cream);
  padding-block: var(--section);
  text-align: center;
}
.cta-band__inner { max-width: 44rem; }
.cta-band__mark { margin: 0 auto 1.4rem; width: 56px; height: 56px; }
.cta-band .h2 { color: #fff; }
.cta-band .lead { color: rgba(247, 240, 226, .92); margin-top: 1rem; }

/* ── Quote band + story (about) ─────────────────────────────────────────── */
.quote-band {
  background: var(--beige);
  text-align: center;
  padding-block: clamp(3.2rem, 7vw, 5.2rem);
}
.quote-band__img {
  width: 120px; height: 120px;
  object-fit: cover; object-position: center 40%;
  border-radius: 50% 50% var(--r-sm) var(--r-sm) / 42% 42% var(--r-sm) var(--r-sm);
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}
.quote-band__text {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem); line-height: 1.3;
  max-width: 40rem; margin-inline: auto;
}
.quote-band__attr { margin-top: 1rem; color: var(--muted); font-weight: 500; }

.story { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .story { grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 5rem); }
  .story--flip .story__media { order: 2; }
}
.story__text p + p { margin-top: 1.2rem; }
.story__text { font-size: 1.08rem; }

.zellige-divider { height: 1px; background: var(--line); }

/* ── Menu page ──────────────────────────────────────────────────────────── */
.menu-tabs {
  display: flex; gap: .4rem;
  background: var(--beige);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem;
  width: fit-content; max-width: 100%;
  margin-inline: auto;
}
.menu-tab {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .68em 1.45em; min-height: 48px;
  border-radius: 999px;
  font-weight: 600; font-size: .97rem;
  color: var(--muted);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.menu-tab.is-active { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.menu-tab:not(.is-active):hover { color: var(--ink); }

.menu-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  justify-content: center;
  margin-block: 1.5rem 2.2rem;
  font-size: .9rem; color: var(--muted);
}
.menu-legend__title { font-weight: 600; }

.chip-nav {
  display: flex; gap: .5rem;
  overflow-x: auto;
  padding-block: .4rem .9rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chip-nav::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center;
  padding: .5em 1.1em; min-height: 42px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--surface);
  color: var(--ink); font-weight: 500; font-size: .94rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--red); color: var(--red-deep); }
.chip.is-active, .chip--filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.menu-cat { padding-top: 1rem; margin-bottom: 2.5rem; scroll-margin-top: 105px; }
.menu-cat__title {
  padding-bottom: .65rem; margin-bottom: 1.3rem;
  border-bottom: 2px solid var(--line);
  color: var(--red-deep);
}
.menu-cat__items { display: grid; gap: 1.35rem; }
@media (min-width: 900px) { .menu-cat__items { grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; } }

.menu-item { display: flex; gap: 1.05rem; }
.menu-item__img {
  flex: none; width: 88px; height: 88px;
  border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.menu-item__img img { width: 100%; height: 100%; object-fit: cover; }
.menu-item__body { flex: 1; min-width: 0; }
.menu-item__row { display: flex; align-items: baseline; gap: .6rem; }
.menu-item__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; }
.menu-item__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 1.5rem; }
.menu-item__price { font-weight: 700; color: var(--red-deep); white-space: nowrap; font-size: 1.04rem; font-variant-numeric: tabular-nums; }
.menu-item__price small { font-weight: 600; font-size: .78em; }
.menu-item__desc { color: var(--muted); font-size: .94rem; line-height: 1.55; margin-top: .28rem; }
.menu-item__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

.badge {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: .77rem; font-weight: 600;
  padding: .26em .68em;
  border-radius: 999px;
  background: var(--beige);
  color: var(--muted);
}
.badge .icon { width: .95em; height: .95em; }
.badge--gf { background: #E2EADB; color: var(--green); }
.badge--vegan, .badge--veg { background: #E9EFE0; color: #47663A; }
.badge--spicy { background: #F8E0D2; color: #A34E28; }
.badge--star { background: #F9E2E0; color: #A6231F; }

.gf-note {
  display: flex; gap: 1.4rem; align-items: flex-start;
  background: #E5ECDE;
  border: 1px solid #CBD8BE;
  border-radius: var(--r-md);
  padding: 1.5rem 1.7rem;
  margin-bottom: 2rem;
  scroll-margin-top: 105px;
}
.gf-note__icon {
  flex: none; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green); color: var(--cream);
}
.gf-note h2 { margin-bottom: .35rem; color: var(--green); }
.gf-note p { color: #3B4D35; font-size: .96rem; }

.menu-footnote {
  margin-top: 2rem; padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem; text-align: center;
}
.menu-panel[hidden] { display: none; }

/* ── Gallery ────────────────────────────────────────────────────────────── */
.chip-nav--filters { justify-content: center; flex-wrap: wrap; overflow: visible; }

/* Mobile: 2-column masonry so 25+ tiles browse quickly instead of one
   giant photo per screen. Widens to 3 at desktop. */
.masonry { columns: 2; column-gap: .5rem; }
@media (min-width: 700px)  { .masonry { columns: 2; column-gap: 1.1rem; } }
@media (min-width: 1000px) { .masonry { columns: 3; column-gap: 1.1rem; } }
.masonry__item {
  break-inside: avoid;
  margin: 0 0 .5rem;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
@media (min-width: 700px) { .masonry__item { margin-bottom: 1.1rem; } }
.masonry__item.is-hidden { display: none; }
.masonry__zoom { display: block; width: 100%; position: relative; cursor: pointer; }
.masonry__zoom img { width: 100%; transition: transform .6s var(--ease); }
.masonry__zoom:hover img { transform: scale(1.04); }
.masonry__hint {
  position: absolute; right: .8rem; bottom: .8rem;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(246, 239, 226, .92); color: var(--ink);
  opacity: 0; transition: opacity .25s;
}
.masonry__zoom:hover .masonry__hint, .masonry__zoom:focus-visible .masonry__hint { opacity: 1; }
.masonry__item--video video { width: 100%; }
.masonry__caption { padding: .8rem 1rem; font-size: .9rem; color: var(--muted); }

.film-block { max-width: 30rem; margin-inline: auto; }
.film-block__frame {
  margin-top: 1.5rem;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.film-block__frame video { width: 100%; }

/* ── Lightbox ───────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: rgba(25, 15, 9, .93);
  padding: 3.5rem 1rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: min(92vw, 70rem); text-align: center; }
.lightbox__figure img {
  max-height: 80vh; max-width: 100%;
  margin-inline: auto;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox__figure figcaption { color: var(--cream); margin-top: 1rem; font-size: .95rem; opacity: .85; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(247, 240, 226, .12); color: var(--cream);
  transition: background-color .2s;
}
.lightbox__close:hover { background: rgba(247, 240, 226, .25); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(247, 240, 226, .12); color: var(--cream);
  transition: background-color .2s;
}
.lightbox__nav:hover { background: rgba(247, 240, 226, .25); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
.lightbox__nav--next { right: 1rem; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 1rem; transform: none; } }

/* ── Contact ────────────────────────────────────────────────────────────── */
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list__icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--beige); color: var(--red-deep);
}
.info-list__icon--wa { background: #E0EFE6; color: var(--wa); }

.contact-form {
  margin-top: 2.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.contact-form > p { color: var(--muted); margin: .4rem 0 1.4rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%;
  padding: .78em 1em;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field-note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--footer) var(--zellige-cream); background-size: 48px; color: rgba(247, 240, 226, .82); }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.2rem); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3.5rem; } }
.footer__wordmark { width: min(250px, 70%); height: auto; margin-top: 1.1rem; }
.footer__blurb { margin-top: .9rem; font-size: .96rem; max-width: 26rem; }
.footer__gf { display: flex; align-items: center; gap: .5em; margin-top: 1rem; font-size: .9rem; color: #A9C79A; }
.footer__title {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #E8A9A5; margin-bottom: 1rem;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: .55em; }
.footer__bottom { border-top: 1px solid rgba(247, 240, 226, .14); }
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.25rem; font-size: .88rem;
}
.footer__top { display: inline-flex; align-items: center; gap: .4em; }

/* ── Mobile action bar & WhatsApp float ─────────────────────────────────── */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(246, 239, 226, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .12rem;
  min-height: 62px;
  color: var(--ink); text-decoration: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .03em;
}
.actionbar__item .icon { width: 22px; height: 22px; }
.actionbar__item--wa { color: var(--wa); }
@media (min-width: 900px) { .actionbar { display: none; } }

.wa-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 95;
  display: none; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float:hover { transform: translateY(-3px); background: #0A6236; color: #fff; }
.wa-float .icon { width: 28px; height: 28px; }
@media (min-width: 900px) { .wa-float { display: grid; } }

/* ── Entrance reveals ───────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 80ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__scroll .icon { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  .header, .footer, .actionbar, .wa-float, .hero__scroll, .chip-nav, .menu-tabs { display: none !important; }
  body { background: #fff; padding: 0; }
}
