.solutionStage {
 --portal-x: 50%;
 --portal-y: 45%;
 --portal-half-width: clamp(88px, 8.5vw, 156px);
 --portal-half-height: calc(var(--portal-half-width) / 1.08);
 --portal-radius: clamp(24px, 3.3vw, 49px);
 --portal-growth: 0;
}
.solutionBacks { position: absolute; inset: 0; z-index: -2; }
.solutionBacks .photo {
 visibility: hidden;
 z-index: 0;
 overflow: hidden;
}
.solutionBacks .photo[data-layer="base"],
.solutionBacks .photo[data-layer="incoming"] { visibility: visible; }
.solutionBacks .photo[data-layer="incoming"] {
 z-index: 1;
 inset:
   calc((var(--portal-y) - var(--portal-half-height)) * (1 - var(--portal-growth)))
   calc((100% - var(--portal-x) - var(--portal-half-width)) * (1 - var(--portal-growth)))
   calc((100% - var(--portal-y) - var(--portal-half-height)) * (1 - var(--portal-growth)))
   calc((var(--portal-x) - var(--portal-half-width)) * (1 - var(--portal-growth)));
 border-radius: calc(var(--portal-radius) * (1 - var(--portal-growth)));
}
.solutionBacks .solutionHome { background-position: 72% center; }
.solution-background.solutionHome { object-position: 72% center; }
.solutionStage .sceneNav {
 display: grid;
 width: fit-content;
 grid-template-columns: repeat(2, minmax(0, clamp(108px, 10vw, 146px)));
 align-items: stretch;
 gap: 8px;
}
.sceneNav button {
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 justify-content: center;
 gap: 7px;
 min-height: 71px;
 padding: 9px 12px;
 border: 1px solid #bdede063;
 border-radius: 10px;
 color: #fff;
 background: #0b2029d9;
 font-size: 13px;
 line-height: 1.15;
 text-align: start;
}
.sceneNav button[aria-pressed="true"] { color: #102d30; background: #daf6ed; }
.sceneNav button svg {
 width: 25px;
 height: 25px;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.35;
 stroke-linecap: round;
 stroke-linejoin: round;
}
.sceneNav button[aria-pressed="false"] svg { color: #91e2d1; }
.solutionStage .sceneNext {
 position: absolute;
 top: var(--portal-y);
 left: var(--portal-x);
 translate: -50% -50%;
 width: calc(2 * var(--portal-half-width));
 height: calc(2 * var(--portal-half-height));
 display: grid;
 align-items: end;
 padding: 12px;
 border: 1px solid #effaf3ae;
 border-radius: var(--portal-radius);
 text-align: center;
 text-shadow: 0 1px 5px #08141c;
 font-size: clamp(12px, 1.1vw, 16px);
 font-weight: 700;
 background: linear-gradient(transparent 58%, #061018bd);
 opacity: calc(1 - min(1, 4 * var(--portal-growth)));
}
.solutionStage[data-expanding] .sceneNext { pointer-events: none; }
.solutionStage .sceneText { opacity: calc(1 - .88 * var(--portal-growth)); }
.product-entry-window {
 position: fixed;
 inset: 0;
 z-index: 20;
 background: #182c38 center / cover no-repeat;
 pointer-events: none;
}
@media (max-width: 750px) {
 .solutionStage {
  --portal-y: 49%;
  --portal-half-width: clamp(70px, 21vw, 92px);
  --portal-radius: 23px;
 }
 .solutionStage .sceneNav { gap: 6px; }
 .sceneNav button { min-height: 55px; padding: 6px 9px; gap: 4px; font-size: 11px; }
 .sceneNav button svg { width: 20px; height: 20px; }
 .solutionStage:has(.solutionHome[data-layer="base"]) { --portal-x: 27%; }
 .solutionBacks .solutionHome {
  background-color: #2c211a;
  background-size: auto 75%;
  background-repeat: no-repeat;
  background-position: 81% top;
 }
 .solutionBacks .solutionHome::after {
  content:"";
  position:absolute;
  inset:55% 0 0;
  background:linear-gradient(transparent,#2c211a 45%);
 }
 .solution-background.solutionHome { object-position: 89% center; }
}
@media (max-height: 720px) {
 .solutionStage .sceneText { margin-top: 0; }
 .solutionStage { --portal-y: 50%; }
}
