/* Pastaria Te Dati — trattoria theme: semolina paper, tomato, basil, egg yolk and the shop's gingham tablecloths. */

:root {
  --cream: #fbf5e6;
  --cream-deep: #f3e7cc;
  --paper: #fffaf0;
  --ink: #2b1d16;
  --ink-soft: #5f4c40;
  --tomato: #c93a22;
  --tomato-deep: #9f2b17;
  --basil: #3d7a3a;
  --basil-deep: #2c5e2e;
  --yolk: #f0b23a;
  --yolk-deep: #c98a1c;
  --board: #1f2a26;
  --chalk: #f4efe2;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;

  --radius: 18px;
  --shadow: 0 12px 30px -10px rgba(43, 29, 22, 0.25);
  --shadow-lg: 0 30px 60px -22px rgba(43, 29, 22, 0.5);
  --header-h: 68px;
  --max: 1160px;
}

/* Sauce colours, shared by tray zones, filter chips and dish cards */
[data-color='verde'] { --dot: #56a546; --dot-ink: var(--basil-deep); }
[data-color='bianco'] { --dot: #e9d9b4; --dot-ink: #8a6d2c; }
[data-color='rosso'] { --dot: #dd4426; --dot-ink: var(--tomato-deep); }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture, iframe { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--yolk); outline-offset: 3px; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  transition: top 0.2s;
}
.skip-link:focus { top: 0.8rem; }

.eyebrow {
  margin-bottom: 0.5rem;
  color: var(--tomato);
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.lead { margin-top: 1rem; color: var(--ink-soft); font-size: 1.14rem; }
.stars { color: var(--yolk); letter-spacing: 0.1em; }

.section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2, .about__copy h2, .find__card h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }

.gingham-strip {
  height: 28px;
  background-color: #fffdf7;
  background-image:
    linear-gradient(90deg, rgba(31, 27, 24, 0.5) 50%, transparent 50%),
    linear-gradient(rgba(31, 27, 24, 0.5) 50%, transparent 50%);
  background-size: 14px 14px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
}
.btn svg { flex: none; width: 1.15em; height: 1.15em; fill: currentColor; }

.btn--tomato { background: var(--tomato); color: #fff; box-shadow: 0 5px 0 var(--tomato-deep); }
.btn--tomato:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--tomato-deep); }
.btn--tomato:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--tomato-deep); }

.btn--yolk { background: var(--yolk); color: var(--ink); box-shadow: 0 5px 0 var(--yolk-deep); }
.btn--yolk:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--yolk-deep); }
.btn--yolk:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--yolk-deep); }

