.window-explosion-host {
  --wx-stage-progress: 0;
  --wx-explode-progress: 0;
  --wx-ink: #14212b;
  --wx-muted: #566672;
  --wx-line: rgba(13, 41, 57, .14);
  --wx-accent: #159bd3;
  --wx-accent-2: #66c988;
  --wx-panel: rgba(255, 255, 255, .72);
  --wx-stage-a: #edf4f7;
  --wx-stage-b: #dce9ef;
  position: relative;
  overflow: clip;
  background: #f4f7f9 !important;
}

[data-theme="dark"] .window-explosion-host {
  --wx-ink: #f4f7fb;
  --wx-muted: #a8b4c3;
  --wx-line: rgba(255, 255, 255, .14);
  --wx-accent: #59c8ff;
  --wx-accent-2: #74e0b8;
  --wx-panel: rgba(12, 26, 40, .66);
  --wx-stage-a: #07111c;
  --wx-stage-b: #0a1724;
  background: #07111c !important;
}

.window-explosion-host > .container {
  max-width: none;
  padding-inline: 0;
}

.window-explosion-host > .container > .reveal,
.window-explosion-host > .container > .grid {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto !important;
}

.window-explosion-host > .container > .reveal {
  padding-block: clamp(1rem, 2vw, 2rem) clamp(2.2rem, 5vw, 4.5rem);
}

.window-explosion-host .window-explosion__story {
  position: relative;
  width: 100%;
  color: var(--wx-ink);
  isolation: isolate;
}

.window-explosion-host .window-explosion__sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100svh;
  min-height: 42rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 41% 50%, color-mix(in srgb, var(--wx-accent) 17%, transparent), transparent 34%),
    linear-gradient(110deg, var(--wx-stage-a) 0 58%, var(--wx-stage-b) 58% 100%);
}

.window-explosion-host .window-explosion__sticky::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent 48%, rgba(235, 244, 248, .2) 65%, rgba(222, 235, 241, .64));
}

[data-theme="dark"] .window-explosion-host .window-explosion__sticky::after {
  background: linear-gradient(90deg, transparent 48%, rgba(4, 10, 17, .38) 65%, rgba(4, 10, 17, .82));
}

.window-explosion-host .window-explosion__brandline {
  position: absolute;
  top: clamp(4.5rem, 9vh, 6rem);
  left: clamp(1.2rem, 4vw, 4rem);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: color-mix(in srgb, var(--wx-ink) 78%, transparent);
  font-size: .73rem;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.window-explosion-host .window-explosion__brandline i {
  display: block;
  width: 1.9rem;
  height: .32rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wx-accent), var(--wx-accent-2));
  box-shadow: 0 0 1.4rem color-mix(in srgb, var(--wx-accent) 42%, transparent);
}

.window-explosion-host .window-explosion__visual {
  position: absolute;
  inset: clamp(7.5rem, 13vh, 9.5rem) 34vw clamp(3rem, 5vh, 4rem) clamp(1rem, 3vw, 3rem);
  z-index: 2;
  display: grid;
  place-items: center;
}

.window-explosion-host .window-explosion__frame {
  position: relative;
  width: min(100%, 74rem);
  aspect-ratio: 3 / 2;
  transform: scale(calc(.88 + var(--wx-stage-progress) * .08));
  transform-origin: 48% 52%;
  will-change: transform;
}

.window-explosion-host .window-explosion__base,
.window-explosion-host .window-explosion__piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.window-explosion-host .window-explosion__base {
  opacity: calc(1 - var(--wx-stage-progress) * .82);
  filter: saturate(.72) brightness(.84) drop-shadow(0 1.6rem 2rem rgba(0, 0, 0, .24));
}

[data-theme="dark"] .window-explosion-host .window-explosion__base {
  filter: saturate(.72) brightness(.72) drop-shadow(0 1.6rem 2rem rgba(0, 0, 0, .36));
}

.window-explosion-host .window-explosion__piece {
  --wx-dx: 0px;
  --wx-dy: 0px;
  opacity: .96;
  transform: translate3d(
    calc(var(--wx-explode-progress) * var(--wx-dx)),
    calc(var(--wx-explode-progress) * var(--wx-dy)),
    0
  );
  transform-origin: 50% 50%;
  transition: opacity .42s ease, filter .42s ease;
  will-change: transform, opacity, filter;
  filter: saturate(.88) brightness(1.03) drop-shadow(0 1rem 1.4rem rgba(0, 0, 0, .24));
}

.window-explosion-host .window-explosion__piece.is-muted {
  opacity: .18;
  filter: saturate(.2) brightness(.76);
}

[data-theme="dark"] .window-explosion-host .window-explosion__piece.is-muted {
  opacity: .24;
  filter: saturate(.25) brightness(.68);
}

.window-explosion-host .window-explosion__piece.is-active {
  opacity: 1;
  filter: saturate(1.04) brightness(1.11) drop-shadow(0 0 1.05rem color-mix(in srgb, var(--wx-accent) 32%, transparent)) drop-shadow(0 1.2rem 1.6rem rgba(0, 0, 0, .28));
}

