/* Fill the viewport with the original artwork ratio; crop instead of letterboxing. */
.smoke-motion { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; filter: url(#etv-smoke-flow); transform: translateY(var(--smoke-drift, 0px)); pointer-events: none; }
.smoke-motion[hidden], .motion-reduced .smoke-motion { display: none; }
@media (prefers-reduced-motion: reduce) { .smoke-motion { display: none; } }
.temple-atmosphere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.temple-atmosphere[hidden] { display: none; }
.cold-lamps { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transform: scale(1.045); }
.cold-lamps[hidden], .motion-reduced .cold-lamps { display: none; }
.motion-reduced .temple-atmosphere { display: none; }
@media (prefers-reduced-motion: reduce) { .temple-atmosphere, .cold-lamps { display: none; } }
.scene-window {
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: none;
}
.scene-window > div {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.scene-shade {
  background: linear-gradient(0deg, #0a0808 0%, #0a080899 12%, transparent 55%, #0a080830 100%);
}

/* Let the teaching feature's artwork bleed to both page edges. */
.studies {
  --page-gutter: max(56px, calc((100% - 1200px) / 2));
  display: grid;
  grid-template-columns: minmax(56px, 1fr) minmax(0, 1200px) minmax(56px, 1fr);
  width: 100%;
  padding-inline: 0;
}
.studies > * { grid-column: 2; }
.featured-study {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: 0;
  border: 0;
  min-height: 510px;
}
.study-art {
  position: absolute;
  inset: 0;
  min-height: 0;
  z-index: -1;
}
.study-art img { filter: brightness(.9); object-position: center 42%; }
.study-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0a0808, transparent 22%, transparent 82%, #0a0808),
    linear-gradient(90deg, #110d0d05 20%, #110d0db8 51%, #110d0df5 80%);
}
.art-label { z-index: 1; left: var(--page-gutter); bottom: 36px; }
.study-description {
  grid-column: 2;
  align-self: center;
  padding: 65px var(--page-gutter) 65px 42px;
}
@media (max-width: 1050px) {
  .studies { --page-gutter: 32px; grid-template-columns: 32px minmax(0, 1fr) 32px; }
}
@media (max-width: 760px) {
  .scene-window > div { background-position: 58% center; }
  .studies { --page-gutter: 20px; grid-template-columns: 20px minmax(0, 1fr) 20px; }
  .featured-study { display: block; }
  .study-art { position: relative; height: 330px; z-index: auto; }
  .study-art::after {
    background: linear-gradient(0deg, #110d0d, transparent 45%, transparent 85%, #0a0808);
  }
  .art-label { bottom: 44px; }
  .study-description { position: relative; padding: 0 25px 45px; background: #110d0d; }
}
@media (min-width: 761px) and (max-width: 1050px) and (orientation: portrait) {
  .scene-window > div { background-position: 58% center; }
}