.btn--whatsapp { background: #0b7a4b; color: #fff; box-shadow: 0 5px 0 #075a37; }
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #075a37; }
.btn--whatsapp:active { transform: translateY(3px); box-shadow: 0 2px 0 #075a37; }

.btn--chalk { border-color: rgba(244, 239, 226, 0.6); background: transparent; color: var(--chalk); }
.btn--chalk:hover { background: var(--chalk); color: var(--board); }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.btn--small { padding: 0.55rem 1rem; font-size: 0.92rem; box-shadow: 0 4px 0 var(--tomato-deep); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.icon-btn:hover { transform: scale(1.08); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled, .site-header.is-open, .menu-page .site-header {
  background: rgba(251, 245, 230, 0.94);
  box-shadow: 0 1px 0 rgba(43, 29, 22, 0.08), 0 10px 24px -12px rgba(43, 29, 22, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header__inner { display: flex; align-items: center; gap: 0.75rem; min-height: var(--header-h); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.brand__mark { flex: none; width: 38px; height: 38px; }
.brand__name em { margin-left: 0.1em; color: var(--tomato); font-family: var(--font-hand); font-size: 1.3em; font-style: normal; }
.brand--light .brand__name em { color: var(--yolk); }

.site-nav { margin-left: auto; }
.site-nav__links { display: flex; gap: 0.15rem; }
.site-nav__links a {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.site-nav__links a:hover { background: rgba(43, 29, 22, 0.07); }
.site-nav__links a[aria-current] { color: var(--tomato); background: rgba(201, 58, 34, 0.09); }

.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(43, 29, 22, 0.08); }
.lang-switch a {
  min-width: 34px;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.lang-switch a:hover { background: rgba(43, 29, 22, 0.1); }
.lang-switch a[aria-current='page'] { background: var(--ink); color: var(--cream); }

.header-call { white-space: nowrap; }
.header-whatsapp { flex: none; width: 42px; height: 42px; padding: 0; box-shadow: 0 4px 0 #075a37; }
@media (max-width: 639px) { .header-whatsapp { display: none; } } /* in the bottom bar there */
.nav-toggle { display: none; }

@media (max-width: 1239px) {
  .nav-toggle {
    display: inline-flex;
    flex: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 11px;
    border: 0;
    border-radius: 12px;
    background: rgba(43, 29, 22, 0.08);
  }
  .nav-toggle span { height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    margin: 0;
    padding: 0.25rem 1rem 1rem;
    background: var(--cream);
    box-shadow: 0 18px 30px -18px rgba(43, 29, 22, 0.4);
  }
  .site-nav.is-open { display: block; }
  .site-nav__links { flex-direction: column; gap: 0; }
  .site-nav__links a { padding: 0.85rem 0.4rem; border-bottom: 1px dashed rgba(43, 29, 22, 0.18); border-radius: 0; font-size: 1.1rem; }

  .lang-switch { margin-left: auto; }
  .header-call { width: 42px; height: 42px; padding: 0; }
  .header-call span { display: none; }
}

@media (max-width: 479px) {
  .site-header__inner { gap: 0.5rem; }
  .brand { font-size: 1rem; }
  .brand__mark { width: 32px; height: 32px; }
  .lang-switch a { min-width: 28px; padding: 0.3rem; }
  .header-call { display: none; }
}

@media (max-width: 359px) {
  .brand__mark { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 178, 58, 0.3), transparent 42%),
    radial-gradient(circle at 4% 92%, rgba(61, 122, 58, 0.15), transparent 38%),
    var(--cream);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(2.2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

.hero__title { font-size: clamp(2.5rem, 6.2vw, 4.5rem); font-weight: 700; letter-spacing: -0.02em; }
.hero__title em { position: relative; color: var(--tomato); font-style: italic; white-space: nowrap; }
.hero__title em::after {
  content: '';
  position: absolute;
  inset: auto -3% -0.1em -3%;
  height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8C20 2 40 11 60 6s40-3 58 1' fill='none' stroke='%23f0b23a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero__lead { max-width: 34rem; margin-top: 1.3rem; color: var(--ink-soft); font-size: clamp(1.06rem, 1.6vw, 1.22rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.9rem; }

.fact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(43, 29, 22, 0.1);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.92rem;
}

.status { display: inline-flex; align-items: center; gap: 0.5rem; }
.status__dot { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #b7ab9a; }
.status[data-state='open'] .status__dot { background: #2f9d47; animation: pulse 2s infinite; }
.status[data-state='closed'] .status__dot { background: var(--tomato); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 157, 71, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(47, 157, 71, 0); }
}

/* Clickable trays */
.tray-picker { position: relative; }
.tray-picker__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1880 / 1185;
  border: 8px solid #fff;
  border-radius: 26px;
  background: var(--cream-deep);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(43, 29, 22, 0.06);
  rotate: 1.6deg;
  transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px));
  transition: transform 0.4s ease-out;
}
.tray-picker__frame picture, .tray-picker__frame img { width: 100%; height: 100%; }
.tray-picker__frame img { object-fit: cover; }
.tray-picker__zones { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }

.tray-zone {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 6%;
  border: 0;
  background: none;
}
.tray-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 16, 12, 0);
  transition: background-color 0.3s;
}
.tray-picker__zones:hover .tray-zone:not(:hover)::before { background: rgba(24, 16, 12, 0.4); }
.tray-zone:focus-visible { outline-offset: -6px; }
.tray-zone__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  font-weight: 700;
  transition: transform 0.25s;
}
.tray-zone__label::before { content: ''; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(43, 29, 22, 0.15); }
.tray-zone:hover .tray-zone__label, .tray-zone:focus-visible .tray-zone__label { transform: translateY(-8px) scale(1.08); }

.tray-picker__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-family: var(--font-hand);
  font-size: 1.45rem;
  line-height: 1.1;
  rotate: -1.5deg;
}
.tray-picker__hint svg { flex: none; width: 34px; height: 28px; }

/* Floating pasta, desktop only */
.hero__shapes { display: none; }
@media (min-width: 960px) {
  .hero__shapes { display: block; }
  .shape {
    position: absolute;
    transform: translate(calc(var(--px, 0) * var(--depth, 14) * 1px), calc(var(--py, 0) * var(--depth, 14) * 1px));
    transition: transform 0.5s ease-out;
    pointer-events: none;
  }
  .shape svg { width: 100%; height: auto; animation: float 8s ease-in-out infinite; animation-delay: var(--delay, 0s); }
  .shape--farfalle { top: 104px; left: 46%; width: 70px; --rot: -18deg; --depth: 26; }
  .shape--basil { bottom: 54px; left: 3%; width: 52px; --rot: 14deg; --depth: -18; --delay: -2s; }
  .shape--tomato { top: 108px; right: 2.5%; width: 50px; --rot: 8deg; --depth: 20; --delay: -4s; }
  .shape--penne { bottom: 60px; right: 42%; width: 74px; --rot: 24deg; --depth: -30; --delay: -6s; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 7deg)); }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 0.75rem 0;
  background: var(--tomato);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; white-space: nowrap; }
.marquee__track span::after { content: '✦'; margin: 0 1.4rem; color: var(--yolk); font-size: 0.7em; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */

.about__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
}
.about__media { position: relative; width: 100%; max-width: 440px; margin-inline: auto; margin-bottom: 3.5rem; }

.polaroid { position: relative; padding: 12px 12px 58px; border-radius: 4px; background: #fff; box-shadow: var(--shadow-lg); rotate: -2.5deg; }
.polaroid img { width: 100%; aspect-ratio: 1620 / 1700; object-fit: cover; }
.polaroid figcaption { position: absolute; inset: auto 0 12px 0; font-family: var(--font-hand); font-size: 1.55rem; text-align: center; }

/* second snapshot, tucked over the bottom corner of the first */
.polaroid--small { position: absolute; right: -2%; bottom: -14%; z-index: 1; width: 54%; padding: 8px 8px 40px; rotate: 5deg; transition: rotate 0.3s, scale 0.3s; }
.polaroid--small:hover { rotate: 1deg; scale: 1.04; }
.polaroid--small img { aspect-ratio: 4 / 3; }
.polaroid--small figcaption { bottom: 8px; font-size: 1.25rem; }

.sticker {
  position: absolute;
  top: -22px;
  right: -8px;
  display: grid;
  place-content: center;
  width: 124px;
  height: 124px;
  padding: 0.7rem;
  border-radius: 50%;
  background: var(--yolk);
  box-shadow: 0 10px 20px -8px rgba(43, 29, 22, 0.5);
  line-height: 1.1;
  text-align: center;
  rotate: 10deg;
}
/* Any further out and the rotated circle widens the page, which pushes the bottom bar off screen. */
@media (max-width: 639px) { .sticker { right: -4px; } }

.sticker strong { display: block; font-family: var(--font-display); font-size: 2rem; }
.sticker span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.about__more { margin-top: 1rem; }
.features { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 620px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}
.feature { padding: 1.2rem; border: 1px solid rgba(43, 29, 22, 0.08); border-radius: var(--radius); background: var(--paper); transition: transform 0.25s, box-shadow 0.25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon, .info__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(201, 58, 34, 0.1);
  color: var(--tomato);
}
.feature__icon { margin-bottom: 0.8rem; }
.feature__icon svg, .info__icon svg { width: 24px; height: 24px; fill: currentColor; }
.feature h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.feature p { margin-top: 0.3rem; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.45; }

/* ---------- Menu (chalkboard) ---------- */

.menu {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.07), transparent 38%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--board);
  color: var(--chalk);
}
.menu .eyebrow { color: var(--yolk); }
.menu .lead { color: rgba(244, 239, 226, 0.78); }

.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border: 1.5px dashed rgba(244, 239, 226, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--chalk);
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.chip i { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--dot); }
.chip:hover { border-color: var(--chalk); transform: translateY(-2px); }
.chip[aria-pressed='true'] { border-style: solid; border-color: var(--chalk); background: var(--chalk); color: var(--board); }
.chip[aria-pressed='true'] i { box-shadow: 0 0 0 1px rgba(31, 42, 38, 0.25); }

.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.4rem; }
.dish {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s;
}
.dish:not([hidden]) { animation: dish-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.dish:hover { transform: translateY(-6px) rotate(-0.6deg); }
@keyframes dish-in {
  from { opacity: 0; transform: translateY(18px) scale(0.95); }
}
.dish__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-deep); }
.dish__media picture, .dish__media img, .dish__media > svg { width: 100%; height: 100%; }
.dish__media img { object-fit: cover; transition: transform 0.5s; }
.dish:hover .dish__media img { transform: scale(1.07); }
.dish__tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.05rem 0.8rem;
  border-radius: 999px;
  background: var(--tomato);
  color: #fff;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  font-weight: 700;
  rotate: -4deg;
}
.dish__body { flex: 1; padding: 1.05rem 1.2rem 1.3rem; border-top: 5px solid var(--dot); }
.dish__color { color: var(--dot-ink); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.dish__name { margin-top: 0.3rem; font-size: 1.4rem; }
.dish__desc { margin-top: 0.45rem; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.5; }

/* Full menu page */
.menu-page { background: var(--board); }
.menu-page__inner { padding-block: calc(var(--header-h) + 2.2rem) 3rem; }
.menu-page h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); }
.menu-sections { max-width: 62rem; margin-inline: auto; }
.menu-section + .menu-section { margin-top: 2.6rem; }
/* Columns, not a grid: short sections stack instead of leaving gaps. */
@media (min-width: 860px) {
  .menu-sections { columns: 2; column-gap: 4rem; }
  .menu-section { break-inside: avoid; padding-bottom: 2.6rem; }
  .menu-section + .menu-section { margin-top: 0; }
}
.menu-section__title { color: var(--yolk); font-size: clamp(1.7rem, 5vw, 2.2rem); }
.menu-section__note { color: rgba(244, 239, 226, 0.78); }
.menu-section ul { margin-top: 0.7rem; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.1rem;
  padding-block: 0.6rem;
  border-bottom: 1.5px dotted rgba(244, 239, 226, 0.35);
}
.menu-item__name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: var(--font-body); font-size: 1.08rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.price { display: flex; flex: none; flex-direction: column; align-items: flex-end; color: var(--yolk); font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.price span { white-space: nowrap; }
.price span + span { color: rgba(244, 239, 226, 0.78); font-size: 0.92rem; font-weight: 500; }
.menu-page__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.6rem; }
.menu-page__back { margin-top: 1.8rem; text-align: center; }

