/* Bawarchi Indiano — dedicated house page. Independent of the chef homepage navy theme. */
:root {
  --bg: #fffdf9;
  --bg-pure: #ffffff;
  --ink: #142628;
  --ink-soft: #2f4649;
  --ink-faint: #4a6064;
  --maroon: #00565F;
  --salon-red: #00474F;
  --gold: #c8962a;
  --gold-text: #8a5a10; /* AA on white (5.9:1) */
  --gold-bright: #e0a838;
  --cream: #fffdf9;
  --serif: "EB Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 42rem;
  --header-h: 3.6rem;
  --chip-h: 3.1rem;
  --frame: 1.15rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
address { font-style: normal; }

.skip-link {
  position: absolute;
  left: .75rem;
  top: -4rem;
  z-index: 100;
  padding: .5rem .8rem;
  background: var(--cream);
  color: var(--ink);
}
.skip-link:focus { top: .75rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid rgba(200, 150, 42, .35);
}
.header-inner {
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.back-link {
  font-size: .78rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
}
.back-link:hover { color: var(--maroon); }

.header-brand {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header-brand:hover { color: var(--maroon); }
.header-reserve {
  display: none;
  margin-left: auto;
  text-decoration: none;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .7rem;
}
.header-reserve:hover { background: var(--maroon); color: var(--bg); }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 2.4rem 0 2.6rem;
  overflow: hidden;
}
.hero-frame {
  position: relative;
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
  padding: 2.2rem 1.15rem 2.1rem;
  border: 1px solid rgba(0, 86, 95, .28);
}
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 4.2rem;
  height: 4.2rem;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%23142628' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 48V14h34'/%3E%3Cpath d='M8 38c8-2 14-8 16-16M22 14c2 8 8 14 16 16'/%3E%3Cpath d='M14 22c10 4 20 14 24 28' opacity='.7'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .72;
}
.hero-frame::before { top: .35rem; left: .35rem; }
.hero-frame::after { top: .35rem; right: .35rem; transform: scaleX(-1); }
.hero-corners-bottom {
  position: absolute;
  inset: auto .35rem .35rem .35rem;
  height: 4.2rem;
  pointer-events: none;
}
.hero-corners-bottom span {
  position: absolute;
  width: 4.2rem;
  height: 4.2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%23142628' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 48V14h34'/%3E%3Cpath d='M8 38c8-2 14-8 16-16M22 14c2 8 8 14 16 16'/%3E%3Cpath d='M14 22c10 4 20 14 24 28' opacity='.7'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .72;
  transform: scaleY(-1);
}
.hero-corners-bottom span:last-child { right: 0; transform: scale(-1); }

.hero-logo {
  display: block;
  width: min(22rem, 86%);
  margin: 0 auto .35rem;
}
.hero-logo img {
  width: 100%;
  height: auto;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.hero h1 {
  margin: .15rem 0 .2rem;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem);
  letter-spacing: .02em;
  color: var(--maroon);
  line-height: 1.15;
}
.hero-tagline {
  margin: 0 auto .9rem;
  max-width: 28rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.hero-family {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  text-align: center;
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.wa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .75rem 1.2rem;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  text-decoration: none;
  font-size: .92rem;
  background: transparent;
}
.wa-button:hover { background: var(--maroon); color: var(--bg); }
.wa-button .icon,
.icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: inherit;
}
.icon svg { width: 100%; height: 100%; display: block; }
.text-link {
  color: var(--maroon);
  font-size: .9rem;
  letter-spacing: .04em;
}
.text-link:hover { color: var(--gold-text); }

.vine {
  display: block;
  width: min(16rem, 70%);
  height: 1.6rem;
  margin: 1.1rem auto 0;
  color: var(--gold-text);
}

/* ----- Photo band ----- */
.photo-band {
  position: relative;
  margin: 0;
}
.photo-band picture, .photo-band img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 68%;
}

/* ----- About ----- */
.about {
  padding: 2.5rem 0 2.2rem;
}
.about-copy {
  max-width: var(--measure);
  margin: 0 auto 1.8rem;
}
.kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 500;
}
.about h2,
.gallery-block h2,
.menu-intro h2,
.visit h2,
.delivery-block h2 {
  margin: 0 0 .55rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.45rem);
  color: var(--maroon);
  line-height: 1.15;
}
.flourish {
  display: block;
  width: 9.5rem;
  height: 1.15rem;
  margin: 0 0 1.15rem;
  color: var(--gold-text);
}
.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-photos {
  display: grid;
  gap: .85rem;
}
.about-photos figure { margin: 0; }
.about-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-photos figcaption,
.gallery-grid figcaption {
  margin: .4rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: .88rem;
  color: var(--ink-faint);
}

/* ----- Gallery ----- */
.gallery-block {
  padding: 0 0 2.6rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-top: 1rem;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.gallery-grid .span-2 { grid-column: 1 / -1; }
.gallery-grid .span-2 img { aspect-ratio: 16 / 9; }

/* ----- Cardápio ----- */
.menu-section {
  padding: 0 0 2.8rem;
}
.menu-intro {
  padding-top: 2.3rem;
  max-width: var(--measure);
}
.menu-intro p { margin: 0 0 1rem; color: var(--ink-soft); }
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.1rem;
  margin: .2rem 0 1.1rem;
}
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--maroon);
  font-size: .92rem;
  font-weight: 500;
}
.pdf-link:hover { color: var(--gold-text); }

.menu-chips {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .55rem 0 .7rem;
  margin: 0 -1rem;
  padding-inline: 1rem;
  background: var(--bg);
  border-bottom: 1px solid rgba(200, 150, 42, .28);
}
.menu-chips::-webkit-scrollbar { display: none; }
.menu-chip {
  flex: 0 0 auto;
  padding: .38rem .7rem;
  border: 1px solid rgba(200, 150, 42, .65);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: .78rem;
  letter-spacing: .03em;
  background: var(--bg-pure);
  white-space: nowrap;
}
.menu-chip:hover,
.menu-chip.is-active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

.menu-cat {
  margin: 0 0 .35rem;
  border-bottom: 1px solid rgba(200, 150, 42, .28);
  padding-bottom: .35rem;
  scroll-margin-top: calc(var(--header-h) + var(--chip-h) + .4rem);
}
.menu-cat > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.05rem .25rem .7rem;
  text-align: center;
}
.menu-cat > summary::-webkit-details-marker { display: none; }
.menu-cat h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.7rem);
  color: var(--maroon);
  letter-spacing: .04em;
  line-height: 1.25;
}
.menu-cat .cat-toggle {
  margin-top: .15rem;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: none;
  color: var(--ink-faint);
  opacity: .75;
}
.menu-cat[open] .cat-toggle-open { display: none; }
.menu-cat:not([open]) .cat-toggle-close { display: none; }

.dish-grid { padding: 0 .1rem 1rem; }
.dish {
  break-inside: avoid;
  padding: .55rem 0 .65rem;
}
.dish-head {
  display: flex;
  align-items: baseline;
  gap: .45rem;
}
.dish-name {
  flex: 0 1 auto;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.25;
}
.dish-dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted rgba(20, 38, 40, .45);
  min-width: 1.25rem;
  transform: translateY(-4px);
}
.dish-price {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-size: .95rem;
  color: var(--maroon);
  font-weight: 500;
  white-space: nowrap;
}
.dish-desc {
  margin: .2rem 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ----- Visit / info ----- */
.visit {
  background: var(--bg);
  color: var(--ink);
  padding: 2.6rem 0 2.4rem;
  border-top: 1px solid rgba(200, 150, 42, .28);
}
.visit h2 { color: var(--maroon); }
.visit .kicker { color: var(--gold-text); }
.visit .flourish { color: var(--gold); }
.visit p, .visit address { color: var(--ink-soft); margin: 0 0 .85rem; }
.visit .label {
  display: block;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: .2rem;
}
.visit .wa-button {
  margin: .2rem 0 1rem;
}
.hours-list { margin: 0 0 1.1rem; padding: 0; list-style: none; }
.hours-list li { margin: 0 0 .25rem; color: var(--ink-soft); }
.house-map {
  position: relative;
  display: block;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 16 / 9;
  margin: .2rem 0 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 86, 95, .18);
  background: #f3f0ea url("assets/maps/bawarchi-humberto.jpg") center / cover no-repeat;
}
.house-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.visit-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  margin: 0 0 1.2rem;
}
.visit-links a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.visit-links a:hover { color: var(--gold-text); }

