.opening { position: relative; isolation: isolate; }
.opening .intro {
  position: relative;
  isolation: isolate;
  z-index: 1;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: clamp(5rem, 9vw, 9.5rem);
  background: var(--ink);
  color: var(--white);
}
.intro-scene, .intro-scene::after { position: absolute; inset: 0; }
.intro-scene { display: block; z-index: -1; overflow: hidden; pointer-events: none; }
.intro-scene img {
  width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%;
}
.intro-scene::after {
  content: "";
  background: radial-gradient(var(--intro-shade, ellipse 48% 47% at 74% 48%), #1d1d1d72 40%, #1d1d1d70 64%, #1d1d1d33 83%, transparent 100%);
}
.intro-content { grid-column: 2; min-inline-size: 0; }
.intro-content > .section-label { margin: 0 0 1.15rem; }
.opening .intro h2 {
  color: var(--lime);
  font-size: clamp(4.4rem, 7.1vw, 8.9rem);
  line-height: 1.04;
  overflow-wrap: break-word;
}
.opening .intro .lead { margin: 0 0 clamp(1.2rem, 2.3vw, 2.6rem); max-width: 31ch; }
.opening .intro .body-copy { margin-top: clamp(1.2rem, 2vw, 2.3rem); color: inherit; }
@media (min-width: 651px) and (max-width: 899px) {
  .opening .intro { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); }
  .opening .intro h2 { font-size: clamp(3.6rem, 7.5vw, 4.6rem); }
  .intro-scene { --intro-shade: ellipse 56% 75% at 70% 45%; }
}
@media (max-width: 650px) {
  .opening .intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(clamp(9rem, 34svh, 25rem), 1fr);
    gap: 0;
    padding-block: 0;
  }
  .intro-scene img { object-position: 49% 72%; }
  .intro-scene::after { background: none; }
  /* Keep the shadow behind the copy and the colour of the image clear below. */
  .opening .intro::after {
    content: "";
    grid-area: 1 / 1;
    align-self: stretch;
    margin: 0 calc(-1 * var(--edge)) -5rem;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(180deg, transparent, #1d1d1d78 clamp(2.5rem, 9svh, 7rem), #1d1d1d78 calc(100% - 5rem), transparent);
  }
  .intro-content { grid-area: 1 / 1; padding-top: clamp(2.5rem, 9svh, 7rem); }
  .intro-content > .section-label { margin-bottom: .95rem; }
  .opening .intro h2 { font-size: clamp(3.75rem, 14vw, 5.7rem); }
}

.journeys {
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: clamp(4rem, 7vw, 8rem);
  display: grid;
  align-content: center;
  background: radial-gradient(var(--journey-shade-area, ellipse 74% 76% at 50% 50%), #222222b8 20%, #222222a8 58%, #22222277 78%, transparent 100%),
    var(--journey-scene, url('/images/journeys-study.webp?v=1f3b050c')) center 48% / cover var(--ink);
  color: var(--white);
  text-align: center;
}
.journeys-copy { max-width: 62rem; margin-inline: auto; }
.journeys h2 { margin: 1.55rem 0 clamp(2rem, 3.2vw, 3.3rem); color: var(--lime); font-size: clamp(3.65rem, 8.1vw, 9rem); }
.journeys-copy > p:not(.section-label) { max-width: 54ch; margin: 1rem auto 0; font-size: clamp(1.075rem, 1.48vw, 1.5rem); line-height: 1.5; }
@media (max-width: 650px) {
  .journeys { --journey-shade-area: ellipse 100% 95% at 42% 50%; text-align: left; }
  .journeys-copy > p { margin-inline: 0; }
}
.route-icon-source { position: absolute; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .has-motion .hero-art img {
    transform-origin: 63% 55%;
    transform: translateY(calc(var(--opening-progress, 0) * -3%)) scale(calc(1.035 - var(--opening-progress, 0) * .035));
  }
  .has-motion .opening .intro { box-shadow: 0 -18px 42px -30px #22222222; }

}
@media (min-height: 670px) and (prefers-reduced-motion: no-preference) {
  .has-motion .hero { position: sticky; top: 0; }
}
