/* Both encounters share the stream setting and garden-light treatment. */
.haru-presence::before,
.character-opening::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--haru-atmosphere, none) center / cover;
  mask-image: linear-gradient(90deg, transparent 48%, #000 80%);
  opacity: 0.24;
  pointer-events: none;
}
.character-opening {
  position: relative;
  isolation: isolate;
}
/* The last journey photo is the compact introduction's shared image. */
@media (max-width: 700px),
  (min-width: 701px) and (max-width: 1000px) and (orientation: portrait) {
  .garden-page .world::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: clamp(120px, 22svh, 220px);
    background: linear-gradient(transparent, #29382e);
    pointer-events: none;
    z-index: 4;
  }
  .haru-presence .presence-words {
    justify-content: flex-start;
    padding-top: 48px;
  }
  .garden-page .haru-presence::before {
    background-position: left bottom;
    background-size: auto 150%;
  }
}
@media (min-width: 1001px) {
  .haru-presence,
  .haru-page .character-opening {
    min-height: 100svh;
    padding-top: 0;
    grid-template-rows: minmax(620px, 100svh);
  }
  .haru-presence .presence-art,
  .haru-page .character-opening > .character-art {
    grid-area: 1 / 1 / 2 / 10;
    mask-image: linear-gradient(90deg, #000 65%, transparent 92%);
  }
  .haru-presence .presence-art::after {
    display: none;
  }
  .haru-presence .presence-art img,
  .haru-page .character-art img {
    object-position: 58% center;
  }
  .haru-presence .presence-words,
  .haru-page .character-opening .story-words {
    grid-area: 1 / 9 / 2 / 13;
    align-self: center;
    justify-content: center;
    min-height: 0;
    padding: 108px clamp(28px, 5vw, 96px) 48px 16px;
  }
  .haru-presence .presence-words h2,
  .haru-page .character-opening .story-words h1 {
    font-size: clamp(44px, 4.1vw, 68px);
    line-height: 1.12;
  }
  .haru-page .character-opening .story-words .hand {
    font-size: clamp(30px, 2.5vw, 38px);
  }
}
@media (max-width: 1000px) {
  .haru-presence::before,
  .character-opening::before {
    background-position: right;
    mask-image: linear-gradient(transparent 30%, #000 80%);
    opacity: 0.1;
  }
}