.delivery-block { margin-top: 1.6rem; }
.delivery-block h2 { font-size: 1.55rem; }
.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  max-width: 26rem;
}
.platform {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding: .55rem .7rem;
  background: var(--bg-pure);
  border: 1px solid rgba(0, 86, 95, .16);
  text-decoration: none;
  color: var(--ink);
}
.platform img {
  width: auto;
  height: 36px;
  object-fit: contain;
}
.platform.is-static { cursor: default; }

/* ----- Footer ----- */
.site-footer {
  background: var(--bg);
  color: var(--ink-soft);
  padding: 1.6rem 0 1.5rem;
  border-top: 1px solid rgba(200, 150, 42, .28);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.2rem;
}
.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .92rem;
}
.footer-nav a:hover { color: var(--maroon); }
.footer-bottom {
  font-size: .78rem;
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

/* ----- Reveal ----- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----- Desktop ----- */
@media (min-width: 720px) {
  .header-reserve { display: inline-flex; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .about-photos {
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
  }
  .about-photos figure:first-child img { aspect-ratio: 4 / 5; }
  .gallery-grid {
    grid-template-columns: 1.2fr .8fr .9fr;
    grid-template-rows: auto auto;
  }
  .gallery-grid .span-2 {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
  }
  .gallery-grid .span-2 img {
    aspect-ratio: auto;
    flex: 1 1 auto;
    height: auto;
    min-height: 12rem;
    object-fit: cover;
  }
  .platforms { grid-template-columns: repeat(4, 1fr); max-width: 36rem; }
  .platform { min-height: 4.6rem; }
  .platform img { height: 38px; }
  .visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: .75rem 1.2rem; }
  .footer-bottom { flex-direction: row; gap: 1.2rem; }
  .visit-links { flex-direction: row; flex-wrap: wrap; gap: .75rem 1.2rem; }
}

@media (min-width: 900px) {
  .hero { padding: 3.2rem 0 3.4rem; }
  .hero-frame { padding: 3rem 2.5rem 2.6rem; }
  .hero-logo { width: min(28rem, 60%); }
  .dish-grid {
    columns: 2;
    column-gap: 2.6rem;
  }
  .menu-chips {
    margin-left: 0;
    margin-right: 0;
    padding-inline: 0;
    flex-wrap: wrap;
    overflow: visible;
  }
  .menu-cat > summary { pointer-events: none; }
  .menu-cat .cat-toggle { display: none; }
}

@media (min-width: 1100px) {
  .wrap, .header-inner, .hero-frame {
    width: min(1180px, calc(100% - 3rem));
  }
}

.visit-address { margin: 0 0 .85rem; }
.visit-address address { margin: 0; }
.gallery-thali {
  grid-column: 1 / -1;
  max-width: 18rem;
  justify-self: center;
  width: 100%;
}
@media (min-width: 720px) {
  .gallery-thali img { aspect-ratio: 399 / 501; }
}

.visit-links .icon-map { margin-right: .3rem; vertical-align: middle; }

/* Optical size tweaks so delivery marks sit at a similar visual weight */
.platform img[alt="Keeta"],
.platform img[src*="keeta"] { height: 32px; }
.platform img[src*="99food"] { height: 34px; }
.platform img[src*="ifood"] { height: 28px; }
.platform img[src*="rappi"] { height: 30px; }
@media (min-width: 720px) {
  .platform img[alt="Keeta"],
  .platform img[src*="keeta"] { height: 34px; }
  .platform img[src*="99food"] { height: 36px; }
  .platform img[src*="ifood"] { height: 30px; }
  .platform img[src*="rappi"] { height: 32px; }
}


/* -------------------------------------------------------------------------- */
/* Visually hidden full menu (screen readers)                                  */
/* -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------- */
/* 3D flipbook cardápio                                                        */
/* -------------------------------------------------------------------------- */

.menu-book-ui {
  margin: .4rem 0 1.5rem;
}

.menu-book-scene {
  --page-w: min(20.6rem, calc(100vw - 3.2rem));
  --page-h: 28.75rem;
  perspective: 1800px;
  perspective-origin: 50% 46%;
  display: flex;
  justify-content: center;
  padding: 1.1rem 0 1.4rem;
}

.menu-book {
  position: relative;
  width: var(--page-w);
  height: var(--page-h);
  transform-style: preserve-3d;
  transform: rotateY(-11deg) rotateX(5deg);
  transform-origin: center center;
  transition: transform .55s ease, width .55s ease;
}

.menu-book.is-open {
  transform: rotateY(-3deg) rotateX(2deg);
}
.menu-book.is-open-leaf {
  transform: rotateY(-4deg) rotateX(2deg);
}

@media (hover: hover) and (pointer: fine) {
  .menu-book-scene.is-tilting .menu-book {
    transition: width .55s ease;
  }
}

.menu-book-scene.has-reduced .menu-book,
@media (prefers-reduced-motion: reduce) {
  .menu-book {
    transform: none;
    transition: width .35s ease;
  }
  .menu-book.is-open { transform: none; }
}

.book-thickness {
  position: absolute;
  top: 2px;
  right: -9px;
  width: 9px;
  height: calc(100% - 4px);
  border-radius: 0 2px 2px 0;
  background:
    repeating-linear-gradient(
      to right,
      #f4efe6 0 1px,
      #d9cbb4 1px 2px
    );
  box-shadow: 2px 4px 10px rgba(20, 38, 40, .18);
  transform: translateZ(-2px);
  pointer-events: none;
}

/* Thickness moves to the spine only on the desktop two-page spread. */
@media (min-width: 900px) {
  .menu-book.is-open .book-thickness {
    right: auto;
    left: calc(50% - 4px);
    width: 8px;
    background: linear-gradient(to right, #c8b89a, #efe6d4 40%, #c8b89a);
    opacity: .85;
  }
}

.sheet {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--page-w);
  height: var(--page-h);
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2, .7, .15, 1);
}

/* When closed, sheets sit on the single-page book. When opening to a spread,
   sheets originate at the spine (50%). Single-page (mobile) keeps left: 0. */
@media (min-width: 900px) {
  .menu-book-scene {
    --page-w: min(22.25rem, 36vw);
    --page-h: 31.5rem;
    padding: 1.4rem 0 1.8rem;
  }
  .menu-book.is-open {
    width: calc(var(--page-w) * 2);
  }
  .menu-book.is-open .sheet { left: 50%; }
}

/* Mobile / single-page: keep the book centered, no spread offset, no tilt
   that perspective would enlarge or shift past the viewport. */
