.route-reading { padding-block: clamp(3rem, 7vw, 7rem); overflow-wrap: anywhere; }
.route-reading h2 { font-family: var(--serif, Georgia, serif); }
.route-reading p, .route-reading address { max-inline-size: 68ch; margin-block: 1em; }
.route-reading nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-block: 2rem; }
.route-reading a { text-decoration: underline; text-underline-offset: .18em; }
/* The static size selector uses ordinary links before the interactive buttons take over. */
body[data-view="produkt"] .opts a.opt { display: grid; place-items: center; text-align: center; text-decoration: none; }
body[data-view="produkt"] .opts a[aria-current="page"] { background: var(--b-leaf); color: var(--b-cream); }
body[data-view="produkt"] .pdp:has(a.opt[data-idx="0"][aria-current]) .pdp-stage { --sx: -2%; --sw: 15%; }
/* Keep the below-fold anatomy overlay inside its section while its 3D module mounts. */
@media (min-width: 1100px) {
  body[data-view="benefits"] #app > .bp-sec { contain: paint; }
}
/* Reserve both lines while the production heading fits its accent word to the device font. */
@media (max-width: 760px) and (orientation: portrait) {
  body[data-view="produktion"].ph-on .production-hero-head { min-block-size: calc(30vw * .98 + clamp(19px, 5.4vw, 30px) * 1.05 + 2px); }
}
/* Reserve Vito's opening passage while the pairing module inserts it ahead of the dish list. */
html.pvito-page #app > .ph-pairing + section:has(.dishes) { margin-block-start: max(var(--pv-pass), 24svh); }
/* Arabic date text uses the same joined lettering before and after the site's typography pass. */
html[lang="ar"] #app .legal-intro .legal-updated { letter-spacing: 0; }

body[data-view="geschichte"] #app > .route-reading.wrap {
  align-self: stretch;
  inline-size: 100%;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* A fitted title can use one display line. While the static title is unmeasured it must wrap. */
#app .legal-intro h1.lg-hi[data-static-heading]:not([style*="--lg-w"]) em {
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) and (orientation: portrait) {
  body[data-view="produktion"].ph-on #productionSceneTitle:not(.ph-title-measured) {
    grid-template-columns: minmax(0, 1fr) max-content;
  }
  body[data-view="produktion"].ph-on #productionSceneTitle:not(.ph-title-measured) em {
    font-size: min(var(--p-w1), 24vw);
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
