/* Preview-only decoration; the existing engine owns navigation and all controls. */
.film-stage > .pre-visual-root {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(122px, calc((100% - 1280px) / 2 + 122px));
  right: max(14px, calc((100% - 1280px) / 2 + 14px));
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.pre-visual-root .pre-visual-layer {
  position: absolute;
  inset: 0;
  opacity: var(--pre-opacity, 0);
  transform: translateY(var(--pre-shift, 0));
  pointer-events: none;
}
.pre-visual-root .pre-visual-layer[hidden] { display: none; }
.pre-visual-layer .service-composition { height: 100%; }
.pre-visual-layer .service-copy h2 {
  margin: 0;
  color: #163c37;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1.13;
  letter-spacing: -.04em;
  font-weight: 650;
  text-wrap: balance;
}
.pre-visual-layer .service-copy p {
  margin: 18px 0 0;
  color: #163c37;
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.48;
  text-wrap: pretty;
}
.pre-visual-layer .service-copy em,
.pre-visual-layer .service-copy strong,
.pre-visual-layer .service-copy .tmt-accent-word { color: #895634; font-style: normal; }
.pre-visual-layer .service-copy h2 > span { display: block; }
.pre-visual-layer .service-copy a { color: #895634; text-underline-offset: .15em; }
.pre-visual-layer[aria-hidden="false"] .service-copy a { pointer-events: auto; }
.pre-visual-layer .service-copy > [data-pre-live-node] {
  visibility: visible !important;
  opacity: 1 !important;
  translate: none !important;
  margin-top: 0;
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 600;
}
.film-stage .pre-original-dim { opacity: var(--pre-original-opacity, 1) !important; }
#website > .pre-form-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .32;
  pointer-events: none;
}
#website > .content { z-index: 1; }
main.research-expanded .pre-visual-root,
main.research-expanded #website > .pre-form-backdrop { display: none; }
@media (max-width: 1023px), (pointer: coarse) {
  .film-stage > .pre-visual-root { left: 52px; right: 6px; }
}
@media (max-width: 680px) {
  .pre-visual-layer[data-pre-scene="opening-title"] .service-copy h2 { font-size: clamp(34px, 9vw, 44px) !important; }
  .pre-visual-layer .service-copy h2 { font-size: clamp(25px, 6.3vw, 32px); line-height: 1.13; }
  .pre-visual-layer .service-copy p { font-size: 17px; line-height: 1.4; margin-top: 13px; }
  .pre-visual-layer .service-copy > [data-pre-live-node] { font-size: 18px; line-height: 1.4; }
  .pre-visual-layer[data-pre-scene="registry-sources"] .service-image { height: 38%; }
  .pre-visual-layer[data-pre-scene="registry-sources"] .service-gradient { background: linear-gradient(180deg, transparent 0%, transparent 27%, #f5f3eb 39%, #f5f3eb 100%); }
  .pre-visual-layer[data-pre-scene="registry-sources"] .service-copy { top: 68%; }
}
@media (prefers-reduced-motion: reduce) {
  .pre-visual-root .pre-visual-layer { transform: none; }
}
/* The world introduction shares the cream scene; its live scan keeps its dark stage. */
main:has(.pre-visual-layer[data-pre-scene="world-title"][aria-hidden="false"]),
.film-stage:has(.pre-visual-layer[data-pre-scene="world-title"][aria-hidden="false"]) > .planet { background:#f5f3eb!important; }