@media (max-width: 899px) {
  html, body { overflow-x: hidden; }
  .menu-book-ui { max-width: 100%; overflow-x: hidden; }
  .menu-book-scene {
    --page-w: min(20.4rem, calc(100vw - 2.75rem));
    perspective: 1800px;
    perspective-origin: 50% 50%;
    padding: 1rem 0.9rem 1.25rem;
    overflow: hidden;
    box-sizing: border-box;
  }
  .menu-book {
    overflow: hidden;
  }
  .menu-book,
  .menu-book.is-open,
  .menu-book.is-open-leaf {
    transform: none;
    width: var(--page-w);
    margin-inline: auto;
    transform-origin: center center;
  }
  .menu-book .sheet,
  .menu-book.is-open .sheet,
  .menu-book.is-open-leaf .sheet {
    left: 0;
  }
  .book-thickness,
  .menu-book.is-open .book-thickness,
  .menu-book.is-open-leaf .book-thickness {
    right: -5px;
    left: auto;
    width: 6px;
    box-shadow: 1px 2px 5px rgba(20, 38, 40, .14);
  }
  .sheet.is-turning .page-front {
    box-shadow:
      inset 0 0 0 3px #fff,
      inset 0 0 0 4px rgba(200, 150, 42, .45),
      -8px 0 14px rgba(20, 38, 40, .16);
  }
}

.sheet.flipped { transform: rotateY(-180deg); }

/* Mobile: never swing a leaf to -180° (that exits the left edge and mirrors the back). */
@media (max-width: 899px) {
  .menu-book:not(.is-flat) .sheet.flipped { transform: none; }
  .menu-book:not(.is-flat) .page-back {
    visibility: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .menu-book:not(.is-flat) .page-front {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

.sheet.is-turning {
  /* raised while the leaf is in motion */
}

.page {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  border: 1px solid rgba(0, 86, 95, .16);
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 0 4px rgba(200, 150, 42, .45);
}

.page-front { transform: rotateY(0deg) translateZ(0.4px); }
.page-back { transform: rotateY(180deg) translateZ(0.4px); }

/* Spine / outer-edge shading */
.page-front::before,
.page-back::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(to right, rgba(20, 38, 40, .1), rgba(20, 38, 40, 0));
}
.page-back::before {
  inset: 0 0 0 auto;
  background: linear-gradient(to left, rgba(20, 38, 40, .1), rgba(20, 38, 40, 0));
}
.page-front::after,
.page-back::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 10%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(20, 38, 40, .06), transparent);
}
.page-back::after {
  inset: 0 auto 0 0;
  background: linear-gradient(to right, rgba(20, 38, 40, .06), transparent);
}

/* Mid-flip shadow band on the turning leaf */
.sheet.is-turning .page-front {
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 0 4px rgba(200, 150, 42, .45),
    -18px 0 28px rgba(20, 38, 40, .28);
}
.sheet.is-turning .page-front::after {
  width: 28%;
  background: linear-gradient(to left, rgba(20, 38, 40, .18), rgba(200, 150, 42, .08) 40%, transparent);
}
.sheet.is-turning .page-back::before {
  width: 28%;
  background: linear-gradient(to left, rgba(20, 38, 40, .16), transparent);
}

.page-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1rem 1.05rem .85rem 1.15rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Cover */
.page-cover {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.2rem;
  text-align: center;
}
.page-cover .cover-frame {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.35rem .9rem;
  border: 1px solid rgba(0, 86, 95, .45);
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 0 4px rgba(200, 150, 42, .7);
}
.page-cover .cover-frame::before,
.page-cover .cover-frame::after,
.page-cover .cover-corners span {
  content: "";
  position: absolute;
  width: 2.6rem;
  height: 2.6rem;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%2300565F' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 48V14h34'/%3E%3Cpath d='M8 38c8-2 14-8 16-16M22 14c2 8 8 14 16 16'/%3E%3Cpath d='M14 22c10 4 20 14 24 28' opacity='.7'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .8;
}
.page-cover .cover-frame::before { top: .3rem; left: .3rem; }
.page-cover .cover-frame::after { top: .3rem; right: .3rem; transform: scaleX(-1); }
.cover-corners { position: absolute; inset: auto .3rem .3rem .3rem; height: 2.6rem; pointer-events: none; }
.cover-corners span {
  position: absolute;
  width: 2.6rem;
  height: 2.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%2300565F' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 48V14h34'/%3E%3Cpath d='M8 38c8-2 14-8 16-16M22 14c2 8 8 14 16 16'/%3E%3Cpath d='M14 22c10 4 20 14 24 28' opacity='.7'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .8;
  transform: scaleY(-1);
}
.cover-corners span:last-child { right: 0; transform: scale(-1); }

.page-cover .cover-logo {
  width: min(16rem, 88%);
  height: auto;
  margin: 0 auto .85rem;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.page-cover .cover-word {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--maroon);
  letter-spacing: .04em;
}
.page-cover .cover-kicker {
  margin: .35rem 0 0;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.page-endpaper {
  background:
    radial-gradient(ellipse at 50% 40%, #fff 0%, #fffdf9 60%, #f6eee0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-endpaper .flourish { width: 8rem; color: var(--gold); }

.page-inner h3 {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--maroon);
  letter-spacing: .03em;
  line-height: 1.2;
}
.page-inner .page-sub {
  margin: .12rem 0 0;
  text-align: center;
  font-size: .66rem;
  letter-spacing: .04em;
  color: var(--maroon);
  opacity: .75;
  line-height: 1.25;
}
.page-inner .flourish {
  width: 7.5rem;
  height: 1rem;
  margin: .1rem auto .4rem;
  color: var(--gold-text);
}
.page-inner .page-cont {
  display: block;
  text-align: center;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: lowercase;
  color: var(--gold-text);
  margin: -.2rem 0 .3rem;
}

.leaf-items { flex: 1; overflow: hidden; min-height: 0; }

.leaf-items .dish { margin: 0; padding: .22rem 0 .26rem; }
.leaf-items .dish-name {
  margin: 0;
  font-size: .9rem;
  line-height: 1.2;
}
.leaf-items .dish-price { font-size: .8rem; }
.leaf-items .dish-desc {
  margin: .1rem 0 0;
  font-size: .66rem;
  line-height: 1.3;
}
.leaf-items .dish-dots { border-bottom-color: rgba(0, 86, 95, .35); }

.leaf-probe {
  overflow: hidden;
  box-sizing: border-box;
}
.leaf-probe .page-inner {
  height: auto !important;
  overflow: visible !important;
  width: 100%;
  box-sizing: border-box;
}
.leaf-probe .leaf-body,
.leaf-probe .leaf-items {
  flex: none !important;
  overflow: visible !important;
  height: auto;
  min-height: 0;
  min-width: 0 !important;
  max-width: 100%;
  width: 100%;
}

.menu-book-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 0 0 .7rem;
}
.menu-nav {
  appearance: none;
  background: #fff;
  color: var(--maroon);
  border: 1px solid var(--maroon);
  padding: .45rem .85rem;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .04em;
  cursor: pointer;
}
.menu-nav:hover:not(:disabled) { background: var(--maroon); color: #fff; }
.menu-nav:disabled { opacity: .35; cursor: default; }
.menu-nav:focus-visible,
#menu-jump:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.menu-indicator {
  margin: 0;
  min-width: 5.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: .88rem;
  color: var(--ink-soft);
}

.menu-book-index {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 0 0 .2rem;
}
.menu-book-index label {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-text);
}
#menu-jump {
  appearance: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(200, 150, 42, .7);
  padding: .35rem 1.6rem .35rem .6rem;
  font-family: var(--sans);
  font-size: .85rem;
  max-width: min(18rem, 80vw);
  background-image: linear-gradient(45deg, transparent 50%, var(--maroon) 50%), linear-gradient(135deg, var(--maroon) 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% - 3px), calc(100% - 7px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* Reduced-motion flat crossfade */
.menu-book.is-flat {
  transform: none;
  width: var(--page-w);
  overflow: hidden;
}
.menu-book.is-flat.is-open-spread {
  width: calc(var(--page-w) * 2);
  overflow: hidden;
}
.menu-book.is-flat .sheet {
  left: 0;
  transition: opacity .4s ease;
  transform: none !important;
}
.menu-book.is-flat.is-open-spread .sheet.flat-left { left: 0; }
.menu-book.is-flat.is-open-spread .sheet.flat-right { left: 50%; }
.menu-book.is-flat .page-back {
  /* in flat mode we swap visible face by class rather than 3D */
}

@media (prefers-reduced-motion: reduce) {
  .sheet { transition: none; }
}

.sheet.no-anim-temp,
.menu-book.jumping .sheet { transition: none !important; }

.menu-book.is-flat .sheet {
  transition: opacity .4s ease !important;
}
.menu-book.is-flat .sheet.flipped .page-front { visibility: hidden; }
.menu-book.is-flat .sheet.flipped .page-back {
  transform: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}
.menu-book.is-flat .sheet:not(.flipped) .page-back { visibility: hidden; }
.menu-book.is-flat .sheet:not(.flipped) .page-front {
  transform: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}


/* Shared CTA buttons (WhatsApp style): Instagram, Maps, PDF, Ver o cardápio */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .75rem 1.2rem;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  text-decoration: none;
  font-size: .92rem;
  background: transparent;
  line-height: 1.2;
}
.cta-button:hover { background: var(--maroon); color: var(--bg); }
.cta-button .icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: inherit;
}
.visit .cta-button { margin: 0; }
.visit-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  margin: 0 0 1.2rem;
}
.visit-links a.cta-button {
  color: var(--maroon);
  text-decoration: none;
}
.visit-links a.cta-button:hover { color: var(--bg); }
.menu-toolbar .cta-button { margin: .15rem 0 .4rem; }