/* Link to the full menu, below the highlights on the home page */
.menu-card {
  display: grid;
  gap: 1.8rem;
  margin-top: 3rem;
  padding: 1.6rem;
  border: 1.5px dashed rgba(244, 239, 226, 0.4);
  border-radius: 24px;
}
.menu-card__photo {
  width: min(100%, 230px);
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: none;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
  rotate: -2deg;
  transition: rotate 0.25s, scale 0.25s;
}
.menu-card__photo:hover { rotate: 0deg; scale: 1.03; }
.menu-card__photo img { display: block; width: 100%; height: auto; }
.menu-card__body { min-width: 0; text-align: center; }
.menu-card h3 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.menu-card h3 + p { margin-top: 0.6rem; color: rgba(244, 239, 226, 0.78); font-size: 1.08rem; }
.menu-card__actions { display: grid; gap: 0.9rem; margin-top: 1.3rem; }
.menu-card__ask { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1.5px dotted rgba(244, 239, 226, 0.3); font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.25; }
.menu-card__ask + .menu-card__actions { margin-top: 0.9rem; }
@media (min-width: 760px) {
  .menu-card:has(.menu-card__photo) { grid-template-columns: 260px 1fr; align-items: center; gap: 3.2rem; padding: 2.6rem 3rem; }
  .menu-card:has(.menu-card__photo) .menu-card__body { text-align: left; }
  .menu-card__photo { width: 100%; }
  .menu-card__actions { grid-template-columns: minmax(0, 22rem); }
  .menu-card:not(:has(.menu-card__photo)) .menu-card__actions { justify-content: center; }
}
@media (min-width: 1100px) {
  .menu-card__actions { grid-template-columns: repeat(2, minmax(0, 19rem)); }
}