.window-explosion-host .window-explosion__piece--glass {
  --wx-dy: -230px;
  clip-path: polygon(43% 0, 61% 0, 61% 36%, 42% 41%);
}

.window-explosion-host .window-explosion__piece--warm-edge {
  --wx-dx: -36px;
  --wx-dy: -142px;
  clip-path: polygon(45% 24%, 61% 24%, 62% 39%, 43% 40%);
}

.window-explosion-host .window-explosion__piece--glazing-insulation {
  --wx-dx: 96px;
  --wx-dy: -76px;
  clip-path: polygon(46% 35%, 66% 35%, 66% 56%, 43% 56%);
}

.window-explosion-host .window-explosion__piece--glazing-bead {
  --wx-dx: 226px;
  --wx-dy: -78px;
  clip-path: polygon(58% 22%, 77% 22%, 77% 50%, 57% 50%);
}

.window-explosion-host .window-explosion__piece--stop-seal {
  --wx-dx: -108px;
  --wx-dy: -104px;
  clip-path: polygon(38% 22%, 55% 22%, 56% 48%, 37% 48%);
}

.window-explosion-host .window-explosion__piece--polyamide {
  --wx-dx: 92px;
  --wx-dy: 18px;
  clip-path: polygon(43% 40%, 67% 40%, 69% 64%, 41% 64%);
}

.window-explosion-host .window-explosion__piece--center-gasket {
  --wx-dx: 58px;
  --wx-dy: 126px;
  clip-path: polygon(40% 50%, 68% 50%, 68% 74%, 39% 74%);
}

.window-explosion-host .window-explosion__piece--inner-chamber {
  --wx-dx: 246px;
  --wx-dy: 154px;
  clip-path: polygon(56% 52%, 79% 52%, 79% 88%, 55% 88%);
}

.window-explosion-host .window-explosion__piece--outer-chamber {
  --wx-dx: -92px;
  --wx-dy: 224px;
  clip-path: polygon(37% 58%, 59% 58%, 59% 94%, 35% 94%);
}

.window-explosion-host .window-explosion__piece--sash {
  --wx-dx: -232px;
  --wx-dy: -38px;
  clip-path: polygon(0 21%, 50% 21%, 51% 68%, 34% 72%, 0 72%);
}

.window-explosion-host .window-explosion__piece--frame {
  --wx-dx: -266px;
  --wx-dy: 168px;
  clip-path: polygon(0 49%, 58% 49%, 58% 100%, 0 100%);
}

.window-explosion-host .window-explosion__hotspot {
  --wx-hot-x: 52%;
  --wx-hot-y: 26%;
  --wx-hot-dx: 0px;
  --wx-hot-dy: 0px;
  position: absolute;
  left: var(--wx-hot-x);
  top: var(--wx-hot-y);
  z-index: 8;
  width: .82rem;
  height: .82rem;
  border: 2px solid #e9f9ff;
  border-radius: 50%;
  background: var(--wx-accent);
  box-shadow: 0 0 0 .5rem color-mix(in srgb, var(--wx-accent) 13%, transparent), 0 0 2rem color-mix(in srgb, var(--wx-accent) 74%, transparent);
  transform: translate(
    calc(-50% + var(--wx-explode-progress) * var(--wx-hot-dx)),
    calc(-50% + var(--wx-explode-progress) * var(--wx-hot-dy))
  );
  transition: left .65s cubic-bezier(.2, .7, .2, 1), top .65s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
}

.window-explosion-host .window-explosion__hotspot.is-hidden { opacity: 0; }

.window-explosion-host .window-explosion__hotspot::after {
  position: absolute;
  inset: -.55rem;
  content: "";
  border: 1px solid color-mix(in srgb, var(--wx-accent) 60%, transparent);
  border-radius: 50%;
  animation: wx-pulse 1.8s ease-out infinite;
}

@keyframes wx-pulse {
  to { opacity: 0; transform: scale(2.2); }
}

.window-explosion-host .window-explosion__meter {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 2.4vw, 2.4rem);
  z-index: 10;
  width: 2px;
  height: min(36vh, 18rem);
  overflow: hidden;
  border-radius: 999px;
  background: var(--wx-line);
  transform: translateY(-50%);
}

.window-explosion-host .window-explosion__meter span {
  display: block;
  width: 100%;
  height: calc(var(--wx-stage-progress) * 100%);
  border-radius: inherit;
  background: linear-gradient(var(--wx-accent), var(--wx-accent-2));
  box-shadow: 0 0 1rem color-mix(in srgb, var(--wx-accent) 62%, transparent);
}

.window-explosion-host .window-explosion__steps {
  position: relative;
  z-index: 5;
  width: min(34rem, 38vw);
  margin-top: -100svh;
  margin-left: auto;
  padding-right: clamp(2.4rem, 6vw, 7rem);
}

.window-explosion-host .window-explosion__step {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 10vh 0;
}