/* Editorial photo gallery: rounded, staggered, shadow, hover zoom */
.food-strip-block { padding: 1.6rem 0 2.2rem; overflow: visible; }
.food-strip {
  display: flex;
  gap: .85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  -webkit-overflow-scrolling: touch;
  padding: .35rem 0 1.2rem;
  margin: 0;
  scrollbar-width: thin;
}
.food-strip figure,
.about-photos figure,
.gallery-grid figure {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bg-pure);
  box-shadow: 0 10px 28px rgba(20, 38, 40, .16);
}
.food-strip figure {
  flex: 0 0 min(68vw, 16.5rem);
  scroll-snap-align: start;
}
.food-strip img,
.about-photos img,
.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform-origin: center;
  transition: transform .55s ease;
}
.food-strip img { aspect-ratio: 4 / 5; }
.food-strip figcaption,
.about-photos figcaption,
.gallery-grid figcaption {
  margin: .45rem .7rem .65rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .88rem;
  color: var(--ink-faint);
}
@media (hover: hover) and (pointer: fine) {
  .food-strip figure:hover img,
  .about-photos figure:hover img,
  .gallery-grid figure:hover img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .food-strip img,
  .about-photos img,
  .gallery-grid img { transition: none; }
  .food-strip figure:hover img,
  .about-photos figure:hover img,
  .gallery-grid figure:hover img { transform: none; }
}


@media (max-width: 719px) {
  .gallery-grid,
  .food-strip {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: .85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    padding: .2rem 0 1rem;
  }
  .gallery-grid figure,
  .food-strip figure,
  .gallery-grid .span-2,
  .gallery-grid .gallery-thali,
  .food-strip figure.is-feature {
    flex: 0 0 min(70vw, 16.5rem);
    width: min(70vw, 16.5rem);
    max-width: min(70vw, 16.5rem);
    height: auto;
    min-height: 0;
    margin: 0;
    transform: none;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }
  .gallery-grid figure picture,
  .food-strip figure picture,
  .gallery-grid .span-2 picture {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    display: block;
  }
  .about-photos {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: .85rem;
  }
  .about-photos figure {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    transform: none;
    display: flex;
    flex-direction: column;
  }
  .gallery-grid img,
  .gallery-grid .span-2 img,
  .gallery-grid .gallery-thali img,
  .food-strip img,
  .food-strip figure.is-feature img,
  .food-strip figure:nth-child(n) img {
    aspect-ratio: 4 / 5;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    flex: none;
    object-fit: cover;
    display: block;
  }
  .about-photos img,
  .about-photos figure:first-child img,
  .about-photos figure:last-child img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    flex: none;
    object-fit: cover;
    display: block;
  }
  .gallery-grid figcaption,
  .about-photos figcaption,
  .food-strip figcaption {
    margin: .45rem .7rem .65rem;
    flex: 0 0 auto;
  }
}

@media (min-width: 720px) {
  .food-strip {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    align-items: end;
    gap: 1.15rem 1.2rem;
    overflow: visible;
    scroll-snap-type: none;
    padding: 1.6rem 0 1.8rem;
  }
  .food-strip figure { width: auto; flex: none; }
  .food-strip figure.is-feature img,
  .food-strip figure:nth-child(1) img { aspect-ratio: 4 / 5; }
  .food-strip figure:nth-child(2) { transform: translateY(-1.5rem); }
  .food-strip figure:nth-child(2) img { aspect-ratio: 1 / 1; }
  .food-strip figure:nth-child(3) { transform: translateY(1rem); }
  .food-strip figure:nth-child(3) img { aspect-ratio: 3 / 4; }

  .about-photos {
    grid-template-columns: 1.2fr .9fr;
    align-items: end;
    gap: 1.15rem;
  }
  .about-photos figure:first-child { transform: none; }
  .about-photos figure:first-child img { aspect-ratio: 4 / 5; }
  .about-photos figure:last-child { transform: translateY(-1.4rem); }
  .about-photos figure:last-child img { aspect-ratio: 1 / 1; }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr .85fr .95fr;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 1.15rem 1.2rem;
    padding: 1rem 0 1.6rem;
  }
  .gallery-grid .span-2 {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    transform: none;
  }
  .gallery-grid .span-2 img {
    aspect-ratio: auto;
    flex: 1 1 auto;
    height: auto;
    min-height: 16rem;
    object-fit: cover;
  }
  .gallery-grid figure:nth-child(2) { transform: translateY(-1.1rem); }
  .gallery-grid figure:nth-child(2) img { aspect-ratio: 4 / 5; }
  .gallery-grid figure:nth-child(3) { transform: translateY(.6rem); }
  .gallery-grid figure:nth-child(3) img { aspect-ratio: 1 / 1; }
  .gallery-grid .gallery-thali {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
    width: 100%;
    transform: translateY(1.15rem);
  }
  .gallery-grid @media (min-width: 720px) {
  .gallery-thali img { aspect-ratio: 399 / 501; }
}
}

@media (min-width: 720px) {
  .visit-links { flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: .7rem; }
}

