/* Full-width chapter landscapes. The existing guide grid and sticky navigation
   keep their normal flow; decorative bands live in a separate background. */
.guide-landscapes { position: relative; isolation: isolate; overflow: clip; }
.guide-scenery { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.guide-scenery-band {
  position: absolute;
  top: var(--scene-top, 0px);
  height: var(--scene-height, 0px);
  inset-inline: 0;
  overflow: clip;
}
.guide-scenery-layer { position: absolute; inset: -100px 0; }
.guide-scenery-layer img {
  display: block;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  opacity: .7;
}
.guide-scenery-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink), #0c1b2130 16%, #0c1b2120 80%, var(--ink)),
    linear-gradient(90deg, #0c1b2130, #0c1b2190 calc(50% - 940px),
      #0c1b21f2 calc(50% - 700px), #0c1b21f5 50%,
      #0c1b21ef calc(50% + 650px), #0c1b2170 calc(50% + 940px), #0c1b2120);
}
/* Text occupies more of smaller desktops: retain a restrained scenic texture. */
@media (min-width: 1101px) and (max-width: 1800px) {
  .guide-scenery-shade {
    background:
      linear-gradient(180deg, var(--ink), #0c1b21b8 15%, #0c1b21cc 80%, var(--ink)),
      linear-gradient(90deg, #0c1b21bb, #0c1b2188 30%, #0c1b2199 90%);
  }
}
@media (max-width: 1100px), (hover: none), (pointer: coarse) {
  .guide-scenery { display: none; }
}
@media print {
  .guide-scenery { display: none !important; }
  .guide-landscapes { overflow: visible; }
}