/* ---------- Sayings ---------- */

.sayings { overflow: hidden; background: var(--cream-deep); text-align: center; }
.sayings .container { position: relative; z-index: 1; }
.carousel { position: relative; max-width: 54rem; margin-inline: auto; border-radius: var(--radius); }

/* Two plates turning slowly beside the sayings, wide screens only */
.plate { display: none; }
@media (min-width: 1100px) {
  .plate {
    position: absolute;
    top: calc(50% - 150px);
    display: block;
    width: 300px;
    height: 300px;
    border: 10px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    animation: spin 90s linear infinite;
  }
  .plate--left { left: calc(50% - 27rem - 330px); }
  .plate--right { right: calc(50% - 27rem - 330px); animation-direction: reverse; }
}
@keyframes spin { to { rotate: 360deg; } }
.carousel__track { display: grid; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.saying {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.5rem 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.6s, transform 0.6s, visibility 0s 0.6s;
}
.saying.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s, transform 0.6s; }
.saying blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}
.saying blockquote::before { content: '“'; color: var(--tomato); }
.saying blockquote::after { content: '”'; color: var(--tomato); }
.saying__meaning { color: var(--ink-soft); font-family: var(--font-hand); font-size: clamp(1.4rem, 2.8vw, 1.8rem); line-height: 1.2; }
.saying__meaning:empty { display: none; }
.saying figcaption { color: var(--basil-deep); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.8rem; }
.carousel__controls .icon-btn:hover { background: var(--ink); color: var(--cream); }
.carousel__dots { display: flex; align-items: center; gap: 0.5rem; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(43, 29, 22, 0.25); transition: width 0.3s, background-color 0.3s; }
.carousel__dots button[aria-current='true'] { width: 28px; background: var(--tomato); }

