/* ==========================================================
   Rock Me Mamma · Pizza Bar Experience
   Cores e fontes ficam aqui no topo.
   ========================================================== */
:root {
  --ink: #141210;
  --ink-2: #1d1a17;
  --paper: #f1ede6;
  --paper-2: #e8e2d8;
  --text: #1b1916;
  --muted: #6c655c;
  --line: rgba(20, 18, 16, .14);
  --on-dark: #f4f0e9;
  --on-dark-muted: rgba(244, 240, 233, .66);
  --veg: #5f9e2f;
  --lac: #3f86c4;

  --f-script: "Allura", "Brush Script MT", cursive;
  --f-serif: "Prata", Georgia, "Times New Roman", serif;
  --f-label: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  /* the "A casa" section echoes the logo: brush script like "Mamma", geometric sans like "ROCK ME" */
  --f-brush: "Mr Dafoe", "Brush Script MT", cursive;
  --f-logo-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 999px;
  --header-h: 68px;
  /* paper grain: small ready-made tiles, drawn without blend modes so animations stay smooth */
  --grain-dark: url("../assets/grain-dark.png");
  --grain-light: url("../assets/grain-light.png");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 72px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg { width: 1em; height: 1em; flex: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.script { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; text-transform: none; }
.eyebrow {
  font-family: var(--f-label); font-weight: 500; text-transform: uppercase;
  letter-spacing: .22em; font-size: .78rem; margin: 0 0 18px;
}

/* paper texture (menu background, like the printed card) */
.paper { background: var(--grain-dark) var(--paper); position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-family: var(--f-label); font-weight: 500; font-size: .95rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #34302c; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--ghost { border-color: rgba(244, 240, 233, .35); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(244, 240, 233, .06); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .82rem; }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h); color: var(--on-dark);
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled { background: rgba(20, 18, 16, .94); box-shadow: 0 1px 0 rgba(244, 240, 233, .08); }
/* without JavaScript the header never gets .is-scrolled, so keep it solid */
.no-js .header { background: rgba(20, 18, 16, .94); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo img { width: 52px; height: 52px; }
.header__nav { display: flex; gap: 28px; margin-left: auto; }
.header__nav a {
  font-family: var(--f-label); font-weight: 500; text-transform: uppercase;
  letter-spacing: .16em; font-size: .82rem; text-decoration: none; color: var(--on-dark-muted);
  transition: color .2s;
}
.header__nav a:hover { color: var(--on-dark); }
.icon-btn {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: transparent; border: 1px solid rgba(244, 240, 233, .35); color: var(--on-dark);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--on-dark); background: rgba(244, 240, 233, .08); }
.icon-btn svg { width: 18px; height: 18px; }
.header__inner .icon-btn { margin-right: -12px; }
.no-js .js-open-search { display: none; }
@media (max-width: 560px) {
  .header__nav-extra { display: none; }
  .header__inner { gap: 16px; }
  .header__inner .icon-btn { margin-right: -6px; }
  .header__nav { gap: 14px; }
  .header__nav a { font-size: .74rem; letter-spacing: .12em; }
  .header .btn span { display: none; }
  .header .btn { width: 40px; padding: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(120% 90% at 30% 40%, #262220 0%, var(--ink) 60%);
  padding: calc(var(--header-h) + 40px) 0 72px;
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image: var(--grain-light);
}
/* half a pizza coming in from the right edge, behind the headline */
.hero__pizza {
  --y: -50%;
  position: absolute; right: 0; top: 50%; height: min(86%, 820px); aspect-ratio: 560 / 1088;
  transform: translateY(var(--y)); transform-origin: 100% 50%; pointer-events: none;
  animation: pizza-in 1.3s cubic-bezier(.2, .7, .2, 1) .15s both;
}
.hero__pizza img { display: block; width: 100%; height: 100%; filter: drop-shadow(-16px 10px 36px rgba(0, 0, 0, .6)); }
/* darkens the side under the text so the headline stays readable; masked to the pizza's own shape */
.hero__pizza::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 18, 16, .84) 0%, rgba(20, 18, 16, .55) 50%, rgba(20, 18, 16, .12) 100%);
  -webkit-mask: url("../assets/hero-pizza.webp") center / 100% 100% no-repeat;
  mask: url("../assets/hero-pizza.webp") center / 100% 100% no-repeat;
}
@keyframes pizza-in { from { opacity: 0; transform: translate(40%, var(--y)) rotate(30deg); } }
@media (max-width: 899px) {
  .hero__pizza { --y: 0%; top: auto; bottom: 56px; height: min(80vw, 460px); }
  .hero__pizza::after { background: linear-gradient(90deg, rgba(20, 18, 16, .88) 0%, rgba(20, 18, 16, .6) 55%, rgba(20, 18, 16, .3) 100%); }
}
.hero__copy { position: relative; text-shadow: 0 2px 22px rgba(20, 18, 16, .6); }
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: calc(var(--header-h) + 64px) 0 104px; min-height: 92vh; display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1fr 1.05fr; gap: 64px; }
}
.hero__seal { position: relative; width: min(78vw, 440px); aspect-ratio: 1; margin: 0 auto; }
.hero__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: var(--on-dark-muted); font-family: var(--f-label); font-size: 13px; letter-spacing: 4.6px;
  animation: spin 60s linear infinite;
}
.hero__logo { position: absolute; inset: 11%; width: 78%; height: 78%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__copy { text-align: center; }
@media (min-width: 900px) { .hero__copy { text-align: left; } }
.hero__copy .eyebrow { color: var(--on-dark-muted); }
.hero h1 {
  font-family: var(--f-serif); font-weight: 400; margin: 0 0 22px;
  font-size: clamp(2.1rem, 6.4vw, 3.9rem); line-height: 1.08; letter-spacing: -.01em;
}
.hero h1 .script { font-size: 1.32em; line-height: .9; display: inline-block; padding: 0 .06em; }
.hero__lead { color: var(--on-dark-muted); font-size: 1.06rem; max-width: 34em; margin: 0 auto 32px; }
@media (min-width: 900px) { .hero__lead { margin-left: 0; } }
@media (max-width: 899px) {
  .hero__lead {
    color: var(--on-dark); background: rgba(20, 18, 16, .92);
    border: 1px solid rgba(244, 240, 233, .12); border-radius: 14px;
    padding: 14px 18px; line-height: 1.65; text-shadow: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
  }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 900px) { .hero__actions { justify-content: flex-start; } }

/* ---------- a casa: description + photo carousel ---------- */
.about { padding: 88px 0 80px; }
.about + .menu { border-top: 1px solid var(--line); }
.about__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about__inner { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.about .eyebrow { color: var(--muted); margin-bottom: 6px; }
.about__title {
  margin: 0 0 24px; font-family: var(--f-brush); font-weight: 400; color: var(--ink);
  font-size: clamp(2.9rem, 8vw, 4.2rem); line-height: .95; text-wrap: balance;
  transform: rotate(-2deg); transform-origin: left center;
}
.about__text p:not(.eyebrow) {
  margin: 0 0 18px; max-width: 36em;
  font-family: var(--f-logo-sans); font-size: 1rem; line-height: 1.85; color: #403a34;
}
.about__text .about__lead { font-size: 1.1rem; font-weight: 500; color: var(--ink); }
@media (max-width: 560px) {
  .about { padding: 64px 0 56px; }
  .about__text p:not(.eyebrow) { line-height: 1.7; font-size: .97rem; }
  .about__text .about__lead { font-size: 1.04rem; }
}

.gallery {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--ink);
  box-shadow: 0 30px 60px -28px rgba(20, 18, 16, .55);
  width: 100%; max-width: 440px; justify-self: center; /* close to the photos' own size, so they stay sharp */
}
.gallery__track {
  position: relative; display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.gallery__slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; margin: 0; scroll-snap-align: start; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* example slides, until the real photos are added */
.gallery__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--on-dark-muted); text-align: center;
  background: var(--grain-light), radial-gradient(110% 80% at 30% 20%, #2e2926 0%, var(--ink) 70%);
}
.gallery__placeholder::before {
  content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(244, 240, 233, .22); border-radius: 12px;
}
.gallery__placeholder svg { width: 46px; height: 46px; }
.gallery__placeholder span { font-family: var(--f-label); font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; }

.gallery__btn {
  position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(20, 18, 16, .55); color: var(--on-dark); border: 1px solid rgba(244, 240, 233, .3);
  transition: background .2s, color .2s;
}
.gallery__btn:hover { background: var(--on-dark); color: var(--ink); }
.gallery__btn svg { width: 20px; height: 20px; }
.gallery__btn--prev { left: 14px; }
.gallery__btn--prev svg { transform: scaleX(-1); }
.gallery__btn--next { right: 14px; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 7px; padding: 0 8px; }
.gallery__dot {
  width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(244, 240, 233, .45); transition: width .3s, background .3s;
}
.gallery__dot[aria-current="true"] { width: 24px; background: var(--on-dark); }
@media (max-width: 390px) { .gallery__dots { gap: 5px; } .gallery__dot { width: 7px; height: 7px; } .gallery__dot[aria-current="true"] { width: 18px; } }
.no-js .gallery__btn, .no-js .gallery__dots, .gallery.is-single .gallery__btn, .gallery.is-single .gallery__dots { display: none; }

/* ---------- menu: sticky tools ---------- */
.menu { padding-bottom: 72px; }
.menu__bar {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(241, 237, 230, .97); border-bottom: 1px solid var(--line);
}
.menu__intro { padding-top: 56px; padding-bottom: 20px; }
/* section title, centred */
.menu__title {
  display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 28px;
  font-family: var(--f-label); font-weight: 600; text-transform: uppercase; color: var(--ink);
  font-size: clamp(1.5rem, 4.2vw, 2.1rem); letter-spacing: .32em; line-height: 1.1;
}
/* letter-spacing leaves a gap after the last letter: pull it back so the word sits centred */
.menu__title { text-indent: .32em; }
@media (max-width: 560px) { .menu__title { letter-spacing: .26em; text-indent: .26em; } }
.no-js .menu__tools { display: none; }
.menu__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.search {
  flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0;
  height: 48px; padding: 0 4px 0 16px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .6); border: 1px solid var(--line);
}
.search:focus-within { border-color: var(--ink); background: #fff; }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.search input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; outline: none; font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear {
  width: 32px; height: 32px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20, 18, 16, .08); color: var(--ink); font-size: 1.3rem; line-height: 1;
}
.search__clear:hover { background: rgba(20, 18, 16, .16); }
.search__submit {
  flex: none; height: 38px; padding: 0 18px; border-radius: var(--radius); border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-label); font-weight: 500; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s;
}
.search__submit:hover { background: #000; }
.menu__count { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }
.menu__count:empty { display: none; }
.menu__count strong { color: var(--ink); font-weight: 600; }
.menu__count button {
  margin-left: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: inherit;
}

.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  height: 44px; padding: 0 14px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--line); cursor: pointer;
  font-size: .88rem; transition: background .2s, color .2s, border-color .2s;
}
.filter svg { width: 16px; height: 16px; }
.filter[data-tag="veg"] svg, .filter[data-tag="vegan"] svg { color: var(--veg); }
.filter[data-tag="lac"] svg { color: var(--lac); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter[aria-pressed="true"] svg { color: currentColor; }

.menu__bar-inner { display: flex; align-items: center; gap: 12px; }
.bar-search {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .6); color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.bar-search:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bar-search svg { width: 16px; height: 16px; }
.chips {
  flex: 1; min-width: 0; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
  padding: 6px 2px 0; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chips__group { display: flex; align-items: center; gap: 4px; flex: none; }
.chips__group + .chips__group { padding-left: 22px; border-left: 1px solid var(--line); }
.chips__label {
  font-family: var(--f-label); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-right: 6px;
}
.chip {
  flex: none; position: relative; padding: 10px 10px 13px; text-decoration: none; white-space: nowrap;
  font-size: .9rem; color: var(--muted); transition: color .2s;
}
.chip::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px;
  background: var(--ink); transform: scaleX(0); transition: transform .25s;
}
.chip:hover { color: var(--ink); }
.chip.is-active { color: var(--ink); font-weight: 600; }
.chip.is-active::after { transform: scaleX(1); }

/* ---------- menu: content ---------- */
.part { padding-top: 48px; }
.part__title {
  display: flex; align-items: center; gap: 20px; margin: 0 0 8px;
  font-family: var(--f-label); font-weight: 600; font-size: .95rem;
  letter-spacing: .4em; text-transform: uppercase; color: var(--muted);
}
.part__title::before, .part__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.category { padding-top: 40px; }
.category__title {
  position: relative; display: inline-block; margin: 0 0 6px; padding-right: 48px;
  font-family: var(--f-script); font-weight: 400; font-size: clamp(2.9rem, 9vw, 4.1rem);
  line-height: 1.1; color: var(--ink);
}
/* brush stroke under the script title, like the printed menu */
.category__title::after {
  content: ""; position: absolute; left: 28%; right: 0; bottom: .14em; height: .09em;
  background: var(--ink); border-radius: 50%; transform: skewX(-24deg);
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent);
  mask-image: linear-gradient(90deg, #000 60%, transparent);
}
.category__note { margin: 0 0 6px; color: var(--muted); font-style: italic; }

.items { list-style: none; margin: 14px 0 0; padding: 0; display: grid; column-gap: 64px; }
@media (min-width: 860px) { .items { grid-template-columns: 1fr 1fr; } }

.item { padding: 16px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.item__head { display: flex; align-items: baseline; gap: 10px; }
.item__name {
  margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 1.24rem; line-height: 1.3;
  color: var(--ink); display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px;
}
.item__size { font-family: var(--f-body); font-size: .8rem; color: var(--muted); letter-spacing: .01em; }
.item__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(20, 18, 16, .35); transform: translateY(-5px); }
.item__prices { display: flex; gap: 14px; flex: none; align-items: baseline; }
.item__desc { margin: 6px 0 0; color: var(--muted); font-size: .95rem; font-weight: 300; max-width: 36em; line-height: 1.5; }
.item__extra {
  display: flex; align-items: baseline; gap: 10px; margin: 8px 0 0; font-size: .9rem; color: var(--text);
}
.item__extra .price__val { font-size: 1.05rem; }

.price { display: inline-flex; align-items: baseline; gap: 3px; white-space: nowrap; color: var(--ink); }
.price__label { font-size: .74rem; color: var(--muted); margin-right: 3px; text-transform: lowercase; }
.price__cur { font-family: var(--f-serif); font-size: .62rem; letter-spacing: .04em; }
.price__val { font-family: var(--f-serif); font-size: 1.32rem; line-height: 1; }

.items--compact .item { padding: 11px 0; }
.items--compact .item__name { font-size: 1.12rem; }
.items--compact .price__val { font-size: 1.18rem; }

.category__groups { display: grid; gap: 8px 64px; margin-top: 8px; }
@media (min-width: 860px) {
  .category__groups { grid-template-columns: 1fr 1fr; }
  .category__groups .items { grid-template-columns: 1fr; }
}
.subgroup__title {
  margin: 18px 0 0; font-family: var(--f-label); font-weight: 500; font-size: .82rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}

.tag {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  align-self: center; transform: translateY(-1px);
}
.tag svg { width: 15px; height: 15px; }
.tag--veg, .tag--vegan { color: var(--veg); background: rgba(95, 158, 47, .12); }
.tag--lac { color: var(--lac); background: rgba(63, 134, 196, .12); }

.menu__empty { padding: 56px 16px 8px; text-align: center; color: var(--muted); font-size: 1.05rem; }
.menu__foot {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between;
}
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.menu__fee { margin: 0 64px 0 0; color: var(--muted); font-size: .9rem; font-style: italic; }

/* ---------- visit ---------- */
.visit { color: var(--on-dark); padding: 88px 0; background: var(--ink); }
.visit__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .visit__inner { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.visit .eyebrow { color: var(--on-dark-muted); }
.visit h2 {
  font-family: var(--f-serif); font-weight: 400; margin: 0 0 26px;
  font-size: clamp(2rem, 5.4vw, 3.1rem); line-height: 1.12;
}
.visit h2 .script { font-size: 1.35em; display: block; line-height: 1; }
.visit__address {
  display: flex; gap: 12px; align-items: flex-start; font-style: normal;
  font-size: 1.1rem; color: var(--on-dark); margin-bottom: 30px; max-width: 26em;
}
.visit__address svg { width: 22px; height: 22px; margin-top: 3px; color: var(--on-dark-muted); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__map {
  position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(244, 240, 233, .12);
  aspect-ratio: 4 / 3; background: var(--ink-2);
}
/* shown underneath the map, visible wherever the embedded map can't load */
.visit__map-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center; text-decoration: none; color: var(--on-dark);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(244, 240, 233, .05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(244, 240, 233, .05) 39px 40px),
    var(--ink-2);
}
.visit__map-fallback svg { width: 40px; height: 40px; }
.visit__map-fallback span { font-size: 1.05rem; line-height: 1.5; }
.visit__map-link {
  font-family: var(--f-label); font-size: .82rem !important; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.visit__map iframe {
  position: relative; width: 100%; height: 100%; border: 0; display: block;
  background: transparent; filter: grayscale(1) contrast(1.05);
}

/* ---------- footer ---------- */
.footer {
  color: var(--on-dark-muted); text-align: center; padding: 56px 0 96px;
  border-top: 1px solid rgba(244, 240, 233, .08); background: var(--ink);
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer img { width: 88px; height: 88px; opacity: .9; }
.footer p { margin: 0; font-size: .92rem; }
.footer__small { font-size: .8rem !important; opacity: .7; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transition: transform .2s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }

/* floating "back to top", stacked above the WhatsApp button; shows up after the opening section */
.to-top {
  position: fixed; right: 24px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 60;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--on-dark); border: 1px solid rgba(244, 240, 233, .35);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .2s, color .2s;
}
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.show-top .to-top, .no-js .to-top { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--on-dark); color: var(--ink); }

/* ==========================================================
   Cardápio em livro (js/book.js)
   ========================================================== */
.book-on #menuBody, .book-on #menuEmpty, .book-on .menu__foot, .book-on .menu__bar { display: none !important; }
.book-on .menu { padding-bottom: 0; }
/* while the book is open the page behind it stays still */
.book-open, .book-open body { overflow: hidden; }

/* search results, shown above the book */
.results {
  margin-top: 14px; max-height: min(46vh, 420px); overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .55);
}
.results__list { list-style: none; margin: 0; padding: 6px; }
.results__empty { margin: 0; padding: 18px; color: var(--muted); }
.result {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; cursor: pointer;
  padding: 12px 14px; border: 0; border-radius: 12px; background: transparent; transition: background .2s;
}
.result:hover, .result:focus-visible { background: rgba(20, 18, 16, .06); }
.result__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.result__name { font-family: var(--f-serif); font-size: 1.08rem; color: var(--ink); }
.result__meta { font-size: .82rem; color: var(--muted); }
.result .item__prices { display: flex; gap: 10px; }
.result .price__val { font-size: 1.12rem; }

/* the table the book rests on; also used by the preview on the page */
.book-wrap, .book-teaser {
  color: var(--on-dark);
  background:
    var(--grain-light),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(244, 240, 233, .07), transparent 70%),
    radial-gradient(120% 100% at 50% 0%, #2a2522 0%, var(--ink) 70%);
}

/* the open book: full screen, over the site */
.book-wrap {
  position: fixed; inset: 0; z-index: 100; overflow: hidden; overscroll-behavior: contain;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.book-open .book-wrap { opacity: 1; visibility: visible; transition: opacity .3s; }
.book-wrap:focus { outline: none; }
.book-stage { position: relative; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; touch-action: pinch-zoom; }

/* top bar of the open book: logo, "Ir para…" and close */
.book-top { display: flex; align-items: center; gap: 12px; width: min(100%, 1180px); height: 52px; flex: none; }
.book-top__logo { width: 46px; height: 46px; margin-right: auto; }
.book-top__jump {
  height: 42px; max-width: 280px; flex: 0 1 260px; padding: 0 38px 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(244, 240, 233, .3); color: var(--on-dark); font-size: .92rem;
  -webkit-appearance: none; appearance: none;
  background: rgba(244, 240, 233, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23f4f0e9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.book-top__jump option, .book-top__jump optgroup { color: var(--ink); background: #fff; }
.book-top__close {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(244, 240, 233, .3); background: transparent; color: var(--on-dark);
  font-family: var(--f-label); font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.book-top__close:hover { background: var(--on-dark); color: var(--ink); }
.book-top__close svg { width: 18px; height: 18px; }
@media (max-width: 699px) {
  .book-top { height: 44px; gap: 8px; }
  .book-top__logo { width: 40px; height: 40px; }
  .book-top__jump { flex: 1; }
  .book-top__close { width: 42px; padding: 0; justify-content: center; }
  .book-top__close span { display: none; }
}

/* ---------- guest reviews ---------- */
.reviews { padding: 80px 0 86px; border-top: 1px solid var(--line); }
.reviews__heading { max-width: 650px; margin: 0 auto 34px; text-align: center; }
.reviews__heading .eyebrow { color: var(--muted); margin-bottom: 10px; }
.reviews__heading h2 { margin: 0 0 12px; font: 400 clamp(2rem, 4vw, 3rem)/1.18 var(--f-serif); }
.reviews__heading > p:last-child { margin: 0; color: var(--muted); }
.reviews__grid { display: grid; gap: 18px; }
.review { margin: 0; padding: clamp(24px, 4vw, 38px); background: rgba(255, 255, 255, .55); border: 1px solid var(--line); border-radius: 18px; }
.review__rating { margin: 0 0 18px; color: #a76c29; font-size: 1.18rem; letter-spacing: .2em; }
.review__quote { margin: 0 0 24px; font: 400 clamp(1.25rem, 2.4vw, 1.65rem)/1.45 var(--f-serif); }
.review footer { font: 500 .85rem var(--f-label); letter-spacing: .05em; }
.review footer span { color: var(--muted); font-family: var(--f-body); font-weight: 400; letter-spacing: 0; }
.reviews__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: 25px; }
.reviews__source { color: var(--muted); font-size: .88rem; text-underline-offset: 3px; }
@media (min-width: 720px) { .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- preview on the page ---------- */
.book-teaser { padding: 64px 0; }
.book-teaser__inner { display: grid; gap: 40px; justify-items: center; text-align: center; }
@media (min-width: 900px) {
  .book-teaser__inner { grid-template-columns: auto 1fr; gap: 80px; align-items: center; justify-items: start; text-align: left; }
}
.book-teaser__book { padding: 0; border: 0; background: none; cursor: pointer; perspective: 1400px; }
.book-teaser__cover {
  position: relative; width: clamp(210px, 24vw, 290px); aspect-ratio: 1 / 1.38; font-size: clamp(10px, 1.15vw, 13px);
  border-radius: 3px 8px 8px 3px; transform: rotateY(-14deg) rotateZ(-1.5deg); transform-origin: left center;
  box-shadow: 1px 0 0 #d8d0c2, 2px 0 0 #efe9de, 3px 0 0 #d8d0c2, 4px 0 0 #efe9de, 5px 0 0 #d8d0c2, 6px 0 0 #efe9de,
    0 30px 50px -18px rgba(0, 0, 0, .8);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.book-teaser__book:hover .book-teaser__cover, .book-teaser__book:focus-visible .book-teaser__cover { transform: rotateY(-4deg) rotateZ(0deg) translateY(-4px); }
.book-teaser__cover .page { font-size: inherit; border-radius: inherit; }
.book-teaser__title {
  margin: 0 0 14px; font-family: var(--f-brush); font-weight: 400; color: var(--on-dark);
  font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; transform: rotate(-2deg);
}
.book-teaser__lead { margin: 0 auto 26px; max-width: 30em; color: var(--on-dark-muted); font-size: 1.05rem; }
@media (min-width: 900px) { .book-teaser__lead { margin-left: 0; } }
.book-teaser__open { min-height: 52px; padding: 0 28px; }
.book-teaser__label {
  margin: 32px 0 12px; font-family: var(--f-label); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted);
}
.book-teaser__group { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
@media (min-width: 900px) { .book-teaser__group { justify-content: flex-start; } }
.book-teaser__group-label {
  width: 100%; font-family: var(--f-label); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted);
}
@media (min-width: 900px) { .book-teaser__group-label { width: auto; min-width: 74px; } }
.book-teaser__cat {
  height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: .88rem;
  border: 1px solid rgba(244, 240, 233, .26); background: rgba(244, 240, 233, .04); color: var(--on-dark);
  transition: background .2s, color .2s, border-color .2s;
}
.book-teaser__cat:hover, .book-teaser__cat:focus-visible { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* floating "Cardápio" button, bottom left; appears with the back-to-top button */
.book-fab {
  position: fixed; left: 16px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--on-dark); border: 1px solid rgba(244, 240, 233, .35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
  font-family: var(--f-label); font-weight: 500; font-size: .84rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .2s, color .2s;
}
.book-fab svg { width: 20px; height: 20px; }
.show-top .book-fab { opacity: 1; pointer-events: auto; transform: none; }
.show-top.teaser-in-view .book-fab { opacity: 0; pointer-events: none; transform: translateY(12px); }
.book-fab:hover { background: var(--on-dark); color: var(--ink); }

.book { position: relative; width: var(--pw); height: var(--ph); cursor: pointer; }
.is-spread .book { width: calc(var(--pw) * 2); }
.book__spread { position: absolute; inset: 0; will-change: transform; }
/* one page at a time: a turned page leaves to the left, out of view */
.book-wrap:not(.is-spread) .book { clip-path: inset(-80px -80px -80px 0); }

/* pages still to turn (right) and already turned (left): thickness and shadow */
.book__under { position: absolute; top: 0; width: var(--pw); height: var(--ph); background: var(--paper-2); border-radius: 2px 6px 6px 2px; }
.book__under--right { left: 0; }
.is-spread .book__under--right { left: var(--pw); }
.book__under--left { left: 0; border-radius: 6px 2px 2px 6px; }

.leaf {
  position: absolute; top: 0; left: 0; width: var(--pw); height: var(--ph);
  transform-style: preserve-3d;
}
.is-spread .leaf { left: var(--pw); }
.face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.face--back { transform: rotateY(180deg); }
.face__shade, .face__cast { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
/* only the sheets around the open pages are drawn; their shadows animate on their own layer,
   so the text underneath is not repainted on every frame */
.leaf.is-far { visibility: hidden; }
.leaf.is-near { will-change: transform; }
.leaf.is-near .face__shade, .leaf.is-near .face__cast { will-change: opacity; }
.face--front .face__shade { background: linear-gradient(90deg, rgba(20, 18, 16, .55), rgba(20, 18, 16, .2) 55%, rgba(20, 18, 16, .08)); }
.face--back .face__shade { background: linear-gradient(270deg, rgba(20, 18, 16, .55), rgba(20, 18, 16, .2) 55%, rgba(20, 18, 16, .08)); }
.face--front .face__cast { background: linear-gradient(90deg, rgba(20, 18, 16, .6), rgba(20, 18, 16, .18) 30%, transparent 65%); }
.face--back .face__cast { background: linear-gradient(270deg, rgba(20, 18, 16, .6), rgba(20, 18, 16, .18) 30%, transparent 65%); }

/* ---------- a page ---------- */
.page {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--grain-dark) var(--paper); color: var(--text); font-size: var(--fs);
}
/* fold of the paper near the spine */
.face--front .page::after, .face--back .page::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14%; pointer-events: none;
}
.face--front .page::after { left: 0; background: linear-gradient(90deg, rgba(20, 18, 16, .2), rgba(20, 18, 16, .05) 40%, transparent); }
.face--back .page::after { right: 0; background: linear-gradient(270deg, rgba(20, 18, 16, .2), rgba(20, 18, 16, .05) 40%, transparent); }
.page--cover::after, .page--plain::after { display: none; }

.page__inner { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1.9em 2.1em 1.2em 2.4em; }
.face--back .page__inner, .page--measure-back .page__inner { padding: 1.9em 2.4em 1.2em 2.1em; }
.page__head {
  display: flex; justify-content: space-between; gap: 1em;
  font-family: var(--f-label); font-weight: 500; font-size: .62em; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); padding-bottom: .9em; margin-bottom: 1.1em; border-bottom: 1px solid var(--line);
}
.page__content { flex: 1; min-height: 0; overflow: hidden; }
.page__foot { padding-top: .7em; text-align: center; font-family: var(--f-serif); font-size: .78em; color: var(--muted); }
.page__foot:empty { display: none; }

/* menu content inside a page */
.page .part__title { font-size: .72em; letter-spacing: .42em; gap: 1.2em; margin: .2em 0 .4em; }
.page .bk-cat { margin-top: .9em; }
.page .page__content > .bk-cat:first-child { margin-top: 0; }
.page .category__title { font-size: 2.6em; margin: 0; padding-right: 1.6em; line-height: 1.15; }
.page .category__title--cont { font-size: 1.75em; color: var(--muted); }
.page .category__title--cont::after { display: none; }
.page .category__note { font-size: .82em; margin: .1em 0 0; }
.page .subgroup__title { font-size: .64em; margin: 1.1em 0 0; }
.page .items { display: block; margin: .35em 0 0; }
.page .item { padding: .62em 0; }
.page .item:last-child { border-bottom: 0; }
.page .item__head { gap: .6em; }
.page .item__name { font-size: 1.12em; column-gap: .45em; }
.page .item__size { font-size: .7em; }
.page .item__dots { min-width: 1em; transform: translateY(-.3em); }
.page .item__desc { font-size: .86em; margin-top: .25em; line-height: 1.45; max-width: none; }
.page .item__extra { font-size: .84em; margin-top: .4em; gap: .6em; }
.page .item__prices { gap: .8em; }
.page .price__val { font-size: 1.16em; }
.page .price__cur { font-size: .56em; }
.page .price__label { font-size: .7em; }
.page .items--compact .item { padding: .42em 0; }
.page .items--compact .item__name { font-size: 1.02em; }
.page .items--compact .price__val { font-size: 1.06em; }
.page .tag { width: 1.35em; height: 1.35em; }
.page .tag svg { width: .9em; height: .9em; }
.page .item.is-flash { animation: book-flash 1.8s ease-out; }
@keyframes book-flash {
  0%, 35% { background: rgba(95, 158, 47, .16); box-shadow: 0 0 0 .5em rgba(95, 158, 47, .16); }
  100% { background: transparent; box-shadow: 0 0 0 .5em transparent; }
}

/* cover and back cover */
.page--cover {
  background:
    var(--grain-light),
    radial-gradient(120% 80% at 30% 20%, #2c2724 0%, var(--ink) 65%);
  color: var(--on-dark);
}
.page--cover .page__inner { padding: 1.4em; }
.cover__frame {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6em; text-align: center; border: 1px solid rgba(244, 240, 233, .28); border-radius: 4px;
  box-shadow: inset 0 0 0 .4em var(--ink), inset 0 0 0 calc(.4em + 1px) rgba(244, 240, 233, .14);
}
.cover__logo { width: 64%; height: auto; }
.cover__logo--small { width: 40%; }
.cover__title { margin: .2em 0 0; font-family: var(--f-script); font-size: 3.4em; line-height: 1; }
.cover__sub { margin: 0; font-family: var(--f-label); font-size: .74em; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-muted); }
.cover__sub--muted { letter-spacing: .12em; text-transform: none; font-family: var(--f-body); font-size: .8em; opacity: .8; }
/* light catching the spine edge of the cover */
.face--front .page--cover { box-shadow: inset 6px 0 10px -6px rgba(244, 240, 233, .25); }

/* inside cover */
.welcome { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1em; text-align: center; }
.welcome__logo { width: 46%; height: auto; opacity: .92; }
.welcome__script { margin: 0; font-family: var(--f-script); font-size: 2.6em; line-height: 1.1; color: var(--ink); }
.welcome .legend { justify-content: center; font-size: .86em; gap: .6em 1.2em; }
.welcome .tag { width: 1.6em; height: 1.6em; }
.welcome__note { margin: 0; font-size: .84em; color: var(--muted); font-style: italic; max-width: 22em; }

/* table of contents */
.toc .category__title { margin-bottom: .2em; }
.toc__label { margin: 1em 0 .3em; font-family: var(--f-label); font-weight: 500; font-size: .66em; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__link { display: flex; align-items: baseline; gap: .5em; padding: .26em 0; text-decoration: none; color: var(--ink); font-family: var(--f-serif); font-size: 1em; }
.toc__link:hover .toc__name { text-decoration: underline; text-underline-offset: 3px; }
.toc__dots { flex: 1; border-bottom: 1px dotted rgba(20, 18, 16, .35); transform: translateY(-.25em); }
.toc__num { font-size: .92em; }
.page--tight .toc__link { padding: .12em 0; font-size: .9em; }
.page--tight .toc__label { margin-top: .7em; }
.page--tight .toc .category__title { font-size: 2.1em; }
.page--tighter .toc__link { padding: .06em 0; font-size: .84em; }
.page--tighter .toc__label { margin: .5em 0 .15em; }
.page--tighter .toc .category__title { font-size: 1.8em; }

/* last page: visit */
.visit-page { display: flex; flex-direction: column; gap: .9em; }
.visit-page__address { margin: 0; font-family: var(--f-serif); font-size: 1.12em; line-height: 1.45; }
.visit-page__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5em; }
.visit-page__links a {
  display: inline-flex; align-items: center; gap: .6em; padding: .55em 1em; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92em;
}
.visit-page__links a:hover { background: var(--ink); color: var(--paper); }
.visit-page__links svg { width: 1.15em; height: 1.15em; }

.page--blank .page__inner { align-items: center; justify-content: center; }
.blank__mark { width: 28%; opacity: .1; }

/* hidden box used to measure how much fits on a page */
.book-measure { position: absolute; left: -10000px; top: 0; visibility: hidden; pointer-events: none; }

/* ---------- navigation ---------- */
.book-nav {
  position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(100%, 560px);
}
.book-nav__btn {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(244, 240, 233, .3); background: rgba(244, 240, 233, .04); color: var(--on-dark);
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.book-nav__btn:hover:not(:disabled) { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.book-nav__btn:disabled { opacity: .3; cursor: default; }
.book-nav__btn svg { width: 20px; height: 20px; }
.book-nav__btn--prev svg { transform: scaleX(-1); }
.book-nav__status { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.book-nav__cat { font-family: var(--f-serif); font-size: 1.05rem; line-height: 1.2; color: var(--on-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.book-nav__page { font-family: var(--f-label); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); min-height: 1em; }
.book-nav__page.is-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); }
.book-nav__page.is-hint::before {
  content: ""; width: 12px; height: 18px; border: 1.5px solid currentColor; border-radius: 6px;
  background: linear-gradient(currentColor, currentColor) 50% 4px / 2px 4px no-repeat;
  animation: book-wheel 1.6s ease-in-out infinite;
}
@keyframes book-wheel { 0%, 100% { background-position: 50% 3px; } 50% { background-position: 50% 8px; } }
.book-nav__track { width: 100%; max-width: 260px; height: 2px; margin-top: 4px; background: rgba(244, 240, 233, .14); border-radius: 2px; overflow: hidden; }
.book-nav__progress { display: block; height: 100%; background: var(--on-dark); transform-origin: left; transform: scaleX(0); }

@media (max-width: 699px) {
  .book-nav { gap: 10px; }
  .book-nav__btn { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

