/* Raised white panels at the edges of the product stage. */
.white-selector {
  position: relative;
  isolation: isolate;
  background-color: #fff;
}
.white-selector #group-title { filter: drop-shadow(0 .045em .060em rgb(0 0 0 / 17%)) }
.white-selector .choice h2 { text-shadow: 0 .06em .10em rgb(0 0 0 / 12%) }
.stage-edges {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.studio-air, .studio-air > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.studio-air {
  overflow: hidden;
  background:
    radial-gradient(ellipse 29% 48% at -4% 27%, rgb(108 159 110 / 27%), transparent),
    radial-gradient(ellipse 34% 57% at 103% 72%, rgb(103 181 231 / 32%), transparent),
    radial-gradient(ellipse 56% 54% at 64% 102%, rgb(177 205 227 / 24%), transparent),
    linear-gradient(112deg, #f4f7f7, #fff 29%, #fff 63%, #eff5fb);
}
.veil-surface { opacity: 0 }
.studio-air.has-fabric .veil-still { visibility: hidden }
.studio-air.has-fabric .veil-surface { opacity: 1 }
.stage-edge {
  position: absolute;
  width: clamp(113px, calc(40vw - 410px), 620px);
  height: auto;
  overflow: visible;
  --seam-ink: #79bd70;
  --seam-lamp: #80e451;
}
.stage-edge-left { left: 0; top: 0 }
.stage-edge-right {
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
  --seam-ink: #66aed2;
  --seam-lamp: #59d7fb;
}
.stage-panel {
  filter: drop-shadow(2px 8px 7px #00000027) drop-shadow(0 1px 1px #00000032);
}
.stage-seam,.stage-runner {
  fill: none;
  stroke-linecap: round;
}
.stage-seam { stroke: var(--seam-ink); stroke-width: 1.1; opacity: .7 }
.stage-runner {
  stroke: var(--seam-lamp);
  stroke-width: 1.85;
  stroke-dasharray: 16 84;
  stroke-dashoffset: 18;
  filter: drop-shadow(0 0 2.5px var(--seam-lamp));
}
.stage-edge-right .stage-runner { stroke-dashoffset: 53 }

.stage-aura, .stage-bloom {
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}
.stage-aura {
  stroke: var(--seam-ink);
  stroke-width: 17;
  opacity: .62;
  filter: blur(10px);
}
.stage-runner.stage-bloom {
  stroke-width: 7;
  opacity: .78;
  filter: blur(4px);
}
.stage-runner.stage-cast {
  stroke-width: 43;
  opacity: .43;
  filter: blur(16px);
}

/* The front lip, top ellipse and floor shadow use one physical footprint. */
.choice-art {
  --plinth-width: min(86%, 34vw, 512px);
  --plinth-height: clamp(15px, 2.5vw, 40px);
  --plinth-drop: clamp(7px, 1.15vw, 18px);
  --plinth-face: linear-gradient(90deg,#d7dada 0%,#f6f7f7 14%,#eaebea 44%,#fff 71%,#dedfdf 94%,#c5c7c8);
}
.stage-plinth {
  position: absolute;
  width: var(--plinth-width);
  height: var(--plinth-height);
  left: 50%;
  bottom: calc(0px - var(--plinth-drop));
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50% / 44%;
  background: var(--plinth-face);
  box-shadow: 0 2px 3px -1px #00000038, 0 10px 10px -6px #00000035, 3px 18px 20px -12px #00000046;
}
.stage-plinth::after {
  content: '';
  position: absolute;
  inset: 0 0 28%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 49%,#00000053 0%,#00000025 35%,transparent 61%),
    linear-gradient(175deg,#f3f4f4,#fff 51%,#f7f8f8);
  box-shadow: inset 0 -1px 1px #0000001a, inset 0 1px 1px #0000000b;
}
.plinth-light {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  -webkit-mask-image: linear-gradient(transparent 36%,#000 81%);
  mask-image: linear-gradient(transparent 36%,#000 81%);
}
.plinth-light::before,.plinth-light::after {
  content: '';
  position: absolute;
  inset: 0;
}
.plinth-light::before {
  width: 200%;
  background: linear-gradient(90deg,#07604f,#70b342 18%,#d9f7b9 30%,#4fa656 41%,#0b6b70 61%,#0c61a2 78%,#07604f);
  background-size: 50% 100%;
}
.plinth-light::after {
  bottom: clamp(1.2px,.19vw,2.7px);
  border-radius: inherit;
  background: var(--plinth-face);
}
.choice-consult .plinth-light::before {
  background-image: linear-gradient(90deg,#0c61a2,#257fa3 20%,#c4f5fe 32%,#3191ab 43%,#0b7966 68%,#0c61a2);
}
.choice-art::before {
  z-index: -1;
  width: var(--plinth-width);
  height: calc(var(--plinth-height) * .83);
  bottom: calc(0px - var(--plinth-drop));
  transform: translate(-48%,47%);
  background: radial-gradient(ellipse closest-side at 50% 50%,#00000040,#0000001b 64%,transparent);
}
.choice-art > .wp-motif,.choice-art > .haus-motiv { z-index: 1 }
.choice-signature { margin-top: clamp(25px,2.7vw,42px) }
@media (min-width:681px) and (max-width:950px) {
  .choice-art { --plinth-width: min(87%, 40.5vw) }
}
@media (min-width:951px) and (max-height:820px) {
  .choice-art { --plinth-width: min(86%, 51vh, 425px) }
}
@media (max-width:680px) {
  .choice-art { --plinth-width: 94% }
  .choice-signature { margin-top: 22px }
}
@media screen and (min-width:801px) {
  .stage-plinth {
    inset-inline: 0;
    margin-inline: auto;
    transform: none;
  }
  /* The feathered edge stays in place while the colors pass behind it. */
  .plinth-light {
    --rim-mask: url("/assets/group-home/plinth-rim.svg");
    -webkit-mask: var(--rim-mask) center / 100% 100% no-repeat;
    mask: var(--rim-mask) center / 100% 100% no-repeat;
    border-radius: 0;
  }
  .plinth-light::after { content: none }
}
@media (prefers-reduced-motion:no-preference) {
  .stage-runner { animation: stage-edge-travel 8s linear infinite }
  .stage-edge-right .stage-runner { animation-delay: -3.75s }
  .plinth-light::before { animation: stage-rim-travel 6s linear infinite }
  .choice-consult .plinth-light::before { animation-delay: -2.3s }
  .stage-offscreen .stage-runner,.stage-offscreen .plinth-light::before { animation-play-state: paused }
  @keyframes stage-edge-travel { from {stroke-dashoffset: 100} to {stroke-dashoffset: 0} }
  @keyframes stage-rim-travel { to {transform: translateX(-50%)} }
}
@media screen and (min-width:801px) and (prefers-reduced-motion:no-preference) {
  .plinth-light::before { animation-name: nrg-rim-color }
  @keyframes nrg-rim-color { to { background-position: -100% 0 } }
}
@media (forced-colors:active), print {
  .stage-edges,.stage-plinth,.choice-art::before { display: none }
  .white-selector #group-title { filter: none }
  .white-selector .choice h2 { text-shadow: none }
}

.choice-endorsements {
  background-image: linear-gradient(105deg, rgb(200 219 202 / 15%), transparent 23%, transparent 75%, rgb(199 220 235 / 24%));
}
.group-story {
  background-image:
    radial-gradient(ellipse 24% 44% at 0% 27%, rgb(177 210 183 / 16%), transparent),
    radial-gradient(ellipse 26% 36% at 100% 76%, rgb(169 203 231 / 20%), transparent);
}
@media (max-width:800px) {
  .stage-edge { width: clamp(66px, 20vw, 126px) }
  .studio-air {
    background:
      radial-gradient(ellipse 57% 45% at -18% 33%, rgb(142 186 148 / 21%), transparent),
      radial-gradient(ellipse 65% 48% at 119% 78%, rgb(103 181 231 / 29%), transparent),
      linear-gradient(155deg, white 28%, #f4f8fb);
  }
}
@media print, (forced-colors: active) {
  .studio-air { display: none }
  .choice-endorsements, .group-story { background-image: none }
}