@media (min-width: 720px) {
  .gallery-grid {
    align-items: stretch;
  }
  .gallery-grid .span-2 {
    align-self: stretch;
    height: auto;
  }
  .gallery-grid .span-2 img {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid .gallery-thali {
    transform: none;
  }
  .gallery-grid figure:nth-child(2) { margin-top: 0; }
  .gallery-grid figure:nth-child(3) { margin-top: 1.4rem; }
  .gallery-grid .gallery-thali { margin-top: .4rem; }
}

@media (min-width: 720px) {
  .gallery-grid .span-2 {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .gallery-grid .span-2 picture {
    flex: 1 1 auto;
    min-height: 0;
    display: block;
    height: 100%;
    overflow: hidden;
  }
  .gallery-grid .span-2 img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
  }
}


/* Hero table photo: cap at 1000px (source is 1204px wide, never upscaled), cover crop. */
.photo-band.photo-band-hero {
  margin: 0 auto;
  max-width: 1000px;
  background: var(--bg);
}
.photo-band.photo-band-hero picture,
.photo-band.photo-band-hero img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
.about-photos .about-photo-chai { object-position: 50% 42%; }
.about-photos .about-photo-mesa { object-position: 50% 48%; }

/* ----- Petróleo em todo o site: nav e rodapé #00262B, seção Visite #00565F (dourado como acento) ----- */
.site-header { background: #00262B; color: #fff; border-bottom: 1px solid rgba(226, 189, 107, .45); }
.header-brand, .back-link { color: #fff; }
.header-brand:hover, .back-link:hover { color: #e2bd6b; }
.header-reserve { border-color: #e2bd6b; color: #fff; }
.header-reserve:hover { background: #e2bd6b; color: #00262B; }
.header-reserve:focus-visible, .site-footer a:focus-visible, .visit a:focus-visible { outline: 2px solid #e2bd6b; outline-offset: 2px; }
.site-footer { background: #00262B; color: rgba(255, 255, 255, .78); border-top: 3px solid var(--gold); }
.site-footer .footer-nav a { color: rgba(255, 255, 255, .82); }
.site-footer .footer-nav a:hover { color: #e2bd6b; }
.site-footer .footer-bottom { color: rgba(255, 255, 255, .66); }
.visit { background: #00565F; color: #fff; border-top: 0; }
.visit h2, .visit .delivery-block h2 { color: #fff; }
.visit .kicker, .visit .label { color: #e2bd6b; }
.visit .flourish { color: #e2bd6b; }
.visit p, .visit address, .visit .hours-list li { color: rgba(255, 255, 255, .88); }
.visit .wa-button, .visit .cta-button, .visit .visit-links a, .visit .visit-links a.cta-button { border-color: #e2bd6b; color: #fff; background: transparent; }
.visit .wa-button:hover, .visit .cta-button:hover, .visit .visit-links a:hover, .visit .visit-links a.cta-button:hover { background: #e2bd6b; color: #00262B; }
.visit .house-map { border-color: rgba(226, 189, 107, .45); }
.visit .platform { border-color: rgba(226, 189, 107, .35); }

/* ===== Desktop (>=1024px): grade limpa e alinhada para as imagens (banner, A casa, O salão) ===== */
@media (min-width: 1024px) {
  /* Banner: largura do conteúdo, proporção paisagem, sem foto gigante em pé */
  .photo-band.photo-band-hero {
    width: min(1180px, calc(100% - 3rem));
    max-width: none;
    margin: 0 auto;
  }
  .photo-band.photo-band-hero picture,
  .photo-band.photo-band-hero img {
    max-width: none;
    aspect-ratio: 16 / 9;
    object-position: 50% 45%;
  }

  /* A casa: duas fotos lado a lado, mesma altura, ocupando a largura */
  .about-photos {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 1.25rem;
  }
  .about-photos figure:first-child,
  .about-photos figure:last-child { transform: none; margin: 0; }
  .about-photos figure:first-child img,
  .about-photos figure:last-child img { aspect-ratio: 4 / 5; height: auto; }

  /* O salão: foto larga em destaque + três fotos iguais abaixo */
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: start;
    gap: 1.25rem;
    padding: 1rem 0 0;
    height: auto;
    overflow: visible;
  }
  .gallery-grid figure,
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid .gallery-thali {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
    width: 100%;
    margin: 0;
    transform: none;
    justify-self: stretch;
  }
  .gallery-grid .span-2 {
    grid-column: 1 / -1;
    grid-row: auto;
    display: block;
    height: auto;
  }
  .gallery-grid .span-2 picture { display: block; height: auto; }
  .gallery-grid .span-2 img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-position: 50% 55%;
  }
  .gallery-grid figure:not(.span-2) img,
  .gallery-thali img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .gallery-grid figure:nth-child(3) img { object-position: 30% 50%; }
  .gallery-thali img { object-position: 50% 55%; }
}

/* Cardápio 3D só com nomes dos pratos (sem preços, pontilhado nem descrições) */
.leaf-items .dish.dish-name-only { padding: .32rem 0 .36rem; border-bottom: 1px solid rgba(0, 86, 95, .1); }
.leaf-items .dish.dish-name-only:last-child { border-bottom: 0; }
.leaf-items .dish-name-only .dish-name { margin: 0; font-size: .98rem; line-height: 1.25; }

/* Avaliações (Google) */
.rv-stars { position: relative; display: inline-block; width: 5.4em; height: 1.08em; vertical-align: -.14em; flex: 0 0 auto; }
.rv-stars svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-stars-bg { fill: currentColor; opacity: .22; }
.rv-stars-fill { fill: #e2bd6b; }
.rv-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; margin: 0 0 1.1rem; }
.rv-house-name { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; }
.rv-score { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin: 0; font-size: .92rem; }
.rv-score .rv-stars { font-size: 1.05rem; }
.rv-score-num { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1; }
.rv-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.rv-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; margin: 0; padding: 1.35rem 1.35rem 1.15rem; border-radius: 14px; }
.rv-quote { margin: 0; }
.rv-quote p { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; font-style: italic; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: 0; font-size: .86rem; }
.rv-meta .rv-stars { font-size: .95rem; }
.rv-author { font-weight: 500; }
.rv-source { margin-left: auto; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.rv-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .85rem; font-weight: 500; font-size: .92rem; text-decoration: underline; text-underline-offset: .22em; }
@media (min-width: 768px) { .rv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.reviews-block { background: #f4efe4; padding: 2.6rem 0 2.8rem; border-top: 1px solid rgba(0, 86, 95, .12); }
.reviews-intro { margin: 0 0 1.4rem; }
.reviews-intro h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.45rem); color: #00565F; line-height: 1.15; }
.reviews-block .rv-score { color: var(--ink-soft); }
.reviews-block .rv-score-num { color: #00262B; }
.reviews-block .rv-stars-bg { fill: #00565F; }
.reviews-block .rv-stars-fill { fill: #c8962a; }
.reviews-block .rv-card { background: #fff; border: 1px solid rgba(0, 86, 95, .14); border-top: 3px solid #00565F; box-shadow: 0 10px 24px rgba(0, 38, 43, .06); color: var(--ink); }
.reviews-block .rv-quote p { color: #142628; }
.reviews-block .rv-meta { color: var(--ink-soft); }
.reviews-block .rv-author { color: #00262B; }
.reviews-block .rv-source { color: var(--gold-text); }
.reviews-block .rv-link { color: #00565F; }
.reviews-block .rv-link:hover { color: #00262B; }

/* Avaliações: fotos de perfil / iniciais */
.rv-meta { flex-wrap: nowrap; gap: .7rem; }
.rv-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: block; }
.rv-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rv-initial { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1; }
.rv-who { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.rv-who .rv-author { line-height: 1.25; overflow-wrap: anywhere; }
.rv-meta .rv-source { margin-left: auto; align-self: center; flex: 0 0 auto; }
.reviews-block .rv-initial { background: #00565F; color: #fff; }
.reviews-block .rv-avatar { box-shadow: 0 0 0 2px rgba(0, 86, 95, .18); }

/* -------------------------------------------------------------------------- */
/* Official PDF menu pages inside the 3D flipbook                              */
/* -------------------------------------------------------------------------- */

.menu-book-scene.is-pdf-pages.is-portrait {
  --page-w: min(20.6rem, calc(100vw - 2.75rem));
  --page-h: calc(var(--page-w) * 826.08 / 646.08);
}
.menu-book-scene.is-pdf-pages.is-landscape {
  --page-w: min(52rem, calc(100vw - 2.5rem));
  --page-h: calc(var(--page-w) * 425.197 / 841.89);
}
@media (min-width: 900px) {
  .menu-book-scene.is-pdf-pages.is-portrait {
    --page-w: min(22.25rem, 36vw);
    --page-h: calc(var(--page-w) * 826.08 / 646.08);
  }
  .menu-book-scene.is-pdf-pages.is-landscape {
    --page-w: min(68rem, calc(100vw - 3.5rem), 1120px);
    --page-h: calc(var(--page-w) * 425.197 / 841.89);
  }
}

.is-pdf-pages .page {
  background: #1a1a1a;
  border: 1px solid rgba(20, 38, 40, .28);
  box-shadow: 0 8px 22px rgba(20, 38, 40, .18);
}
.is-pdf-pages .sheet.is-turning .page-front {
  box-shadow:
    0 8px 22px rgba(20, 38, 40, .18),
    -18px 0 28px rgba(20, 38, 40, .28);
}
.is-pdf-pages .page-front::before,
.is-pdf-pages .page-back::before {
  width: 12%;
  background: linear-gradient(to right, rgba(20, 38, 40, .16), rgba(20, 38, 40, 0));
  z-index: 2;
}
.is-pdf-pages .page-back::before {
  background: linear-gradient(to left, rgba(20, 38, 40, .16), rgba(20, 38, 40, 0));
}
.is-pdf-pages .page-front::after,
.is-pdf-pages .page-back::after {
  width: 8%;
  z-index: 2;
}

.page-inner.page-photo {
  padding: 0;
  display: block;
  background: #111;
}
.page-inner.page-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  background: #111;
  -webkit-user-drag: none;
  user-select: none;
  cursor: zoom-in;
}

.menu-book-hint {
  margin: .15rem 0 0;
  text-align: center;
  font-size: .82rem;
  color: var(--ink-faint);
}
.menu-zoom-btn {
  margin-left: .35rem;
  border: 1px solid rgba(0, 86, 95, .28);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .85rem;
  padding: .25rem .7rem;
  cursor: pointer;
  border-radius: 999px;
}
.menu-zoom-btn:hover,
.menu-zoom-btn:focus-visible {
  border-color: var(--maroon);
  color: var(--maroon);
}

.menu-zoom {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 18, 20, .88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.2rem 1rem 1.2rem;
  touch-action: none;
}
.menu-zoom[hidden] { display: none; }
.menu-zoom-toolbar {
  position: absolute;
  top: .7rem;
  right: .7rem;
  display: flex;
  gap: .4rem;
  z-index: 2;
}
.menu-zoom-toolbar button {
  min-width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #142628;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.menu-zoom-stage {
  flex: 1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}
.menu-zoom-stage.is-panning { cursor: grabbing; }
.menu-zoom-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.menu-zoom-caption {
  color: #f4efe6;
  font-size: .9rem;
  margin: .6rem 0 0;
}

/* Landscape PDF menus are already a full spread: keep them flat and clipped
   so a leftover 180° leaf cannot peek out under Chrome 3D compositing. */
.menu-book-scene.is-pdf-pages.is-landscape .menu-book,
.menu-book-scene.is-pdf-pages.is-landscape .menu-book.is-open,
.menu-book-scene.is-pdf-pages.is-landscape .menu-book.is-open-leaf {
  transform: none !important;
  overflow: hidden;
  width: var(--page-w);
  margin-inline: auto;
}
.menu-book-scene.is-pdf-pages.is-landscape .sheet,
.menu-book-scene.is-pdf-pages.is-landscape .menu-book.is-open .sheet,
.menu-book-scene.is-pdf-pages.is-landscape .menu-book.is-open-leaf .sheet {
  left: 0;
}
.menu-book-scene.is-pdf-pages.is-landscape .menu-book:not(.is-flat) .sheet.flipped {
  visibility: hidden !important;
  pointer-events: none;
  transform: none;
}
.menu-book-scene.is-pdf-pages.is-landscape {
  perspective: none;
  overflow: hidden;
}

/* Landscape PDF pages are already a full printed spread: do not paint a
   12% spine shade over the left column (it clips dish names on desktop). */
.menu-book-scene.is-pdf-pages.is-landscape .page-front::before,
.menu-book-scene.is-pdf-pages.is-landscape .page-back::before,
.menu-book-scene.is-pdf-pages.is-landscape .page-front::after,
.menu-book-scene.is-pdf-pages.is-landscape .page-back::after,
.menu-book-scene.is-pdf-pages.is-landscape .sheet.is-turning .page-front::after,
.menu-book-scene.is-pdf-pages.is-landscape .sheet.is-turning .page-back::before {
  display: none;
}

/* Fully remove turned landscape leaves from the render tree.
   visibility:hidden is not enough under Chrome preserve-3d: the previous
   page can still composite over the left half of the current spread. */
.menu-book-scene.is-pdf-pages.is-landscape .menu-book:not(.is-flat) .sheet.flipped:not(.is-turning) {
  display: none !important;
  visibility: hidden !important;
}
.menu-book-scene.is-pdf-pages.is-landscape .menu-book:not(.is-turning-book) {
  transform-style: flat;
}
.menu-book-scene.is-pdf-pages.is-landscape .page-back {
  display: none;
}

/* Botão "Reservar pelo WhatsApp" em destaque (verde WhatsApp, texto petróleo escuro: contraste 8.07:1) */
.wa-button, .visit .wa-button, .house .wa-button {
  background: #25D366; border: 1px solid #25D366; color: #00262B; font-weight: 500;
  box-shadow: 0 6px 16px rgba(0, 38, 43, .28), 0 1px 0 rgba(255, 255, 255, .25) inset;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.wa-button:hover, .wa-button:focus-visible, .visit .wa-button:hover, .visit .wa-button:focus-visible, .house .wa-button:hover {
  background: #1EBE5A; border-color: #1EBE5A; color: #00262B; box-shadow: 0 8px 20px rgba(0, 38, 43, .34); transform: translateY(-1px);
}
.wa-button:focus-visible { outline: 2px solid #e2bd6b; outline-offset: 3px; }
.wa-button .icon, .wa-button svg { color: #00262B; }
.wa-button, .house-meta a.wa-button, .visit a.wa-button { text-decoration: none; }

/* O salão cheio: foto do salão lotado como primeiro card (mobile) e
   fotos de salão cheio restauradas; no tablet/desktop o destaque largo continua no topo */
.gallery-grid .gallery-cheio img { object-position: 50% 45%; }
@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    align-items: start;
    gap: 1.25rem;
    padding: 1rem 0 0;
  }
  .gallery-grid .span-2 { order: -1; grid-column: 1 / -1; grid-row: auto; display: block; }
  .gallery-grid figure.span-2:nth-child(n) img { aspect-ratio: 16 / 9; min-height: 0; height: auto; object-position: 50% 55%; }
  .gallery-grid figure,
  .gallery-grid figure:nth-child(n),
  .gallery-grid .gallery-thali { grid-column: auto; grid-row: auto; transform: none; margin: 0; width: 100%; max-width: none; justify-self: stretch; }
  .gallery-grid figure.span-2,
  .gallery-grid figure.span-2:nth-child(n) { grid-column: 1 / -1; order: -1; }
  .gallery-grid figure:not(.span-2) img,
  .gallery-grid figure:nth-child(n):not(.span-2) img,
  .gallery-grid .gallery-thali img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: 50% 50%; }
  .gallery-grid .gallery-cheio img { object-position: 50% 42%; }
  .gallery-grid .gallery-pos-left { object-position: 30% 50% !important; }
  .gallery-grid .gallery-thali img { object-position: 50% 55%; }
}

/* Galeria "O salão" com exatamente 4 fotos: 2x2 no tablet, 4 lado a lado no desktop */
@media (min-width: 720px) {
  .gallery-grid.gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
  .gallery-grid.gallery-4 figure:nth-child(n) img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
}
@media (min-width: 1024px) {
  .gallery-grid.gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gallery-grid figure:nth-child(n) img[src*="salao-novo-01"] { object-position: 42% 50%; }

/* ==========================================================================
   Official-PDF typographic flip-book (HTML pages, not scanned images)
   ========================================================================== */

.menu-book-scene.is-print-menu {
  --page-w: min(23.5rem, calc(100vw - 1.75rem));
  --page-h: min(36.5rem, max(30rem, calc(var(--page-w) * 1.42)));
  padding: 0.55rem 0 0.7rem;
}
@media (min-width: 900px) {
  .menu-book-scene.is-print-menu {
    /* Large desktop book: almost the viewport, cap 1300px wide, fit 1280×800 */
    --page-w: min(650px, calc((100vw - 3.5rem) / 2));
    --page-h: min(calc(100vh - 8.2rem), 50rem);
    padding: 0.2rem 0 0.3rem;
    perspective: 2200px;
  }
  .menu-book-scene.is-print-menu .menu-book.is-open,
  .menu-book-scene.is-print-menu .menu-book.is-open-leaf {
    width: calc(var(--page-w) * 2);
  }
  /* Break out of the site's 1180px .wrap so the spread can reach ~1300px */
  .menu-section:has(.is-print-menu) .menu-book-ui.is-print-ui {
    width: min(1300px, calc(100vw - 2.5rem));
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Tighten the section heading so the book can be tall enough on short desktops */
@media (min-width: 900px) {
  .menu-section .menu-intro { margin-bottom: 0.15rem; }
  .menu-section .menu-intro .kicker { margin-bottom: 0.1rem; letter-spacing: 0.18em; }
  .menu-section .menu-intro h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); margin: 0; }
  .menu-section .menu-intro .flourish { width: 8.5rem; margin: 0.15rem auto 0.2rem; }
}

.is-print-menu .page {
  background: transparent;
  border: 0;
  box-shadow:
    0 10px 28px rgba(40, 22, 8, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  overflow: hidden;
}
.is-print-menu .page-front::before,
.is-print-menu .page-back::before,
.is-print-menu .page-front::after,
.is-print-menu .page-back::after {
  width: 6%;
  opacity: 0.55;
  z-index: 4;
  background: linear-gradient(to right, rgba(40, 20, 8, 0.1), transparent);
}

.page-inner.page-print {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.05rem 0.9rem 1.15rem;
}

/* Corner ornaments (Bawarchi) */
.is-bawarchi .orn {
  position: absolute;
  width: 13%;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.95;
}
.is-bawarchi .orn-tl { top: 0; left: 0; background-image: url("assets/menus/bawarchi/ornaments/corner-tl.webp"); background-position: top left; }
.is-bawarchi .orn-tr { top: 0; right: 0; background-image: url("assets/menus/bawarchi/ornaments/corner-tr.webp"); background-position: top right; }
.is-bawarchi .orn-bl { bottom: 0; left: 0; background-image: url("assets/menus/bawarchi/ornaments/corner-bl.webp"); background-position: bottom left; }
.is-bawarchi .orn-br { bottom: 0; right: 0; background-image: url("assets/menus/bawarchi/ornaments/corner-br.webp"); background-position: bottom right; }
.is-atithi .orn { display: none; }

/* ---------- Bawarchi: official PDF parchment, Exotic-like titles, Futura-like body ---------- */
.menu-book-scene.is-bawarchi .page-inner.page-print,
.menu-book-scene.is-bawarchi .page-inner.page-cover,
.menu-book-scene.is-bawarchi .page-inner.page-endpaper {
  background-color: #e4ae4a;
  background-image: url("assets/menus/bawarchi/parchment-portrait.webp");
  background-size: cover;
  background-position: center;
  color: #371c0c;
}
@media (min-width: 900px) {
  .menu-book-scene.is-bawarchi .page-back .page-inner.page-print {
    background-image: url("assets/menus/bawarchi/parchment-left.webp");
    background-position: center;
  }
  .menu-book-scene.is-bawarchi .page-front .page-inner.page-print {
    background-image: url("assets/menus/bawarchi/parchment-right.webp");
    background-position: center;
  }
}
.menu-book-scene.is-bawarchi .page-inner.page-cover,
.menu-book-scene.is-bawarchi .page-inner.page-endpaper {
  background-image: url("assets/menus/bawarchi/parchment-portrait.webp");
  background-position: center;
}
.menu-book-scene.is-bawarchi .page-inner.page-print {
  padding: 1.05rem 0.95rem 1.0rem 1.05rem;
}
/* Content pages in the PDF have no large corner blocks */
.is-bawarchi .page-print .orn,
.is-bawarchi .page-endpaper .orn { display: none; }
.is-bawarchi .page-cover .orn { width: 18%; opacity: 0.95; }
.is-bawarchi .page-inner h3 {
  margin: 0;
  text-align: center;
  font-family: "Marcellus", "Cinzel", "EB Garamond", Palatino, serif;
  font-weight: 400;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: #371c0c;
  text-transform: none;
  text-wrap: balance;
}
.is-bawarchi .page-inner .page-sub {
  margin: 0.15rem 0 0;
  text-align: center;
  font-family: "Marcellus", "Cinzel", "EB Garamond", Palatino, serif;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: #371c0c;
  opacity: 0.88;
}
.is-bawarchi .menu-flourish {
  display: block;
  width: min(14rem, 72%);
  height: 1.05rem;
  object-fit: contain;
  margin: 0.08rem auto 0.32rem;
}
.is-bawarchi .page-cont {
  display: block;
  text-align: center;
  font-family: "Marcellus", "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: #371c0c;
  opacity: 0.7;
  margin: -0.1rem 0 0.35rem;
}
.is-bawarchi .dish-name {
  margin: 0;
  font-family: "Jost", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1rem; /* 16px on mobile — above the 15px floor */
  line-height: 1.22;
  color: #371c0c;
  letter-spacing: 0;
}
.is-bawarchi .dish-desc {
  margin: 0.1rem 0 0;
  font-family: "Jost", "Outfit", sans-serif;
  font-weight: 400;
  font-size: 0.84rem;
  line-height: 1.38;
  color: #371c0c;
  opacity: 0.92;
}
.is-bawarchi .dish {
  margin: 0;
  padding: 0.26rem 0 0.28rem;
  border-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.is-bawarchi .dish-text { flex: 1; min-width: 0; }
.is-bawarchi .dish-photo {
  flex: 0 0 auto;
  width: 2.95rem;
  height: 2.95rem;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 1px 2px rgba(55, 28, 12, 0.28));
}

/* ---------- Atithi: teal panel, ornate frame, gold type ---------- */
.menu-book-scene.is-atithi .page-inner.page-print,
.menu-book-scene.is-atithi .page-inner.page-cover,
.menu-book-scene.is-atithi .page-inner.page-endpaper {
  background-color: #0c6b81;
  color: #f3e6c0;
}
.menu-book-scene.is-atithi .page-inner.page-print,
.menu-book-scene.is-atithi .page-inner.page-cover,
.menu-book-scene.is-atithi .page-inner.page-endpaper {
  padding: 16.5% 21% 24% 21%;
}
.menu-book-scene.is-atithi .page-inner.page-print::after,
.menu-book-scene.is-atithi .page-inner.page-cover::after,
.menu-book-scene.is-atithi .page-inner.page-endpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/menus/atithi/ornaments/frame.webp") center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 3;
}
.is-atithi .page-inner h3 {
  margin: 0;
  text-align: center;
  font-family: "Cinzel Decorative", "Cinzel", "EB Garamond", serif;
  font-weight: 400;
  font-size: 1.28rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #e8c86a;
  text-wrap: balance;
}
.is-atithi .page-inner .page-sub {
  margin: 0.2rem 0 0;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2d19a;
  opacity: 0.9;
}
.is-atithi .menu-flourish-rule {
  display: block;
  width: 4.2rem;
  height: 0;
  border-top: 1px solid rgba(232, 200, 106, 0.7);
  margin: 0.4rem auto 0.65rem;
}
.is-atithi .page-cont {
  display: block;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: #e8c86a;
  margin: -0.2rem 0 0.45rem;
}
.is-atithi .dish-name {
  margin: 0;
  font-family: "Cormorant Garamond", "EB Garamond", serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  color: #f0d78a;
}
.is-atithi .dish-desc {
  margin: 0.1rem 0 0;
  font-family: "Jost", "Outfit", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #e4d7b0;
  opacity: 0.92;
}
.is-atithi .dish {
  margin: 0;
  padding: 0.38rem 0 0.44rem;
}
.is-atithi .dish-subhead {
  margin: 0.7rem 0 0.25rem;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8c86a;
}

/* Body + photos */
.leaf-body {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  gap: 0.55rem;
  overflow: visible;
}
.leaf-items { flex: 1; min-width: 0; overflow: visible; }
.leaf-body.has-photos .photo-rail {
  flex: 0 0 auto;
  width: 22%;
  max-width: 5.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}
.photo-rail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.leaf-probe .page-inner { height: auto !important; overflow: visible !important; }
.leaf-probe .leaf-items { flex: none !important; overflow: visible !important; height: auto; }
.leaf-probe .page-inner::after { display: none; }

/* Desktop type: fully readable at 100% zoom (names ~21px, body ~17.5px) */
@media (min-width: 900px) {
  .is-bawarchi .page-inner.page-print { padding: 1.25rem 1.2rem 1.05rem 1.25rem; }
  .is-bawarchi .page-inner h3 { font-size: 1.7rem; }
  .is-bawarchi .page-inner .page-sub { font-size: 0.88rem; }
  .is-bawarchi .dish-name { font-size: 1.3125rem; } /* 21px */
  .is-bawarchi .dish-desc { font-size: 1.1rem; }    /* 17.6px */
  .is-bawarchi .dish { padding: 0.2rem 0 0.22rem; gap: 0.48rem; }
  .is-bawarchi .dish-photo { width: 3.5rem; height: 3.5rem; }
  .is-bawarchi .menu-flourish { width: min(16rem, 68%); height: 1.1rem; margin-bottom: 0.32rem; }
  /* Official vertical divider at the spread gutter (in front of the pages) */
  .menu-book-scene.is-bawarchi .menu-book.is-open .book-thickness {
    width: 1.7rem;
    left: calc(50% - 0.85rem);
    top: 11%;
    height: 78%;
    background: url("assets/menus/bawarchi/ornaments/divider.webp") center / contain no-repeat;
    opacity: 1;
    box-shadow: none;
    border-radius: 0;
    z-index: 24;
    transform: translateZ(8px);
  }

  .is-atithi .page-inner h3 { font-size: 1.75rem; }
  .is-atithi .page-inner .page-sub { font-size: 0.86rem; }
  .is-atithi .dish-name { font-size: 1.3125rem; }
  .is-atithi .dish-desc { font-size: 1.1rem; }
  .is-atithi .dish { padding: 0.48rem 0 0.54rem; }
  .leaf-body.has-photos .photo-rail { width: 24%; max-width: 7.2rem; }
}

/* ---------- Covers ---------- */
.page-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
}
.is-bawarchi .page-cover { padding: 1.6rem 1.5rem 1.3rem; }
.is-bawarchi .cover-logo {
  width: min(18rem, 78%);
  height: auto;
  margin: 0 auto 0.3rem;
  mix-blend-mode: multiply;
}
.is-bawarchi .cover-intro {
  color: #371c0c;
  margin: 0.4rem 0 0;
  font-family: "Jost", "Outfit", sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #2a1508;
  max-width: 36em;
  text-wrap: pretty;
}
.is-bawarchi .cover-hours {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #3d2110;
}
.is-bawarchi .cover-hours strong {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.2rem;
}
.is-bawarchi .cover-web {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.is-atithi .page-cover { justify-content: flex-start; padding-top: 14%; }
.is-atithi .cover-logo {
  width: min(16rem, 82%);
  height: auto;
  margin: 0 auto 0.5rem;
}
.is-atithi .cover-motto {
  margin: 0.15rem 0 0.55rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8c86a;
}
.is-atithi .cover-motto em {
  display: block;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: none;
  font-family: "EB Garamond", serif;
  font-size: 0.92em;
  margin-top: 0.15rem;
  color: #f3e6c0;
}
.is-atithi .cover-intro {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: left;
  color: #f3e6c0;
}
.is-atithi .cover-intro ol {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}
.is-atithi .cover-ganesha {
  width: min(7.2rem, 46%);
  height: auto;
  margin: 0.7rem auto 0;
}

.is-atithi .page-endpaper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.is-atithi .end-mandala {
  position: absolute;
  inset: 18% 16%;
  width: auto;
  height: auto;
  margin: auto;
  max-width: 70%;
  opacity: 0.28;
  z-index: 0;
  object-fit: contain;
}
.is-atithi .page-endpaper .cover-logo { position: relative; z-index: 1; width: min(14rem, 72%); }
.is-atithi .end-address {
  position: relative;
  z-index: 1;
  margin: 1.1rem 0 0;
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #f3e6c0;
}

.is-bawarchi .page-endpaper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.is-bawarchi .page-endpaper .menu-flourish { width: 10rem; }

@media (min-width: 900px) {
  .is-bawarchi .cover-intro { font-size: 0.95rem; }
  .is-bawarchi .cover-hours { font-size: 0.88rem; }
  .is-atithi .cover-intro { font-size: 0.92rem; }
  .is-atithi .cover-motto { font-size: 0.84rem; }
  .is-atithi .end-address { font-size: 0.95rem; }
}

/* ---------- Controls: compact, no Ampliar ---------- */
.menu-book-ui.is-print-ui .menu-book-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0.55rem 0 0;
}
.menu-book-ui.is-print-ui .menu-nav {
  appearance: none;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(42, 21, 8, 0.35);
  background: transparent;
  color: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-book-ui.is-print-ui .menu-nav:disabled { opacity: 0.32; cursor: default; }
.menu-book-ui.is-print-ui .menu-nav:not(:disabled):hover { background: rgba(42, 21, 8, 0.06); }
.menu-book-ui.is-print-ui .menu-indicator {
  margin: 0;
  min-width: 5.5rem;
  text-align: center;
  font-family: "Cinzel", "EB Garamond", serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.menu-book-ui.is-print-ui .menu-jump-label {
  margin-left: 0.35rem;
}
.menu-book-ui.is-print-ui .menu-jump-label select {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(42, 21, 8, 0.3);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232a1508' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.2rem center;
  padding: 0.25rem 1.3rem 0.25rem 0.15rem;
  font: inherit;
  font-size: 0.82rem;
  color: var(--ink);
  max-width: 12rem;
  cursor: pointer;
}
.menu-book-ui.is-print-ui .menu-book-index { display: none; }
@media (min-width: 900px) {
  .menu-section .menu-book-ui.is-print-ui { margin: 0.15rem 0 0.7rem; }
}


/* Atithi controls slightly gold/teal */
.page-atithi .menu-book-ui.is-print-ui .menu-nav,
body:has(.is-atithi) .menu-book-ui.is-print-ui .menu-nav {
  border-color: rgba(0, 86, 95, 0.4);
  color: #00565F;
}

/* Frame should bleed to the page edge, no gray hairline */
.menu-book-scene.is-atithi .page { border: 0; background: #0c6b81; }
.menu-book-scene.is-atithi .page-inner.page-print::after,
.menu-book-scene.is-atithi .page-inner.page-cover::after,
.menu-book-scene.is-atithi .page-inner.page-endpaper::after {
  background-size: 102% 102%;
  background-position: center;
}

/* After a turn, only the facing page-face should paint (avoids the cover
   showing through a slightly-short-of-180° flipped leaf). */
.menu-book-scene.is-print-menu .sheet.flipped:not(.is-turning) .page-front {
  visibility: hidden !important;
  pointer-events: none;
}
.menu-book-scene.is-print-menu .sheet:not(.flipped):not(.is-turning) .page-back {
  visibility: hidden !important;
  pointer-events: none;
}
@media (max-width: 899px) {
  .menu-book-scene.is-print-menu .sheet.flipped:not(.is-turning) {
    display: none !important;
    visibility: hidden !important;
  }
}
