/* Loaded exclusively by /cases/liemes. */
.lb { overscroll-behavior: contain; touch-action: pan-y; }
.lb img { height: auto; }
.menu { overscroll-behavior: contain; }
body.menu-open { overflow: hidden; }
/* Prevent clipping in the supplied mobile service, next-case and CTA cards. */
@media (max-width: 680px) {
  .orow { grid-template-columns: 24px minmax(0, 1fr) 44px; gap: 12px; padding-inline: 8px; }
  .orow strong { font-size: clamp(22px, 6vw, 28px); }
  .orow__arrow { width: 44px; height: 44px; }
  .nextcase > div { min-width: 0; }
  .nextcase__name { font-size: clamp(26px, 7.4vw, 48px); }
  .cta__panel > * { min-width: 0; max-width: 100%; }
  .cta__actions { min-width: 0; }
  .story { padding-top: 0; padding-left: 20px; }
  .story::before, .story__line { display: block; left: 0; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .story__line { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .story__item::before { display: block; top: 28px; left: -28px; }
}
@media (max-width: 360px) {
  .cta__actions .btn { min-width: 0; padding-left: 14px; padding-right: 8px; gap: 8px; font-size: 14px; }
  .cta__actions .btn__icon { width: 36px; height: 36px; flex: 0 0 36px; }
}
@media (prefers-reduced-motion: reduce) { .story { --p: 1; } }

/* Requested vertical storyline, retaining the original cards and scroll progress. */
.story { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 32px; }
.story::before, .story__line { display: block; left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
.story__line { transform: scaleY(var(--p, 0)); transform-origin: top; background: linear-gradient(180deg, var(--slate), var(--glow)); }
.story__item::before { display: block; top: 28px; left: -34px; }
@media (max-width: 680px) { .story { padding-left: 20px; } .story::before, .story__line { left: 0; } .story__item::before { left: -28px; } }
/* Keep gallery controls legible over light menu and restaurant photographs. */
.lb__btn { z-index: 1; }
@media (max-width: 680px) {
  .lb__prev, .lb__next { background: rgba(13, 14, 15, .72); }
}
