/* ==========================================================================
   Do Sushi Haus – Speisekarte
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: calc(110px + var(--s-7)) 0 var(--s-6); text-align: center; overflow: hidden; }
.page-hero h1 { margin: var(--s-3) 0; }
.page-hero .lead { max-width: 34rem; margin-inline: auto; }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------- Sticky category bar ---------- */
.menu-nav {
  position: sticky; top: 109px; z-index: 30;
  background: rgba(14,14,14,.92); backdrop-filter: blur(8px);
  border-block: 1px solid var(--line);
}
.menu-nav__inner { display: flex; align-items: center; gap: var(--s-4); }
.menu-nav__tabs { display: flex; flex: none; border-right: 1px solid var(--line); padding-right: var(--s-3); gap: .25rem; }
.menu-nav__tabs a {
  font-family: var(--font-serif); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: .45em .9em; border-radius: var(--radius); color: var(--muted); font-size: .95rem;
}
.menu-nav__tabs a.is-active { background: var(--gold); color: #111; }
.menu-nav__cats { display: flex; gap: var(--s-4); overflow-x: auto; scrollbar-width: none; padding-block: var(--s-3); scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 90%, transparent); }
.menu-nav__cats::-webkit-scrollbar { display: none; }
.menu-nav__cats a { flex: none; text-decoration: none; color: var(--muted); font-weight: 500; white-space: nowrap; position: relative; padding-block: .2rem; scroll-snap-align: start; }
.menu-nav__cats a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu-nav__cats a.is-active { color: var(--gold); }
.menu-nav__cats a.is-active::after { transform: scaleX(1); }
@media (max-width: 767px) {
  .menu-nav__inner { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-nav__tabs { border-right: 0; padding: var(--s-2) 0 0; justify-content: center; }
  .menu-nav__tabs a { flex: 1; text-align: center; }
  .menu-nav__cats { padding-block: var(--s-2) var(--s-3); }
}

/* ---------- Menu worlds ---------- */
.menu-world { position: relative; }
.menu-world--asia { background-image: linear-gradient(transparent, rgba(224,122,46,.05) 20%, rgba(224,122,46,.05) 80%, transparent); }
.world-divider { text-align: center; padding: var(--s-8) 0 var(--s-4); }
.world-divider h2 { font-size: var(--fs-display); }
.world-divider .label { color: var(--gold); }

/* ---------- Category ---------- */
.cat { padding-block: var(--s-7); scroll-margin-top: 190px; border-bottom: 1px solid rgba(52,52,52,.6); }
.cat:last-child { border-bottom: 0; }
.cat__body { display: grid; gap: var(--s-6); align-items: start; }
.cat__media { position: relative; width: min(86vw, 420px); margin-inline: auto; aspect-ratio: 1; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.cat__media svg { position: absolute; inset: -4%; width: 108%; height: 108%; overflow: visible; pointer-events: none; }
.cat__media svg path { fill: none; stroke-linecap: round; }
@media (min-width: 1024px) {
  .cat__body { grid-template-columns: 400px 1fr; gap: var(--s-7); }
  .cat__body--flip { grid-template-columns: 1fr 400px; }
  .cat__body--flip .cat__media { order: 2; }
  .cat__media { position: sticky; top: 180px; width: 100%; }
  .cat__body--wide { grid-template-columns: 1fr; }
  .cat__body--wide .menu-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); }
}
.cat .menu-list { gap: var(--s-4); }
.cat .dish { padding-bottom: var(--s-3); border-bottom: 1px solid rgba(52,52,52,.5); }
.cat .dish:last-child { border-bottom: 0; }

/* Set menus as cards inside the menu */
.cat .sets { margin-top: 0; }

/* ---------- Notice ---------- */
.menu-notice { text-align: center; padding: var(--s-6) 0 var(--s-8); color: var(--muted); font-size: var(--fs-small); }
.menu-notice p { max-width: 36rem; margin: 0 auto var(--s-2); }