/* ---------- Gallery ---------- */

.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 42vw, 250px); grid-auto-flow: dense; gap: 0.9rem; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--cream-deep);
  cursor: zoom-in;
}
.tile picture, .tile img { width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform 0.6s; }
.tile:hover img { transform: scale(1.07); }
.tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 0.9rem 0.8rem;
  background: linear-gradient(transparent, rgba(20, 12, 8, 0.8));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.tile:hover .tile__caption, .tile:focus-visible .tile__caption { opacity: 1; transform: none; }
@media (hover: none) {
  .tile__caption { opacity: 1; transform: none; }
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  background: rgba(20, 12, 8, 0.93);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 12, 8, 0.6); }
.lightbox__figure { display: grid; justify-items: center; gap: 0.8rem; max-width: min(92vw, 1100px); }
.lightbox__figure img { width: auto; max-width: 100%; max-height: 76vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox__figure figcaption { font-family: var(--font-hand); font-size: 1.6rem; text-align: center; }
.lightbox .icon-btn { position: absolute; background: rgba(20, 12, 8, 0.5); }
.lightbox .icon-btn:hover { background: #fff; color: var(--ink); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__zoom { top: 1rem; right: calc(1rem + 58px); }
.lightbox__close, .lightbox__zoom { z-index: 1; }
.board-zoom { max-width: 100%; border-radius: 14px; }
.board-zoom img { display: block; max-width: min(92vw, 1100px); cursor: zoom-in; user-select: none; }
.board-zoom.is-zoomed {
  width: min(92vw, 1100px);
  height: 76vh;
  overflow: auto;
  overscroll-behavior: contain;
}
.board-zoom.is-zoomed img {
  width: max(min(230vw, 1024px), 110vh);
  max-width: none;
  max-height: none;
  margin-inline: auto;
  border-radius: 0;
  box-shadow: none;
  cursor: zoom-out;
}
.lightbox__prev { top: 50%; left: 1rem; margin-top: -23px; }
.lightbox__next { top: 50%; right: 1rem; margin-top: -23px; }

/* ---------- Reviews (order tickets) ---------- */

.reviews__summary { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 1rem; font-size: 1.08rem; }
.reviews__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 1.5rem; padding-top: 0.8rem; }

.ticket {
  position: relative;
  flex: 1 1 300px;
  max-width: 370px;
  padding: 1.7rem 1.4rem 1.2rem;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}
.ticket:nth-child(odd) { rotate: -0.9deg; }
.ticket:nth-child(even) { rotate: 0.8deg; }
.ticket::before {
  content: '';
  position: absolute;
  top: -11px;
  left: calc(50% - 11px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9278, var(--tomato) 62%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.ticket .stars { font-size: 1.1rem; }
.ticket__text { margin-top: 0.7rem; font-size: 1.05rem; line-height: 1.55; }
.ticket__note { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.78rem; font-style: italic; }
.ticket__note:empty { display: none; }
.ticket__author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 2px dashed rgba(43, 29, 22, 0.18); }
.ticket__author strong { display: block; line-height: 1.25; }
.ticket__author small { color: var(--ink-soft); }
.avatar { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--basil); color: #fff; font-family: var(--font-display); font-weight: 700; }
.avatar--tomato { background: var(--tomato); }
.avatar--yolk { background: var(--yolk); color: var(--ink); }

.reviews__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.8rem; }

/* ---------- Find us ---------- */

.find { background: var(--cream-deep); }
.find__grid { display: grid; gap: 1.6rem; }
@media (min-width: 900px) {
  .find__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
.find__card { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }

.info { display: grid; gap: 1.3rem; margin-top: 1.7rem; }
.info__row { display: grid; grid-template-columns: 44px 1fr; gap: 0.95rem; align-items: start; }
.info h3 { color: var(--ink-soft); font-family: var(--font-body); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.13em; line-height: 1.4; text-transform: uppercase; }
.info p { font-size: 1.08rem; font-weight: 500; line-height: 1.45; }
.info .info__minor { margin-top: 0.25rem; color: var(--ink-soft); font-size: 0.92rem; font-weight: 400; }
.info a { text-decoration-color: var(--tomato); text-underline-offset: 3px; }
.find__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.find__map { overflow: hidden; min-height: 380px; border: 6px solid #fff; border-radius: 24px; background: #e9e2d0; box-shadow: var(--shadow); }
.find__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */

.site-footer { padding: 3rem 0 2.2rem; background: var(--ink); color: var(--cream); text-align: center; }
.site-footer__wish { color: var(--yolk); font-family: var(--font-hand); font-size: clamp(1.6rem, 4.4vw, 2.4rem); line-height: 1.2; }
.site-footer .brand { margin-top: 1.4rem; }
.site-footer__line { margin-top: 1rem; color: rgba(251, 245, 230, 0.85); }
.site-footer__small { margin-top: 1.2rem; color: rgba(251, 245, 230, 0.55); font-size: 0.85rem; }

/* Call / WhatsApp / directions bar, phones only */
.action-bar { display: none; }
@media (max-width: 639px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  /* Buttons elsewhere that repeat what the bar already offers */
  .in-action-bar { display: none !important; }
  .action-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(43, 29, 22, 0.12);
    background: rgba(251, 245, 230, 0.97);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 59px;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }
  .action-bar a + a { border-left: 1px solid rgba(43, 29, 22, 0.08); }
  .action-bar a:active { background: rgba(43, 29, 22, 0.06); }
  .action-bar a:focus-visible { outline-offset: -3px; }
  .action-bar svg { width: 22px; height: 22px; fill: currentColor; }
  .action-bar__call svg { color: var(--tomato); }
  .action-bar__whatsapp svg { color: #0b7a4b; }
  .action-bar__directions svg { color: var(--ink-soft); }
}

/* ---------- 404 ---------- */

.not-found { display: grid; place-content: center; justify-items: center; gap: 0.4rem; min-height: 100vh; padding: 2rem 1rem; text-align: center; }
.not-found h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }

/* ---------- Scroll reveal (only once main.js has started) ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