.window-explosion-host .window-explosion__card {
  width: 100%;
  padding: clamp(1.4rem, 2.7vw, 2.25rem);
  border: 1px solid var(--wx-line);
  border-radius: 1.6rem;
  opacity: .3;
  background: var(--wx-panel);
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
  transform: translateY(1.2rem) scale(.985);
  transition: opacity .45s ease, transform .45s ease, border-color .45s ease;
}

.window-explosion-host .window-explosion__step.is-active .window-explosion__card {
  opacity: 1;
  border-color: color-mix(in srgb, var(--wx-accent) 38%, transparent);
  transform: none;
}

.window-explosion-host .window-explosion__number {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--wx-accent);
  font-size: .7rem;
  font-weight: 780;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.window-explosion-host .window-explosion__number::after {
  width: 2rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--wx-accent), transparent);
}

.window-explosion-host .window-explosion__card h3 {
  margin: .9rem 0 .8rem;
  color: var(--wx-ink);
  font-size: clamp(1.85rem, 3vw, 3.15rem);
  font-weight: 590;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.window-explosion-host .window-explosion__card p {
  margin: 0;
  color: var(--wx-muted);
  font-size: clamp(.98rem, 1.4vw, 1.13rem);
  line-height: 1.65;
}

.window-explosion-host .window-explosion__spec {
  display: inline-flex;
  margin-top: 1.15rem;
  padding: .55rem .8rem;
  border: 1px solid color-mix(in srgb, var(--wx-accent) 28%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--wx-ink) 84%, transparent);
  background: color-mix(in srgb, var(--wx-accent) 8%, transparent);
  font-size: .78rem;
  font-weight: 720;
  letter-spacing: .02em;
}

.window-explosion-host > .container > .grid {
  padding-block: clamp(3rem, 7vw, 6rem);
}

@media (max-width: 900px) {
  .window-explosion-host > .container > .reveal,
  .window-explosion-host > .container > .grid {
    width: min(calc(100% - 32px), 44rem);
  }

  .window-explosion-host .window-explosion__sticky {
    min-height: 38rem;
    background: radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--wx-accent) 20%, transparent), transparent 37%), var(--wx-stage-a);
  }

  .window-explosion-host .window-explosion__sticky::after {
    background: linear-gradient(180deg, transparent 38%, color-mix(in srgb, var(--wx-stage-a) 18%, transparent) 58%, color-mix(in srgb, var(--wx-stage-a) 92%, transparent) 100%);
  }

  .window-explosion-host .window-explosion__brandline {
    top: 4.5rem;
    left: 1.1rem;
    font-size: .66rem;
  }

  .window-explosion-host .window-explosion__visual { inset: 7rem 0 34vh; }
  .window-explosion-host .window-explosion__frame { width: min(100%, 48rem); }
  .window-explosion-host .window-explosion__steps { width: 100%; margin-top: -100svh; padding: 0 1rem; }
  .window-explosion-host .window-explosion__step { align-items: end; padding: 0 0 4vh; }
  .window-explosion-host .window-explosion__card { width: min(100%, 40rem); margin: 0 auto; padding: 1.3rem 1.35rem; border-radius: 1.25rem; }
  .window-explosion-host .window-explosion__card h3 { font-size: clamp(1.55rem, 7vw, 2.35rem); }
  .window-explosion-host .window-explosion__card p { font-size: .94rem; line-height: 1.5; }
  .window-explosion-host .window-explosion__meter { right: .7rem; height: 24vh; }
  .window-explosion-host .window-explosion__piece--glass { --wx-dy: -116px; }
  .window-explosion-host .window-explosion__piece--warm-edge { --wx-dx: -18px; --wx-dy: -78px; }
  .window-explosion-host .window-explosion__piece--glazing-insulation { --wx-dx: 48px; --wx-dy: -42px; }
  .window-explosion-host .window-explosion__piece--glazing-bead { --wx-dx: 104px; --wx-dy: -40px; }
  .window-explosion-host .window-explosion__piece--stop-seal { --wx-dx: -50px; --wx-dy: -60px; }
  .window-explosion-host .window-explosion__piece--polyamide { --wx-dx: 45px; --wx-dy: 10px; }
  .window-explosion-host .window-explosion__piece--center-gasket { --wx-dx: 36px; --wx-dy: 58px; }
  .window-explosion-host .window-explosion__piece--inner-chamber { --wx-dx: 104px; --wx-dy: 70px; }
  .window-explosion-host .window-explosion__piece--outer-chamber { --wx-dx: -46px; --wx-dy: 102px; }
  .window-explosion-host .window-explosion__piece--sash { --wx-dx: -102px; --wx-dy: -18px; }
  .window-explosion-host .window-explosion__piece--frame { --wx-dx: -116px; --wx-dy: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .window-explosion-host *,
  .window-explosion-host *::before,
  .window-explosion-host *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .window-explosion-host .window-explosion__piece { transform: none !important; }
  .window-explosion-host .window-explosion__hotspot { transform: translate(-50%, -50%) !important; }
}