/* ---------- Wide photos: banner frame instead of a circle ---------- */
.cat__banner {
  position: relative; margin: 0 0 var(--s-6); aspect-ratio: var(--ar, 21 / 9); max-height: 380px; width: 100%;
  border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.55);
}
.cat__banner img { width: 100%; height: 100%; object-fit: cover; }
.cat__banner::after { /* gold hairline frame inset like the printed title box */
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-line); border-radius: 3px; pointer-events: none;
}
.cat__banner .steam { left: 30%; bottom: 40%; width: 30%; height: 60%; }
@media (max-width: 767px) { .cat__banner { aspect-ratio: 4 / 3; } }

/* ---------- Dish photos ---------- */
.dish--img { grid-template-columns: 80px 2.6rem 1fr auto; column-gap: var(--s-3); }
.dish--img .dish__desc, .dish--img .dish__options { grid-column: 3 / -1; }
.dish__thumb {
  grid-row: 1 / span 3; align-self: start; width: 80px; height: 80px; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 50%; overflow: hidden; background: var(--surface);
  box-shadow: 0 0 0 1px var(--gold-line), 0 10px 22px rgba(0,0,0,.55);
  transition: transform .5s var(--ease-out, ease), box-shadow .5s;
}
.dish__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out, ease); }
.dish__thumb:hover { transform: rotate(-4deg) scale(1.06); box-shadow: 0 0 0 2px var(--gold), 0 14px 28px rgba(0,0,0,.65); }
.dish__thumb:hover img { transform: scale(1.12); }
@media (max-width: 480px) {
  .dish--img { grid-template-columns: 64px 2.2rem 1fr auto; column-gap: .6rem; }
  .dish__thumb { width: 64px; height: 64px; }
}
.cat .dish { transition: background-color .3s; border-radius: 4px; }
@media (hover: hover) { .cat .dish:hover { background: rgba(212,167,44,.035); } }

/* Set cards with a photo header */
.set-card--img { padding-top: 0; overflow: hidden; }
.set-card__img { display: block; max-width: none; width: calc(100% + 2 * var(--s-4)); margin: 0 calc(-1 * var(--s-4)) var(--s-4); aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1s var(--ease-out, ease); }
.set-card--img:hover .set-card__img { transform: scale(1.04); }
.set-card--img .seal { top: .8rem; z-index: 1; }

/* ---------- Lightbox ---------- */
.zoom { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.25rem; background: rgba(8,8,8,.86); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.zoom.is-open { opacity: 1; visibility: visible; }
.zoom figure { margin: 0; text-align: center; transform: scale(.92); transition: transform .5s var(--ease-out, ease); }
.zoom.is-open figure { transform: none; }
.zoom img { width: min(80vw, 480px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-line), 0 40px 80px rgba(0,0,0,.7); }
.zoom figcaption { margin-top: 1.2rem; font-family: var(--font-serif); color: var(--gold); font-size: 1.3rem; }
.zoom button { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; background: none; border: 1px solid var(--gold-line); color: var(--gold); font-size: 1.4rem; cursor: pointer; }

/* vertical brand word must fit inside the short page hero */
.page-hero .edge-word { font-size: clamp(2.6rem, 1.6rem + 3vw, 5.2rem); }

/* Chef's seal sticks out of the card corner like a label */
.set-card--img { overflow: visible; }
.set-card--img .set-card__img { border-radius: var(--radius) var(--radius) 0 0; }
.set-card--img .seal { top: -16px; right: -14px; z-index: 3; width: 3.6rem; height: 3.6rem; transform: rotate(8deg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 8px 18px rgba(0,0,0,.55); }

/* Dish codes (A1, U3 …) hidden on the web – names are enough */
/* .dish__code { display: none; } */
.dish { grid-template-columns: 1fr auto; }
.dish .dish__desc, .dish .dish__options { grid-column: 1 / -1; }
.dish--img { grid-template-columns: 80px 1fr auto; }
.dish--img .dish__desc, .dish--img .dish__options { grid-column: 2 / -1; }
@media (max-width: 480px) { .dish--img { grid-template-columns: 64px 1fr auto; } }
.dish__options li > span:first-child { flex: 1; color: var(--ink); }
